eas-cli 16.0.1 → 16.2.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 (32) hide show
  1. package/README.md +117 -81
  2. package/build/build/android/prepareJob.js +1 -0
  3. package/build/build/ios/prepareJob.js +1 -0
  4. package/build/build/utils/url.d.ts +1 -0
  5. package/build/build/utils/url.js +5 -1
  6. package/build/commandUtils/EasCommand.js +6 -1
  7. package/build/commandUtils/builds.d.ts +1 -0
  8. package/build/commandUtils/builds.js +3 -0
  9. package/build/commandUtils/context/ServerSideEnvironmentVariablesContextField.d.ts +1 -2
  10. package/build/commands/deploy/index.js +20 -2
  11. package/build/commands/fingerprint/compare.d.ts +3 -11
  12. package/build/commands/fingerprint/compare.js +50 -15
  13. package/build/commands/fingerprint/generate.d.ts +6 -3
  14. package/build/commands/fingerprint/generate.js +50 -9
  15. package/build/commands/update/delete.js +13 -6
  16. package/build/commands/update/index.d.ts +1 -0
  17. package/build/commands/update/index.js +90 -59
  18. package/build/fingerprint/cli.js +11 -2
  19. package/build/fingerprint/utils.d.ts +3 -1
  20. package/build/fingerprint/utils.js +2 -2
  21. package/build/graphql/generated.d.ts +213 -9
  22. package/build/graphql/generated.js +15 -1
  23. package/build/graphql/queries/BackgroundJobReceiptQuery.d.ts +5 -0
  24. package/build/graphql/queries/BackgroundJobReceiptQuery.js +27 -0
  25. package/build/graphql/types/BackgroundJobReceipt.d.ts +1 -0
  26. package/build/graphql/types/BackgroundJobReceipt.js +20 -0
  27. package/build/project/publish.d.ts +17 -1
  28. package/build/project/publish.js +22 -1
  29. package/build/utils/pollForBackgroundJobReceiptAsync.d.ts +29 -0
  30. package/build/utils/pollForBackgroundJobReceiptAsync.js +92 -0
  31. package/oclif.manifest.json +49 -6
  32. package/package.json +6 -5
