Skip to content

Commit 7d4fb1e

Browse files
os-zhuangclaude
andcommitted
docs(spec): regenerate approval reference — nested approver enum gains org_membership_level
The generated reference's nested `approvers[].type` inline shape lagged the top-level enum. Regenerated (pnpm gen:schema && gen:docs) on latest main so the `check:docs` drift gate passes; xEnumDeprecated is a machine-readable hint and does not surface in the human reference. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 60331ef commit 7d4fb1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/docs/references/automation/approval.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const result = ApprovalDecision.parse(data);
6666

6767
| Property | Type | Required | Description |
6868
| :--- | :--- | :--- | :--- |
69-
| **approvers** | `{ type: Enum<'user' \| 'role' \| 'position' \| 'team' \| 'department' \| 'manager' \| 'field' \| 'queue'>; value?: string }[]` || Allowed approvers for this node |
69+
| **approvers** | `{ type: Enum<'user' \| 'org_membership_level' \| 'role' \| 'position' \| 'team' \| 'department' \| 'manager' \| 'field' \| 'queue'>; value?: string }[]` || Allowed approvers for this node |
7070
| **behavior** | `Enum<'first_response' \| 'unanimous'>` || How to combine multiple approvers |
7171
| **lockRecord** | `boolean` || Lock the record from editing while pending |
7272
| **approvalStatusField** | `string` | optional | Business-object field to mirror request status onto |

0 commit comments

Comments
 (0)