lightyear.modelsynchronizer
Home > @runlightyear/lightyear > ModelSynchronizer
ModelSynchronizer class
Signature:declare abstract class ModelSynchronizer<T>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(props) | Constructs a new instance of the ModelSynchronizer class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
collection | string | ||
connector | AuthConnector | ||
fromObjectData? | { [sourceFieldName: string]: string | ((model: any) => any); } | ||
fromObjectMeta? | { [sourceFieldName: string]: string | ((model: any) => any); } | ||
model | string | ||
toObjectData? | { [objectFieldName: string]: string | ((source: any) => any); } | ||
toObjectMeta? | { [objectFieldName: string]: string | ((source: any) => any); } |