Skip to content

Commit 38c2841

Browse files
committed
docs(types): the retired condition shape is refused by CRUDActionSchema (#25923)
The enhanced-actions page still named the zod schema `ActionSchema`; the const is `CRUDActionSchema` on `@object-ui/types/zod` since the rename. Claude-Session: https://claude.ai/code/session_01WGufzhgTn8yFwqXxanJd4c Co-authored-by: Claude <noreply@anthropic.com>
1 parent d18ba32 commit 38c2841

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎ui/content/docs/core/enhanced-actions.mdx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,9 @@ for an either/or.
301301
> `else`. The runner has always read this key as the predicate above, and an
302302
> object without a `source` reads as "no gate declared", so an action written
303303
> that way ran **unconditionally**, with no error at author time and no
304-
> diagnostic at runtime. The shape is now refused by `ActionSchema`'s zod schema
305-
> instead of being accepted and ignored.
304+
> diagnostic at runtime. The shape is now refused by the zod schema
305+
> (`CRUDActionSchema` in `@object-ui/types/zod`) instead of being accepted and
306+
> ignored.
306307
307308
## Post-success behaviour
308309

0 commit comments

Comments
 (0)