Skip to main content
Version: 2.0.0-alpha

Interface: EntityCustomViewParams<M>

Parameters passed to the builder in charge of rendering a custom panel for an entity view.

Type parameters

NameType
Mextends Object = any

Properties

collection

collection: EntityCollection<M, string, User>

collection used by this entity

Defined in

lib/src/models/collections.ts:363


entity

Optional entity: Entity<M>

Entity that this view refers to. It can be undefined if the entity is new

Defined in

lib/src/models/collections.ts:368


modifiedValues

Optional modifiedValues: M

Modified values in the form that have not been saved yet. If the entity is not new and the values are not modified, this values are the same as in entity

Defined in

lib/src/models/collections.ts:375