@serenity-is/corelib / IRowDefinition
Interface: IRowDefinition
Defined in: src/ui/datagrid/irowdefinition.ts:6
Metadata that describes a row type for grid and dialog integration. Implementations are resolved from the row type registry and used for permissions, identity and display name resolution.
Properties
deletePermission?
readonlyoptionaldeletePermission:string
Defined in: src/ui/datagrid/irowdefinition.ts:8
Permission required to delete rows.
idProperty?
readonlyoptionalidProperty:string
Defined in: src/ui/datagrid/irowdefinition.ts:10
Name of the identity / primary key property.
insertPermission?
readonlyoptionalinsertPermission:string
Defined in: src/ui/datagrid/irowdefinition.ts:12
Permission required to insert rows.
isActiveProperty?
readonlyoptionalisActiveProperty:string
Defined in: src/ui/datagrid/irowdefinition.ts:14
Name of the boolean property that marks a row as active.
isDeletedProperty?
readonlyoptionalisDeletedProperty:string
Defined in: src/ui/datagrid/irowdefinition.ts:16
Name of the boolean property that marks a row as soft-deleted.
localTextPrefix?
readonlyoptionallocalTextPrefix:string
Defined in: src/ui/datagrid/irowdefinition.ts:18
Local text prefix for entity texts (display names, dialogs).
nameProperty?
readonlyoptionalnameProperty:string
Defined in: src/ui/datagrid/irowdefinition.ts:20
Name of the property used as the display / name field.
readPermission?
readonlyoptionalreadPermission:string
Defined in: src/ui/datagrid/irowdefinition.ts:22
Permission required to read rows.
updatePermission?
readonlyoptionalupdatePermission:string
Defined in: src/ui/datagrid/irowdefinition.ts:24
Permission required to update rows.