Commit 8636492
feat(spec): mark the deprecated
Dogfooding the Studio flow designer surfaced the gap the rename alone left:
the approver-type dropdown derives straight from this enum, so adding
`org_membership_level` beside `role` put the NEW name in the list without
removing the trap — `role` was still one click away from `position`.
`.meta({ xEnumDeprecated })` on the approver type (sourced from
DEPRECATED_APPROVER_TYPES, the single map) rides into the published node
configSchema. Renderers omit listed members from pickers while still rendering
a stored value, so a 15.x flow keeps loading. Locked by a test asserting the
published schema carries it (the objectui side reads exactly this key).
No new export (api-surface unchanged); generated references stay in sync.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>role approver type with xEnumDeprecated (#3133)1 parent 0abc1b3 commit 8636492
2 files changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
43 | 58 | | |
44 | 59 | | |
45 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
103 | 110 | | |
104 | 111 | | |
105 | 112 | | |
| |||
0 commit comments