Symbol used as key for Studio context in visual-json.
// Source: https://github.com/vercel-labs/visual-json | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import type {
TreeNode,
TreeState,
JsonSchema,
SearchMatch,
} from "@visual-json/core";
export interface StudioState {
readonly tree: TreeState;
readonly focusedNodeId: string | null;
readonly selectedNodeIds: Set<string>;
readonly anchorNodeId: string | null;
readonly drillDownNodeId: string | null;
readonly expandedNodeIds: Set<string>;
readonly schema: JsonSchema | null;
readonly searchQuery: string;
readonly searchMatches: SearchMatch[];
readonly searchMatchIndex: number;
readonly searchMatchNodeIds: Set<string>;
readonly canUndo: boolean;
re
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key