Portable configuration
Copy declared editor settings without copying live instance identity.
Generated from the reviewed SDK 0.1.0 contract snapshot. Unreviewed workspace changes are not included.
Public exports
Import from @scape/sdk.
GizmoConfiguration, validGizmoConfiguration.
Type declarations
These declarations preserve source comments and related types. Import only the public exports listed above; module-relative paths below describe how the package is organized.
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 host behavior.
