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.
19 lines • 1.85 kB
TypeScript
import { CommandConfig, CommandRegistrationState, CommandExecutionResult, CommandHistoryEntry, PathConfig, WebAppPathConfig, PluginConfig, ThresholdConfig } from './types';
import { ServerAPI } from '@signalk/server-api';
export declare function loadWebAppConfig(app?: ServerAPI): WebAppPathConfig;
export declare function saveWebAppConfig(paths: PathConfig[], commands: CommandConfig[], app?: ServerAPI): void;
export declare function initializeCommandState(currentPaths: PathConfig[], app: ServerAPI): void;
export declare function registerCommand(commandName: string, description?: string, keywords?: string[], defaultState?: boolean, thresholds?: ThresholdConfig[]): CommandExecutionResult;
export declare function updateCommand(commandName: string, description?: string, keywords?: string[], defaultState?: boolean, thresholds?: any[]): CommandExecutionResult;
export declare function unregisterCommand(commandName: string): CommandExecutionResult;
export declare function executeCommand(commandName: string, value: boolean): CommandExecutionResult;
export declare function extractCommandName(signalkPath: string): string;
export declare function getCurrentCommands(): CommandConfig[];
export declare function getCommandHistory(): CommandHistoryEntry[];
export declare function getCommandState(): CommandRegistrationState;
export declare function setCurrentCommands(commands: CommandConfig[]): void;
export declare function startThresholdMonitoring(app: ServerAPI, config?: PluginConfig): void;
export declare function stopThresholdMonitoring(): void;
export declare function updateCommandThreshold(commandName: string, threshold: ThresholdConfig): CommandExecutionResult;
export declare function setManualOverride(commandName: string, override: boolean, expiryMinutes?: number): CommandExecutionResult;
//# sourceMappingURL=commands.d.ts.map