@capgo/cli
Version:
A CLI to upload to capgo servers
255 lines (254 loc) • 12.2 kB
TypeScript
export declare const buildCredentialsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
[x: string]: string | undefined;
BUILD_CERTIFICATE_BASE64?: string | undefined;
BUILD_PROVISION_PROFILE_BASE64?: string | undefined;
P12_PASSWORD?: string | undefined;
APPLE_KEY_ID?: string | undefined;
APPLE_ISSUER_ID?: string | undefined;
APPLE_KEY_CONTENT?: string | undefined;
APP_STORE_CONNECT_TEAM_ID?: string | undefined;
FASTLANE_USER?: string | undefined;
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD?: string | undefined;
APPLE_APP_ID?: string | undefined;
CAPGO_IOS_PROVISIONING_MAP?: string | undefined;
CAPGO_STORE_SUBMIT_REVIEW?: string | undefined;
CAPGO_STORE_RELEASE_NAME?: string | undefined;
CAPGO_STORE_RELEASE_NOTES?: string | undefined;
CAPGO_STORE_RELEASE_NOTES_LOCALIZED?: string | undefined;
CAPGO_IOS_TESTFLIGHT_GROUPS?: string | undefined;
CAPGO_IOS_AUTOMATIC_RELEASE?: string | undefined;
ANDROID_KEYSTORE_FILE?: string | undefined;
KEYSTORE_KEY_ALIAS?: string | undefined;
KEYSTORE_KEY_PASSWORD?: string | undefined;
KEYSTORE_STORE_PASSWORD?: string | undefined;
PLAY_CONFIG_JSON?: string | undefined;
PLAY_STORE_IN_APP_UPDATE_PRIORITY?: string | undefined;
}, {}>;
export type BuildCredentials = typeof buildCredentialsSchema.infer;
export declare const buildRequestOptionsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
apikey: string;
supaHost?: string | undefined;
supaAnon?: string | undefined;
path?: string | undefined;
nodeModules?: string | undefined;
platform?: "android" | "ios" | undefined;
buildMode?: "debug" | "release" | undefined;
userId?: string | undefined;
buildCertificateBase64?: string | undefined;
p12Password?: string | undefined;
appleKeyId?: string | undefined;
appleIssuerId?: string | undefined;
appleKeyContent?: string | undefined;
appStoreConnectTeamId?: string | undefined;
appleId?: string | undefined;
appleAppSpecificPassword?: string | undefined;
appleAppId?: string | undefined;
iosScheme?: string | undefined;
iosTarget?: string | undefined;
iosDistribution?: "app_store" | "ad_hoc" | undefined;
iosProvisioningProfile?: string[] | undefined;
iosProvisioningMap?: string | undefined;
androidKeystoreFile?: string | undefined;
keystoreKeyAlias?: string | undefined;
keystoreKeyPassword?: string | undefined;
keystoreStorePassword?: string | undefined;
playConfigJson?: string | undefined;
androidFlavor?: string | undefined;
inAppUpdatePriority?: number | ((In: string) => import("arktype/internal/attributes.ts").To<number>) | undefined;
storeReleaseNotesLocale?: string[] | undefined;
iosAutomaticRelease?: boolean | undefined;
outputUpload?: boolean | undefined;
outputRetention?: string | undefined;
outputRecord?: string | undefined;
skipBuildNumberBump?: boolean | undefined;
skipMarketingVersionBump?: boolean | undefined;
syncIosVersion?: boolean | undefined;
playstoreUpload?: boolean | undefined;
submitToStoreReview?: boolean | undefined;
storeReleaseName?: string | undefined;
storeReleaseNotes?: string | undefined;
storeReleaseNotesLocalized?: ((In: {
[x: string]: string;
}) => import("arktype").Out<false | Record<string, string>>) | undefined;
iosTestflightGroups?: string | undefined;
verbose?: boolean | undefined;
aiAnalytics?: boolean | undefined;
sendLogsToSupport?: boolean | undefined;
sendLogs?: boolean | undefined;
aiAnalysisMode?: "skip" | "auto-prompt" | "caller-handled" | undefined;
prescan?: boolean | undefined;
prescanIgnoreFatal?: boolean | undefined;
failOnWarnings?: boolean | undefined;
builderJourneyId?: string | undefined;
}, {}>;
export type BuildRequestOptions = typeof buildRequestOptionsSchema.infer;
export declare const buildNeededOptionsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
apikey: string;
supaHost?: string | undefined;
supaAnon?: string | undefined;
channel?: string | undefined;
packageJson?: string | undefined;
nodeModules?: string | undefined;
verbose?: boolean | undefined;
}, {}>;
export type BuildNeededOptions = typeof buildNeededOptionsSchema.infer;
export declare const buildRequestResultSchema: import("arktype/internal/variants/object.ts").ObjectType<{
success: boolean;
jobId?: string | undefined;
uploadUrl?: string | undefined;
status?: string | undefined;
error?: string | undefined;
aiAnalysis?: {
jobId: string;
capturedLogPath: string;
ready: boolean;
} | undefined;
}, {}>;
export type BuildRequestResult = typeof buildRequestResultSchema.infer;
export declare const buildOptionsPayloadSchema: import("arktype/internal/variants/object.ts").ObjectType<{
platform: "android" | "ios";
buildMode: "debug" | "release";
cliVersion: string;
outputUploadEnabled: boolean;
outputRetentionSeconds: number;
skipBuildNumberBump: boolean;
skipMarketingVersionBump: boolean;
submitToStoreReview: boolean;
iosScheme?: string | undefined;
iosTarget?: string | undefined;
iosDistribution?: "app_store" | "ad_hoc" | undefined;
iosSourceDir?: string | undefined;
iosAppDir?: string | undefined;
iosProjectDir?: string | undefined;
storeReleaseNotesLocalized?: ((In: {
[x: string]: string;
}) => import("arktype").Out<false | Record<string, string>>) | undefined;
iosAutomaticRelease?: boolean | undefined;
androidSourceDir?: string | undefined;
androidAppDir?: string | undefined;
androidProjectDir?: string | undefined;
androidFlavor?: string | undefined;
storeReleaseName?: string | undefined;
storeReleaseNotes?: string | undefined;
iosTestflightGroups?: string | undefined;
}, {}>;
export type BuildOptionsPayload = typeof buildOptionsPayloadSchema.infer;
export declare const credentialFileSchema: import("arktype/internal/variants/object.ts").ObjectType<{
BUILD_CERTIFICATE_FILE?: string | undefined;
APPLE_KEY_FILE?: string | undefined;
ANDROID_KEYSTORE_PATH?: string | undefined;
PLAY_CONFIG_JSON_PATH?: string | undefined;
}, {}>;
export type CredentialFile = typeof credentialFileSchema.infer;
export declare const savedCredentialsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
ios?: {
[x: string]: string | undefined;
BUILD_CERTIFICATE_BASE64?: string | undefined;
BUILD_PROVISION_PROFILE_BASE64?: string | undefined;
P12_PASSWORD?: string | undefined;
APPLE_KEY_ID?: string | undefined;
APPLE_ISSUER_ID?: string | undefined;
APPLE_KEY_CONTENT?: string | undefined;
APP_STORE_CONNECT_TEAM_ID?: string | undefined;
FASTLANE_USER?: string | undefined;
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD?: string | undefined;
APPLE_APP_ID?: string | undefined;
CAPGO_IOS_PROVISIONING_MAP?: string | undefined;
CAPGO_STORE_SUBMIT_REVIEW?: string | undefined;
CAPGO_STORE_RELEASE_NAME?: string | undefined;
CAPGO_STORE_RELEASE_NOTES?: string | undefined;
CAPGO_STORE_RELEASE_NOTES_LOCALIZED?: string | undefined;
CAPGO_IOS_TESTFLIGHT_GROUPS?: string | undefined;
CAPGO_IOS_AUTOMATIC_RELEASE?: string | undefined;
ANDROID_KEYSTORE_FILE?: string | undefined;
KEYSTORE_KEY_ALIAS?: string | undefined;
KEYSTORE_KEY_PASSWORD?: string | undefined;
KEYSTORE_STORE_PASSWORD?: string | undefined;
PLAY_CONFIG_JSON?: string | undefined;
PLAY_STORE_IN_APP_UPDATE_PRIORITY?: string | undefined;
} | undefined;
android?: {
[x: string]: string | undefined;
BUILD_CERTIFICATE_BASE64?: string | undefined;
BUILD_PROVISION_PROFILE_BASE64?: string | undefined;
P12_PASSWORD?: string | undefined;
APPLE_KEY_ID?: string | undefined;
APPLE_ISSUER_ID?: string | undefined;
APPLE_KEY_CONTENT?: string | undefined;
APP_STORE_CONNECT_TEAM_ID?: string | undefined;
FASTLANE_USER?: string | undefined;
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD?: string | undefined;
APPLE_APP_ID?: string | undefined;
CAPGO_IOS_PROVISIONING_MAP?: string | undefined;
CAPGO_STORE_SUBMIT_REVIEW?: string | undefined;
CAPGO_STORE_RELEASE_NAME?: string | undefined;
CAPGO_STORE_RELEASE_NOTES?: string | undefined;
CAPGO_STORE_RELEASE_NOTES_LOCALIZED?: string | undefined;
CAPGO_IOS_TESTFLIGHT_GROUPS?: string | undefined;
CAPGO_IOS_AUTOMATIC_RELEASE?: string | undefined;
ANDROID_KEYSTORE_FILE?: string | undefined;
KEYSTORE_KEY_ALIAS?: string | undefined;
KEYSTORE_KEY_PASSWORD?: string | undefined;
KEYSTORE_STORE_PASSWORD?: string | undefined;
PLAY_CONFIG_JSON?: string | undefined;
PLAY_STORE_IN_APP_UPDATE_PRIORITY?: string | undefined;
} | undefined;
}, {}>;
export type SavedCredentials = typeof savedCredentialsSchema.infer;
export declare const allCredentialsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
[x: string]: {
ios?: {
[x: string]: string | undefined;
BUILD_CERTIFICATE_BASE64?: string | undefined;
BUILD_PROVISION_PROFILE_BASE64?: string | undefined;
P12_PASSWORD?: string | undefined;
APPLE_KEY_ID?: string | undefined;
APPLE_ISSUER_ID?: string | undefined;
APPLE_KEY_CONTENT?: string | undefined;
APP_STORE_CONNECT_TEAM_ID?: string | undefined;
FASTLANE_USER?: string | undefined;
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD?: string | undefined;
APPLE_APP_ID?: string | undefined;
CAPGO_IOS_PROVISIONING_MAP?: string | undefined;
CAPGO_STORE_SUBMIT_REVIEW?: string | undefined;
CAPGO_STORE_RELEASE_NAME?: string | undefined;
CAPGO_STORE_RELEASE_NOTES?: string | undefined;
CAPGO_STORE_RELEASE_NOTES_LOCALIZED?: string | undefined;
CAPGO_IOS_TESTFLIGHT_GROUPS?: string | undefined;
CAPGO_IOS_AUTOMATIC_RELEASE?: string | undefined;
ANDROID_KEYSTORE_FILE?: string | undefined;
KEYSTORE_KEY_ALIAS?: string | undefined;
KEYSTORE_KEY_PASSWORD?: string | undefined;
KEYSTORE_STORE_PASSWORD?: string | undefined;
PLAY_CONFIG_JSON?: string | undefined;
PLAY_STORE_IN_APP_UPDATE_PRIORITY?: string | undefined;
} | undefined;
android?: {
[x: string]: string | undefined;
BUILD_CERTIFICATE_BASE64?: string | undefined;
BUILD_PROVISION_PROFILE_BASE64?: string | undefined;
P12_PASSWORD?: string | undefined;
APPLE_KEY_ID?: string | undefined;
APPLE_ISSUER_ID?: string | undefined;
APPLE_KEY_CONTENT?: string | undefined;
APP_STORE_CONNECT_TEAM_ID?: string | undefined;
FASTLANE_USER?: string | undefined;
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD?: string | undefined;
APPLE_APP_ID?: string | undefined;
CAPGO_IOS_PROVISIONING_MAP?: string | undefined;
CAPGO_STORE_SUBMIT_REVIEW?: string | undefined;
CAPGO_STORE_RELEASE_NAME?: string | undefined;
CAPGO_STORE_RELEASE_NOTES?: string | undefined;
CAPGO_STORE_RELEASE_NOTES_LOCALIZED?: string | undefined;
CAPGO_IOS_TESTFLIGHT_GROUPS?: string | undefined;
CAPGO_IOS_AUTOMATIC_RELEASE?: string | undefined;
ANDROID_KEYSTORE_FILE?: string | undefined;
KEYSTORE_KEY_ALIAS?: string | undefined;
KEYSTORE_KEY_PASSWORD?: string | undefined;
KEYSTORE_STORE_PASSWORD?: string | undefined;
PLAY_CONFIG_JSON?: string | undefined;
PLAY_STORE_IN_APP_UPDATE_PRIORITY?: string | undefined;
} | undefined;
};
}, {}>;
export type AllCredentials = typeof allCredentialsSchema.infer;