Skip to content

Commit 5e50899

Browse files
committed
chore(spec): regenerate the authorable surface and reference docs for objectName
Output of `pnpm --filter @objectstack/spec check:generated --fix` after action:button and action:icon gained `objectName`. Claude-Session: https://claude.ai/code/session_01B3TqpoQbTAfG7G74GMDWNW Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3ac9125 commit 5e50899

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ const result = AIChatWindowProps.parse(data);
7878
| **toast** | `any` | optional | Toast behaviour, forwarded to the runner |
7979
| **resultDialog** | `any` | optional | One-shot result dialog for a value the response shows exactly once, forwarded to the runner |
8080
| **onSuccess** | `any` | optional | Declared post-success navigation, forwarded to the runner |
81+
| **objectName** | `string` | optional | Object the action acts on, forwarded to the runner — the console dispatches to it instead of the page's object. Omit to act on the page's object |
8182

8283

8384
---
@@ -131,6 +132,7 @@ const result = AIChatWindowProps.parse(data);
131132
| **toast** | `any` | optional | Toast behaviour, forwarded to the runner |
132133
| **resultDialog** | `any` | optional | One-shot result dialog for a value the response shows exactly once, forwarded to the runner |
133134
| **onSuccess** | `any` | optional | Declared post-success navigation, forwarded to the runner |
135+
| **objectName** | `string` | optional | Object the action acts on, forwarded to the runner — the console dispatches to it instead of the page's object. Omit to act on the page's object |
134136

135137

136138
---

‎packages/spec/authorable-surface/ui.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"ui/ActionButtonProps:locations",
7474
"ui/ActionButtonProps:method",
7575
"ui/ActionButtonProps:name",
76+
"ui/ActionButtonProps:objectName",
7677
"ui/ActionButtonProps:onSuccess",
7778
"ui/ActionButtonProps:openIn",
7879
"ui/ActionButtonProps:operation",
@@ -109,6 +110,7 @@
109110
"ui/ActionIconProps:locations",
110111
"ui/ActionIconProps:method",
111112
"ui/ActionIconProps:name",
113+
"ui/ActionIconProps:objectName",
112114
"ui/ActionIconProps:onSuccess",
113115
"ui/ActionIconProps:openIn",
114116
"ui/ActionIconProps:operation",

0 commit comments

Comments
 (0)