UNPKG

@capgo/cli

Version:
17 lines (16 loc) 669 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; 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;