feat(fullstack): Add per-row visibility, add read-only cells, update seeds
This commit is contained in:
@@ -1681,6 +1681,30 @@ components:
|
||||
type: boolean
|
||||
default: false
|
||||
description: If true, renders a checkbox instead of text input
|
||||
readOnlyConditions:
|
||||
$ref: "#/components/schemas/VisibilityConditionGroup"
|
||||
description: If set, the column is read-only when conditions evaluate to true.
|
||||
readOnlyDefaultValue:
|
||||
type: string
|
||||
description: Value to write into each cell when the column transitions to read-only via readOnlyConditions.
|
||||
rowVisibilityCondition:
|
||||
$ref: "#/components/schemas/TableRowVisibilityConditionDto"
|
||||
description: If set, individual cells are hidden/shown based on the row's value in the specified column
|
||||
|
||||
TableRowVisibilityConditionDto:
|
||||
type: object
|
||||
description: Per-row cell visibility condition referencing another column in the same table
|
||||
properties:
|
||||
sourceColumnIndex:
|
||||
type: integer
|
||||
description: Index of the column in the same table to evaluate (0-based)
|
||||
expectedValues:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: Cell is visible if the source column's value matches any of these with the given operator
|
||||
operator:
|
||||
$ref: "#/components/schemas/VisibilityConditionOperator"
|
||||
|
||||
TableRowConstraintDto:
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user