Skip to content

Interface: DynamicOptions

Defined in: api.ts:2279

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:2292

See DynamicSyncTableOptions.defaultAddDynamicColumns


entityName?

optional entityName: string

Defined in: api.ts:2290

See DynamicSyncTableOptions.entityName


getSchema?

optional getSchema: MetadataFormulaDef<ExecutionContext, LegacyDefaultMetadataReturnType>

Defined in: api.ts:2288

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:2297

See DynamicSyncTableOptions.propertyOptions