UNPKG

@capgo/cli

Version:
38 lines (37 loc) • 1.78 kB
import type { OptionsBase } from '../schemas/base'; export interface AppTodoProgress { onboarding: unknown; hasChannel?: boolean; checkErrors?: string[]; } export declare const TODO_BACKGROUND_WAIT_MS = 10000; export declare function waitForTodoBackgroundChecks(checks: readonly Promise<void>[], onCountdown?: (remainingSeconds: number) => void, timeoutMs?: number): Promise<boolean>; export declare function getAppTodoSteps(progress: AppTodoProgress): { version: number; path: "builder"; selectedPlatform: "android" | "ios" | undefined; steps: { id: string; stepId: "start_setup" | "choose_destination" | "connect_app_store" | "prepare_certificate" | "prepare_profile" | "successful_cloud_build" | "prepare_keystore" | "connect_google_play"; platform: "android" | "ios"; title: string; status: import("./builder-checklist").BuilderChecklistStatus; at: string | undefined; annotation: string | undefined; annotationType: string | undefined; }[]; } | { version: number; steps: { id: "login_cli_mcp" | "add_channel" | "add_updater" | "add_code" | "add_encryption" | "select_platform" | "build_project" | "run_device" | "add_code_change" | "upload_bundle" | "test_update" | "completion" | "add_app"; title: string; status: "done" | "skipped" | "pending"; }[]; path: "ota"; selectedPlatform: undefined; }; export declare function formatAppTodoList(appId: string, progress: AppTodoProgress, options?: { color?: boolean; }): string; export declare function readAppTodoProgress(appId: string, options: OptionsBase): Promise<AppTodoProgress>; export declare function appTodo(appId: string | undefined, options: Partial<OptionsBase>): Promise<void>;