eas-cli 14.4.1 → 14.6.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.
Files changed (58) hide show
  1. package/README.md +147 -91
  2. package/build/build/android/graphql.js +2 -0
  3. package/build/build/android/prepareJob.js +1 -0
  4. package/build/build/android/version.d.ts +1 -0
  5. package/build/build/android/version.js +5 -1
  6. package/build/build/build.js +4 -3
  7. package/build/build/configure.d.ts +11 -0
  8. package/build/build/configure.js +46 -1
  9. package/build/build/evaluateConfigWithEnvVarsAsync.js +2 -4
  10. package/build/build/ios/build.js +2 -0
  11. package/build/build/ios/graphql.js +2 -0
  12. package/build/build/ios/prepareJob.js +1 -0
  13. package/build/build/ios/version.js +4 -1
  14. package/build/build/local.js +1 -1
  15. package/build/build/metadata.js +0 -1
  16. package/build/build/runBuildAndSubmit.d.ts +12 -1
  17. package/build/build/runBuildAndSubmit.js +16 -13
  18. package/build/build/utils/environment.d.ts +4 -0
  19. package/build/build/utils/environment.js +20 -0
  20. package/build/commands/build/dev.d.ts +23 -0
  21. package/build/commands/build/dev.js +225 -0
  22. package/build/commands/build/index.js +9 -1
  23. package/build/commands/build/inspect.js +26 -18
  24. package/build/commands/build/internal.js +22 -14
  25. package/build/commands/build/list.d.ts +1 -0
  26. package/build/commands/build/list.js +4 -0
  27. package/build/commands/{worker → deploy}/alias.js +4 -4
  28. package/build/commands/{worker/deploy.js → deploy/index.js} +5 -5
  29. package/build/commands/fingerprint/compare.d.ts +14 -1
  30. package/build/commands/fingerprint/compare.js +192 -53
  31. package/build/commands/project/onboarding.js +23 -14
  32. package/build/commands/update/index.js +3 -6
  33. package/build/commands/update/roll-back-to-embedded.js +2 -2
  34. package/build/credentials/ios/appstore/ensureAppExists.d.ts +22 -1
  35. package/build/credentials/ios/appstore/ensureAppExists.js +73 -2
  36. package/build/credentials/ios/appstore/ensureTestFlightGroup.d.ts +7 -0
  37. package/build/credentials/ios/appstore/ensureTestFlightGroup.js +158 -0
  38. package/build/credentials/ios/appstore/provisioningProfile.js +1 -0
  39. package/build/credentials/ios/appstore/resolveCredentials.js +6 -1
  40. package/build/graphql/generated.d.ts +313 -3
  41. package/build/graphql/generated.js +11 -2
  42. package/build/graphql/queries/FingerprintQuery.d.ts +16 -0
  43. package/build/graphql/queries/FingerprintQuery.js +61 -0
  44. package/build/graphql/types/Fingerprint.js +18 -0
  45. package/build/project/ios/exemptEncryption.d.ts +7 -0
  46. package/build/project/ios/exemptEncryption.js +80 -0
  47. package/build/project/publish.d.ts +4 -4
  48. package/build/project/publish.js +9 -8
  49. package/build/project/resolveRuntimeVersionAsync.d.ts +4 -4
  50. package/build/project/resolveRuntimeVersionAsync.js +4 -4
  51. package/build/submit/ios/AppProduce.js +12 -23
  52. package/build/utils/fingerprintCli.d.ts +2 -1
  53. package/build/utils/fingerprintCli.js +11 -3
  54. package/build/worker/upload.js +19 -3
  55. package/oclif.manifest.json +217 -155
  56. package/package.json +6 -6
  57. /package/build/commands/{worker → deploy}/alias.d.ts +0 -0
  58. /package/build/commands/{worker/deploy.d.ts → deploy/index.d.ts} +0 -0
