@capgo/cli
Version:
A CLI to upload to capgo servers
61 lines (60 loc) • 2.99 kB
TypeScript
import type { OnboardingBuilderOptions } from '../build/onboarding/command';
import { invokeCapgoCliApi } from '../utils';
type SetupOptions = {
apikey: string;
} & Pick<OnboardingBuilderOptions, 'supaHost' | 'supaAnon' | 'analytics'>;
export declare function readBuilderOnlyAssignment(appId: string, options: SetupOptions, request?: typeof invokeCapgoCliApi): Promise<{
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("../app/builder-checklist").BuilderChecklistStatus;
at: string | undefined;
annotation: string | undefined;
annotationType: string | undefined;
}[];
} | null>;
export declare function readBuilderOnlyInitAssignment(appId: string, options: SetupOptions, request?: typeof invokeCapgoCliApi, warn?: (message: string) => void): Promise<{
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("../app/builder-checklist").BuilderChecklistStatus;
at: string | undefined;
annotation: string | undefined;
annotationType: string | undefined;
}[];
} | null>;
export declare function tryBuilderOnlyInit(appId: string | undefined, options: SetupOptions, dependencies?: {
request?: typeof invokeCapgoCliApi;
warn?: (message: string) => void;
beforeLaunch?: () => Promise<void>;
launch?: (options: OnboardingBuilderOptions) => Promise<void>;
}): Promise<boolean>;
export declare function resolveBuilderChecklistPlatform(appId: string, options: SetupOptions, explicitPlatform: string | undefined, inferredPlatform: OnboardingBuilderOptions['platform'], request?: typeof invokeCapgoCliApi): Promise<{
platform: string | undefined;
checklist: {
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("../app/builder-checklist").BuilderChecklistStatus;
at: string | undefined;
annotation: string | undefined;
annotationType: string | undefined;
}[];
} | null;
}>;
export {};