Model properties
data
@prop {object|null}
The data which defines the model. Defaults to null.
collection
@prop {boolean|object}
The collection the model belongs to. Defaults to false.
wasCreated
@prop {boolean}
Boolean to determine if the model has been created remotely.
wasCreatedAt
@prop {number|undefined}
Timstamp to determine when the store was created, undefined if wasCreated is false.
wasUpdated
@prop {boolean}
Boolean to determine if the model has been updated locally and remotely.
wasUpdatedAt
@prop {number|undefined}
Timstamp to determine when the store was updated, undefined if wasUpdated is false.
wasDestroyed
@prop {boolean}
Boolean to determine if the model has been destroyed locally and remotely.
wasDestroyedAt
@prop {number|undefined}
Timstamp to determine when the store was destroyed, undefined if wasDestroyed is false.