Skip to content

Commit ecd8085

Browse files
committed
docs(spec): 订正 WidgetActionTypeSchema 的一处陈述 —— 派发源是 header action
#5010 退役 widget 级 actionType 后,「a type added to ActionType is dispatchable from a widget」不再成立;唯一消费者是 DashboardHeaderActionSchema。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ehu85kbvMcrNTUJjwxvLJ9
1 parent 4fda136 commit ecd8085

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/spec/src/ui/dashboard.zod.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ export const WidgetColorVariantSchema = lazySchema(() => z.enum([
5151
* the shared dispatcher then executes at runtime.
5252
*
5353
* Derived rather than restated: a type added to `ActionType` is dispatchable
54-
* from a widget the moment the runner implements it, with no second list to
55-
* remember.
54+
* from a header action the moment the runner implements it, with no second list
55+
* to remember.
5656
*/
5757
export const WidgetActionTypeSchema = lazySchema(() => ActionType.describe('Widget action type'));
5858

0 commit comments

Comments
 (0)