@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.
7 lines (6 loc) • 439 B
TypeScript
export declare function asRowObjects(payload: unknown): Record<string, unknown>[] | null;
export declare function aggregatePoints(rows: Record<string, unknown>[], labelField: string | undefined, metricField: string | undefined, relabel?: (label: string) => string): Array<{
label: string;
value: number;
}> | null;
export declare function numericColumn(rows: Record<string, unknown>[], field: string | undefined): number[] | null;