UNPKG

eas-cli

Version:

EAS command line tool

29 lines (28 loc) 1.25 kB
import { JSONObject } from '@expo/json-file'; import type { XCBuildConfiguration } from 'xcode'; import { z } from 'zod'; import { AccountFragment, CommonIosAppCredentialsFragment, IosAppBuildCredentialsFragment } from '../../graphql/generated'; export interface App { account: AccountFragment; projectName: string; } export interface Target { targetName: string; buildConfiguration?: string; bundleIdentifier: string; parentBundleIdentifier?: string; entitlements: JSONObject; buildSettings?: XCBuildConfiguration['buildSettings']; } export interface TargetCredentials { distributionCertificate: { certificateP12: string; certificatePassword: string; }; provisioningProfile: string; } export type IosCredentials = Record<string, TargetCredentials>; export type IosAppBuildCredentialsMap = Record<string, IosAppBuildCredentialsFragment>; export type IosAppCredentialsMap = Record<string, CommonIosAppCredentialsFragment | null>; export declare const booleanLike: z.ZodUnion<readonly [z.ZodBoolean, z.ZodCodec<z.ZodNumber, z.ZodBoolean>, z.ZodCodec<z.ZodString, z.ZodBoolean>]>; export declare const stringLike: z.ZodCodec<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodString>;