@capgo/cli
Version:
A CLI to upload to capgo servers
157 lines (156 loc) • 6.41 kB
TypeScript
export declare const optionsUploadSchema: import("arktype/internal/variants/object.ts").ObjectType<{
apikey: string;
supaHost?: string | undefined;
supaAnon?: string | undefined;
bundle?: string | undefined;
path?: string | undefined;
channel?: string | undefined;
rollout?: number | undefined;
rolloutPercentageBps?: number | undefined;
rolloutCacheTtlSeconds?: number | undefined;
displayIvSession?: boolean | undefined;
external?: string | undefined;
key?: boolean | undefined;
keyV2?: string | undefined;
keyDataV2?: string | undefined;
ivSessionKey?: string | undefined;
s3Region?: string | undefined;
s3Apikey?: string | undefined;
s3Apisecret?: string | undefined;
s3BucketName?: string | undefined;
s3Port?: number | undefined;
s3SSL?: boolean | undefined;
s3Endpoint?: string | undefined;
bundleUrl?: boolean | undefined;
codeCheck?: boolean | undefined;
oldEncryption?: boolean | undefined;
minUpdateVersion?: string | undefined;
autoMinUpdateVersion?: boolean | undefined;
autoSetBundle?: boolean | undefined;
ignoreMetadataCheck?: boolean | undefined;
failOnIncompatible?: boolean | undefined;
ignoreChecksumCheck?: boolean | undefined;
forceCrc32Checksum?: boolean | undefined;
timeout?: number | undefined;
multipart?: boolean | undefined;
partial?: boolean | undefined;
partialOnly?: boolean | undefined;
delta?: boolean | undefined;
deltaOnly?: boolean | undefined;
tus?: boolean | undefined;
encryptedChecksum?: string | undefined;
packageJson?: string | undefined;
dryUpload?: boolean | undefined;
nodeModules?: string | undefined;
encryptPartial?: boolean | undefined;
deleteLinkedBundleOnUpload?: boolean | undefined;
tusChunkSize?: number | undefined;
zip?: boolean | undefined;
link?: string | undefined;
comment?: string | undefined;
noBrotliPatterns?: string | undefined;
disableBrotli?: boolean | undefined;
versionExistsOk?: boolean | undefined;
selfAssign?: boolean | undefined;
sendUpdateNotification?: boolean | undefined;
verbose?: boolean | undefined;
showReplicationProgress?: boolean | undefined;
qrPreview?: boolean | undefined;
}, {}>;
export type OptionsUpload = typeof optionsUploadSchema.infer;
export declare const zipResultSchema: import("arktype/internal/variants/object.ts").ObjectType<{
bundle: string;
filename: string;
checksum: string;
}, {}>;
export type ZipResult = typeof zipResultSchema.infer;
export declare const encryptResultSchema: import("arktype/internal/variants/object.ts").ObjectType<{
checksum: string;
filename: string;
ivSessionKey: string;
}, {}>;
export type EncryptResult = typeof encryptResultSchema.infer;
export declare const decryptResultSchema: import("arktype/internal/variants/object.ts").ObjectType<{
outputPath: string;
checksumMatches?: boolean | undefined;
}, {}>;
export type DecryptResult = typeof decryptResultSchema.infer;
export declare const uploadBundleResultSchema: import("arktype/internal/variants/object.ts").ObjectType<{
success: boolean;
bundle: string;
encryptionMethod: "none" | "v1" | "v2";
appId?: string | undefined;
updatedChannels?: string[] | undefined;
checksum?: string | null | undefined;
sessionKey?: string | undefined;
ivSessionKey?: string | null | undefined;
storageProvider?: string | undefined;
skipped?: boolean | undefined;
reason?: string | undefined;
builderAction?: "launch-onboarding" | "launch-build" | undefined;
}, {}>;
export type UploadBundleResult = typeof uploadBundleResultSchema.infer;
export declare const bundleZipOptionsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
apikey: string;
supaHost?: string | undefined;
supaAnon?: string | undefined;
bundle?: string | undefined;
path?: string | undefined;
codeCheck?: boolean | undefined;
name?: string | undefined;
json?: boolean | undefined;
keyV2?: boolean | undefined;
packageJson?: string | undefined;
}, {}>;
export type BundleZipOptions = typeof bundleZipOptionsSchema.infer;
export declare const bundleDeleteOptionsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
apikey: string;
supaHost?: string | undefined;
supaAnon?: string | undefined;
bundle: string;
}, {}>;
export type BundleDeleteOptions = typeof bundleDeleteOptionsSchema.infer;
export declare const bundleCompatibilityOptionsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
apikey: string;
supaHost?: string | undefined;
supaAnon?: string | undefined;
channel?: string | undefined;
text?: boolean | undefined;
packageJson?: string | undefined;
nodeModules?: string | undefined;
}, {}>;
export type BundleCompatibilityOptions = typeof bundleCompatibilityOptionsSchema.infer;
export declare const bundleReleaseTypeOptionsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
apikey: string;
supaHost?: string | undefined;
supaAnon?: string | undefined;
channel?: string | undefined;
packageJson?: string | undefined;
nodeModules?: string | undefined;
}, {}>;
export type BundleReleaseTypeOptions = typeof bundleReleaseTypeOptionsSchema.infer;
export declare const bundleCleanupOptionsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
apikey: string;
supaHost?: string | undefined;
supaAnon?: string | undefined;
version: string;
bundle: string;
keep: number;
force: boolean;
ignoreChannel: boolean;
}, {}>;
export type BundleCleanupOptions = typeof bundleCleanupOptionsSchema.infer;
export declare const bundleEncryptOptionsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
key?: string | undefined;
keyData?: string | undefined;
json?: boolean | undefined;
packageJson?: string | undefined;
}, {}>;
export type BundleEncryptOptions = typeof bundleEncryptOptionsSchema.infer;
export declare const bundleDecryptOptionsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
key?: string | undefined;
keyData?: string | undefined;
checksum?: string | undefined;
packageJson?: string | undefined;
}, {}>;
export type BundleDecryptOptions = typeof bundleDecryptOptionsSchema.infer;