Private
Remove a model from the store.
The model to destroy.
Retrieve a model by type and id. Constant-time lookup.
The type of the model.
The id of the model.
The corresponding model if present, and null otherwise.
null
Retrieve all models by type.
Array of the corresponding model if present, and empty array otherwise.
Initialize model.
New model.
Empty the store.
Sync a JSON API-compliant payload with the store and store any top level properties included in the payload.
The JSON API payload.
Sync record data to model.
Record data to sync.
Remove a model from the store.