Portable configuration
Copy declared editor settings without copying live instance identity.
Public exports
Import from @scape-wtf/sdk.
GizmoConfiguration, validGizmoConfiguration.
Type declarations
Import the public exports listed above from the package entry point.
ts
/** Copy only these state fields through an editor reducer; never copy identity or other live state. */
export interface GizmoConfiguration {
action: string;
fields: string[];
/** Reuse successfully saved configuration for later placements in this session. */
remember?: boolean;
/** Open Configure initially for a settings-first gizmo. Defaults to closed. */
open?: boolean;
}
export declare function validGizmoConfiguration(value: unknown): value is GizmoConfiguration;1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
Usage and limits
See Gizmo guides, working examples, and limits for lifecycle, validation and Scape behavior.
