EventStorePartialUpdated
Interface: EventStorePartialUpdated<T>
Defined in: packages/core/src/stores/store.ts:92
Event called after partial update of an object
Type Parameters
T
T extends Model = Model
Properties
object_id
object_id:
PrimaryKey<any>
Defined in: packages/core/src/stores/store.ts:96
Object uuid
partial_update
partial_update:
object
Defined in: packages/core/src/stores/store.ts:108
Info on the update
addItem?
optionaladdItem?:object
Add item to a collection
addItem.index
index:
number
Index to add
addItem.property
property:
string
Collection name
addItem.value
value:
any
Item to add
deleteAttribute?
optionaldeleteAttribute?:string
deleteItem?
optionaldeleteItem?:object
Delete an item from collection
deleteItem.index
index:
number
Index in the collection
deleteItem.property
property:
string
Collection name
increments?
optionalincrements?:object[]
If incremental update
patch?
optionalpatch?:any
If this is a patch
store
store:
Store<any>
Defined in: packages/core/src/stores/store.ts:100
Emitting store
updateDate?
optionalupdateDate?:Date
Defined in: packages/core/src/stores/store.ts:104
Update date