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.

16 lines (15 loc) • 846 B
/** * Component asset object for `<ui9000-component-asset-card>`. * * One card is one asset and one primary metric, read from one row: the asset * name, its id, an optional image, the metric value, an optional delta against * a reference point, and optional recent points. Nothing is computed. The delta * is sent only when a cell holds one. Points draw the trend only when the table * has them. A level is sent only when the row has a status, a level, or a threshold. */ export declare function componentAssetCardPayload(_fields: Record<string, string>, rows: Record<string, unknown>[]): unknown | null; /** * True when the card should replace a KPI: one row naming one asset by its id, * with one metric value. A plain number has no asset, so it stays a KPI. */ export declare function componentAssetFits(payload: unknown): boolean;