@@ -167,6 +167,7 @@ export type Account = {
167
167
  googleServiceAccountKeys: Array<GoogleServiceAccountKey>;
168
168
  /** Android credentials for account */
169
169
  googleServiceAccountKeysPaginated: AccountGoogleServiceAccountKeysConnection;
170
+ hasBuilds: Scalars['Boolean']['output'];
170
171
  id: Scalars['ID']['output'];
171
172
  isCurrent: Scalars['Boolean']['output'];
172
173
  isDisabled: Scalars['Boolean']['output'];
@@ -183,10 +184,12 @@ export type Account = {
183
184
  owner?: Maybe<User>;
184
185
  /** Owning UserActor of this account if personal account */
185
186
  ownerUserActor?: Maybe<UserActor>;
187
+ pendingSentryInstallation?: Maybe<PendingSentryInstallation>;
186
188
  profileImageUrl: Scalars['String']['output'];
187
189
  pushSecurityEnabled: Scalars['Boolean']['output'];
188
190
  /** @deprecated Legacy access tokens are deprecated */
189
191
  requiresAccessTokenForPushSecurity: Scalars['Boolean']['output'];
192
+ sentryInstallation?: Maybe<SentryInstallation>;
190
193
  /** Snacks associated with this account */
191
194
  snacks: Array<Snack>;
192
195
  /** SSO configuration for this account */
@@ -901,6 +904,7 @@ export declare enum AndroidBuildType {
901
904
  }
902
905
  export type AndroidBuilderEnvironmentInput = {
903
906
  bun?: InputMaybe<Scalars['String']['input']>;
907
+ corepack?: InputMaybe<Scalars['Boolean']['input']>;
904
908
  env?: InputMaybe<Scalars['JSONObject']['input']>;
905
909
  expoCli?: InputMaybe<Scalars['String']['input']>;
906
910
  image?: InputMaybe<Scalars['String']['input']>;
@@ -929,9 +933,12 @@ export type AndroidFcmInput = {
929
933
  };
930
934
  export type AndroidFcmMutation = {
931
935
  __typename?: 'AndroidFcmMutation';
932
- /** Create an FCM credential */
936
+ /**
937
+ * Create an FCM V0/Legacy credential
938
+ * @deprecated FCM Legacy credentials are no longer supported by Google. Use createFcmV1Credential instead.
939
+ */
933
940
  createAndroidFcm: AndroidFcm;
934
- /** Delete an FCM credential */
941
+ /** Delete an FCM V0/Legacy credential */
935
942
  deleteAndroidFcm: DeleteAndroidFcmResult;
936
943
  };
937
944
  export type AndroidFcmMutationCreateAndroidFcmArgs = {
@@ -1172,6 +1179,7 @@ export type App = Project & {
1172
1179
  privacy: Scalars['String']['output'];
1173
1180
  /** @deprecated No longer supported */
1174
1181
  privacySetting: AppPrivacy;
1182
+ profileImageUrl?: Maybe<Scalars['String']['output']>;
1175
1183
  /**
1176
1184
  * Whether there have been any classic update publishes
1177
1185
  * @deprecated Classic updates have been deprecated.
@@ -1196,6 +1204,7 @@ export type App = Project & {
1196
1204
  * @deprecated Classic updates have been deprecated.
1197
1205
  */
1198
1206
  sdkVersion: Scalars['String']['output'];
1207
+ sentryProject?: Maybe<SentryProject>;
1199
1208
  slug: Scalars['String']['output'];
1200
1209
  /** EAS Submissions associated with this app */
1201
1210
  submissions: Array<Submission>;
@@ -1345,6 +1354,7 @@ export type AppLikedByArgs = {
1345
1354
  export type AppRuntimesArgs = {
1346
1355
  after?: InputMaybe<Scalars['String']['input']>;
1347
1356
  before?: InputMaybe<Scalars['String']['input']>;
1357
+ filter?: InputMaybe<RuntimeFilterInput>;
1348
1358
  first?: InputMaybe<Scalars['Int']['input']>;
1349
1359
  last?: InputMaybe<Scalars['Int']['input']>;
1350
1360
  };
@@ -2327,6 +2337,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
2327
2337
  /** @deprecated Use 'updateChannel' field instead. */
2328
2338
  channel?: Maybe<Scalars['String']['output']>;
2329
2339
  childBuild?: Maybe<Build>;
2340
+ cliVersion?: Maybe<Scalars['String']['output']>;
2330
2341
  completedAt?: Maybe<Scalars['DateTime']['output']>;
2331
2342
  createdAt: Scalars['DateTime']['output'];
2332
2343
  customNodeVersion?: Maybe<Scalars['String']['output']>;
@@ -2342,6 +2353,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
2342
2353
  gitCommitHash?: Maybe<Scalars['String']['output']>;
2343
2354
  gitCommitMessage?: Maybe<Scalars['String']['output']>;
2344
2355
  gitRef?: Maybe<Scalars['String']['output']>;
2356
+ /** @deprecated Use 'githubRepository' field instead */
2345
2357
  githubRepositoryOwnerAndName?: Maybe<Scalars['String']['output']>;
2346
2358
  id: Scalars['ID']['output'];
2347
2359
  /** Queue position is 1-indexed */
@@ -2567,6 +2579,7 @@ export type BuildMetrics = {
2567
2579
  export declare enum BuildMode {
2568
2580
  Build = "BUILD",
2569
2581
  Custom = "CUSTOM",
2582
+ Local = "LOCAL",
2570
2583
  Repack = "REPACK",
2571
2584
  Resign = "RESIGN"
2572
2585
  }
@@ -2697,6 +2710,7 @@ export declare enum BuildPriority {
2697
2710
  export type BuildPublicData = {
2698
2711
  __typename?: 'BuildPublicData';
2699
2712
  artifacts: PublicArtifacts;
2713
+ buildMode?: Maybe<BuildMode>;
2700
2714
  distribution?: Maybe<DistributionType>;
2701
2715
  id: Scalars['ID']['output'];
2702
2716
  isForIosSimulator: Scalars['Boolean']['output'];
@@ -2872,6 +2886,10 @@ export type CreateAccessTokenResponse = {
2872
2886
  /** Full token string to be used for authentication */
2873
2887
  token: Scalars['String']['output'];
2874
2888
  };
2889
+ export type CreateAndConfigureRepositoryInput = {
2890
+ appId: Scalars['ID']['input'];
2891
+ installationIdentifier: Scalars['Int']['input'];
2892
+ };
2875
2893
  export type CreateAndroidSubmissionInput = {
2876
2894
  appId: Scalars['ID']['input'];
2877
2895
  archiveSource?: InputMaybe<SubmissionArchiveSourceInput>;
@@ -2952,6 +2970,11 @@ export type CreateIosSubmissionInput = {
2952
2970
  config: IosSubmissionConfigInput;
2953
2971
  submittedBuildId?: InputMaybe<Scalars['ID']['input']>;
2954
2972
  };
2973
+ export type CreateSentryProjectInput = {
2974
+ appId: Scalars['ID']['input'];
2975
+ sentryProjectId: Scalars['String']['input'];
2976
+ sentryProjectSlug: Scalars['String']['input'];
2977
+ };
2955
2978
  export type CreateSharedEnvironmentVariableInput = {
2956
2979
  environments?: InputMaybe<Array<EnvironmentVariableEnvironment>>;
2957
2980
  fileName?: InputMaybe<Scalars['String']['input']>;
@@ -3130,6 +3153,10 @@ export type DeleteSsoUserResult = {
3130
3153
  __typename?: 'DeleteSSOUserResult';
3131
3154
  id: Scalars['ID']['output'];
3132
3155
  };
3156
+ export type DeleteSentryProjectResult = {
3157
+ __typename?: 'DeleteSentryProjectResult';
3158
+ id: Scalars['ID']['output'];
3159
+ };
3133
3160
  export type DeleteUpdateBranchResult = {
3134
3161
  __typename?: 'DeleteUpdateBranchResult';
3135
3162
  id: Scalars['ID']['output'];
@@ -3379,6 +3406,8 @@ export declare enum EntityTypeName {
3379
3406
  CustomerEntity = "CustomerEntity",
3380
3407
  GoogleServiceAccountKeyEntity = "GoogleServiceAccountKeyEntity",
3381
3408
  IosAppCredentialsEntity = "IosAppCredentialsEntity",
3409
+ LogRocketOrganizationEntity = "LogRocketOrganizationEntity",
3410
+ LogRocketProjectEntity = "LogRocketProjectEntity",
3382
3411
  UserInvitationEntity = "UserInvitationEntity",
3383
3412
  UserPermissionEntity = "UserPermissionEntity",
3384
3413
  WorkerCustomDomainEntity = "WorkerCustomDomainEntity",
@@ -3693,6 +3722,12 @@ export type GenerateLogRocketReplayTokenResult = {
3693
3722
  orgSlug: Scalars['String']['output'];
3694
3723
  replayToken: Scalars['String']['output'];
3695
3724
  };
3725
+ export type GenerateSentryTokenResult = {
3726
+ __typename?: 'GenerateSentryTokenResult';
3727
+ installationId: Scalars['ID']['output'];
3728
+ orgSlug: Scalars['String']['output'];
3729
+ token: Scalars['String']['output'];
3730
+ };
3696
3731
  export type GetSignedAssetUploadSpecificationsResult = {
3697
3732
  __typename?: 'GetSignedAssetUploadSpecificationsResult';
3698
3733
  specifications: Array<Scalars['String']['output']>;
@@ -3905,6 +3940,7 @@ export type GitHubRepositoryMutation = {
3905
3940
  __typename?: 'GitHubRepositoryMutation';
3906
3941
  /** Configure EAS by pushing a commit to the default branch which updates or creates app.json, eas.json, and installs necessary dependencies. */
3907
3942
  configureEAS: BackgroundJobReceipt;
3943
+ createAndConfigureRepository: BackgroundJobReceipt;
3908
3944
  /** Create a GitHub repository for an App */
3909
3945
  createGitHubRepository: GitHubRepository;
3910
3946
  /** Delete a GitHub repository by ID */
@@ -3913,6 +3949,9 @@ export type GitHubRepositoryMutation = {
3913
3949
  export type GitHubRepositoryMutationConfigureEasArgs = {
3914
3950
  githubRepositoryId: Scalars['ID']['input'];
3915
3951
  };
3952
+ export type GitHubRepositoryMutationCreateAndConfigureRepositoryArgs = {
3953
+ input: CreateAndConfigureRepositoryInput;
3954
+ };
3916
3955
  export type GitHubRepositoryMutationCreateGitHubRepositoryArgs = {
3917
3956
  githubRepositoryData: CreateGitHubRepositoryInput;
3918
3957
  };
@@ -4224,6 +4263,7 @@ export type IosBuilderEnvironmentInput = {
4224
4263
  bun?: InputMaybe<Scalars['String']['input']>;
4225
4264
  bundler?: InputMaybe<Scalars['String']['input']>;
4226
4265
  cocoapods?: InputMaybe<Scalars['String']['input']>;
4266
+ corepack?: InputMaybe<Scalars['Boolean']['input']>;
4227
4267
  env?: InputMaybe<Scalars['JSONObject']['input']>;
4228
4268
  expoCli?: InputMaybe<Scalars['String']['input']>;
4229
4269
  fastlane?: InputMaybe<Scalars['String']['input']>;
@@ -4335,6 +4375,7 @@ export type IosSubmissionConfigInput = {
4335
4375
  ascApiKey?: InputMaybe<AscApiKeyInput>;
4336
4376
  ascApiKeyId?: InputMaybe<Scalars['String']['input']>;
4337
4377
  ascAppIdentifier: Scalars['String']['input'];
4378
+ groups?: InputMaybe<Array<Scalars['String']['input']>>;
4338
4379
  isVerboseFastlaneEnabled?: InputMaybe<Scalars['Boolean']['input']>;
4339
4380
  };
4340
4381
  /** Represents a Turtle Job Run */
@@ -4442,6 +4483,12 @@ export type LinkLogRocketOrganizationToExpoAccountInput = {
4442
4483
  orgSlug: Scalars['String']['input'];
4443
4484
  state: Scalars['String']['input'];
4444
4485
  };
4486
+ export type LinkSentryInstallationToExpoAccountInput = {
4487
+ accountId: Scalars['ID']['input'];
4488
+ code: Scalars['String']['input'];
4489
+ installationId: Scalars['ID']['input'];
4490
+ sentryOrgSlug: Scalars['String']['input'];
4491
+ };
4445
4492
  export type LinkSharedEnvironmentVariableInput = {
4446
4493
  appId: Scalars['ID']['input'];
4447
4494
  environment?: InputMaybe<EnvironmentVariableEnvironment>;
@@ -4765,6 +4812,14 @@ export type PaymentDetails = {
4765
4812
  card?: Maybe<Card>;
4766
4813
  id: Scalars['ID']['output'];
4767
4814
  };
4815
+ export type PendingSentryInstallation = {
4816
+ __typename?: 'PendingSentryInstallation';
4817
+ account: Account;
4818
+ createdAt: Scalars['DateTime']['output'];
4819
+ id: Scalars['ID']['output'];
4820
+ installationId: Scalars['String']['output'];
4821
+ orgSlug: Scalars['String']['output'];
4822
+ };
4768
4823
  export declare enum Permission {
4769
4824
  Admin = "ADMIN",
4770
4825
  Own = "OWN",
@@ -4855,6 +4910,7 @@ export type RequestsFilters = {
4855
4910
  method?: InputMaybe<Array<RequestMethod>>;
4856
4911
  os?: InputMaybe<Array<UserAgentOs>>;
4857
4912
  pathname?: InputMaybe<Scalars['String']['input']>;
4913
+ platform?: InputMaybe<Array<UserAgentPlatform>>;
4858
4914
  requestId?: InputMaybe<Array<Scalars['WorkerDeploymentRequestID']['input']>>;
4859
4915
  responseType?: InputMaybe<Array<ResponseType>>;
4860
4916
  status?: InputMaybe<Array<Scalars['Int']['input']>>;
@@ -4982,7 +5038,7 @@ export type RootMutation = {
4982
5038
  androidAppBuildCredentials: AndroidAppBuildCredentialsMutation;
4983
5039
  /** Mutations that modify the credentials for an Android app */
4984
5040
  androidAppCredentials: AndroidAppCredentialsMutation;
4985
- /** Mutations that modify an FCM credential */
5041
+ /** Mutations that modify an FCM V0/Legacy credential */
4986
5042
  androidFcm: AndroidFcmMutation;
4987
5043
  /** Mutations that modify a Keystore */
4988
5044
  androidKeystore: AndroidKeystoreMutation;
@@ -5058,6 +5114,10 @@ export type RootMutation = {
5058
5114
  notificationSubscription: NotificationSubscriptionMutation;
5059
5115
  /** Mutations that create, update, and delete Robots */
5060
5116
  robot: RobotMutation;
5117
+ /** Mutations for Sentry installations */
5118
+ sentryInstallation: SentryInstallationMutation;
5119
+ /** Mutations for Sentry projects */
5120
+ sentryProject: SentryProjectMutation;
5061
5121
  /** Mutations that modify an EAS Submit submission */
5062
5122
  submission: SubmissionMutation;
5063
5123
  update: UpdateMutation;
@@ -5230,6 +5290,7 @@ export type Runtime = {
5230
5290
  fingerprint?: Maybe<Fingerprint>;
5231
5291
  firstBuildCreatedAt?: Maybe<Scalars['DateTime']['output']>;
5232
5292
  id: Scalars['ID']['output'];
5293
+ isFingerprint: Scalars['Boolean']['output'];
5233
5294
  updatedAt: Scalars['DateTime']['output'];
5234
5295
  updates: AppUpdatesConnection;
5235
5296
  version: Scalars['String']['output'];
@@ -5273,6 +5334,7 @@ export type RuntimeEdge = {
5273
5334
  export type RuntimeFilterInput = {
5274
5335
  /** Only return runtimes shared with this branch */
5275
5336
  branchId?: InputMaybe<Scalars['String']['input']>;
5337
+ runtimeVersions?: InputMaybe<Array<Scalars['String']['input']>>;
5276
5338
  };
5277
5339
  export type RuntimeQuery = {
5278
5340
  __typename?: 'RuntimeQuery';
@@ -5332,6 +5394,7 @@ export type SsoUser = Actor & UserActor & {
5332
5394
  preferences: UserPreferences;
5333
5395
  /** Associated accounts */
5334
5396
  primaryAccount: Account;
5397
+ primaryAccountProfileImageUrl?: Maybe<Scalars['String']['output']>;
5335
5398
  profilePhoto: Scalars['String']['output'];
5336
5399
  /** Snacks associated with this account */
5337
5400
  snacks: Array<Snack>;
@@ -5407,6 +5470,55 @@ export type SecondFactorRegenerateBackupCodesResult = {
5407
5470
  __typename?: 'SecondFactorRegenerateBackupCodesResult';
5408
5471
  plaintextBackupCodes: Array<Scalars['String']['output']>;
5409
5472
  };
5473
+ export type SentryInstallation = {
5474
+ __typename?: 'SentryInstallation';
5475
+ account: Account;
5476
+ createdAt: Scalars['DateTime']['output'];
5477
+ id: Scalars['ID']['output'];
5478
+ installationId: Scalars['String']['output'];
5479
+ orgSlug: Scalars['String']['output'];
5480
+ };
5481
+ export type SentryInstallationMutation = {
5482
+ __typename?: 'SentryInstallationMutation';
5483
+ /** Confirm a pending Sentry installation */
5484
+ confirmPendingSentryInstallation: SentryInstallation;
5485
+ /** Generate a Sentry token for an installation */
5486
+ generateSentryToken: GenerateSentryTokenResult;
5487
+ /** Link a Sentry installation to an Expo account */
5488
+ linkSentryInstallationToExpoAccount: PendingSentryInstallation;
5489
+ };
5490
+ export type SentryInstallationMutationConfirmPendingSentryInstallationArgs = {
5491
+ installationId: Scalars['ID']['input'];
5492
+ };
5493
+ export type SentryInstallationMutationGenerateSentryTokenArgs = {
5494
+ accountId: Scalars['ID']['input'];
5495
+ };
5496
+ export type SentryInstallationMutationLinkSentryInstallationToExpoAccountArgs = {
5497
+ input: LinkSentryInstallationToExpoAccountInput;
5498
+ };
5499
+ export type SentryProject = {
5500
+ __typename?: 'SentryProject';
5501
+ app: App;
5502
+ createdAt: Scalars['DateTime']['output'];
5503
+ id: Scalars['ID']['output'];
5504
+ sentryInstallationId: Scalars['ID']['output'];
5505
+ sentryProjectId: Scalars['String']['output'];
5506
+ sentryProjectSlug: Scalars['String']['output'];
5507
+ updatedAt: Scalars['DateTime']['output'];
5508
+ };
5509
+ export type SentryProjectMutation = {
5510
+ __typename?: 'SentryProjectMutation';
5511
+ /** Create a Sentry project */
5512
+ createSentryProject: SentryProject;
5513
+ /** Delete a Sentry project by ID */
5514
+ deleteSentryProject: DeleteSentryProjectResult;
5515
+ };
5516
+ export type SentryProjectMutationCreateSentryProjectArgs = {
5517
+ input: CreateSentryProjectInput;
5518
+ };
5519
+ export type SentryProjectMutationDeleteSentryProjectArgs = {
5520
+ sentryProjectId: Scalars['ID']['input'];
5521
+ };
5410
5522
  export type Snack = Project & {
5411
5523
  __typename?: 'Snack';
5412
5524
  /** Description of the Snack */
@@ -5952,6 +6064,8 @@ export type UpdateMutation = {
5952
6064
  __typename?: 'UpdateMutation';
5953
6065
  /** Delete an EAS update group */
5954
6066
  deleteUpdateGroup: DeleteUpdateGroupResult;
6067
+ /** Delete an EAS update group in the background */
6068
+ scheduleUpdateGroupDeletion: BackgroundJobReceipt;
5955
6069
  /** Set code signing info for an update */
5956
6070
  setCodeSigningInfo: Update;
5957
6071
  /** Set rollout percentage for an update */
@@ -5960,6 +6074,9 @@ export type UpdateMutation = {
5960
6074
  export type UpdateMutationDeleteUpdateGroupArgs = {
5961
6075
  group: Scalars['ID']['input'];
5962
6076
  };
6077
+ export type UpdateMutationScheduleUpdateGroupDeletionArgs = {
6078
+ group: Scalars['ID']['input'];
6079
+ };
5963
6080
  export type UpdateMutationSetCodeSigningInfoArgs = {
5964
6081
  codeSigningInfo: CodeSigningInfoInput;
5965
6082
  updateId: Scalars['ID']['input'];
@@ -6019,6 +6136,7 @@ export type UploadSessionCreateAppScopedUploadSessionArgs = {
6019
6136
  type: AppUploadSessionType;
6020
6137
  };
6021
6138
  export type UploadSessionCreateUploadSessionArgs = {
6139
+ filename?: InputMaybe<Scalars['String']['input']>;
6022
6140
  type: UploadSessionType;
6023
6141
  };
6024
6142
  export declare enum UploadSessionType {
@@ -6026,6 +6144,7 @@ export declare enum UploadSessionType {
6026
6144
  EasBuildGcsProjectSources = "EAS_BUILD_GCS_PROJECT_SOURCES",
6027
6145
  /** @deprecated Use EAS_BUILD_GCS_PROJECT_SOURCES instead. */
6028
6146
  EasBuildProjectSources = "EAS_BUILD_PROJECT_SOURCES",
6147
+ EasShareGcsAppArchive = "EAS_SHARE_GCS_APP_ARCHIVE",
6029
6148
  /** @deprecated Use EAS_SUBMIT_GCS_APP_ARCHIVE instead. */
6030
6149
  EasSubmitAppArchive = "EAS_SUBMIT_APP_ARCHIVE",
6031
6150
  EasSubmitGcsAppArchive = "EAS_SUBMIT_GCS_APP_ARCHIVE",
@@ -6111,6 +6230,7 @@ export type User = Actor & UserActor & {
6111
6230
  preferences: UserPreferences;
6112
6231
  /** Associated accounts */
6113
6232
  primaryAccount: Account;
6233
+ primaryAccountProfileImageUrl?: Maybe<Scalars['String']['output']>;
6114
6234
  profilePhoto: Scalars['String']['output'];
6115
6235
  /** Get all certified second factor authentication methods */
6116
6236
  secondFactorDevices: Array<UserSecondFactorDevice>;
@@ -6203,6 +6323,7 @@ export type UserActor = {
6203
6323
  preferences: UserPreferences;
6204
6324
  /** Associated accounts */
6205
6325
  primaryAccount: Account;
6326
+ primaryAccountProfileImageUrl?: Maybe<Scalars['String']['output']>;
6206
6327
  profilePhoto: Scalars['String']['output'];
6207
6328
  /** Snacks associated with this user's personal account */
6208
6329
  snacks: Array<Snack>;
@@ -6312,6 +6433,12 @@ export declare enum UserAgentOs {
6312
6433
  MacOs = "MAC_OS",
6313
6434
  Windows = "WINDOWS"
6314
6435
  }
6436
+ export declare enum UserAgentPlatform {
6437
+ Android = "ANDROID",
6438
+ Apple = "APPLE",
6439
+ Unknown = "UNKNOWN",
6440
+ Web = "WEB"
6441
+ }
6315
6442
  export type UserAppPinMutation = {
6316
6443
  __typename?: 'UserAppPinMutation';
6317
6444
  pinApp: Scalars['ID']['output'];
@@ -6334,7 +6461,9 @@ export type UserAuditLog = {
6334
6461
  targetEntityMutationType: TargetEntityMutationType;
6335
6462
  targetEntityTypeName: UserEntityTypeName;
6336
6463
  targetEntityTypePublicName: Scalars['String']['output'];
6464
+ /** @deprecated Use userActor instead */
6337
6465
  user: User;
6466
+ userActor: UserActor;
6338
6467
  websiteMessage: Scalars['String']['output'];
6339
6468
  };
6340
6469
  export type UserAuditLogConnection = {
@@ -6831,6 +6960,7 @@ export type WorkerDeploymentRequestNode = {
6831
6960
  method: Scalars['String']['output'];
6832
6961
  os?: Maybe<UserAgentOs>;
6833
6962
  pathname: Scalars['String']['output'];
6963
+ platform: UserAgentPlatform;
6834
6964
  region?: Maybe<Scalars['String']['output']>;
6835
6965
  requestId: Scalars['WorkerDeploymentRequestID']['output'];
6836
6966
  requestTimestamp: Scalars['DateTime']['output'];
@@ -6848,6 +6978,8 @@ export type WorkerDeploymentRequests = {
6848
6978
  byCountry: Array<WorkerDeploymentRequestsCountryEdge>;
6849
6979
  byMethod: Array<WorkerDeploymentRequestsMethodEdge>;
6850
6980
  byOS: Array<WorkerDeploymentRequestsOperatingSystemEdge>;
6981
+ byPathname: Array<WorkerDeploymentRequestsPathnameEdge>;
6982
+ byPlatform: Array<WorkerDeploymentRequestsPlatformEdge>;
6851
6983
  byResponseType: Array<WorkerDeploymentRequestsResponseTypeEdge>;
6852
6984
  byStatusType: Array<WorkerDeploymentRequestsStatusTypeEdge>;
6853
6985
  interval: Scalars['Int']['output'];
@@ -6880,6 +7012,14 @@ export type WorkerDeploymentRequestsByOsArgs = {
6880
7012
  limit?: InputMaybe<Scalars['Int']['input']>;
6881
7013
  orderBy?: InputMaybe<RequestsOrderBy>;
6882
7014
  };
7015
+ export type WorkerDeploymentRequestsByPathnameArgs = {
7016
+ limit?: InputMaybe<Scalars['Int']['input']>;
7017
+ orderBy?: InputMaybe<RequestsOrderBy>;
7018
+ };
7019
+ export type WorkerDeploymentRequestsByPlatformArgs = {
7020
+ limit?: InputMaybe<Scalars['Int']['input']>;
7021
+ orderBy?: InputMaybe<RequestsOrderBy>;
7022
+ };
6883
7023
  export type WorkerDeploymentRequestsByResponseTypeArgs = {
6884
7024
  limit?: InputMaybe<Scalars['Int']['input']>;
6885
7025
  orderBy?: InputMaybe<RequestsOrderBy>;
@@ -6960,6 +7100,16 @@ export type WorkerDeploymentRequestsOperatingSystemEdge = {
6960
7100
  node: WorkerDeploymentRequestsAggregationNode;
6961
7101
  os?: Maybe<UserAgentOs>;
6962
7102
  };
7103
+ export type WorkerDeploymentRequestsPathnameEdge = {
7104
+ __typename?: 'WorkerDeploymentRequestsPathnameEdge';
7105
+ node: WorkerDeploymentRequestsAggregationNode;
7106
+ pathname: Scalars['String']['output'];
7107
+ };
7108
+ export type WorkerDeploymentRequestsPlatformEdge = {
7109
+ __typename?: 'WorkerDeploymentRequestsPlatformEdge';
7110
+ node: WorkerDeploymentRequestsAggregationNode;
7111
+ platform: UserAgentPlatform;
7112
+ };
6963
7113
  export type WorkerDeploymentRequestsResponseTypeEdge = {
6964
7114
  __typename?: 'WorkerDeploymentRequestsResponseTypeEdge';
6965
7115
  node: WorkerDeploymentRequestsAggregationNode;
@@ -6978,6 +7128,8 @@ export type WorkerDeploymentRequestsTimeseriesEdge = {
6978
7128
  byCountry: Array<WorkerDeploymentRequestsCountryEdge>;
6979
7129
  byMethod: Array<WorkerDeploymentRequestsMethodEdge>;
6980
7130
  byOS: Array<WorkerDeploymentRequestsOperatingSystemEdge>;
7131
+ byPathname: Array<WorkerDeploymentRequestsPathnameEdge>;
7132
+ byPlatform: Array<WorkerDeploymentRequestsPlatformEdge>;
6981
7133
  byResponseType: Array<WorkerDeploymentRequestsResponseTypeEdge>;
6982
7134
  byStatusType: Array<WorkerDeploymentRequestsStatusTypeEdge>;
6983
7135
  node?: Maybe<WorkerDeploymentRequestsAggregationNode>;
@@ -7083,6 +7235,7 @@ export declare enum WorkflowJobType {
7083
7235
  Build = "BUILD",
7084
7236
  Custom = "CUSTOM",
7085
7237
  Deploy = "DEPLOY",
7238
+ Fingerprint = "FINGERPRINT",
7086
7239
  GetBuild = "GET_BUILD",
7087
7240
  MaestroTest = "MAESTRO_TEST",
7088
7241
  RequireApproval = "REQUIRE_APPROVAL",
@@ -7165,6 +7318,8 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
7165
7318
  sourceExpiresAt?: Maybe<Scalars['DateTime']['output']>;
7166
7319
  status: WorkflowRunStatus;
7167
7320
  triggerEventType: WorkflowRunTriggerEventType;
7321
+ triggeringLabelName?: Maybe<Scalars['String']['output']>;
7322
+ triggeringSchedule?: Maybe<Scalars['String']['output']>;
7168
7323
  updatedAt: Scalars['DateTime']['output'];
7169
7324
  workflow: Workflow;
7170
7325
  workflowRevision?: Maybe<WorkflowRevision>;
@@ -7217,11 +7372,13 @@ export declare enum WorkflowRunStatus {
7217
7372
  Success = "SUCCESS"
7218
7373
  }
7219
7374
  export declare enum WorkflowRunTriggerEventType {
7375
+ GithubPullRequestLabeled = "GITHUB_PULL_REQUEST_LABELED",
7220
7376
  GithubPullRequestOpened = "GITHUB_PULL_REQUEST_OPENED",
7221
7377
  GithubPullRequestReopened = "GITHUB_PULL_REQUEST_REOPENED",
7222
7378
  GithubPullRequestSynchronize = "GITHUB_PULL_REQUEST_SYNCHRONIZE",
7223
7379
  GithubPush = "GITHUB_PUSH",
7224
- Manual = "MANUAL"
7380
+ Manual = "MANUAL",
7381
+ Schedule = "SCHEDULE"
7225
7382
  }
7226
7383
  export type WorkflowRunsConnection = {
7227
7384
  __typename?: 'WorkflowRunsConnection';
@@ -7422,16 +7579,26 @@ export type AppInfoQuery = {
7422
7579
  };
7423
7580
  };
7424
7581
  };
7425
- export type DeleteUpdateGroupMutationVariables = Exact<{
7582
+ export type ScheduleUpdateGroupDeletionMutationVariables = Exact<{
7426
7583
  group: Scalars['ID']['input'];
7427
7584
  }>;
7428
- export type DeleteUpdateGroupMutation = {
7585
+ export type ScheduleUpdateGroupDeletionMutation = {
7429
7586
  __typename?: 'RootMutation';
7430
7587
  update: {
7431
7588
  __typename?: 'UpdateMutation';
7432
- deleteUpdateGroup: {
7433
- __typename?: 'DeleteUpdateGroupResult';
7434
- group: string;
7589
+ scheduleUpdateGroupDeletion: {
7590
+ __typename?: 'BackgroundJobReceipt';
7591
+ id: string;
7592
+ state: BackgroundJobState;
7593
+ tries: number;
7594
+ willRetry: boolean;
7595
+ resultId?: string | null;
7596
+ resultType: BackgroundJobResultType;
7597
+ resultData?: any | null;
7598
+ errorCode?: string | null;
7599
+ errorMessage?: string | null;
7600
+ createdAt: any;
7601
+ updatedAt: any;
7435
7602
  };
7436
7603
  };
7437
7604
  };
@@ -12182,6 +12349,29 @@ export type LatestAppVersionQuery = {
12182
12349
  };
12183
12350
  };
12184
12351
  };
12352
+ export type BackgroundJobReceiptByIdQueryVariables = Exact<{
12353
+ id: Scalars['ID']['input'];
12354
+ }>;
12355
+ export type BackgroundJobReceiptByIdQuery = {
12356
+ __typename?: 'RootQuery';
12357
+ backgroundJobReceipt: {
12358
+ __typename?: 'BackgroundJobReceiptQuery';
12359
+ byId: {
12360
+ __typename?: 'BackgroundJobReceipt';
12361
+ id: string;
12362
+ state: BackgroundJobState;
12363
+ tries: number;
12364
+ willRetry: boolean;
12365
+ resultId?: string | null;
12366
+ resultType: BackgroundJobResultType;
12367
+ resultData?: any | null;
12368
+ errorCode?: string | null;
12369
+ errorMessage?: string | null;
12370
+ createdAt: any;
12371
+ updatedAt: any;
12372
+ };
12373
+ };
12374
+ };
12185
12375
  export type ViewBranchQueryVariables = Exact<{
12186
12376
  appId: Scalars['String']['input'];
12187
12377
  name: Scalars['String']['input'];
@@ -14026,6 +14216,20 @@ export type AppFragment = {
14026
14216
  };
14027
14217
  } | null;
14028
14218
  };
14219
+ export type BackgroundJobReceiptDataFragment = {
14220
+ __typename?: 'BackgroundJobReceipt';
14221
+ id: string;
14222
+ state: BackgroundJobState;
14223
+ tries: number;
14224
+ willRetry: boolean;
14225
+ resultId?: string | null;
14226
+ resultType: BackgroundJobResultType;
14227
+ resultData?: any | null;
14228
+ errorCode?: string | null;
14229
+ errorMessage?: string | null;
14230
+ createdAt: any;
14231
+ updatedAt: any;
14232
+ };
14029
14233
  export type BuildFragment = {
14030
14234
  __typename?: 'Build';
14031
14235
  id: string;
@@ -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.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;
11
+ exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserEntityTypeName = exports.UserAgentPlatform = 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";
@@ -171,6 +171,7 @@ var BuildMode;
171
171
  (function (BuildMode) {
172
172
  BuildMode["Build"] = "BUILD";
173
173
  BuildMode["Custom"] = "CUSTOM";
174
+ BuildMode["Local"] = "LOCAL";
174
175
  BuildMode["Repack"] = "REPACK";
175
176
  BuildMode["Resign"] = "RESIGN";
176
177
  })(BuildMode || (exports.BuildMode = BuildMode = {}));
@@ -367,6 +368,8 @@ var EntityTypeName;
367
368
  EntityTypeName["CustomerEntity"] = "CustomerEntity";
368
369
  EntityTypeName["GoogleServiceAccountKeyEntity"] = "GoogleServiceAccountKeyEntity";
369
370
  EntityTypeName["IosAppCredentialsEntity"] = "IosAppCredentialsEntity";
371
+ EntityTypeName["LogRocketOrganizationEntity"] = "LogRocketOrganizationEntity";
372
+ EntityTypeName["LogRocketProjectEntity"] = "LogRocketProjectEntity";
370
373
  EntityTypeName["UserInvitationEntity"] = "UserInvitationEntity";
371
374
  EntityTypeName["UserPermissionEntity"] = "UserPermissionEntity";
372
375
  EntityTypeName["WorkerCustomDomainEntity"] = "WorkerCustomDomainEntity";
@@ -748,6 +751,7 @@ var UploadSessionType;
748
751
  UploadSessionType["EasBuildGcsProjectSources"] = "EAS_BUILD_GCS_PROJECT_SOURCES";
749
752
  /** @deprecated Use EAS_BUILD_GCS_PROJECT_SOURCES instead. */
750
753
  UploadSessionType["EasBuildProjectSources"] = "EAS_BUILD_PROJECT_SOURCES";
754
+ UploadSessionType["EasShareGcsAppArchive"] = "EAS_SHARE_GCS_APP_ARCHIVE";
751
755
  /** @deprecated Use EAS_SUBMIT_GCS_APP_ARCHIVE instead. */
752
756
  UploadSessionType["EasSubmitAppArchive"] = "EAS_SUBMIT_APP_ARCHIVE";
753
757
  UploadSessionType["EasSubmitGcsAppArchive"] = "EAS_SUBMIT_GCS_APP_ARCHIVE";
@@ -797,6 +801,13 @@ var UserAgentOs;
797
801
  UserAgentOs["MacOs"] = "MAC_OS";
798
802
  UserAgentOs["Windows"] = "WINDOWS";
799
803
  })(UserAgentOs || (exports.UserAgentOs = UserAgentOs = {}));
804
+ var UserAgentPlatform;
805
+ (function (UserAgentPlatform) {
806
+ UserAgentPlatform["Android"] = "ANDROID";
807
+ UserAgentPlatform["Apple"] = "APPLE";
808
+ UserAgentPlatform["Unknown"] = "UNKNOWN";
809
+ UserAgentPlatform["Web"] = "WEB";
810
+ })(UserAgentPlatform || (exports.UserAgentPlatform = UserAgentPlatform = {}));
800
811
  var UserEntityTypeName;
801
812
  (function (UserEntityTypeName) {
802
813
  UserEntityTypeName["AccessTokenEntity"] = "AccessTokenEntity";
@@ -858,6 +869,7 @@ var WorkflowJobType;
858
869
  WorkflowJobType["Build"] = "BUILD";
859
870
  WorkflowJobType["Custom"] = "CUSTOM";
860
871
  WorkflowJobType["Deploy"] = "DEPLOY";
872
+ WorkflowJobType["Fingerprint"] = "FINGERPRINT";
861
873
  WorkflowJobType["GetBuild"] = "GET_BUILD";
862
874
  WorkflowJobType["MaestroTest"] = "MAESTRO_TEST";
863
875
  WorkflowJobType["RequireApproval"] = "REQUIRE_APPROVAL";
@@ -880,9 +892,11 @@ var WorkflowRunStatus;
880
892
  })(WorkflowRunStatus || (exports.WorkflowRunStatus = WorkflowRunStatus = {}));
881
893
  var WorkflowRunTriggerEventType;
882
894
  (function (WorkflowRunTriggerEventType) {
895
+ WorkflowRunTriggerEventType["GithubPullRequestLabeled"] = "GITHUB_PULL_REQUEST_LABELED";
883
896
  WorkflowRunTriggerEventType["GithubPullRequestOpened"] = "GITHUB_PULL_REQUEST_OPENED";
884
897
  WorkflowRunTriggerEventType["GithubPullRequestReopened"] = "GITHUB_PULL_REQUEST_REOPENED";
885
898
  WorkflowRunTriggerEventType["GithubPullRequestSynchronize"] = "GITHUB_PULL_REQUEST_SYNCHRONIZE";
886
899
  WorkflowRunTriggerEventType["GithubPush"] = "GITHUB_PUSH";
887
900
  WorkflowRunTriggerEventType["Manual"] = "MANUAL";
901
+ WorkflowRunTriggerEventType["Schedule"] = "SCHEDULE";
888
902
  })(WorkflowRunTriggerEventType || (exports.WorkflowRunTriggerEventType = WorkflowRunTriggerEventType = {}));
@@ -0,0 +1,5 @@
1
+ import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
2
+ import { BackgroundJobReceiptByIdQuery } from '../generated';
3
+ export declare const BackgroundJobReceiptQuery: {
4
+ byIdAsync(graphqlClient: ExpoGraphqlClient, backgroundJobReceiptId: string): Promise<BackgroundJobReceiptByIdQuery['backgroundJobReceipt']['byId'] | null>;
5
+ };
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BackgroundJobReceiptQuery = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
6
+ const client_1 = require("../client");
7
+ const BackgroundJobReceipt_1 = require("../types/BackgroundJobReceipt");
8
+ exports.BackgroundJobReceiptQuery = {
9
+ async byIdAsync(graphqlClient, backgroundJobReceiptId) {
10
+ const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
11
+ .query((0, graphql_tag_1.default) `
12
+ query BackgroundJobReceiptById($id: ID!) {
13
+ backgroundJobReceipt {
14
+ byId(id: $id) {
15
+ id
16
+ ...BackgroundJobReceiptData
17
+ }
18
+ }
19
+ }
20
+ ${BackgroundJobReceipt_1.BackgroundJobReceiptNode}
21
+ `, { id: backgroundJobReceiptId }, {
22
+ additionalTypenames: ['BackgroundJobReceipt'],
23
+ })
24
+ .toPromise());
25
+ return data.backgroundJobReceipt.byId ?? null;
26
+ },
27
+ };
@@ -0,0 +1 @@
1
+ export declare const BackgroundJobReceiptNode: import("graphql").DocumentNode;