lightyear.modelsynchronizerprops
Home > @runlightyear/lightyear > ModelSynchronizerProps
ModelSynchronizerProps interface
Signature:interface ModelSynchronizerProps
Required Properties
Property | Modifiers | Type | Description |
---|---|---|---|
collection | string | ||
connector | AuthConnector | ||
model | string |
Optional Properties
Property | Modifiers | Type | Description |
---|---|---|---|
fromObjectData? | { [externalFieldName: string]: string | ((object: any) => any); } | ||
fromObjectMeta? | { [externalFieldName: string]: string | ((object: any) => any); } | ||
toObjectData? | { [objectFieldName: string]: string | ((external: any) => any); } | ||
toObjectMeta? | { [objectFieldName: string]: string | ((external: any) => any); } |