createModel

Function

Create an item to back and IModel.

  • createModel(model: IModel, requestOptions: IUserRequestOptions) : Promise<IModel>

Parameters

Parameter Type Default Notes
model Required IModel
requestOptions Required IUserRequestOptions

Available requestOptions

Property Type Notes

Returns

Promise<IModel>
Property Type Notes
item IItem
data Optional [key: string]: any

Function defined in common/src/models/index.ts:84