signalk-parquet
Version:
SignalK plugin and webapp that archives SK data to Parquet files with a regimen control system, advanced querying, Claude integrated AI analysis, spatial capabilities, and REST API.
15 lines • 737 B
TypeScript
import { Context } from '@signalk/server-api';
import { ZonedDateTime } from '@js-joda/core';
/**
* Get available SignalK contexts that have data within a specific time range
* This is compliant with SignalK History API specification
*
* OPTIMIZED: Uses a single SQL query across all vessels instead of checking each one individually
* File list is cached for 2 minutes to avoid repeated filesystem scans
*/
export declare function getAvailableContextsForTimeRange(dataDir: string, from: ZonedDateTime, to: ZonedDateTime): Promise<Context[]>;
/**
* Clear the file list cache (useful for testing or when data structure changes)
*/
export declare function clearFileListCache(): void;
//# sourceMappingURL=context-discovery.d.ts.map