@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.
10 lines (9 loc) • 329 B
TypeScript
export type FeaturesIndex = {
byId: Map<string, GeoJSON.Feature>;
byDataValue: Map<string, string>;
byNormalizedValue: Map<string, string>;
};
/**
* Creates an index for O(1) lookup instead of O(n) find()
*/
export declare const createFeaturesIndex: (features: GeoJSON.Feature[], mapType: string) => FeaturesIndex;