@@ -175,6 +175,7 @@ export type Account = {
175
175
  /** Whether this account has SSO enabled. Can be queried by all members. */
176
176
  isSSOEnabled: Scalars['Boolean']['output'];
177
177
  lastDeletionAttemptTime?: Maybe<Scalars['DateTime']['output']>;
178
+ logRocketOrganization?: Maybe<LogRocketOrganization>;
178
179
  name: Scalars['String']['output'];
179
180
  /** Offers set on this account */
180
181
  offers?: Maybe<Array<Offer>>;
@@ -958,6 +959,7 @@ export type AndroidJobInput = {
958
959
  cache?: InputMaybe<BuildCacheInput>;
959
960
  customBuildConfig?: InputMaybe<CustomBuildConfigInput>;
960
961
  developmentClient?: InputMaybe<Scalars['Boolean']['input']>;
962
+ environment?: InputMaybe<EnvironmentVariableEnvironment>;
961
963
  experimental?: InputMaybe<Scalars['JSONObject']['input']>;
962
964
  gradleCommand?: InputMaybe<Scalars['String']['input']>;
963
965
  loggerLevel?: InputMaybe<WorkerLoggerLevel>;
@@ -1154,6 +1156,7 @@ export type App = Project & {
1154
1156
  likeCount: Scalars['Int']['output'];
1155
1157
  /** @deprecated 'likes' have been deprecated. */
1156
1158
  likedBy: Array<Maybe<User>>;
1159
+ logRocketProject?: Maybe<LogRocketProject>;
1157
1160
  name: Scalars['String']['output'];
1158
1161
  ownerAccount: Account;
1159
1162
  /** @deprecated No longer supported */
@@ -1399,6 +1402,7 @@ export type AppUpdatesArgs = {
1399
1402
  export type AppUpdatesPaginatedArgs = {
1400
1403
  after?: InputMaybe<Scalars['String']['input']>;
1401
1404
  before?: InputMaybe<Scalars['String']['input']>;
1405
+ filter?: InputMaybe<UpdateFilterInput>;
1402
1406
  first?: InputMaybe<Scalars['Int']['input']>;
1403
1407
  last?: InputMaybe<Scalars['Int']['input']>;
1404
1408
  };
@@ -2458,7 +2462,7 @@ export type BuildArtifacts = {
2458
2462
  applicationArchiveUrl?: Maybe<Scalars['String']['output']>;
2459
2463
  buildArtifactsUrl?: Maybe<Scalars['String']['output']>;
2460
2464
  buildUrl?: Maybe<Scalars['String']['output']>;
2461
- /** @deprecated Use 'runtime.fingerprintDebugInfoUrl' instead. */
2465
+ /** @deprecated Use 'runtime.fingerprint.debugInfoUrl' instead. */
2462
2466
  fingerprintUrl?: Maybe<Scalars['String']['output']>;
2463
2467
  xcodeBuildLogsUrl?: Maybe<Scalars['String']['output']>;
2464
2468
  };
@@ -2485,7 +2489,9 @@ export type BuildFilter = {
2485
2489
  appVersion?: InputMaybe<Scalars['String']['input']>;
2486
2490
  buildProfile?: InputMaybe<Scalars['String']['input']>;
2487
2491
  channel?: InputMaybe<Scalars['String']['input']>;
2492
+ developmentClient?: InputMaybe<Scalars['Boolean']['input']>;
2488
2493
  distribution?: InputMaybe<DistributionType>;
2494
+ fingerprintHash?: InputMaybe<Scalars['String']['input']>;
2489
2495
  gitCommitHash?: InputMaybe<Scalars['String']['input']>;
2490
2496
  hasFingerprint?: InputMaybe<Scalars['Boolean']['input']>;
2491
2497
  platform?: InputMaybe<AppPlatform>;
@@ -2498,6 +2504,7 @@ export type BuildFilterInput = {
2498
2504
  channel?: InputMaybe<Scalars['String']['input']>;
2499
2505
  developmentClient?: InputMaybe<Scalars['Boolean']['input']>;
2500
2506
  distributions?: InputMaybe<Array<DistributionType>>;
2507
+ fingerprintHash?: InputMaybe<Scalars['String']['input']>;
2501
2508
  hasFingerprint?: InputMaybe<Scalars['Boolean']['input']>;
2502
2509
  platforms?: InputMaybe<Array<AppPlatform>>;
2503
2510
  releaseChannel?: InputMaybe<Scalars['String']['input']>;
@@ -3107,6 +3114,14 @@ export type DeleteIosAppCredentialsResult = {
3107
3114
  __typename?: 'DeleteIosAppCredentialsResult';
3108
3115
  id: Scalars['ID']['output'];
3109
3116
  };
3117
+ export type DeleteLogRocketOrganizationResult = {
3118
+ __typename?: 'DeleteLogRocketOrganizationResult';
3119
+ accountId: Scalars['ID']['output'];
3120
+ };
3121
+ export type DeleteLogRocketProjectResult = {
3122
+ __typename?: 'DeleteLogRocketProjectResult';
3123
+ id: Scalars['ID']['output'];
3124
+ };
3110
3125
  export type DeleteRobotResult = {
3111
3126
  __typename?: 'DeleteRobotResult';
3112
3127
  id: Scalars['ID']['output'];
@@ -3442,6 +3457,8 @@ export type EnvironmentVariableMutation = {
3442
3457
  createEnvironmentVariableForAccount: EnvironmentVariable;
3443
3458
  /** Create an environment variable for an App */
3444
3459
  createEnvironmentVariableForApp: EnvironmentVariable;
3460
+ /** Bulk delete environment variables */
3461
+ deleteBulkEnvironmentVariables: Array<DeleteEnvironmentVariableResult>;
3445
3462
  /** Delete an environment variable */
3446
3463
  deleteEnvironmentVariable: DeleteEnvironmentVariableResult;
3447
3464
  /** Bulk link shared environment variables */
@@ -3450,6 +3467,8 @@ export type EnvironmentVariableMutation = {
3450
3467
  linkSharedEnvironmentVariable: EnvironmentVariable;
3451
3468
  /** Unlink shared environment variable */
3452
3469
  unlinkSharedEnvironmentVariable: EnvironmentVariable;
3470
+ /** Bulk update environment variables */
3471
+ updateBulkEnvironmentVariables: Array<EnvironmentVariable>;
3453
3472
  /** Update an environment variable */
3454
3473
  updateEnvironmentVariable: EnvironmentVariable;
3455
3474
  };
@@ -3469,6 +3488,9 @@ export type EnvironmentVariableMutationCreateEnvironmentVariableForAppArgs = {
3469
3488
  appId: Scalars['ID']['input'];
3470
3489
  environmentVariableData: CreateEnvironmentVariableInput;
3471
3490
  };
3491
+ export type EnvironmentVariableMutationDeleteBulkEnvironmentVariablesArgs = {
3492
+ ids: Array<Scalars['ID']['input']>;
3493
+ };
3472
3494
  export type EnvironmentVariableMutationDeleteEnvironmentVariableArgs = {
3473
3495
  id: Scalars['ID']['input'];
3474
3496
  };
@@ -3485,6 +3507,9 @@ export type EnvironmentVariableMutationUnlinkSharedEnvironmentVariableArgs = {
3485
3507
  environment?: InputMaybe<EnvironmentVariableEnvironment>;
3486
3508
  environmentVariableId: Scalars['ID']['input'];
3487
3509
  };
3510
+ export type EnvironmentVariableMutationUpdateBulkEnvironmentVariablesArgs = {
3511
+ environmentVariablesData: Array<UpdateEnvironmentVariableInput>;
3512
+ };
3488
3513
  export type EnvironmentVariableMutationUpdateEnvironmentVariableArgs = {
3489
3514
  environmentVariableData: UpdateEnvironmentVariableInput;
3490
3515
  };
@@ -3581,12 +3606,35 @@ export declare enum Feature {
3581
3606
  export type Fingerprint = {
3582
3607
  __typename?: 'Fingerprint';
3583
3608
  app: App;
3609
+ builds: AppBuildsConnection;
3584
3610
  createdAt: Scalars['DateTime']['output'];
3585
3611
  debugInfoUrl?: Maybe<Scalars['String']['output']>;
3586
3612
  hash: Scalars['String']['output'];
3587
3613
  id: Scalars['ID']['output'];
3588
3614
  source?: Maybe<FingerprintSource>;
3589
3615
  updatedAt: Scalars['DateTime']['output'];
3616
+ updates: AppUpdatesConnection;
3617
+ };
3618
+ export type FingerprintBuildsArgs = {
3619
+ after?: InputMaybe<Scalars['String']['input']>;
3620
+ before?: InputMaybe<Scalars['String']['input']>;
3621
+ filter?: InputMaybe<FingerprintBuildsFilterInput>;
3622
+ first?: InputMaybe<Scalars['Int']['input']>;
3623
+ last?: InputMaybe<Scalars['Int']['input']>;
3624
+ };
3625
+ export type FingerprintUpdatesArgs = {
3626
+ after?: InputMaybe<Scalars['String']['input']>;
3627
+ before?: InputMaybe<Scalars['String']['input']>;
3628
+ first?: InputMaybe<Scalars['Int']['input']>;
3629
+ last?: InputMaybe<Scalars['Int']['input']>;
3630
+ };
3631
+ export type FingerprintBuildsFilterInput = {
3632
+ channel?: InputMaybe<Scalars['String']['input']>;
3633
+ developmentClient?: InputMaybe<Scalars['Boolean']['input']>;
3634
+ distributions?: InputMaybe<Array<DistributionType>>;
3635
+ platforms?: InputMaybe<Array<AppPlatform>>;
3636
+ releaseChannel?: InputMaybe<Scalars['String']['input']>;
3637
+ simulator?: InputMaybe<Scalars['Boolean']['input']>;
3590
3638
  };
3591
3639
  export type FingerprintFilterInput = {
3592
3640
  hashes?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -3632,6 +3680,19 @@ export type FutureSubscription = {
3632
3680
  recurringCents?: Maybe<Scalars['Int']['output']>;
3633
3681
  startDate: Scalars['DateTime']['output'];
3634
3682
  };
3683
+ export type GenerateLogRocketOrganizationLinkResult = {
3684
+ __typename?: 'GenerateLogRocketOrganizationLinkResult';
3685
+ url: Scalars['String']['output'];
3686
+ };
3687
+ export type GenerateLogRocketOrganizationLinkingUrlInput = {
3688
+ accountId: Scalars['ID']['input'];
3689
+ callbackUrl: Scalars['String']['input'];
3690
+ };
3691
+ export type GenerateLogRocketReplayTokenResult = {
3692
+ __typename?: 'GenerateLogRocketReplayTokenResult';
3693
+ orgSlug: Scalars['String']['output'];
3694
+ replayToken: Scalars['String']['output'];
3695
+ };
3635
3696
  export type GetSignedAssetUploadSpecificationsResult = {
3636
3697
  __typename?: 'GetSignedAssetUploadSpecificationsResult';
3637
3698
  specifications: Array<Scalars['String']['output']>;
@@ -3643,6 +3704,7 @@ export declare enum GitHubAppEnvironment {
3643
3704
  }
3644
3705
  export type GitHubAppInstallation = {
3645
3706
  __typename?: 'GitHubAppInstallation';
3707
+ /** The Expo account that owns the installation entity. */
3646
3708
  account: Account;
3647
3709
  actor?: Maybe<Actor>;
3648
3710
  id: Scalars['ID']['output'];
@@ -3660,10 +3722,16 @@ export type GitHubAppInstallationAccessibleRepository = {
3660
3722
  private: Scalars['Boolean']['output'];
3661
3723
  url: Scalars['String']['output'];
3662
3724
  };
3725
+ export declare enum GitHubAppInstallationAccountType {
3726
+ Organization = "ORGANIZATION",
3727
+ User = "USER"
3728
+ }
3663
3729
  export type GitHubAppInstallationMetadata = {
3664
3730
  __typename?: 'GitHubAppInstallationMetadata';
3665
3731
  githubAccountAvatarUrl?: Maybe<Scalars['String']['output']>;
3732
+ /** The login of the GitHub account that owns the installation. Not the display name. */
3666
3733
  githubAccountName?: Maybe<Scalars['String']['output']>;
3734
+ githubAccountType?: Maybe<GitHubAppInstallationAccountType>;
3667
3735
  installationStatus: GitHubAppInstallationStatus;
3668
3736
  };
3669
3737
  export type GitHubAppInstallationMutation = {
@@ -4189,6 +4257,7 @@ export type IosJobInput = {
4189
4257
  developmentClient?: InputMaybe<Scalars['Boolean']['input']>;
4190
4258
  /** @deprecated */
4191
4259
  distribution?: InputMaybe<DistributionType>;
4260
+ environment?: InputMaybe<EnvironmentVariableEnvironment>;
4192
4261
  experimental?: InputMaybe<Scalars['JSONObject']['input']>;
4193
4262
  loggerLevel?: InputMaybe<WorkerLoggerLevel>;
4194
4263
  mode?: InputMaybe<BuildMode>;
@@ -4272,6 +4341,7 @@ export type IosSubmissionConfigInput = {
4272
4341
  export type JobRun = {
4273
4342
  __typename?: 'JobRun';
4274
4343
  app: App;
4344
+ artifacts: Array<WorkflowArtifact>;
4275
4345
  /** @deprecated No longer supported */
4276
4346
  childJobRun?: Maybe<JobRun>;
4277
4347
  createdAt: Scalars['DateTime']['output'];
@@ -4364,6 +4434,14 @@ export type LineDataset = {
4364
4434
  id: Scalars['ID']['output'];
4365
4435
  label: Scalars['String']['output'];
4366
4436
  };
4437
+ export type LinkLogRocketOrganizationToExpoAccountInput = {
4438
+ accountId: Scalars['ID']['input'];
4439
+ client_id: Scalars['String']['input'];
4440
+ client_secret: Scalars['String']['input'];
4441
+ orgName: Scalars['String']['input'];
4442
+ orgSlug: Scalars['String']['input'];
4443
+ state: Scalars['String']['input'];
4444
+ };
4367
4445
  export type LinkSharedEnvironmentVariableInput = {
4368
4446
  appId: Scalars['ID']['input'];
4369
4447
  environment?: InputMaybe<EnvironmentVariableEnvironment>;
@@ -4374,6 +4452,60 @@ export type LogNameTypeMapping = {
4374
4452
  publicName: Scalars['String']['output'];
4375
4453
  typeName: EntityTypeName;
4376
4454
  };
4455
+ export type LogRocketOrganization = {
4456
+ __typename?: 'LogRocketOrganization';
4457
+ account: Account;
4458
+ createdAt: Scalars['DateTime']['output'];
4459
+ id: Scalars['ID']['output'];
4460
+ orgName: Scalars['String']['output'];
4461
+ orgSlug: Scalars['String']['output'];
4462
+ };
4463
+ export type LogRocketOrganizationMutation = {
4464
+ __typename?: 'LogRocketOrganizationMutation';
4465
+ /** Delete a LogRocket organization by ID */
4466
+ deleteLogRocketOrganization: DeleteLogRocketOrganizationResult;
4467
+ /** Generate a LogRocket linking URL */
4468
+ generateLogRocketOrganizationLinkingURL: GenerateLogRocketOrganizationLinkResult;
4469
+ /** Generate a LogRocket replay token for an organization */
4470
+ generateLogRocketReplayToken: GenerateLogRocketReplayTokenResult;
4471
+ /** Link a LogRocket organization to an Expo account */
4472
+ linkLogRocketOrganizationToExpoAccount: LogRocketOrganization;
4473
+ };
4474
+ export type LogRocketOrganizationMutationDeleteLogRocketOrganizationArgs = {
4475
+ accountId: Scalars['ID']['input'];
4476
+ };
4477
+ export type LogRocketOrganizationMutationGenerateLogRocketOrganizationLinkingUrlArgs = {
4478
+ input: GenerateLogRocketOrganizationLinkingUrlInput;
4479
+ };
4480
+ export type LogRocketOrganizationMutationGenerateLogRocketReplayTokenArgs = {
4481
+ accountId: Scalars['ID']['input'];
4482
+ };
4483
+ export type LogRocketOrganizationMutationLinkLogRocketOrganizationToExpoAccountArgs = {
4484
+ input: LinkLogRocketOrganizationToExpoAccountInput;
4485
+ };
4486
+ export type LogRocketProject = {
4487
+ __typename?: 'LogRocketProject';
4488
+ app: App;
4489
+ createdAt: Scalars['DateTime']['output'];
4490
+ id: Scalars['ID']['output'];
4491
+ logRocketOrgId: Scalars['ID']['output'];
4492
+ logRocketProjectSlug: Scalars['String']['output'];
4493
+ updatedAt: Scalars['DateTime']['output'];
4494
+ };
4495
+ export type LogRocketProjectMutation = {
4496
+ __typename?: 'LogRocketProjectMutation';
4497
+ /** Create a LogRocket project */
4498
+ createLogRocketProject: LogRocketProject;
4499
+ /** Delete a LogRocket project by ID */
4500
+ deleteLogRocketProject: DeleteLogRocketProjectResult;
4501
+ };
4502
+ export type LogRocketProjectMutationCreateLogRocketProjectArgs = {
4503
+ appId: Scalars['ID']['input'];
4504
+ logRocketProjectSlug: Scalars['String']['input'];
4505
+ };
4506
+ export type LogRocketProjectMutationDeleteLogRocketProjectArgs = {
4507
+ logRocketProjectId: Scalars['ID']['input'];
4508
+ };
4377
4509
  export type LogsTimespan = {
4378
4510
  end: Scalars['DateTime']['input'];
4379
4511
  start?: InputMaybe<Scalars['DateTime']['input']>;
@@ -4699,7 +4831,6 @@ export type PublishUpdateGroupInput = {
4699
4831
  message?: InputMaybe<Scalars['String']['input']>;
4700
4832
  rollBackToEmbeddedInfoGroup?: InputMaybe<UpdateRollBackToEmbeddedGroup>;
4701
4833
  rolloutInfoGroup?: InputMaybe<UpdateRolloutInfoGroup>;
4702
- runtimeFingerprintSource?: InputMaybe<FingerprintSourceInput>;
4703
4834
  runtimeVersion: Scalars['String']['input'];
4704
4835
  turtleJobRunId?: InputMaybe<Scalars['String']['input']>;
4705
4836
  updateInfoGroup?: InputMaybe<UpdateInfoGroup>;
@@ -4917,6 +5048,10 @@ export type RootMutation = {
4917
5048
  /** Mutations that modify an EAS Build */
4918
5049
  jobRun: JobRunMutation;
4919
5050
  keystoreGenerationUrl: KeystoreGenerationUrlMutation;
5051
+ /** Mutations for LogRocket organizations */
5052
+ logRocketOrganization: LogRocketOrganizationMutation;
5053
+ /** Mutations for LogRocket projects */
5054
+ logRocketProject: LogRocketProjectMutation;
4920
5055
  /** Mutations that modify the currently authenticated User */
4921
5056
  me: MeMutation;
4922
5057
  /** Mutations that modify a NotificationSubscription */
@@ -5092,7 +5227,7 @@ export type Runtime = {
5092
5227
  builds: AppBuildsConnection;
5093
5228
  createdAt: Scalars['DateTime']['output'];
5094
5229
  deployments: DeploymentsConnection;
5095
- fingerprintDebugInfoUrl?: Maybe<Scalars['String']['output']>;
5230
+ fingerprint?: Maybe<Fingerprint>;
5096
5231
  firstBuildCreatedAt?: Maybe<Scalars['DateTime']['output']>;
5097
5232
  id: Scalars['ID']['output'];
5098
5233
  updatedAt: Scalars['DateTime']['output'];
@@ -5771,6 +5906,11 @@ export type UpdateEnvironmentVariableInput = {
5771
5906
  value?: InputMaybe<Scalars['String']['input']>;
5772
5907
  visibility?: InputMaybe<EnvironmentVariableVisibility>;
5773
5908
  };
5909
+ export type UpdateFilterInput = {
5910
+ fingerprintHash?: InputMaybe<Scalars['String']['input']>;
5911
+ hasFingerprint?: InputMaybe<Scalars['Boolean']['input']>;
5912
+ runtimeVersion?: InputMaybe<Scalars['String']['input']>;
5913
+ };
5774
5914
  export type UpdateGitHubBuildTriggerInput = {
5775
5915
  autoSubmit: Scalars['Boolean']['input'];
5776
5916
  buildProfile: Scalars['String']['input'];
@@ -6879,6 +7019,18 @@ export type WorkflowRunsPaginatedArgs = {
6879
7019
  first?: InputMaybe<Scalars['Int']['input']>;
6880
7020
  last?: InputMaybe<Scalars['Int']['input']>;
6881
7021
  };
7022
+ export type WorkflowArtifact = {
7023
+ __typename?: 'WorkflowArtifact';
7024
+ contentType?: Maybe<Scalars['String']['output']>;
7025
+ createdAt: Scalars['DateTime']['output'];
7026
+ downloadUrl?: Maybe<Scalars['String']['output']>;
7027
+ fileSizeBytes?: Maybe<Scalars['Int']['output']>;
7028
+ filename: Scalars['String']['output'];
7029
+ id: Scalars['ID']['output'];
7030
+ jobRun: JobRun;
7031
+ name: Scalars['String']['output'];
7032
+ updatedAt: Scalars['DateTime']['output'];
7033
+ };
6882
7034
  export type WorkflowJob = {
6883
7035
  __typename?: 'WorkflowJob';
6884
7036
  createdAt: Scalars['DateTime']['output'];
@@ -7008,6 +7160,8 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
7008
7160
  name: Scalars['String']['output'];
7009
7161
  pullRequestNumber?: Maybe<Scalars['Int']['output']>;
7010
7162
  requestedGitRef?: Maybe<Scalars['String']['output']>;
7163
+ retriedWorkflowRun?: Maybe<WorkflowRun>;
7164
+ retries: Array<WorkflowRun>;
7011
7165
  status: WorkflowRunStatus;
7012
7166
  triggerEventType: WorkflowRunTriggerEventType;
7013
7167
  updatedAt: Scalars['DateTime']['output'];
@@ -7031,6 +7185,7 @@ export type WorkflowRunMutation = {
7031
7185
  __typename?: 'WorkflowRunMutation';
7032
7186
  cancelWorkflowRun: WorkflowRun;
7033
7187
  createWorkflowRun: WorkflowRun;
7188
+ retryWorkflowRun: WorkflowRun;
7034
7189
  };
7035
7190
  export type WorkflowRunMutationCancelWorkflowRunArgs = {
7036
7191
  workflowRunId: Scalars['ID']['input'];
@@ -7040,6 +7195,10 @@ export type WorkflowRunMutationCreateWorkflowRunArgs = {
7040
7195
  workflowRevisionInput: WorkflowRevisionInput;
7041
7196
  workflowRunInput: WorkflowRunInput;
7042
7197
  };
7198
+ export type WorkflowRunMutationRetryWorkflowRunArgs = {
7199
+ fromFailedJobs?: InputMaybe<Scalars['Boolean']['input']>;
7200
+ workflowRunId: Scalars['ID']['input'];
7201
+ };
7043
7202
  export type WorkflowRunQuery = {
7044
7203
  __typename?: 'WorkflowRunQuery';
7045
7204
  byId: WorkflowRun;
@@ -7058,6 +7217,10 @@ export declare enum WorkflowRunStatus {
7058
7217
  }
7059
7218
  export declare enum WorkflowRunTriggerEventType {
7060
7219
  Github = "GITHUB",
7220
+ GithubPullRequestOpened = "GITHUB_PULL_REQUEST_OPENED",
7221
+ GithubPullRequestReopened = "GITHUB_PULL_REQUEST_REOPENED",
7222
+ GithubPullRequestSynchronize = "GITHUB_PULL_REQUEST_SYNCHRONIZE",
7223
+ GithubPush = "GITHUB_PUSH",
7061
7224
  Manual = "MANUAL"
7062
7225
  }
7063
7226
  export type WorkflowRunsConnection = {
@@ -11438,6 +11601,28 @@ export type CreateFingeprintMutation = {
11438
11601
  id: string;
11439
11602
  hash: string;
11440
11603
  debugInfoUrl?: string | null;
11604
+ builds: {
11605
+ __typename?: 'AppBuildsConnection';
11606
+ edges: Array<{
11607
+ __typename?: 'AppBuildEdge';
11608
+ node: {
11609
+ __typename?: 'Build';
11610
+ platform: AppPlatform;
11611
+ id: string;
11612
+ };
11613
+ }>;
11614
+ };
11615
+ updates: {
11616
+ __typename?: 'AppUpdatesConnection';
11617
+ edges: Array<{
11618
+ __typename?: 'AppUpdateEdge';
11619
+ node: {
11620
+ __typename?: 'Update';
11621
+ id: string;
11622
+ platform: string;
11623
+ };
11624
+ }>;
11625
+ };
11441
11626
  };
11442
11627
  };
11443
11628
  };
@@ -12427,6 +12612,28 @@ export type BuildsWithFingerprintByIdQuery = {
12427
12612
  id: string;
12428
12613
  hash: string;
12429
12614
  debugInfoUrl?: string | null;
12615
+ builds: {
12616
+ __typename?: 'AppBuildsConnection';
12617
+ edges: Array<{
12618
+ __typename?: 'AppBuildEdge';
12619
+ node: {
12620
+ __typename?: 'Build';
12621
+ platform: AppPlatform;
12622
+ id: string;
12623
+ };
12624
+ }>;
12625
+ };
12626
+ updates: {
12627
+ __typename?: 'AppUpdatesConnection';
12628
+ edges: Array<{
12629
+ __typename?: 'AppUpdateEdge';
12630
+ node: {
12631
+ __typename?: 'Update';
12632
+ id: string;
12633
+ platform: string;
12634
+ };
12635
+ }>;
12636
+ };
12430
12637
  } | null;
12431
12638
  error?: {
12432
12639
  __typename?: 'BuildError';
@@ -12915,6 +13122,65 @@ export type EnvironmentVariablesSharedWithSensitiveQuery = {
12915
13122
  };
12916
13123
  };
12917
13124
  };
13125
+ export type FingerprintsByAppIdQueryVariables = Exact<{
13126
+ appId: Scalars['String']['input'];
13127
+ after?: InputMaybe<Scalars['String']['input']>;
13128
+ first?: InputMaybe<Scalars['Int']['input']>;
13129
+ before?: InputMaybe<Scalars['String']['input']>;
13130
+ last?: InputMaybe<Scalars['Int']['input']>;
13131
+ fingerprintFilter?: InputMaybe<FingerprintFilterInput>;
13132
+ }>;
13133
+ export type FingerprintsByAppIdQuery = {
13134
+ __typename?: 'RootQuery';
13135
+ app: {
13136
+ __typename?: 'AppQuery';
13137
+ byId: {
13138
+ __typename?: 'App';
13139
+ id: string;
13140
+ fingerprintsPaginated: {
13141
+ __typename?: 'AppFingerprintsConnection';
13142
+ edges: Array<{
13143
+ __typename?: 'AppFingerprintEdge';
13144
+ node: {
13145
+ __typename?: 'Fingerprint';
13146
+ id: string;
13147
+ hash: string;
13148
+ debugInfoUrl?: string | null;
13149
+ builds: {
13150
+ __typename?: 'AppBuildsConnection';
13151
+ edges: Array<{
13152
+ __typename?: 'AppBuildEdge';
13153
+ node: {
13154
+ __typename?: 'Build';
13155
+ platform: AppPlatform;
13156
+ id: string;
13157
+ };
13158
+ }>;
13159
+ };
13160
+ updates: {
13161
+ __typename?: 'AppUpdatesConnection';
13162
+ edges: Array<{
13163
+ __typename?: 'AppUpdateEdge';
13164
+ node: {
13165
+ __typename?: 'Update';
13166
+ id: string;
13167
+ platform: string;
13168
+ };
13169
+ }>;
13170
+ };
13171
+ };
13172
+ }>;
13173
+ pageInfo: {
13174
+ __typename?: 'PageInfo';
13175
+ hasNextPage: boolean;
13176
+ hasPreviousPage: boolean;
13177
+ startCursor?: string | null;
13178
+ endCursor?: string | null;
13179
+ };
13180
+ };
13181
+ };
13182
+ };
13183
+ };
12918
13184
  export type GoogleServiceAccountKeyByIdQueryVariables = Exact<{
12919
13185
  ascApiKeyId: Scalars['ID']['input'];
12920
13186
  }>;
@@ -13821,6 +14087,28 @@ export type BuildWithFingerprintFragment = {
13821
14087
  id: string;
13822
14088
  hash: string;
13823
14089
  debugInfoUrl?: string | null;
14090
+ builds: {
14091
+ __typename?: 'AppBuildsConnection';
14092
+ edges: Array<{
14093
+ __typename?: 'AppBuildEdge';
14094
+ node: {
14095
+ __typename?: 'Build';
14096
+ platform: AppPlatform;
14097
+ id: string;
14098
+ };
14099
+ }>;
14100
+ };
14101
+ updates: {
14102
+ __typename?: 'AppUpdatesConnection';
14103
+ edges: Array<{
14104
+ __typename?: 'AppUpdateEdge';
14105
+ node: {
14106
+ __typename?: 'Update';
14107
+ id: string;
14108
+ platform: string;
14109
+ };
14110
+ }>;
14111
+ };
13824
14112
  } | null;
13825
14113
  error?: {
13826
14114
  __typename?: 'BuildError';
@@ -13901,6 +14189,28 @@ export type FingerprintFragment = {
13901
14189
  id: string;
13902
14190
  hash: string;
13903
14191
  debugInfoUrl?: string | null;
14192
+ builds: {
14193
+ __typename?: 'AppBuildsConnection';
14194
+ edges: Array<{
14195
+ __typename?: 'AppBuildEdge';
14196
+ node: {
14197
+ __typename?: 'Build';
14198
+ platform: AppPlatform;
14199
+ id: string;
14200
+ };
14201
+ }>;
14202
+ };
14203
+ updates: {
14204
+ __typename?: 'AppUpdatesConnection';
14205
+ edges: Array<{
14206
+ __typename?: 'AppUpdateEdge';
14207
+ node: {
14208
+ __typename?: 'Update';
14209
+ id: string;
14210
+ platform: string;
14211
+ };
14212
+ }>;
14213
+ };
13904
14214
  };
13905
14215
  export type RuntimeFragment = {
13906
14216
  __typename?: 'Runtime';
@@ -7,8 +7,8 @@
7
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
- 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.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;
10
+ 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.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = 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 = exports.UsageMetricType = void 0;
12
12
  var AccountAppsSortByField;
13
13
  (function (AccountAppsSortByField) {
14
14
  AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
@@ -422,6 +422,11 @@ var GitHubAppEnvironment;
422
422
  GitHubAppEnvironment["Production"] = "PRODUCTION";
423
423
  GitHubAppEnvironment["Staging"] = "STAGING";
424
424
  })(GitHubAppEnvironment || (exports.GitHubAppEnvironment = GitHubAppEnvironment = {}));
425
+ var GitHubAppInstallationAccountType;
426
+ (function (GitHubAppInstallationAccountType) {
427
+ GitHubAppInstallationAccountType["Organization"] = "ORGANIZATION";
428
+ GitHubAppInstallationAccountType["User"] = "USER";
429
+ })(GitHubAppInstallationAccountType || (exports.GitHubAppInstallationAccountType = GitHubAppInstallationAccountType = {}));
425
430
  var GitHubAppInstallationStatus;
426
431
  (function (GitHubAppInstallationStatus) {
427
432
  GitHubAppInstallationStatus["Active"] = "ACTIVE";
@@ -876,5 +881,9 @@ var WorkflowRunStatus;
876
881
  var WorkflowRunTriggerEventType;
877
882
  (function (WorkflowRunTriggerEventType) {
878
883
  WorkflowRunTriggerEventType["Github"] = "GITHUB";
884
+ WorkflowRunTriggerEventType["GithubPullRequestOpened"] = "GITHUB_PULL_REQUEST_OPENED";
885
+ WorkflowRunTriggerEventType["GithubPullRequestReopened"] = "GITHUB_PULL_REQUEST_REOPENED";
886
+ WorkflowRunTriggerEventType["GithubPullRequestSynchronize"] = "GITHUB_PULL_REQUEST_SYNCHRONIZE";
887
+ WorkflowRunTriggerEventType["GithubPush"] = "GITHUB_PUSH";
879
888
  WorkflowRunTriggerEventType["Manual"] = "MANUAL";
880
889
  })(WorkflowRunTriggerEventType || (exports.WorkflowRunTriggerEventType = WorkflowRunTriggerEventType = {}));
@@ -0,0 +1,16 @@
1
+ import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
2
+ import { FingerprintFilterInput, FingerprintFragment, FingerprintsByAppIdQuery } from '../generated';
3
+ export declare const FingerprintQuery: {
4
+ byHashAsync(graphqlClient: ExpoGraphqlClient, { appId, hash, }: {
5
+ appId: string;
6
+ hash: string;
7
+ }): Promise<FingerprintFragment | null>;
8
+ getFingerprintsAsync(graphqlClient: ExpoGraphqlClient, { appId, first, after, last, before, fingerprintFilter, }: {
9
+ appId: string;
10
+ first?: number | undefined;
11
+ after?: string | undefined;
12
+ last?: number | undefined;
13
+ before?: string | undefined;
14
+ fingerprintFilter?: FingerprintFilterInput | undefined;
15
+ }): Promise<FingerprintsByAppIdQuery['app']['byId']['fingerprintsPaginated']>;
16
+ };
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FingerprintQuery = 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.FingerprintQuery = {
10
+ async byHashAsync(graphqlClient, { appId, hash, }) {
11
+ const fingerprintConnection = await exports.FingerprintQuery.getFingerprintsAsync(graphqlClient, {
12
+ appId,
13
+ fingerprintFilter: { hashes: [hash] },
14
+ first: 1,
15
+ });
16
+ const fingerprints = fingerprintConnection.edges.map(edge => edge.node);
17
+ return fingerprints[0] ?? null;
18
+ },
19
+ async getFingerprintsAsync(graphqlClient, { appId, first, after, last, before, fingerprintFilter, }) {
20
+ const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
21
+ .query((0, graphql_tag_1.default) `
22
+ query FingerprintsByAppId(
23
+ $appId: String!
24
+ $after: String
25
+ $first: Int
26
+ $before: String
27
+ $last: Int
28
+ $fingerprintFilter: FingerprintFilterInput
29
+ ) {
30
+ app {
31
+ byId(appId: $appId) {
32
+ id
33
+ fingerprintsPaginated(
34
+ after: $after
35
+ first: $first
36
+ before: $before
37
+ last: $last
38
+ filter: $fingerprintFilter
39
+ ) {
40
+ edges {
41
+ node {
42
+ id
43
+ ...FingerprintFragment
44
+ }
45
+ }
46
+ pageInfo {
47
+ hasNextPage
48
+ hasPreviousPage
49
+ startCursor
50
+ endCursor
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ ${(0, graphql_1.print)(Fingerprint_1.FingerprintFragmentNode)}
57
+ `, { appId, after, first, before, last, fingerprintFilter }, { additionalTypenames: ['Fingerprint'] })
58
+ .toPromise());
59
+ return data.app?.byId.fingerprintsPaginated;
60
+ },
61
+ };