SyncAppOptions
Options for the SyncApp plugin's HTTP routes.
Properties
defaultSnapshotLimit?
optionaldefaultSnapshotLimit?:number
Default page size for snapshots (default 100, max 100).
getUserScopes?
optionalgetUserScopes?: (user,entry) =>string[] |Promise<string[]>
Resolve the scope values a user belongs to for tenant-scoped models (e.g. the user's organization ids). Required when any registered model uses a tenant scope.
Parameters
user
entry
Returns
string[] | Promise<string[]>