Skip to main content

Type Alias: ToolCacheDataset

ToolCacheDataset: { content: GeoJSON.FeatureCollection; type: "geojson"; } | { content: Record<string, unknown>[]; type: "columnData"; } | { content: string; type: "string"; } | { content: unknown[][]; type: "rowObjects"; } | { content: Record<string, unknown>; type: "json"; } | { content: { weights: number[][]; weightsMeta: Record<string, unknown>; }; type: "weights"; } | { content: unknown; type: "arrow"; }

Defined in: tool-cache.ts:8

A dataset in the tool cache. The type of the content is determined by the tool that added the dataset.