UNPKG

signalk-parquet

Version:

SignalK plugin to save marine data directly to Parquet files with regimen-based control

38 lines 945 B
import { Brand, Context, Path, Timestamp } from '@signalk/server-api'; import { Request } from 'express'; export type AggregateMethod = Brand<string, 'aggregatemethod'>; type ValueList = { path: Path; method: AggregateMethod; }[]; export type Datarow = [Timestamp, ...any[]]; export interface DataResult { context: Context; range: { from: Timestamp; to: Timestamp; }; values: ValueList; data: Datarow[]; } export interface ValuesResponse extends DataResult { context: Context; range: { from: Timestamp; to: Timestamp; }; } export type FromToContextRequest = Request<unknown, unknown, unknown, { from: string; to: string; context: string; bbox: string; }>; export interface PathSpec { path: Path; queryResultName: string; aggregateMethod: AggregateMethod; aggregateFunction: string; } export {}; //# sourceMappingURL=HistoryAPI-types.d.ts.map