Skip to content

Commit d19f166

Browse files
committed
chore(spec): regenerate docs reference, api-surface and export-origins
gen:docs picks up the new ObjectFieldGroup.visibleWhen row; api-surface and export-origins pick up the FieldGroupVisibleWhen type export. Repo tooling only (gen:docs / gen:api-surface / gen:export-origins), no hand edits. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LpRNHxWZgSUgVnFT9mQQo4
1 parent 01f6d6b commit d19f166

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

content/docs/references/data/object.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ const result = ApiMethod.parse(data);
307307
| **label** | `string` || Group display label |
308308
| **icon** | `string` | optional | Icon name (Lucide/Material) for the group header |
309309
| **description** | `string` | optional | Optional description shown under the group header |
310+
| **visibleWhen** | `string \| { dialect: Enum<'cel' \| 'cron' \| 'template'>; source?: string; ast?: any; meta?: object }` | optional | Section visibility predicate (CEL) — the whole group (header included) is shown only when TRUE, else hidden (fail-closed). e.g. P`record.type == 'invoice'` |
310311
| **collapse** | `Enum<'none' \| 'expanded' \| 'collapsed'>` | optional (default: `"none"`) | [ADR-0085] Section collapse behaviour: 'none' (always open, no toggle), 'expanded' (collapsible, starts open), 'collapsed' (collapsible, starts closed). |
311312
| **defaultExpanded** | `boolean` | optional | [DEPRECATED → collapse] true → 'expanded', false → 'collapsed'. |
312313
| **collapsible** | `boolean` | optional | [DEPRECATED → collapse] Boolean pair with `collapsed`; use the `collapse` enum. |
@@ -656,6 +657,7 @@ External datasource binding (ADR-0015)
656657
| **label** | `string` || Group display label |
657658
| **icon** | `string` | optional | Icon name (Lucide/Material) for the group header |
658659
| **description** | `string` | optional | Optional description shown under the group header |
660+
| **visibleWhen** | `string \| { dialect: Enum<'cel' \| 'cron' \| 'template'>; source?: string; ast?: any; meta?: object }` | optional | Section visibility predicate (CEL) — the whole group (header included) is shown only when TRUE, else hidden (fail-closed). e.g. P`record.type == 'invoice'` |
659661
| **collapse** | `Enum<'none' \| 'expanded' \| 'collapsed'>` | optional (default: `"none"`) | [ADR-0085] Section collapse behaviour: 'none' (always open, no toggle), 'expanded' (collapsible, starts open), 'collapsed' (collapsible, starts closed). |
660662
| **defaultExpanded** | `boolean` | optional | [DEPRECATED → collapse] true → 'expanded', false → 'collapsed'. |
661663
| **collapsible** | `boolean` | optional | [DEPRECATED → collapse] Boolean pair with `collapsed`; use the `collapse` enum. |

packages/spec/api-surface/data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@
263263
"Field (type)",
264264
"FieldGroupCollapse (type)",
265265
"FieldGroupSection (interface)",
266+
"FieldGroupVisibleWhen (type)",
266267
"FieldInput (type)",
267268
"FieldMaskingKeep (type)",
268269
"FieldMaskingKeepSchema (const)",

packages/spec/export-origins/data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@
263263
"Field": "src/data/field.zod.ts#Field (type)",
264264
"FieldGroupCollapse": "src/data/field-group-layout.ts#FieldGroupCollapse (type)",
265265
"FieldGroupSection": "src/data/field-group-layout.ts#FieldGroupSection (interface)",
266+
"FieldGroupVisibleWhen": "src/data/field-group-layout.ts#FieldGroupVisibleWhen (type)",
266267
"FieldInput": "src/data/field.zod.ts#FieldInput (type)",
267268
"FieldMaskingKeep": "src/data/field.zod.ts#FieldMaskingKeep (type)",
268269
"FieldMaskingKeepSchema": "src/data/field.zod.ts#FieldMaskingKeepSchema (const)",

0 commit comments

Comments
 (0)