UNPKG

signalk-parquet

Version:

Vessel data Parquet file archive with automated value and geospatial triggers. History API compliant with cloud backups and queries.

20 lines 1.95 kB
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[], skipThresholdSetup?: boolean): 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 updatePluginConfig(config: PluginConfig): 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