serializeModel

Function

Given a model, return a serialized clone that can be sent to the items api

  • serializeModel(model: IModel) : ISerializedModel

Parameters

Parameter Type Default Notes
model Required IModel

Item model {item:{}, data:{}}

Returns

ISerializedModel
Property Type Notes

Function defined in common/src/models/serializeModel.ts:13