Skip to main content

node.modelsynchronizer

Home > @runlightyear/node > ModelSynchronizer

ModelSynchronizer class

Signature:
declare class ModelSynchronizer<T> 

Constructors

ConstructorModifiersDescription
(constructor)(props)Constructs a new instance of the ModelSynchronizer class

Properties

PropertyModifiersTypeDescription
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>