widgets.state_set
Stores one key of a widget instance’s state (DMN-086).
Params: SetWidgetStateParams
Section titled “Params: SetWidgetStateParams”/** `widgets.state_set` params (DMN-086). */export type SetWidgetStateParams = { /** The widget instance: its `instance` prop, else its reference (AGT-010). */ instance: string; key: string; /** Any JSON value; `null` deletes the key. */ value: unknown; workspaceId: string;};Result: Empty
Section titled “Result: Empty”/** No params, or the `{}` result. */export type Empty = Record<string, never>;