eas-cli 5.1.0 → 5.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.
@@ -410,17 +410,11 @@ export type AccountSsoConfiguration = {
410
410
  updatedAt: Scalars['DateTime'];
411
411
  };
412
412
  export type AccountSsoConfigurationData = {
413
- authEndpoint?: InputMaybe<Scalars['String']>;
414
413
  authProtocol: AuthProtocolType;
415
414
  authProviderIdentifier: Scalars['String'];
416
415
  clientIdentifier: Scalars['String'];
417
416
  clientSecret: Scalars['String'];
418
- endSessionEndpoint?: InputMaybe<Scalars['String']>;
419
417
  issuer: Scalars['String'];
420
- jwksEndpoint?: InputMaybe<Scalars['String']>;
421
- revokeEndpoint?: InputMaybe<Scalars['String']>;
422
- tokenEndpoint?: InputMaybe<Scalars['String']>;
423
- userInfoEndpoint?: InputMaybe<Scalars['String']>;
424
418
  };
425
419
  export type AccountSsoConfigurationMutation = {
426
420
  __typename?: 'AccountSSOConfigurationMutation';
@@ -511,6 +505,8 @@ export type Actor = {
511
505
  * For example, when displaying a sentence indicating that actor X created a build or published an update.
512
506
  */
513
507
  displayName: Scalars['String'];
508
+ /** Experiments associated with this actor */
509
+ experiments: Array<ActorExperiment>;
514
510
  /**
515
511
  * Server feature gate values for this actor, optionally filtering by desired gates.
516
512
  * Only resolves for the viewer.
@@ -524,9 +520,29 @@ export type Actor = {
524
520
  export type ActorFeatureGatesArgs = {
525
521
  filter?: InputMaybe<Array<Scalars['String']>>;
526
522
  };
523
+ export type ActorExperiment = {
524
+ __typename?: 'ActorExperiment';
525
+ createdAt: Scalars['DateTime'];
526
+ enabled: Scalars['Boolean'];
527
+ experiment: Experiment;
528
+ id: Scalars['ID'];
529
+ updatedAt: Scalars['DateTime'];
530
+ };
531
+ export type ActorExperimentMutation = {
532
+ __typename?: 'ActorExperimentMutation';
533
+ /** Create or update the value of a User Experiment */
534
+ createOrUpdateActorExperiment: ActorExperiment;
535
+ };
536
+ export type ActorExperimentMutationCreateOrUpdateActorExperimentArgs = {
537
+ enabled: Scalars['Boolean'];
538
+ experiment: Experiment;
539
+ };
527
540
  export type ActorQuery = {
528
541
  __typename?: 'ActorQuery';
529
- /** Query an Actor by ID */
542
+ /**
543
+ * Query an Actor by ID
544
+ * @deprecated Public actor queries are no longer supported
545
+ */
530
546
  byId: Actor;
531
547
  };
532
548
  export type ActorQueryByIdArgs = {
@@ -872,6 +888,7 @@ export type App = Project & {
872
888
  insights: AppInsights;
873
889
  /** iOS app credentials for the project */
874
890
  iosAppCredentials: Array<IosAppCredentials>;
891
+ isDeleting: Scalars['Boolean'];
875
892
  /** Whether the latest classic update publish is using a deprecated SDK version */
876
893
  isDeprecated: Scalars['Boolean'];
877
894
  /** @deprecated 'likes' have been deprecated. */
@@ -906,6 +923,8 @@ export type App = Project & {
906
923
  releaseChannels: Array<Scalars['String']>;
907
924
  /** @deprecated Legacy access tokens are deprecated */
908
925
  requiresAccessTokenForPushSecurity: Scalars['Boolean'];
926
+ /** Runtimes associated with this app */
927
+ runtimes: RuntimesConnection;
909
928
  scopeKey: Scalars['String'];
910
929
  /** SDK version of the latest classic update publish, 0.0.0 otherwise */
911
930
  sdkVersion: Scalars['String'];
@@ -1003,6 +1022,7 @@ export type AppDeploymentArgs = {
1003
1022
  export type AppDeploymentsArgs = {
1004
1023
  after?: InputMaybe<Scalars['String']>;
1005
1024
  before?: InputMaybe<Scalars['String']>;
1025
+ filter?: InputMaybe<DeploymentFilterInput>;
1006
1026
  first?: InputMaybe<Scalars['Int']>;
1007
1027
  last?: InputMaybe<Scalars['Int']>;
1008
1028
  };
@@ -1030,6 +1050,13 @@ export type AppLikedByArgs = {
1030
1050
  offset?: InputMaybe<Scalars['Int']>;
1031
1051
  };
1032
1052
  /** Represents an Exponent App (or Experience in legacy terms) */
1053
+ export type AppRuntimesArgs = {
1054
+ after?: InputMaybe<Scalars['String']>;
1055
+ before?: InputMaybe<Scalars['String']>;
1056
+ first?: InputMaybe<Scalars['Int']>;
1057
+ last?: InputMaybe<Scalars['Int']>;
1058
+ };
1059
+ /** Represents an Exponent App (or Experience in legacy terms) */
1033
1060
  export type AppSubmissionsArgs = {
1034
1061
  filter: SubmissionFilter;
1035
1062
  limit: Scalars['Int'];
@@ -1713,6 +1740,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
1713
1740
  completedAt?: Maybe<Scalars['DateTime']>;
1714
1741
  createdAt: Scalars['DateTime'];
1715
1742
  customWorkflowName?: Maybe<Scalars['String']>;
1743
+ developmentClient?: Maybe<Scalars['Boolean']>;
1716
1744
  distribution?: Maybe<DistributionType>;
1717
1745
  enqueuedAt?: Maybe<Scalars['DateTime']>;
1718
1746
  error?: Maybe<BuildError>;
@@ -1904,6 +1932,7 @@ export type BuildMetadataInput = {
1904
1932
  cliVersion?: InputMaybe<Scalars['String']>;
1905
1933
  credentialsSource?: InputMaybe<BuildCredentialsSource>;
1906
1934
  customWorkflowName?: InputMaybe<Scalars['String']>;
1935
+ developmentClient?: InputMaybe<Scalars['Boolean']>;
1907
1936
  distribution?: InputMaybe<DistributionType>;
1908
1937
  gitCommitHash?: InputMaybe<Scalars['String']>;
1909
1938
  gitCommitMessage?: InputMaybe<Scalars['String']>;
@@ -2321,8 +2350,10 @@ export type Deployment = {
2321
2350
  builds: DeploymentBuildsConnection;
2322
2351
  channel: UpdateChannel;
2323
2352
  id: Scalars['ID'];
2324
- /** @deprecated Not required for the new Deployment UI */
2325
- latestUpdate?: Maybe<Update>;
2353
+ /** Deployment query field */
2354
+ insights: DeploymentInsights;
2355
+ /** Ordered the same way as 'updateBranches' in UpdateChannel */
2356
+ latestUpdatesPerBranch: Array<LatestUpdateOnBranch>;
2326
2357
  runtime: Runtime;
2327
2358
  };
2328
2359
  /** Represents a Deployment - a set of Builds with the same Runtime Version and Channel */
@@ -2332,6 +2363,11 @@ export type DeploymentBuildsArgs = {
2332
2363
  first?: InputMaybe<Scalars['Int']>;
2333
2364
  last?: InputMaybe<Scalars['Int']>;
2334
2365
  };
2366
+ /** Represents a Deployment - a set of Builds with the same Runtime Version and Channel */
2367
+ export type DeploymentLatestUpdatesPerBranchArgs = {
2368
+ limit: Scalars['Int'];
2369
+ offset: Scalars['Int'];
2370
+ };
2335
2371
  export type DeploymentBuildEdge = {
2336
2372
  __typename?: 'DeploymentBuildEdge';
2337
2373
  cursor: Scalars['String'];
@@ -2348,6 +2384,30 @@ export type DeploymentEdge = {
2348
2384
  cursor: Scalars['String'];
2349
2385
  node: Deployment;
2350
2386
  };
2387
+ export type DeploymentFilterInput = {
2388
+ channel?: InputMaybe<Scalars['String']>;
2389
+ runtimeVersion?: InputMaybe<Scalars['String']>;
2390
+ };
2391
+ export type DeploymentInsights = {
2392
+ __typename?: 'DeploymentInsights';
2393
+ embeddedUpdateTotalUniqueUsers: Scalars['Int'];
2394
+ embeddedUpdateUniqueUsersOverTime: UniqueUsersOverTimeData;
2395
+ id: Scalars['ID'];
2396
+ mostPopularUpdates: Array<Update>;
2397
+ uniqueUsersOverTime: UniqueUsersOverTimeData;
2398
+ };
2399
+ export type DeploymentInsightsEmbeddedUpdateTotalUniqueUsersArgs = {
2400
+ timespan: InsightsTimespan;
2401
+ };
2402
+ export type DeploymentInsightsEmbeddedUpdateUniqueUsersOverTimeArgs = {
2403
+ timespan: InsightsTimespan;
2404
+ };
2405
+ export type DeploymentInsightsMostPopularUpdatesArgs = {
2406
+ timespan: InsightsTimespan;
2407
+ };
2408
+ export type DeploymentInsightsUniqueUsersOverTimeArgs = {
2409
+ timespan: InsightsTimespan;
2410
+ };
2351
2411
  /** Represents the connection over the deployments edge of an App */
2352
2412
  export type DeploymentsConnection = {
2353
2413
  __typename?: 'DeploymentsConnection';
@@ -2486,6 +2546,9 @@ export type EstimatedUsage = {
2486
2546
  serviceMetric: EasServiceMetric;
2487
2547
  value: Scalars['Float'];
2488
2548
  };
2549
+ export declare enum Experiment {
2550
+ Orbit = "ORBIT"
2551
+ }
2489
2552
  export type ExperimentationQuery = {
2490
2553
  __typename?: 'ExperimentationQuery';
2491
2554
  /** Get device experimentation config */
@@ -3064,6 +3127,11 @@ export type KeystoreGenerationUrlMutation = {
3064
3127
  /** Create a Keystore Generation URL */
3065
3128
  createKeystoreGenerationUrl: KeystoreGenerationUrl;
3066
3129
  };
3130
+ export type LatestUpdateOnBranch = {
3131
+ __typename?: 'LatestUpdateOnBranch';
3132
+ branchId: Scalars['String'];
3133
+ update?: Maybe<Update>;
3134
+ };
3067
3135
  export type LeaveAccountResult = {
3068
3136
  __typename?: 'LeaveAccountResult';
3069
3137
  success: Scalars['Boolean'];
@@ -3197,6 +3265,7 @@ export type MeteredBillingStatus = {
3197
3265
  };
3198
3266
  export type Notification = {
3199
3267
  __typename?: 'Notification';
3268
+ accountName: Scalars['String'];
3200
3269
  createdAt: Scalars['DateTime'];
3201
3270
  event: NotificationEvent;
3202
3271
  id: Scalars['ID'];
@@ -3204,6 +3273,7 @@ export type Notification = {
3204
3273
  metadata?: Maybe<NotificationMetadata>;
3205
3274
  type: NotificationType;
3206
3275
  updatedAt: Scalars['DateTime'];
3276
+ websiteMessage: Scalars['String'];
3207
3277
  };
3208
3278
  export declare enum NotificationEvent {
3209
3279
  BuildComplete = "BUILD_COMPLETE",
@@ -3398,6 +3468,8 @@ export type Robot = Actor & {
3398
3468
  accounts: Array<Account>;
3399
3469
  created: Scalars['DateTime'];
3400
3470
  displayName: Scalars['String'];
3471
+ /** Experiments associated with this actor */
3472
+ experiments: Array<ActorExperiment>;
3401
3473
  /**
3402
3474
  * Server feature gate values for this actor, optionally filtering by desired gates.
3403
3475
  * Only resolves for the viewer.
@@ -3457,6 +3529,8 @@ export type RootMutation = {
3457
3529
  account: AccountMutation;
3458
3530
  /** Mutations that create, update, and delete an AccountSSOConfiguration */
3459
3531
  accountSSOConfiguration: AccountSsoConfigurationMutation;
3532
+ /** Mutations for Actor experiments */
3533
+ actorExperiment: ActorExperimentMutation;
3460
3534
  /** Mutations that modify the build credentials for an Android app */
3461
3535
  androidAppBuildCredentials: AndroidAppBuildCredentialsMutation;
3462
3536
  /** Mutations that modify the credentials for an Android app */
@@ -3532,6 +3606,8 @@ export type RootMutation = {
3532
3606
  userInvitation: UserInvitationMutation;
3533
3607
  /** Mutations that create, delete, update Webhooks */
3534
3608
  webhook: WebhookMutation;
3609
+ /** Mutations that modify a websiteNotification */
3610
+ websiteNotifications: WebsiteNotificationMutation;
3535
3611
  };
3536
3612
  export type RootMutationAccountArgs = {
3537
3613
  accountName: Scalars['ID'];
@@ -3556,7 +3632,10 @@ export type RootQuery = {
3556
3632
  account: AccountQuery;
3557
3633
  /** Top-level query object for querying AccountSSOConfigurationPublicData */
3558
3634
  accountSSOConfigurationPublicData: AccountSsoConfigurationPublicDataQuery;
3559
- /** Top-level query object for querying Actors. */
3635
+ /**
3636
+ * Top-level query object for querying Actors.
3637
+ * @deprecated Public actor queries are no longer supported
3638
+ */
3560
3639
  actor: ActorQuery;
3561
3640
  /**
3562
3641
  * Public apps in the app directory
@@ -3613,7 +3692,10 @@ export type RootQuery = {
3613
3692
  * @deprecated Public user queries are no longer supported
3614
3693
  */
3615
3694
  user: UserQuery;
3616
- /** Top-level query object for querying UserActors. */
3695
+ /**
3696
+ * Top-level query object for querying UserActors.
3697
+ * @deprecated Public user queries are no longer supported
3698
+ */
3617
3699
  userActor: UserActorQuery;
3618
3700
  /** Top-level query object for querying UserActorPublicData publicly. */
3619
3701
  userActorPublicData: UserActorPublicDataQuery;
@@ -3665,6 +3747,7 @@ export type RuntimeFilterInput = {
3665
3747
  /** Only return runtimes shared with this branch */
3666
3748
  branchId?: InputMaybe<Scalars['String']>;
3667
3749
  };
3750
+ /** Represents the connection over the runtime edge of an App */
3668
3751
  export type RuntimesConnection = {
3669
3752
  __typename?: 'RuntimesConnection';
3670
3753
  edges: Array<RuntimeEdge>;
@@ -3688,6 +3771,8 @@ export type SsoUser = Actor & UserActor & {
3688
3771
  /** Discord account linked to a user */
3689
3772
  discordUser?: Maybe<DiscordUser>;
3690
3773
  displayName: Scalars['String'];
3774
+ /** Experiments associated with this actor */
3775
+ experiments: Array<ActorExperiment>;
3691
3776
  /**
3692
3777
  * Server feature gate values for this actor, optionally filtering by desired gates.
3693
3778
  * Only resolves for the viewer.
@@ -3715,8 +3800,9 @@ export type SsoUser = Actor & UserActor & {
3715
3800
  /** @deprecated No longer supported */
3716
3801
  twitterUsername?: Maybe<Scalars['String']>;
3717
3802
  username: Scalars['String'];
3718
- /** Web notifications linked to a user */
3803
+ /** @deprecated No longer supported */
3719
3804
  websiteNotifications: Array<Notification>;
3805
+ websiteNotificationsPaginated: WebsiteNotificationsConnection;
3720
3806
  };
3721
3807
  /** Represents a human SSO (not robot) actor. */
3722
3808
  export type SsoUserActivityTimelineProjectActivitiesArgs = {
@@ -3743,6 +3829,13 @@ export type SsoUserSnacksArgs = {
3743
3829
  limit: Scalars['Int'];
3744
3830
  offset: Scalars['Int'];
3745
3831
  };
3832
+ /** Represents a human SSO (not robot) actor. */
3833
+ export type SsoUserWebsiteNotificationsPaginatedArgs = {
3834
+ after?: InputMaybe<Scalars['String']>;
3835
+ before?: InputMaybe<Scalars['String']>;
3836
+ first?: InputMaybe<Scalars['Int']>;
3837
+ last?: InputMaybe<Scalars['Int']>;
3838
+ };
3746
3839
  export type SsoUserDataInput = {
3747
3840
  firstName?: InputMaybe<Scalars['String']>;
3748
3841
  lastName?: InputMaybe<Scalars['String']>;
@@ -3912,7 +4005,9 @@ export type StatuspageService = {
3912
4005
  export declare enum StatuspageServiceName {
3913
4006
  EasBuild = "EAS_BUILD",
3914
4007
  EasSubmit = "EAS_SUBMIT",
3915
- EasUpdate = "EAS_UPDATE"
4008
+ EasUpdate = "EAS_UPDATE",
4009
+ GithubApiRequests = "GITHUB_API_REQUESTS",
4010
+ GithubWebhooks = "GITHUB_WEBHOOKS"
3916
4011
  }
3917
4012
  export type StatuspageServiceQuery = {
3918
4013
  __typename?: 'StatuspageServiceQuery';
@@ -4109,6 +4204,8 @@ export type Update = ActivityTimelineProjectActivity & {
4109
4204
  gitCommitHash?: Maybe<Scalars['String']>;
4110
4205
  group: Scalars['String'];
4111
4206
  id: Scalars['ID'];
4207
+ /** Update query field */
4208
+ insights: UpdateInsights;
4112
4209
  isGitWorkingTreeDirty: Scalars['Boolean'];
4113
4210
  isRollBackToEmbedded: Scalars['Boolean'];
4114
4211
  manifestFragment: Scalars['String'];
@@ -4239,6 +4336,14 @@ export type UpdateInfoGroup = {
4239
4336
  ios?: InputMaybe<PartialManifest>;
4240
4337
  web?: InputMaybe<PartialManifest>;
4241
4338
  };
4339
+ export type UpdateInsights = {
4340
+ __typename?: 'UpdateInsights';
4341
+ id: Scalars['ID'];
4342
+ totalUniqueUsers: Scalars['Int'];
4343
+ };
4344
+ export type UpdateInsightsTotalUniqueUsersArgs = {
4345
+ timespan: InsightsTimespan;
4346
+ };
4242
4347
  export type UpdateMutation = {
4243
4348
  __typename?: 'UpdateMutation';
4244
4349
  /** Delete an EAS update group */
@@ -4323,6 +4428,8 @@ export type User = Actor & UserActor & {
4323
4428
  displayName: Scalars['String'];
4324
4429
  email: Scalars['String'];
4325
4430
  emailVerified: Scalars['Boolean'];
4431
+ /** Experiments associated with this actor */
4432
+ experiments: Array<ActorExperiment>;
4326
4433
  /**
4327
4434
  * Server feature gate values for this actor, optionally filtering by desired gates.
4328
4435
  * Only resolves for the viewer.
@@ -4359,7 +4466,9 @@ export type User = Actor & UserActor & {
4359
4466
  /** @deprecated No longer supported */
4360
4467
  twitterUsername?: Maybe<Scalars['String']>;
4361
4468
  username: Scalars['String'];
4469
+ /** @deprecated No longer supported */
4362
4470
  websiteNotifications: Array<Notification>;
4471
+ websiteNotificationsPaginated: WebsiteNotificationsConnection;
4363
4472
  };
4364
4473
  /** Represents a human (not robot) actor. */
4365
4474
  export type UserActivityTimelineProjectActivitiesArgs = {
@@ -4386,6 +4495,13 @@ export type UserSnacksArgs = {
4386
4495
  limit: Scalars['Int'];
4387
4496
  offset: Scalars['Int'];
4388
4497
  };
4498
+ /** Represents a human (not robot) actor. */
4499
+ export type UserWebsiteNotificationsPaginatedArgs = {
4500
+ after?: InputMaybe<Scalars['String']>;
4501
+ before?: InputMaybe<Scalars['String']>;
4502
+ first?: InputMaybe<Scalars['Int']>;
4503
+ last?: InputMaybe<Scalars['Int']>;
4504
+ };
4389
4505
  /** A human user (type User or SSOUser) that can login to the Expo website, use Expo services, and be a member of accounts. */
4390
4506
  export type UserActor = {
4391
4507
  /** Access Tokens belonging to this user actor */
@@ -4410,6 +4526,8 @@ export type UserActor = {
4410
4526
  * For example, when displaying a sentence indicating that actor X created a build or published an update.
4411
4527
  */
4412
4528
  displayName: Scalars['String'];
4529
+ /** Experiments associated with this actor */
4530
+ experiments: Array<ActorExperiment>;
4413
4531
  /**
4414
4532
  * Server feature gate values for this user actor, optionally filtering by desired gates.
4415
4533
  * Only resolves for the viewer.
@@ -4437,8 +4555,9 @@ export type UserActor = {
4437
4555
  /** @deprecated No longer supported */
4438
4556
  twitterUsername?: Maybe<Scalars['String']>;
4439
4557
  username: Scalars['String'];
4440
- /** Web notifications linked to a user */
4558
+ /** @deprecated No longer supported */
4441
4559
  websiteNotifications: Array<Notification>;
4560
+ websiteNotificationsPaginated: WebsiteNotificationsConnection;
4442
4561
  };
4443
4562
  /** A human user (type User or SSOUser) that can login to the Expo website, use Expo services, and be a member of accounts. */
4444
4563
  export type UserActorActivityTimelineProjectActivitiesArgs = {
@@ -4466,6 +4585,13 @@ export type UserActorSnacksArgs = {
4466
4585
  offset: Scalars['Int'];
4467
4586
  };
4468
4587
  /** A human user (type User or SSOUser) that can login to the Expo website, use Expo services, and be a member of accounts. */
4588
+ export type UserActorWebsiteNotificationsPaginatedArgs = {
4589
+ after?: InputMaybe<Scalars['String']>;
4590
+ before?: InputMaybe<Scalars['String']>;
4591
+ first?: InputMaybe<Scalars['Int']>;
4592
+ last?: InputMaybe<Scalars['Int']>;
4593
+ };
4594
+ /** A human user (type User or SSOUser) that can login to the Expo website, use Expo services, and be a member of accounts. */
4469
4595
  export type UserActorPublicData = {
4470
4596
  __typename?: 'UserActorPublicData';
4471
4597
  /** Apps this user has published */
@@ -4499,9 +4625,15 @@ export type UserActorPublicDataQueryByUsernameArgs = {
4499
4625
  };
4500
4626
  export type UserActorQuery = {
4501
4627
  __typename?: 'UserActorQuery';
4502
- /** Query a UserActor by ID */
4628
+ /**
4629
+ * Query a UserActor by ID
4630
+ * @deprecated Public user actor queries are no longer supported
4631
+ */
4503
4632
  byId: UserActor;
4504
- /** Query a UserActor by username */
4633
+ /**
4634
+ * Query a UserActor by username
4635
+ * @deprecated Public user actor queries are no longer supported
4636
+ */
4505
4637
  byUsername: UserActor;
4506
4638
  };
4507
4639
  export type UserActorQueryByIdArgs = {
@@ -4643,6 +4775,10 @@ export type UserSecondFactorDevice = {
4643
4775
  updatedAt: Scalars['DateTime'];
4644
4776
  user: User;
4645
4777
  };
4778
+ export type WebNotificationUpdateReadStateInput = {
4779
+ id: Scalars['ID'];
4780
+ isRead: Scalars['Boolean'];
4781
+ };
4646
4782
  export type Webhook = {
4647
4783
  __typename?: 'Webhook';
4648
4784
  appId: Scalars['ID'];
@@ -4691,6 +4827,24 @@ export declare enum WebhookType {
4691
4827
  Build = "BUILD",
4692
4828
  Submit = "SUBMIT"
4693
4829
  }
4830
+ export type WebsiteNotificationEdge = {
4831
+ __typename?: 'WebsiteNotificationEdge';
4832
+ cursor: Scalars['String'];
4833
+ node: Notification;
4834
+ };
4835
+ export type WebsiteNotificationMutation = {
4836
+ __typename?: 'WebsiteNotificationMutation';
4837
+ updateAllWebsiteNotificationReadStateAsRead: Scalars['Boolean'];
4838
+ updateNotificationReadState: Notification;
4839
+ };
4840
+ export type WebsiteNotificationMutationUpdateNotificationReadStateArgs = {
4841
+ input: WebNotificationUpdateReadStateInput;
4842
+ };
4843
+ export type WebsiteNotificationsConnection = {
4844
+ __typename?: 'WebsiteNotificationsConnection';
4845
+ edges: Array<WebsiteNotificationEdge>;
4846
+ pageInfo: PageInfo;
4847
+ };
4694
4848
  export type DeleteAndroidAppBuildCredentialsResult = {
4695
4849
  __typename?: 'deleteAndroidAppBuildCredentialsResult';
4696
4850
  id: Scalars['ID'];
@@ -8900,6 +9054,7 @@ export type ViewUpdateChannelOnAppQuery = {
8900
9054
  __typename?: 'UpdateChannel';
8901
9055
  id: string;
8902
9056
  name: string;
9057
+ updatedAt: any;
8903
9058
  createdAt: any;
8904
9059
  branchMapping: string;
8905
9060
  updateBranches: Array<{
@@ -8964,6 +9119,7 @@ export type ViewUpdateChannelsOnAppQuery = {
8964
9119
  __typename?: 'UpdateChannel';
8965
9120
  id: string;
8966
9121
  name: string;
9122
+ updatedAt: any;
8967
9123
  createdAt: any;
8968
9124
  branchMapping: string;
8969
9125
  updateBranches: Array<{
@@ -6,8 +6,8 @@
6
6
  * For more info and docs, visit https://graphql-code-generator.com/
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.Permission = exports.Order = exports.OfferType = exports.NotificationType = exports.NotificationEvent = exports.MailchimpTag = exports.MailchimpAudience = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.GitHubBuildTriggerType = exports.GitHubAppInstallationStatus = exports.GitHubAppEnvironment = exports.Feature = exports.EnvironmentSecretType = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildJobStatus = exports.BuildJobLogsFormat = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProtocolType = exports.AssetMetadataStatus = exports.AppsFilter = exports.AppleDeviceClass = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppPrivacy = exports.AppPlatform = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountAppsSortByField = void 0;
10
- exports.WebhookType = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.SubmissionStatus = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidTrack = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ProjectArchiveSourceType = void 0;
9
+ exports.Order = exports.OfferType = exports.NotificationType = exports.NotificationEvent = exports.MailchimpTag = exports.MailchimpAudience = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.GitHubBuildTriggerType = exports.GitHubAppInstallationStatus = exports.GitHubAppEnvironment = exports.Feature = exports.Experiment = exports.EnvironmentSecretType = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildJobStatus = exports.BuildJobLogsFormat = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProtocolType = exports.AssetMetadataStatus = exports.AppsFilter = exports.AppleDeviceClass = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppPrivacy = exports.AppPlatform = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountAppsSortByField = void 0;
10
+ exports.WebhookType = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.SubmissionStatus = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidTrack = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ProjectArchiveSourceType = exports.Permission = void 0;
11
11
  var AccountAppsSortByField;
12
12
  (function (AccountAppsSortByField) {
13
13
  AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
@@ -245,6 +245,10 @@ var EnvironmentSecretType;
245
245
  EnvironmentSecretType["FileBase64"] = "FILE_BASE64";
246
246
  EnvironmentSecretType["String"] = "STRING";
247
247
  })(EnvironmentSecretType = exports.EnvironmentSecretType || (exports.EnvironmentSecretType = {}));
248
+ var Experiment;
249
+ (function (Experiment) {
250
+ Experiment["Orbit"] = "ORBIT";
251
+ })(Experiment = exports.Experiment || (exports.Experiment = {}));
248
252
  var Feature;
249
253
  (function (Feature) {
250
254
  /** Priority Builds */
@@ -409,6 +413,8 @@ var StatuspageServiceName;
409
413
  StatuspageServiceName["EasBuild"] = "EAS_BUILD";
410
414
  StatuspageServiceName["EasSubmit"] = "EAS_SUBMIT";
411
415
  StatuspageServiceName["EasUpdate"] = "EAS_UPDATE";
416
+ StatuspageServiceName["GithubApiRequests"] = "GITHUB_API_REQUESTS";
417
+ StatuspageServiceName["GithubWebhooks"] = "GITHUB_WEBHOOKS";
412
418
  })(StatuspageServiceName = exports.StatuspageServiceName || (exports.StatuspageServiceName = {}));
413
419
  /** Possible statuses for a service. */
414
420
  var StatuspageServiceStatus;
@@ -30,6 +30,7 @@ exports.ChannelQuery = {
30
30
  updateChannelByName(name: $channelName) {
31
31
  id
32
32
  name
33
+ updatedAt
33
34
  createdAt
34
35
  branchMapping
35
36
  updateBranches(offset: 0, limit: 5) {
@@ -63,6 +64,7 @@ exports.ChannelQuery = {
63
64
  updateChannels(offset: $offset, limit: $limit) {
64
65
  id
65
66
  name
67
+ updatedAt
66
68
  createdAt
67
69
  branchMapping
68
70
  updateBranches(offset: 0, limit: 5) {
@@ -6,6 +6,7 @@ import { GeneralOptions as EndRolloutGeneralOptions, NonInteractiveOptions as En
6
6
  export declare enum ManageRolloutActions {
7
7
  EDIT = "Edit",
8
8
  END = "End",
9
+ VIEW = "View",
9
10
  GO_BACK = "Go back"
10
11
  }
11
12
  /**
@@ -16,7 +17,7 @@ export declare class ManageRollout implements EASUpdateAction<EASUpdateAction> {
16
17
  private options;
17
18
  constructor(channelInfo: UpdateChannelBasicInfoFragment, options: {
18
19
  callingAction?: EASUpdateAction;
19
- action?: ManageRolloutActions.EDIT | ManageRolloutActions.END;
20
+ action?: ManageRolloutActions.EDIT | ManageRolloutActions.END | ManageRolloutActions.VIEW;
20
21
  } & Partial<EditRolloutNonInteractiveOptions> & Partial<EndRolloutNonInteractiveOptions> & EndRolloutGeneralOptions);
21
22
  runAsync(ctx: EASUpdateContext): Promise<EASUpdateAction>;
22
23
  selectActionAsync(): Promise<ManageRolloutActions>;
@@ -14,6 +14,7 @@ var ManageRolloutActions;
14
14
  (function (ManageRolloutActions) {
15
15
  ManageRolloutActions["EDIT"] = "Edit";
16
16
  ManageRolloutActions["END"] = "End";
17
+ ManageRolloutActions["VIEW"] = "View";
17
18
  ManageRolloutActions["GO_BACK"] = "Go back";
18
19
  })(ManageRolloutActions = exports.ManageRolloutActions || (exports.ManageRolloutActions = {}));
19
20
  /**
@@ -38,6 +39,9 @@ class ManageRollout {
38
39
  return new EditRollout_1.EditRollout(this.channelInfo, this.options);
39
40
  case ManageRolloutActions.END:
40
41
  return new EndRollout_1.EndRollout(this.channelInfo, this.options);
42
+ case ManageRolloutActions.VIEW:
43
+ // Rollout is automatically printed in interactive mode
44
+ return new Noop();
41
45
  case ManageRolloutActions.GO_BACK:
42
46
  (0, assert_1.default)(this.options.callingAction, 'calling action must be defined');
43
47
  return this.options.callingAction;
@@ -76,3 +80,6 @@ class ManageRollout {
76
80
  }
77
81
  }
78
82
  exports.ManageRollout = ManageRollout;
83
+ class Noop {
84
+ async runAsync() { }
85
+ }
@@ -1,10 +1,22 @@
1
1
  import { EASUpdateAction, EASUpdateContext } from '../../eas-update/utils';
2
2
  import { UpdateChannelBasicInfoFragment } from '../../graphql/generated';
3
- import { CodeSigningInfo } from '../../utils/code-signing';
3
+ import { UpdateBranchObject, UpdateChannelObject } from '../../graphql/queries/ChannelQuery';
4
4
  import { NonInteractiveOptions as CreateRolloutNonInteractiveOptions } from './CreateRollout';
5
5
  import { NonInteractiveOptions as EditRolloutNonInteractiveOptions } from './EditRollout';
6
6
  import { GeneralOptions as EndRolloutGeneralOptions, NonInteractiveOptions as EndRolloutNonInteractiveOptions } from './EndRollout';
7
7
  import { RolloutActions } from './RolloutMainMenu';
8
+ type JSONRolloutOutput = {
9
+ defaultBranch: UpdateBranchObject;
10
+ rolledOutBranch: UpdateBranchObject;
11
+ percentRolledOut: number;
12
+ runtimeVersion?: string;
13
+ updatedAt: Date;
14
+ };
15
+ type JSONOutput = {
16
+ hasRollout: boolean;
17
+ originalRolloutInfo?: JSONRolloutOutput;
18
+ currentRolloutInfo?: JSONRolloutOutput;
19
+ };
8
20
  /**
9
21
  * Control a rollout in non interactive mode.
10
22
  */
@@ -12,9 +24,21 @@ export declare class NonInteractiveRollout implements EASUpdateAction<void> {
12
24
  private options;
13
25
  constructor(options: {
14
26
  channelName?: string;
15
- codeSigningInfo?: CodeSigningInfo;
27
+ json?: boolean;
16
28
  action?: RolloutActions;
17
29
  } & Partial<EditRolloutNonInteractiveOptions> & Partial<EndRolloutNonInteractiveOptions> & EndRolloutGeneralOptions & Partial<CreateRolloutNonInteractiveOptions>);
18
30
  runAsync(ctx: EASUpdateContext): Promise<void>;
19
- runActionAsync(ctx: EASUpdateContext, action: RolloutActions, channelInfo: UpdateChannelBasicInfoFragment, options: Partial<EditRolloutNonInteractiveOptions> & Partial<EndRolloutNonInteractiveOptions> & EndRolloutGeneralOptions & Partial<CreateRolloutNonInteractiveOptions>): Promise<UpdateChannelBasicInfoFragment>;
31
+ runActionAsync(ctx: EASUpdateContext, action: RolloutActions, channelObject: UpdateChannelObject): Promise<UpdateChannelBasicInfoFragment>;
32
+ viewRollout(channelObject: UpdateChannelObject): UpdateChannelObject;
33
+ getJsonAsync({ originalChannelObject, updatedChannelObject, }: {
34
+ originalChannelObject: UpdateChannelObject;
35
+ updatedChannelObject: UpdateChannelObject;
36
+ }): Promise<JSONOutput>;
37
+ getRolloutJsonAsync(channelObject: UpdateChannelObject): Promise<JSONRolloutOutput>;
38
+ getRuntimeVersion(channelInfo: UpdateChannelBasicInfoFragment): string | undefined;
39
+ getChannelObjectAsync(ctx: EASUpdateContext, { channelName, runtimeVersion }: {
40
+ channelName: string;
41
+ runtimeVersion?: string;
42
+ }): Promise<UpdateChannelObject>;
20
43
  }
44
+ export {};