Skip to main content

Type alias: SchemaOverride<M, UserType>

Ƭ SchemaOverride<M, UserType>: Object

You can return these parameters to override properties in a SchemaOverrideHandler. Useful if you want to apply schemas to specific entities.

Type parameters


Type declaration

callbacks?EntityCallbacks<M>This interface defines all the callbacks that can be used when an entity is being created, updated or deleted. Useful for adding your own logic or blocking the execution of the operation
permissions?PermissionsBuilder<M, UserType>Can the elements in this collection be added and edited.
schema?EntitySchema<M>Schema representing the entities of this view
subcollections?EntityCollection[]You can add subcollections to your entity in the same way you define the root collections.

Defined in