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 packages/common/src/items/serialize-model.ts:13