eas-cli 14.4.0 → 14.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,6 +67,10 @@ export type Scalars = {
67
67
  input: any;
68
68
  output: any;
69
69
  };
70
+ WorkerDeploymentRequestID: {
71
+ input: any;
72
+ output: any;
73
+ };
70
74
  };
71
75
  export type AcceptUserInvitationResult = {
72
76
  __typename?: 'AcceptUserInvitationResult';
@@ -171,6 +175,7 @@ export type Account = {
171
175
  /** Whether this account has SSO enabled. Can be queried by all members. */
172
176
  isSSOEnabled: Scalars['Boolean']['output'];
173
177
  lastDeletionAttemptTime?: Maybe<Scalars['DateTime']['output']>;
178
+ logRocketOrganization?: Maybe<LogRocketOrganization>;
174
179
  name: Scalars['String']['output'];
175
180
  /** Offers set on this account */
176
181
  offers?: Maybe<Array<Offer>>;
@@ -654,11 +659,7 @@ export type AccountUsageEasBuildMetadata = {
654
659
  platform?: Maybe<AppPlatform>;
655
660
  waiverType?: Maybe<EasBuildWaiverType>;
656
661
  };
657
- export type AccountUsageEasJobsMetadata = {
658
- __typename?: 'AccountUsageEASJobsMetadata';
659
- resourceClassDisplayName: Scalars['String']['output'];
660
- };
661
- export type AccountUsageMetadata = AccountUsageEasBuildMetadata | AccountUsageEasJobsMetadata;
662
+ export type AccountUsageMetadata = AccountUsageEasBuildMetadata;
662
663
  export type AccountUsageMetric = {
663
664
  __typename?: 'AccountUsageMetric';
664
665
  id: Scalars['ID']['output'];
@@ -1104,6 +1105,7 @@ export type App = Project & {
1104
1105
  environmentVariables: Array<EnvironmentVariable>;
1105
1106
  /** Environment variables for an app with decrypted secret values */
1106
1107
  environmentVariablesIncludingSensitive: Array<EnvironmentVariableWithSecret>;
1108
+ fingerprintsPaginated: AppFingerprintsConnection;
1107
1109
  fullName: Scalars['String']['output'];
1108
1110
  githubBuildTriggers: Array<GitHubBuildTrigger>;
1109
1111
  githubJobRunTriggers: Array<GitHubJobRunTrigger>;
@@ -1153,6 +1155,7 @@ export type App = Project & {
1153
1155
  likeCount: Scalars['Int']['output'];
1154
1156
  /** @deprecated 'likes' have been deprecated. */
1155
1157
  likedBy: Array<Maybe<User>>;
1158
+ logRocketProject?: Maybe<LogRocketProject>;
1156
1159
  name: Scalars['String']['output'];
1157
1160
  ownerAccount: Account;
1158
1161
  /** @deprecated No longer supported */
@@ -1311,6 +1314,14 @@ export type AppEnvironmentVariablesIncludingSensitiveArgs = {
1311
1314
  filterNames?: InputMaybe<Array<Scalars['String']['input']>>;
1312
1315
  };
1313
1316
  /** Represents an Exponent App (or Experience in legacy terms) */
1317
+ export type AppFingerprintsPaginatedArgs = {
1318
+ after?: InputMaybe<Scalars['String']['input']>;
1319
+ before?: InputMaybe<Scalars['String']['input']>;
1320
+ filter?: InputMaybe<FingerprintFilterInput>;
1321
+ first?: InputMaybe<Scalars['Int']['input']>;
1322
+ last?: InputMaybe<Scalars['Int']['input']>;
1323
+ };
1324
+ /** Represents an Exponent App (or Experience in legacy terms) */
1314
1325
  export type AppIosAppCredentialsArgs = {
1315
1326
  filter?: InputMaybe<IosAppCredentialsFilter>;
1316
1327
  };
@@ -1501,6 +1512,16 @@ export type AppDevDomainNameMutationChangeDevDomainNameArgs = {
1501
1512
  appId: Scalars['ID']['input'];
1502
1513
  name: Scalars['DevDomainName']['input'];
1503
1514
  };
1515
+ export type AppFingerprintEdge = {
1516
+ __typename?: 'AppFingerprintEdge';
1517
+ cursor: Scalars['String']['output'];
1518
+ node: Fingerprint;
1519
+ };
1520
+ export type AppFingerprintsConnection = {
1521
+ __typename?: 'AppFingerprintsConnection';
1522
+ edges: Array<AppFingerprintEdge>;
1523
+ pageInfo: PageInfo;
1524
+ };
1504
1525
  export type AppIcon = {
1505
1526
  __typename?: 'AppIcon';
1506
1527
  /** @deprecated No longer supported */
@@ -2467,6 +2488,7 @@ export type BuildFilter = {
2467
2488
  buildProfile?: InputMaybe<Scalars['String']['input']>;
2468
2489
  channel?: InputMaybe<Scalars['String']['input']>;
2469
2490
  distribution?: InputMaybe<DistributionType>;
2491
+ fingerprintHash?: InputMaybe<Scalars['String']['input']>;
2470
2492
  gitCommitHash?: InputMaybe<Scalars['String']['input']>;
2471
2493
  hasFingerprint?: InputMaybe<Scalars['Boolean']['input']>;
2472
2494
  platform?: InputMaybe<AppPlatform>;
@@ -2479,6 +2501,7 @@ export type BuildFilterInput = {
2479
2501
  channel?: InputMaybe<Scalars['String']['input']>;
2480
2502
  developmentClient?: InputMaybe<Scalars['Boolean']['input']>;
2481
2503
  distributions?: InputMaybe<Array<DistributionType>>;
2504
+ fingerprintHash?: InputMaybe<Scalars['String']['input']>;
2482
2505
  hasFingerprint?: InputMaybe<Scalars['Boolean']['input']>;
2483
2506
  platforms?: InputMaybe<Array<AppPlatform>>;
2484
2507
  releaseChannel?: InputMaybe<Scalars['String']['input']>;
@@ -2877,6 +2900,10 @@ export type CreateEnvironmentVariableInput = {
2877
2900
  value: Scalars['String']['input'];
2878
2901
  visibility: EnvironmentVariableVisibility;
2879
2902
  };
2903
+ export type CreateFingerprintInput = {
2904
+ hash: Scalars['String']['input'];
2905
+ source?: InputMaybe<FingerprintSourceInput>;
2906
+ };
2880
2907
  export type CreateGitHubAppInstallationInput = {
2881
2908
  accountId: Scalars['ID']['input'];
2882
2909
  installationIdentifier: Scalars['Int']['input'];
@@ -3084,6 +3111,14 @@ export type DeleteIosAppCredentialsResult = {
3084
3111
  __typename?: 'DeleteIosAppCredentialsResult';
3085
3112
  id: Scalars['ID']['output'];
3086
3113
  };
3114
+ export type DeleteLogRocketOrganizationResult = {
3115
+ __typename?: 'DeleteLogRocketOrganizationResult';
3116
+ accountId: Scalars['ID']['output'];
3117
+ };
3118
+ export type DeleteLogRocketProjectResult = {
3119
+ __typename?: 'DeleteLogRocketProjectResult';
3120
+ id: Scalars['ID']['output'];
3121
+ };
3087
3122
  export type DeleteRobotResult = {
3088
3123
  __typename?: 'DeleteRobotResult';
3089
3124
  id: Scalars['ID']['output'];
@@ -3343,6 +3378,9 @@ export declare enum EntityTypeName {
3343
3378
  IosAppCredentialsEntity = "IosAppCredentialsEntity",
3344
3379
  UserInvitationEntity = "UserInvitationEntity",
3345
3380
  UserPermissionEntity = "UserPermissionEntity",
3381
+ WorkerCustomDomainEntity = "WorkerCustomDomainEntity",
3382
+ WorkerDeploymentAliasEntity = "WorkerDeploymentAliasEntity",
3383
+ WorkerEntity = "WorkerEntity",
3346
3384
  WorkflowEntity = "WorkflowEntity",
3347
3385
  WorkflowRevisionEntity = "WorkflowRevisionEntity"
3348
3386
  }
@@ -3555,12 +3593,38 @@ export declare enum Feature {
3555
3593
  export type Fingerprint = {
3556
3594
  __typename?: 'Fingerprint';
3557
3595
  app: App;
3596
+ builds: AppBuildsConnection;
3558
3597
  createdAt: Scalars['DateTime']['output'];
3559
3598
  debugInfoUrl?: Maybe<Scalars['String']['output']>;
3560
3599
  hash: Scalars['String']['output'];
3561
3600
  id: Scalars['ID']['output'];
3562
3601
  source?: Maybe<FingerprintSource>;
3563
3602
  updatedAt: Scalars['DateTime']['output'];
3603
+ updates: AppUpdatesConnection;
3604
+ };
3605
+ export type FingerprintBuildsArgs = {
3606
+ after?: InputMaybe<Scalars['String']['input']>;
3607
+ before?: InputMaybe<Scalars['String']['input']>;
3608
+ filter?: InputMaybe<FingerprintBuildsFilterInput>;
3609
+ first?: InputMaybe<Scalars['Int']['input']>;
3610
+ last?: InputMaybe<Scalars['Int']['input']>;
3611
+ };
3612
+ export type FingerprintUpdatesArgs = {
3613
+ after?: InputMaybe<Scalars['String']['input']>;
3614
+ before?: InputMaybe<Scalars['String']['input']>;
3615
+ first?: InputMaybe<Scalars['Int']['input']>;
3616
+ last?: InputMaybe<Scalars['Int']['input']>;
3617
+ };
3618
+ export type FingerprintBuildsFilterInput = {
3619
+ channel?: InputMaybe<Scalars['String']['input']>;
3620
+ developmentClient?: InputMaybe<Scalars['Boolean']['input']>;
3621
+ distributions?: InputMaybe<Array<DistributionType>>;
3622
+ platforms?: InputMaybe<Array<AppPlatform>>;
3623
+ releaseChannel?: InputMaybe<Scalars['String']['input']>;
3624
+ simulator?: InputMaybe<Scalars['Boolean']['input']>;
3625
+ };
3626
+ export type FingerprintFilterInput = {
3627
+ hashes?: InputMaybe<Array<Scalars['String']['input']>>;
3564
3628
  };
3565
3629
  export type FingerprintInfo = {
3566
3630
  fingerprintHash: Scalars['String']['input'];
@@ -3571,6 +3635,15 @@ export type FingerprintInfoGroup = {
3571
3635
  ios?: InputMaybe<FingerprintInfo>;
3572
3636
  web?: InputMaybe<FingerprintInfo>;
3573
3637
  };
3638
+ export type FingerprintMutation = {
3639
+ __typename?: 'FingerprintMutation';
3640
+ /** Create or get an existing fingerprint for an App */
3641
+ createOrGetExistingFingerprint: Fingerprint;
3642
+ };
3643
+ export type FingerprintMutationCreateOrGetExistingFingerprintArgs = {
3644
+ appId: Scalars['ID']['input'];
3645
+ fingerprintData: CreateFingerprintInput;
3646
+ };
3574
3647
  export type FingerprintSource = {
3575
3648
  __typename?: 'FingerprintSource';
3576
3649
  bucketKey: Scalars['String']['output'];
@@ -3594,6 +3667,19 @@ export type FutureSubscription = {
3594
3667
  recurringCents?: Maybe<Scalars['Int']['output']>;
3595
3668
  startDate: Scalars['DateTime']['output'];
3596
3669
  };
3670
+ export type GenerateLogRocketOrganizationLinkResult = {
3671
+ __typename?: 'GenerateLogRocketOrganizationLinkResult';
3672
+ url: Scalars['String']['output'];
3673
+ };
3674
+ export type GenerateLogRocketOrganizationLinkingUrlInput = {
3675
+ accountId: Scalars['ID']['input'];
3676
+ callbackUrl: Scalars['String']['input'];
3677
+ };
3678
+ export type GenerateLogRocketReplayTokenResult = {
3679
+ __typename?: 'GenerateLogRocketReplayTokenResult';
3680
+ orgSlug: Scalars['String']['output'];
3681
+ replayToken: Scalars['String']['output'];
3682
+ };
3597
3683
  export type GetSignedAssetUploadSpecificationsResult = {
3598
3684
  __typename?: 'GetSignedAssetUploadSpecificationsResult';
3599
3685
  specifications: Array<Scalars['String']['output']>;
@@ -4326,6 +4412,14 @@ export type LineDataset = {
4326
4412
  id: Scalars['ID']['output'];
4327
4413
  label: Scalars['String']['output'];
4328
4414
  };
4415
+ export type LinkLogRocketOrganizationToExpoAccountInput = {
4416
+ accountId: Scalars['ID']['input'];
4417
+ client_id: Scalars['String']['input'];
4418
+ client_secret: Scalars['String']['input'];
4419
+ orgName: Scalars['String']['input'];
4420
+ orgSlug: Scalars['String']['input'];
4421
+ state: Scalars['String']['input'];
4422
+ };
4329
4423
  export type LinkSharedEnvironmentVariableInput = {
4330
4424
  appId: Scalars['ID']['input'];
4331
4425
  environment?: InputMaybe<EnvironmentVariableEnvironment>;
@@ -4336,6 +4430,60 @@ export type LogNameTypeMapping = {
4336
4430
  publicName: Scalars['String']['output'];
4337
4431
  typeName: EntityTypeName;
4338
4432
  };
4433
+ export type LogRocketOrganization = {
4434
+ __typename?: 'LogRocketOrganization';
4435
+ account: Account;
4436
+ createdAt: Scalars['DateTime']['output'];
4437
+ id: Scalars['ID']['output'];
4438
+ orgName: Scalars['String']['output'];
4439
+ orgSlug: Scalars['String']['output'];
4440
+ };
4441
+ export type LogRocketOrganizationMutation = {
4442
+ __typename?: 'LogRocketOrganizationMutation';
4443
+ /** Delete a LogRocket organization by ID */
4444
+ deleteLogRocketOrganization: DeleteLogRocketOrganizationResult;
4445
+ /** Generate a LogRocket linking URL */
4446
+ generateLogRocketOrganizationLinkingURL: GenerateLogRocketOrganizationLinkResult;
4447
+ /** Generate a LogRocket replay token for an organization */
4448
+ generateLogRocketReplayToken: GenerateLogRocketReplayTokenResult;
4449
+ /** Link a LogRocket organization to an Expo account */
4450
+ linkLogRocketOrganizationToExpoAccount: LogRocketOrganization;
4451
+ };
4452
+ export type LogRocketOrganizationMutationDeleteLogRocketOrganizationArgs = {
4453
+ accountId: Scalars['ID']['input'];
4454
+ };
4455
+ export type LogRocketOrganizationMutationGenerateLogRocketOrganizationLinkingUrlArgs = {
4456
+ input: GenerateLogRocketOrganizationLinkingUrlInput;
4457
+ };
4458
+ export type LogRocketOrganizationMutationGenerateLogRocketReplayTokenArgs = {
4459
+ accountId: Scalars['ID']['input'];
4460
+ };
4461
+ export type LogRocketOrganizationMutationLinkLogRocketOrganizationToExpoAccountArgs = {
4462
+ input: LinkLogRocketOrganizationToExpoAccountInput;
4463
+ };
4464
+ export type LogRocketProject = {
4465
+ __typename?: 'LogRocketProject';
4466
+ app: App;
4467
+ createdAt: Scalars['DateTime']['output'];
4468
+ id: Scalars['ID']['output'];
4469
+ logRocketOrgId: Scalars['ID']['output'];
4470
+ logRocketProjectSlug: Scalars['String']['output'];
4471
+ updatedAt: Scalars['DateTime']['output'];
4472
+ };
4473
+ export type LogRocketProjectMutation = {
4474
+ __typename?: 'LogRocketProjectMutation';
4475
+ /** Create a LogRocket project */
4476
+ createLogRocketProject: LogRocketProject;
4477
+ /** Delete a LogRocket project by ID */
4478
+ deleteLogRocketProject: DeleteLogRocketProjectResult;
4479
+ };
4480
+ export type LogRocketProjectMutationCreateLogRocketProjectArgs = {
4481
+ appId: Scalars['ID']['input'];
4482
+ logRocketProjectSlug: Scalars['String']['input'];
4483
+ };
4484
+ export type LogRocketProjectMutationDeleteLogRocketProjectArgs = {
4485
+ logRocketProjectId: Scalars['ID']['input'];
4486
+ };
4339
4487
  export type LogsTimespan = {
4340
4488
  end: Scalars['DateTime']['input'];
4341
4489
  start?: InputMaybe<Scalars['DateTime']['input']>;
@@ -4686,6 +4834,7 @@ export type RequestsFilters = {
4686
4834
  method?: InputMaybe<Array<RequestMethod>>;
4687
4835
  os?: InputMaybe<Array<UserAgentOs>>;
4688
4836
  pathname?: InputMaybe<Scalars['String']['input']>;
4837
+ requestId?: InputMaybe<Array<Scalars['WorkerDeploymentRequestID']['input']>>;
4689
4838
  responseType?: InputMaybe<Array<ResponseType>>;
4690
4839
  status?: InputMaybe<Array<Scalars['Int']['input']>>;
4691
4840
  statusType?: InputMaybe<Array<ResponseStatusType>>;
@@ -4854,6 +5003,8 @@ export type RootMutation = {
4854
5003
  environmentSecret: EnvironmentSecretMutation;
4855
5004
  /** Mutations that create and delete EnvironmentVariables */
4856
5005
  environmentVariable: EnvironmentVariableMutation;
5006
+ /** Mutations that modify App fingerprints */
5007
+ fingerprint: FingerprintMutation;
4857
5008
  /** Mutations that utilize services facilitated by the GitHub App */
4858
5009
  githubApp: GitHubAppMutation;
4859
5010
  /** Mutations for GitHub App installations */
@@ -4876,6 +5027,10 @@ export type RootMutation = {
4876
5027
  /** Mutations that modify an EAS Build */
4877
5028
  jobRun: JobRunMutation;
4878
5029
  keystoreGenerationUrl: KeystoreGenerationUrlMutation;
5030
+ /** Mutations for LogRocket organizations */
5031
+ logRocketOrganization: LogRocketOrganizationMutation;
5032
+ /** Mutations for LogRocket projects */
5033
+ logRocketProject: LogRocketProjectMutation;
4879
5034
  /** Mutations that modify the currently authenticated User */
4880
5035
  me: MeMutation;
4881
5036
  /** Mutations that modify a NotificationSubscription */
@@ -6651,6 +6806,7 @@ export type WorkerDeploymentRequestNode = {
6651
6806
  os?: Maybe<UserAgentOs>;
6652
6807
  pathname: Scalars['String']['output'];
6653
6808
  region?: Maybe<Scalars['String']['output']>;
6809
+ requestId: Scalars['WorkerDeploymentRequestID']['output'];
6654
6810
  requestTimestamp: Scalars['DateTime']['output'];
6655
6811
  responseType: ResponseType;
6656
6812
  scriptName: Scalars['String']['output'];
@@ -6966,7 +7122,10 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
6966
7122
  name: Scalars['String']['output'];
6967
7123
  pullRequestNumber?: Maybe<Scalars['Int']['output']>;
6968
7124
  requestedGitRef?: Maybe<Scalars['String']['output']>;
7125
+ retriedWorkflowRun?: Maybe<WorkflowRun>;
7126
+ retries: Array<WorkflowRun>;
6969
7127
  status: WorkflowRunStatus;
7128
+ triggerEventType: WorkflowRunTriggerEventType;
6970
7129
  updatedAt: Scalars['DateTime']['output'];
6971
7130
  workflow: Workflow;
6972
7131
  workflowRevision?: Maybe<WorkflowRevision>;
@@ -6988,6 +7147,7 @@ export type WorkflowRunMutation = {
6988
7147
  __typename?: 'WorkflowRunMutation';
6989
7148
  cancelWorkflowRun: WorkflowRun;
6990
7149
  createWorkflowRun: WorkflowRun;
7150
+ retryWorkflowRun: WorkflowRun;
6991
7151
  };
6992
7152
  export type WorkflowRunMutationCancelWorkflowRunArgs = {
6993
7153
  workflowRunId: Scalars['ID']['input'];
@@ -6997,6 +7157,9 @@ export type WorkflowRunMutationCreateWorkflowRunArgs = {
6997
7157
  workflowRevisionInput: WorkflowRevisionInput;
6998
7158
  workflowRunInput: WorkflowRunInput;
6999
7159
  };
7160
+ export type WorkflowRunMutationRetryWorkflowRunArgs = {
7161
+ workflowRunId: Scalars['ID']['input'];
7162
+ };
7000
7163
  export type WorkflowRunQuery = {
7001
7164
  __typename?: 'WorkflowRunQuery';
7002
7165
  byId: WorkflowRun;
@@ -7013,6 +7176,10 @@ export declare enum WorkflowRunStatus {
7013
7176
  PendingCancel = "PENDING_CANCEL",
7014
7177
  Success = "SUCCESS"
7015
7178
  }
7179
+ export declare enum WorkflowRunTriggerEventType {
7180
+ Github = "GITHUB",
7181
+ Manual = "MANUAL"
7182
+ }
7016
7183
  export type WorkflowRunsConnection = {
7017
7184
  __typename?: 'WorkflowRunsConnection';
7018
7185
  edges: Array<WorkflowRunEdge>;
@@ -11378,6 +11545,22 @@ export type CreateBulkEnvironmentVariablesForAppMutation = {
11378
11545
  }>;
11379
11546
  };
11380
11547
  };
11548
+ export type CreateFingeprintMutationVariables = Exact<{
11549
+ fingerprintData: CreateFingerprintInput;
11550
+ appId: Scalars['ID']['input'];
11551
+ }>;
11552
+ export type CreateFingeprintMutation = {
11553
+ __typename?: 'RootMutation';
11554
+ fingerprint: {
11555
+ __typename?: 'FingerprintMutation';
11556
+ createOrGetExistingFingerprint: {
11557
+ __typename?: 'Fingerprint';
11558
+ id: string;
11559
+ hash: string;
11560
+ debugInfoUrl?: string | null;
11561
+ };
11562
+ };
11563
+ };
11381
11564
  export type CreateKeystoreGenerationUrlMutationVariables = Exact<{
11382
11565
  [key: string]: never;
11383
11566
  }>;
@@ -8,7 +8,7 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.Feature = exports.Experiment = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentVariableEnvironment = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppPrivacy = exports.AppPlatform = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountAppsSortByField = void 0;
10
10
  exports.UsageMetricType = exports.UploadSessionType = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidTrack = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.NotificationType = exports.NotificationEvent = exports.MailchimpTag = exports.MailchimpAudience = exports.JobRunStatus = exports.JobRunPriority = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = exports.GitHubAppInstallationStatus = exports.GitHubAppEnvironment = exports.FingerprintSourceType = void 0;
11
- exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserEntityTypeName = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = void 0;
11
+ exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserEntityTypeName = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = void 0;
12
12
  var AccountAppsSortByField;
13
13
  (function (AccountAppsSortByField) {
14
14
  AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
@@ -369,6 +369,9 @@ var EntityTypeName;
369
369
  EntityTypeName["IosAppCredentialsEntity"] = "IosAppCredentialsEntity";
370
370
  EntityTypeName["UserInvitationEntity"] = "UserInvitationEntity";
371
371
  EntityTypeName["UserPermissionEntity"] = "UserPermissionEntity";
372
+ EntityTypeName["WorkerCustomDomainEntity"] = "WorkerCustomDomainEntity";
373
+ EntityTypeName["WorkerDeploymentAliasEntity"] = "WorkerDeploymentAliasEntity";
374
+ EntityTypeName["WorkerEntity"] = "WorkerEntity";
372
375
  EntityTypeName["WorkflowEntity"] = "WorkflowEntity";
373
376
  EntityTypeName["WorkflowRevisionEntity"] = "WorkflowRevisionEntity";
374
377
  })(EntityTypeName || (exports.EntityTypeName = EntityTypeName = {}));
@@ -870,3 +873,8 @@ var WorkflowRunStatus;
870
873
  WorkflowRunStatus["PendingCancel"] = "PENDING_CANCEL";
871
874
  WorkflowRunStatus["Success"] = "SUCCESS";
872
875
  })(WorkflowRunStatus || (exports.WorkflowRunStatus = WorkflowRunStatus = {}));
876
+ var WorkflowRunTriggerEventType;
877
+ (function (WorkflowRunTriggerEventType) {
878
+ WorkflowRunTriggerEventType["Github"] = "GITHUB";
879
+ WorkflowRunTriggerEventType["Manual"] = "MANUAL";
880
+ })(WorkflowRunTriggerEventType || (exports.WorkflowRunTriggerEventType = WorkflowRunTriggerEventType = {}));
@@ -0,0 +1,9 @@
1
+ import { FingerprintSource } from '@expo/eas-build-job';
2
+ import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
3
+ import { FingerprintFragment } from '../generated';
4
+ export declare const FingerprintMutation: {
5
+ createFingerprintAsync(graphqlClient: ExpoGraphqlClient, appId: string, fingerprintData: {
6
+ hash: string;
7
+ source?: FingerprintSource;
8
+ }): Promise<FingerprintFragment>;
9
+ };
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FingerprintMutation = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const graphql_1 = require("graphql");
6
+ const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
7
+ const client_1 = require("../client");
8
+ const Fingerprint_1 = require("../types/Fingerprint");
9
+ exports.FingerprintMutation = {
10
+ async createFingerprintAsync(graphqlClient, appId, fingerprintData) {
11
+ const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
12
+ .mutation((0, graphql_tag_1.default) `
13
+ mutation CreateFingeprintMutation(
14
+ $fingerprintData: CreateFingerprintInput!
15
+ $appId: ID!
16
+ ) {
17
+ fingerprint {
18
+ createOrGetExistingFingerprint(fingerprintData: $fingerprintData, appId: $appId) {
19
+ id
20
+ ...FingerprintFragment
21
+ }
22
+ }
23
+ }
24
+ ${(0, graphql_1.print)(Fingerprint_1.FingerprintFragmentNode)}
25
+ `, { appId, fingerprintData })
26
+ .toPromise());
27
+ return data.fingerprint.createOrGetExistingFingerprint;
28
+ },
29
+ };
@@ -145,11 +145,11 @@ export declare function getUpdateMessageForCommandAsync(vcsClient: Client, { upd
145
145
  export declare const defaultPublishPlatforms: UpdatePublishPlatform[];
146
146
  export type RuntimeVersionInfo = {
147
147
  runtimeVersion: string;
148
- fingerprint: {
148
+ expoUpdatesRuntimeFingerprint: {
149
149
  fingerprintSources: object[];
150
150
  isDebugFingerprintSource: boolean;
151
151
  } | null;
152
- fingerprintHash: string | null;
152
+ expoUpdatesRuntimeFingerprintHash: string | null;
153
153
  };
154
154
  type FingerprintInfoGroup = {
155
155
  [key in UpdatePublishPlatform]?: FingerprintInfo;
@@ -179,13 +179,13 @@ export declare function maybeCalculateFingerprintForRuntimeVersionInfoObjectsWit
179
179
  graphqlClient: ExpoGraphqlClient;
180
180
  runtimeToPlatformsAndFingerprintInfoAndFingerprintSourceMapping: (RuntimeVersionInfo & {
181
181
  platforms: UpdatePublishPlatform[];
182
- fingerprintSource: FingerprintSource | null;
182
+ expoUpdatesRuntimeFingerprintSource: FingerprintSource | null;
183
183
  })[];
184
184
  workflowsByPlatform: Record<Platform, Workflow>;
185
185
  env: Env | undefined;
186
186
  }): Promise<(RuntimeVersionInfo & {
187
187
  platforms: UpdatePublishPlatform[];
188
- fingerprintSource: FingerprintSource | null;
188
+ expoUpdatesRuntimeFingerprintSource: FingerprintSource | null;
189
189
  fingerprintInfoGroup: FingerprintInfoGroup;
190
190
  })[]>;
191
191
  export declare const platformDisplayNames: Record<UpdatePublishPlatform, string>;
@@ -520,8 +520,8 @@ async function getRuntimeVersionInfoForPlatformAsync({ exp, platform, workflow,
520
520
  }
521
521
  return {
522
522
  runtimeVersion: resolvedRuntimeVersion,
523
- fingerprint: null,
524
- fingerprintHash: null,
523
+ expoUpdatesRuntimeFingerprint: null,
524
+ expoUpdatesRuntimeFingerprintHash: null,
525
525
  };
526
526
  }
527
527
  function getRuntimeToPlatformsAndFingerprintInfoMappingFromRuntimeVersionInfoObjects(runtimeVersionInfoObjects) {
@@ -530,14 +530,14 @@ function getRuntimeToPlatformsAndFingerprintInfoMappingFromRuntimeVersionInfoObj
530
530
  return {
531
531
  runtimeVersion,
532
532
  platforms: runtimeVersionInfoObjects.map(runtimeVersionInfoObject => runtimeVersionInfoObject.platform),
533
- fingerprint: runtimeVersionInfoObjects.map(runtimeVersionInfoObject => runtimeVersionInfoObject.runtimeVersionInfo.fingerprint)[0] ?? null,
534
- fingerprintHash: runtimeVersionInfoObjects.map(runtimeVersionInfoObject => runtimeVersionInfoObject.runtimeVersionInfo.fingerprintHash)[0] ?? null,
533
+ expoUpdatesRuntimeFingerprint: runtimeVersionInfoObjects.map(runtimeVersionInfoObject => runtimeVersionInfoObject.runtimeVersionInfo.expoUpdatesRuntimeFingerprint)[0] ?? null,
534
+ expoUpdatesRuntimeFingerprintHash: runtimeVersionInfoObjects.map(runtimeVersionInfoObject => runtimeVersionInfoObject.runtimeVersionInfo.expoUpdatesRuntimeFingerprintHash)[0] ?? null,
535
535
  };
536
536
  });
537
537
  }
538
538
  exports.getRuntimeToPlatformsAndFingerprintInfoMappingFromRuntimeVersionInfoObjects = getRuntimeToPlatformsAndFingerprintInfoMappingFromRuntimeVersionInfoObjects;
539
539
  async function maybeCalculateFingerprintForRuntimeVersionInfoObjectsWithoutExpoUpdatesAsync({ projectDir, graphqlClient, runtimeToPlatformsAndFingerprintInfoAndFingerprintSourceMapping, workflowsByPlatform, env, }) {
540
- const runtimesToComputeFingerprintsFor = runtimeToPlatformsAndFingerprintInfoAndFingerprintSourceMapping.filter(infoGroup => !infoGroup.fingerprintHash);
540
+ const runtimesToComputeFingerprintsFor = runtimeToPlatformsAndFingerprintInfoAndFingerprintSourceMapping.filter(infoGroup => !infoGroup.expoUpdatesRuntimeFingerprintHash);
541
541
  const fingerprintOptionsByRuntimeAndPlatform = new Map();
542
542
  for (const infoGroup of runtimesToComputeFingerprintsFor) {
543
543
  for (const platform of infoGroup.platforms) {
@@ -584,15 +584,16 @@ async function maybeCalculateFingerprintForRuntimeVersionInfoObjectsWithoutExpoU
584
584
  });
585
585
  // These are runtimes whose fingerprint has already been computed and uploaded with EAS Update fingerprint runtime policy
586
586
  const runtimesWithPreviouslyComputedFingerprints = runtimeToPlatformsAndFingerprintInfoAndFingerprintSourceMapping
587
- .filter((infoGroup) => !!infoGroup.fingerprintHash && !!infoGroup.fingerprintSource)
587
+ .filter((infoGroup) => !!infoGroup.expoUpdatesRuntimeFingerprintHash &&
588
+ !!infoGroup.expoUpdatesRuntimeFingerprintSource)
588
589
  .map(infoGroup => {
589
590
  const platform = infoGroup.platforms[0];
590
591
  return {
591
592
  ...infoGroup,
592
593
  fingerprintInfoGroup: {
593
594
  [platform]: {
594
- fingerprintHash: infoGroup.fingerprintHash,
595
- fingerprintSource: infoGroup.fingerprintSource,
595
+ fingerprintHash: infoGroup.expoUpdatesRuntimeFingerprintHash,
596
+ fingerprintSource: infoGroup.expoUpdatesRuntimeFingerprintSource,
596
597
  },
597
598
  },
598
599
  };
@@ -8,11 +8,11 @@ export declare function resolveRuntimeVersionUsingCLIAsync({ platform, workflow,
8
8
  cwd?: string;
9
9
  }): Promise<{
10
10
  runtimeVersion: string | null;
11
- fingerprint: {
11
+ expoUpdatesRuntimeFingerprint: {
12
12
  fingerprintSources: object[];
13
13
  isDebugFingerprintSource: boolean;
14
14
  } | null;
15
- fingerprintHash: string | null;
15
+ expoUpdatesRuntimeFingerprintHash: string | null;
16
16
  }>;
17
17
  export declare function resolveRuntimeVersionAsync({ exp, platform, workflow, projectDir, env, cwd, }: {
18
18
  exp: ExpoConfig;
@@ -23,9 +23,9 @@ export declare function resolveRuntimeVersionAsync({ exp, platform, workflow, pr
23
23
  cwd?: string;
24
24
  }): Promise<{
25
25
  runtimeVersion: string | null;
26
- fingerprint: {
26
+ expoUpdatesRuntimeFingerprint: {
27
27
  fingerprintSources: object[];
28
28
  isDebugFingerprintSource: boolean;
29
29
  } | null;
30
- fingerprintHash: string | null;
30
+ expoUpdatesRuntimeFingerprintHash: string | null;
31
31
  } | null>;
@@ -16,13 +16,13 @@ async function resolveRuntimeVersionUsingCLIAsync({ platform, workflow, projectD
16
16
  log_1.default.debug(resolvedRuntimeVersionJSONResult);
17
17
  return {
18
18
  runtimeVersion: runtimeVersionResult.runtimeVersion ?? null,
19
- fingerprint: runtimeVersionResult.fingerprintSources
19
+ expoUpdatesRuntimeFingerprint: runtimeVersionResult.fingerprintSources
20
20
  ? {
21
21
  fingerprintSources: runtimeVersionResult.fingerprintSources,
22
22
  isDebugFingerprintSource: useDebugFingerprintSource,
23
23
  }
24
24
  : null,
25
- fingerprintHash: runtimeVersionResult.fingerprintSources
25
+ expoUpdatesRuntimeFingerprintHash: runtimeVersionResult.fingerprintSources
26
26
  ? runtimeVersionResult.runtimeVersion
27
27
  : null,
28
28
  };
@@ -34,8 +34,8 @@ async function resolveRuntimeVersionAsync({ exp, platform, workflow, projectDir,
34
34
  // than the versioned @expo/config-plugins dependency in the project)
35
35
  return {
36
36
  runtimeVersion: await config_plugins_1.Updates.getRuntimeVersionNullableAsync(projectDir, exp, platform),
37
- fingerprint: null,
38
- fingerprintHash: null,
37
+ expoUpdatesRuntimeFingerprint: null,
38
+ expoUpdatesRuntimeFingerprintHash: null,
39
39
  };
40
40
  }
41
41
  try {
@@ -8,6 +8,7 @@ const mime_1 = tslib_1.__importDefault(require("mime"));
8
8
  const minizlib_1 = require("minizlib");
9
9
  const node_fetch_1 = tslib_1.__importStar(require("node-fetch"));
10
10
  const node_fs_1 = tslib_1.__importStar(require("node:fs"));
11
+ const promises_1 = require("node:fs/promises");
11
12
  const node_path_1 = tslib_1.__importDefault(require("node:path"));
12
13
  const promise_retry_1 = tslib_1.__importDefault(require("promise-retry"));
13
14
  const MAX_RETRIES = 4;
@@ -32,6 +33,21 @@ const isCompressible = (contentType, size) => {
32
33
  return true;
33
34
  }
34
35
  };
36
+ const getContentTypeAsync = async (filePath) => {
37
+ let contentType = mime_1.default.getType(node_path_1.default.basename(filePath));
38
+ if (!contentType) {
39
+ const fileContent = await (0, promises_1.readFile)(filePath, 'utf-8');
40
+ try {
41
+ // check if file is valid JSON without an extension, e.g. for the apple app site association file
42
+ const parsedData = JSON.parse(fileContent);
43
+ if (parsedData) {
44
+ contentType = 'application/json';
45
+ }
46
+ }
47
+ catch { }
48
+ }
49
+ return contentType;
50
+ };
35
51
  let sharedAgent;
36
52
  const getAgent = () => {
37
53
  if (sharedAgent) {
@@ -52,11 +68,11 @@ const getAgent = () => {
52
68
  };
53
69
  async function uploadAsync(params) {
54
70
  const { filePath, signal, compress, method = 'POST', url, headers: headersInit, ...requestInit } = params;
55
- const stat = await node_fs_1.default.promises.stat(params.filePath);
71
+ const stat = await node_fs_1.default.promises.stat(filePath);
56
72
  if (stat.size > MAX_UPLOAD_SIZE) {
57
- throw new Error(`Upload of "${params.filePath}" aborted: File size is greater than the upload limit (>500MB)`);
73
+ throw new Error(`Upload of "${filePath}" aborted: File size is greater than the upload limit (>500MB)`);
58
74
  }
59
- const contentType = mime_1.default.getType(node_path_1.default.basename(params.filePath));
75
+ const contentType = await getContentTypeAsync(filePath);
60
76
  return await (0, promise_retry_1.default)(async (retry) => {
61
77
  const headers = new node_fetch_1.Headers(headersInit);
62
78
  if (contentType) {