updateModel

Function

Update an IModel. Generic function that will be used across all type-specific update functions

  • updateModel(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
resources Optional [key: string]: any

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