@capgo/cli
Version:
A CLI to upload to capgo servers
56 lines (55 loc) • 2.3 kB
TypeScript
import { z } from 'zod';
export declare const regexSemver: RegExp;
export declare const reverseDomainRegex: RegExp;
export declare const nativePackageSchema: z.ZodObject<{
name: z.ZodString;
version: z.ZodString;
ios_checksum: z.ZodOptional<z.ZodString>;
android_checksum: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type NativePackage = z.infer<typeof nativePackageSchema>;
export declare const incompatibilityReasonSchema: z.ZodEnum<{
new_plugin: "new_plugin";
removed_plugin: "removed_plugin";
version_mismatch: "version_mismatch";
ios_code_changed: "ios_code_changed";
android_code_changed: "android_code_changed";
both_platforms_changed: "both_platforms_changed";
}>;
export type IncompatibilityReason = z.infer<typeof incompatibilityReasonSchema>;
export declare const compatibilitySchema: z.ZodObject<{
name: z.ZodString;
localVersion: z.ZodOptional<z.ZodString>;
remoteVersion: z.ZodOptional<z.ZodString>;
localIosChecksum: z.ZodOptional<z.ZodString>;
remoteIosChecksum: z.ZodOptional<z.ZodString>;
localAndroidChecksum: z.ZodOptional<z.ZodString>;
remoteAndroidChecksum: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type Compatibility = z.infer<typeof compatibilitySchema>;
export declare const compatibilityDetailsSchema: z.ZodObject<{
compatible: z.ZodBoolean;
reasons: z.ZodArray<z.ZodEnum<{
new_plugin: "new_plugin";
removed_plugin: "removed_plugin";
version_mismatch: "version_mismatch";
ios_code_changed: "ios_code_changed";
android_code_changed: "android_code_changed";
both_platforms_changed: "both_platforms_changed";
}>>;
message: z.ZodString;
}, z.core.$strip>;
export type CompatibilityDetails = z.infer<typeof compatibilityDetailsSchema>;
export declare const uploadUrlsSchema: z.ZodObject<{
path: z.ZodString;
hash: z.ZodString;
uploadLink: z.ZodString;
finalPath: z.ZodString;
}, z.core.$strip>;
export type uploadUrlsType = z.infer<typeof uploadUrlsSchema>;
export declare const parsedSecurityErrorSchema: z.ZodObject<{
isSecurityPolicyError: z.ZodBoolean;
errorCode: z.ZodString;
message: z.ZodString;
}, z.core.$strip>;
export type ParsedSecurityError = z.infer<typeof parsedSecurityErrorSchema>;