@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) • 738 B
TypeScript
/**
* FuseDash widget for a chart that is not one of the five engine builders.
* The iframe dispatches on `chartType`. Rows stay out of the model context;
* this object is what the data-link stores.
*/
import type { CatalogDataRole } from '../../spec/engine-catalog.js';
/**
* Charts whose payload reads its own column names, not catalog binds. The
* server instructions name them, so the model knows their columns matter.
*/
export declare const NAMED_COLUMN_CHARTS: ReadonlySet<string>;
export declare function dataRolesForChart(id: string): CatalogDataRole[];
export declare function hostedChartPayload(id: string, chartType: string | undefined, fields: Record<string, string>, rows: Record<string, unknown>[]): unknown | null;