Skip to main content

Type alias: SchemaResolver

Ƭ SchemaResolver: (props: { entityId?: string ; path: string }) => SchemaConfig | undefined

Used to override schemas based on the collection path and entityId.

Type declaration#

▸ (props): SchemaConfig | undefined

Parameters#
NameType
propsObject
props.entityId?string
props.pathstring
Returns#

SchemaConfig | undefined

Defined in#

models/schema_resolver.ts:40