UNPKG

@fusedashlabs/ui9000-workspace

Version:

UI9000 workspace MCP. One tool, show_workspace, draws a chart from your table. Set TYPESAFE_API_KEY to let Jev choose the chart.

14 lines (13 loc) • 587 B
import type { CatalogEntry } from '../spec/engine-catalog.js'; import type { WorkspaceSpec } from '../spec/workspace-spec.js'; import type { ClassifiedColumn } from '../profiler/roles.js'; export type ShapeSpecResult = { ok: true; spec: WorkspaceSpec; } | { ok: false; code: 'missing_binds'; reason: string; }; /** Bind catalog data roles to columns. One field fills one role. */ export declare function shapeSpec(base: WorkspaceSpec, entry: CatalogEntry | undefined, fields: readonly string[] | undefined, classified?: readonly ClassifiedColumn[]): ShapeSpecResult;