Skip to content

Interface: DynamicOptions

Defined in: api.ts:2296

A set of options used internally by makeDynamicSyncTable, or for static sync tables that have a dynamic schema.

Properties

defaultAddDynamicColumns?

optional defaultAddDynamicColumns: boolean

Defined in: api.ts:2309

See DynamicSyncTableOptions.defaultAddDynamicColumns


entityName?

optional entityName: string

Defined in: api.ts:2307

See DynamicSyncTableOptions.entityName


getSchema?

optional getSchema: MetadataFormulaDef<ExecutionContext, LegacyDefaultMetadataReturnType>

Defined in: api.ts:2305

A formula that returns the schema for this table.

For a dynamic sync table, the value of DynamicSyncTableOptions.getSchema is passed through here. For a non-dynamic sync table, you may still implement this if you table has a schema that varies based on the user account, but does not require a SyncBase.dynamicUrl.


propertyOptions?

optional propertyOptions: PropertyOptionsMetadataFunction<any>

Defined in: api.ts:2314

See DynamicSyncTableOptions.propertyOptions