Skip to content

Commit ef9e701

Browse files
committed
docs: add composite, repeater field types and schema validation option
1 parent ec9ec04 commit ef9e701

4 files changed

Lines changed: 16 additions & 1 deletion

File tree

‎content/docs/references/api/protocol.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ const result = AiInsightsRequest.parse(data);
607607
| Property | Type | Required | Description |
608608
| :--- | :--- | :--- | :--- |
609609
| **types** | `string[]` | ✅ | Available metadata type names (e.g., "object", "plugin", "view") |
610+
| **entries** | `Object[]` | optional | Enriched per-type registry entries (Phase 3a) |
610611

611612

612613
---

‎content/docs/references/data/field.mdx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ const result = Address.parse(data);
127127
* `formula`
128128
* `summary`
129129
* `autonumber`
130+
* `composite`
131+
* `repeater`
130132
* `location`
131133
* `address`
132134
* `code`

‎content/docs/references/ui/action.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const result = ActionParam.parse(data);
6767
| **field** | `string` | optional | Snake case identifier (lowercase with underscores only) |
6868
| **objectOverride** | `string` | optional | Snake case identifier (lowercase with underscores only) |
6969
| **label** | `string` | optional | Display label (plain string; i18n keys are auto-generated by the framework) |
70-
| **type** | `Enum<'text' \| 'textarea' \| 'email' \| 'url' \| 'phone' \| 'password' \| 'markdown' \| 'html' \| 'richtext' \| 'number' \| 'currency' \| 'percent' \| 'date' \| 'datetime' \| 'time' \| 'boolean' \| 'toggle' \| 'select' \| 'multiselect' \| 'radio' \| 'checkboxes' \| 'lookup' \| 'master_detail' \| 'tree' \| 'image' \| 'file' \| 'avatar' \| 'video' \| 'audio' \| 'formula' \| 'summary' \| 'autonumber' \| 'location' \| 'address' \| 'code' \| 'json' \| 'color' \| 'rating' \| 'slider' \| 'signature' \| 'qrcode' \| 'progress' \| 'tags' \| 'vector'>` | optional | |
70+
| **type** | `Enum<'text' \| 'textarea' \| 'email' \| 'url' \| 'phone' \| 'password' \| 'markdown' \| 'html' \| 'richtext' \| 'number' \| 'currency' \| 'percent' \| 'date' \| 'datetime' \| 'time' \| 'boolean' \| 'toggle' \| 'select' \| 'multiselect' \| 'radio' \| 'checkboxes' \| 'lookup' \| 'master_detail' \| 'tree' \| 'image' \| 'file' \| 'avatar' \| 'video' \| 'audio' \| 'formula' \| 'summary' \| 'autonumber' \| 'composite' \| 'repeater' \| 'location' \| 'address' \| 'code' \| 'json' \| 'color' \| 'rating' \| 'slider' \| 'signature' \| 'qrcode' \| 'progress' \| 'tags' \| 'vector'>` | optional | |
7171
| **required** | `boolean` | ✅ | |
7272
| **options** | `Object[]` | optional | |
7373
| **placeholder** | `string` | optional | |

‎content/docs/references/ui/view.mdx‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,18 @@ This schema accepts one of the following structures:
359359

360360
---
361361

362+
#### Option 4
363+
364+
### Properties
365+
366+
| Property | Type | Required | Description |
367+
| :--- | :--- | :--- | :--- |
368+
| **provider** | `string` | ✅ | |
369+
| **schemaId** | `string` | ✅ | Schema identifier — typically the metadata type name |
370+
| **schema** | `Record<string, any>` | optional | Inline JSON Schema (Draft 2020-12). Optional when schemaId is resolvable. |
371+
372+
---
373+
362374

363375
---
364376

0 commit comments

Comments
 (0)