UNPKG

@capgo/cli

Version:
47 lines (46 loc) 1.97 kB
import { z } from 'zod'; 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 parsedSecurityErrorSchema: z.ZodObject<{ isSecurityPolicyError: z.ZodBoolean; errorCode: z.ZodString; message: z.ZodString; }, z.core.$strip>; export type ParsedSecurityError = z.infer<typeof parsedSecurityErrorSchema>;