node.modelsynchronizer
Home > @runlightyear/node > ModelSynchronizer
ModelSynchronizer class
Signature:declare class ModelSynchronizer<T>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(props) | Constructs a new instance of the ModelSynchronizer class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
create | (object: ObjectMetaDataWithoutId<T>) => Promise<ObjectId> | ||
delete | (id: ObjectId) => Promise<void> | ||
get | (id: ObjectId) => Promise<ObjectMetaData<T>> | ||
list | () => Promise<Array<Prettify<ObjectMetaData<T>>>> | ||
update | (object: ObjectMetaDataWithId<T>) => Promise<void> |