UNPKG

@capgo/cli

Version:
21 lines (20 loc) • 811 B
import type { Platform } from './contract.js'; export interface LiveUpdateSessionState { platform?: Platform; encryptionChoice?: 'enable' | 'skip'; channelName?: string; currentVersion?: string; delta?: boolean; resumeResolved?: boolean; dirtyGitResolved?: boolean; testChangeChoice?: 'agent' | 'manual'; testChangeReady?: boolean; testChangeFiles?: string[]; testChangeDescription?: string; deviceRunConfirmed?: boolean; otaReceivedConfirmed?: boolean; } export declare function getSession(appId: string): LiveUpdateSessionState; export declare function mergeSession(appId: string, partial: Partial<LiveUpdateSessionState>): LiveUpdateSessionState; export declare function clearSession(appId: string): void; export declare function clearAllSessions(): void;