eas-cli 18.12.0 → 18.12.2

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.
@@ -740,8 +740,10 @@ export type AccountOnboardingStats = {
740
740
  firstProjectCreatedAt?: Maybe<Scalars['DateTime']['output']>;
741
741
  firstSubmissionCompletedAt?: Maybe<Scalars['DateTime']['output']>;
742
742
  firstUpdateCreatedAt?: Maybe<Scalars['DateTime']['output']>;
743
+ /** @deprecated Onboarding widget experiment removed */
743
744
  hasConfiguredUpdate: Scalars['Boolean']['output'];
744
745
  hasConfiguredWorkflow: Scalars['Boolean']['output'];
746
+ /** @deprecated Onboarding widget experiment removed */
745
747
  hasTeamMembers: Scalars['Boolean']['output'];
746
748
  };
747
749
  export type AccountQuery = {
@@ -1926,17 +1928,22 @@ export type AppObserveCustomEvent = {
1926
1928
  __typename?: 'AppObserveCustomEvent';
1927
1929
  appBuildNumber: Scalars['String']['output'];
1928
1930
  appEasBuildId?: Maybe<Scalars['String']['output']>;
1931
+ appIdentifier: Scalars['String']['output'];
1929
1932
  appUpdateId?: Maybe<Scalars['String']['output']>;
1930
1933
  appVersion: Scalars['String']['output'];
1934
+ clientVersion?: Maybe<Scalars['String']['output']>;
1931
1935
  countryCode?: Maybe<Scalars['String']['output']>;
1936
+ deviceLanguageTag?: Maybe<Scalars['String']['output']>;
1932
1937
  deviceModel: Scalars['String']['output'];
1933
1938
  deviceOs: Scalars['String']['output'];
1934
1939
  deviceOsVersion: Scalars['String']['output'];
1935
1940
  easClientId: Scalars['String']['output'];
1936
1941
  environment?: Maybe<Scalars['String']['output']>;
1937
1942
  eventName: Scalars['String']['output'];
1943
+ expoSdkVersion?: Maybe<Scalars['String']['output']>;
1938
1944
  id: Scalars['ID']['output'];
1939
1945
  properties: Array<AppObserveEventProperty>;
1946
+ reactNativeVersion?: Maybe<Scalars['String']['output']>;
1940
1947
  sessionId?: Maybe<Scalars['String']['output']>;
1941
1948
  severityNumber?: Maybe<Scalars['Int']['output']>;
1942
1949
  severityText?: Maybe<Scalars['String']['output']>;
@@ -2636,7 +2643,12 @@ export type AppleDeviceRegistrationRequest = {
2636
2643
  __typename?: 'AppleDeviceRegistrationRequest';
2637
2644
  account: Account;
2638
2645
  appleTeam: AppleTeam;
2646
+ closedAt?: Maybe<Scalars['DateTime']['output']>;
2639
2647
  id: Scalars['ID']['output'];
2648
+ /** Device that satisfied this request, including when enrollment matched a pre-existing device. */
2649
+ resolvedAppleDevice?: Maybe<AppleDevice>;
2650
+ /** Workflow job waiting for registration review when this request was created from a workflow run. */
2651
+ workflowJob?: Maybe<WorkflowJob>;
2640
2652
  };
2641
2653
  export type AppleDeviceRegistrationRequestMutation = {
2642
2654
  __typename?: 'AppleDeviceRegistrationRequestMutation';
@@ -4357,7 +4369,7 @@ export type DeviceRunSessionQuery = {
4357
4369
  export type DeviceRunSessionQueryByIdArgs = {
4358
4370
  deviceRunSessionId: Scalars['ID']['input'];
4359
4371
  };
4360
- export type DeviceRunSessionRemoteConfig = AgentDeviceRunSessionRemoteConfig;
4372
+ export type DeviceRunSessionRemoteConfig = AgentDeviceRunSessionRemoteConfig | ServeSimRunSessionRemoteConfig;
4361
4373
  export declare enum DeviceRunSessionStatus {
4362
4374
  Errored = "ERRORED",
4363
4375
  InProgress = "IN_PROGRESS",
@@ -4365,7 +4377,8 @@ export declare enum DeviceRunSessionStatus {
4365
4377
  Stopped = "STOPPED"
4366
4378
  }
4367
4379
  export declare enum DeviceRunSessionType {
4368
- AgentDevice = "AGENT_DEVICE"
4380
+ AgentDevice = "AGENT_DEVICE",
4381
+ ServeSim = "SERVE_SIM"
4369
4382
  }
4370
4383
  export type DiscordUser = {
4371
4384
  __typename?: 'DiscordUser';
@@ -5578,6 +5591,7 @@ export type GitHubRepositoryMetadata = {
5578
5591
  githubRepoName: Scalars['String']['output'];
5579
5592
  githubRepoOwnerName: Scalars['String']['output'];
5580
5593
  githubRepoUrl: Scalars['String']['output'];
5594
+ id: Scalars['ID']['output'];
5581
5595
  lastPushed: Scalars['DateTime']['output'];
5582
5596
  lastUpdated: Scalars['DateTime']['output'];
5583
5597
  private: Scalars['Boolean']['output'];
@@ -6853,6 +6867,7 @@ export type RootMutation = {
6853
6867
  /** Mutations that modify a websiteNotification */
6854
6868
  websiteNotifications: WebsiteNotificationMutation;
6855
6869
  workflowDeviceTestCaseResult: WorkflowDeviceTestCaseResultMutation;
6870
+ workflowJobAppleDeviceRegistrationRequest: WorkflowJobAppleDeviceRegistrationRequestMutation;
6856
6871
  workflowJobApproval: WorkflowJobApprovalMutation;
6857
6872
  workflowRevision: WorkflowRevisionMutation;
6858
6873
  workflowRun: WorkflowRunMutation;
@@ -7290,6 +7305,11 @@ export type SentryProjectMutationCreateSentryProjectArgs = {
7290
7305
  export type SentryProjectMutationDeleteSentryProjectArgs = {
7291
7306
  sentryProjectId: Scalars['ID']['input'];
7292
7307
  };
7308
+ export type ServeSimRunSessionRemoteConfig = {
7309
+ __typename?: 'ServeSimRunSessionRemoteConfig';
7310
+ previewUrl: Scalars['String']['output'];
7311
+ streamUrl: Scalars['String']['output'];
7312
+ };
7293
7313
  export type SetupConvexProjectInput = {
7294
7314
  appId: Scalars['ID']['input'];
7295
7315
  convexTeamConnectionId: Scalars['ID']['input'];
@@ -9392,6 +9412,21 @@ export type WorkflowJob = {
9392
9412
  updatedAt: Scalars['DateTime']['output'];
9393
9413
  workflowRun: WorkflowRun;
9394
9414
  };
9415
+ export type WorkflowJobAppleDeviceRegistrationRequestMutation = {
9416
+ __typename?: 'WorkflowJobAppleDeviceRegistrationRequestMutation';
9417
+ /** Mark the workflow apple-device-registration-request job successful after reviewing the registered device. */
9418
+ approveAppleDeviceRegistration: WorkflowJob;
9419
+ /** Fail the workflow apple-device-registration-request job after reviewing the registered device. */
9420
+ rejectAppleDeviceRegistration: WorkflowJob;
9421
+ };
9422
+ export type WorkflowJobAppleDeviceRegistrationRequestMutationApproveAppleDeviceRegistrationArgs = {
9423
+ appleDeviceId: Scalars['ID']['input'];
9424
+ workflowJobId: Scalars['ID']['input'];
9425
+ };
9426
+ export type WorkflowJobAppleDeviceRegistrationRequestMutationRejectAppleDeviceRegistrationArgs = {
9427
+ appleDeviceId: Scalars['ID']['input'];
9428
+ workflowJobId: Scalars['ID']['input'];
9429
+ };
9395
9430
  export type WorkflowJobApproval = {
9396
9431
  __typename?: 'WorkflowJobApproval';
9397
9432
  createdAt: Scalars['DateTime']['output'];
@@ -10088,6 +10123,7 @@ export type CreateAndroidAppCredentialsMutation = {
10088
10123
  id: string;
10089
10124
  metadata: {
10090
10125
  __typename?: 'GitHubRepositoryMetadata';
10126
+ id: string;
10091
10127
  githubRepoOwnerName: string;
10092
10128
  githubRepoName: string;
10093
10129
  };
@@ -10211,6 +10247,7 @@ export type SetFcmMutation = {
10211
10247
  id: string;
10212
10248
  metadata: {
10213
10249
  __typename?: 'GitHubRepositoryMetadata';
10250
+ id: string;
10214
10251
  githubRepoOwnerName: string;
10215
10252
  githubRepoName: string;
10216
10253
  };
@@ -10334,6 +10371,7 @@ export type SetGoogleServiceAccountKeyForSubmissionsMutation = {
10334
10371
  id: string;
10335
10372
  metadata: {
10336
10373
  __typename?: 'GitHubRepositoryMetadata';
10374
+ id: string;
10337
10375
  githubRepoOwnerName: string;
10338
10376
  githubRepoName: string;
10339
10377
  };
@@ -10457,6 +10495,7 @@ export type SetGoogleServiceAccountKeyForFcmV1Mutation = {
10457
10495
  id: string;
10458
10496
  metadata: {
10459
10497
  __typename?: 'GitHubRepositoryMetadata';
10498
+ id: string;
10460
10499
  githubRepoOwnerName: string;
10461
10500
  githubRepoName: string;
10462
10501
  };
@@ -10696,6 +10735,7 @@ export type CommonAndroidAppCredentialsWithBuildCredentialsByApplicationIdentifi
10696
10735
  id: string;
10697
10736
  metadata: {
10698
10737
  __typename?: 'GitHubRepositoryMetadata';
10738
+ id: string;
10699
10739
  githubRepoOwnerName: string;
10700
10740
  githubRepoName: string;
10701
10741
  };
@@ -10997,6 +11037,7 @@ export type CreateAppleDistributionCertificateMutation = {
10997
11037
  id: string;
10998
11038
  metadata: {
10999
11039
  __typename?: 'GitHubRepositoryMetadata';
11040
+ id: string;
11000
11041
  githubRepoOwnerName: string;
11001
11042
  githubRepoName: string;
11002
11043
  };
@@ -11176,6 +11217,7 @@ export type CreateApplePushKeyMutation = {
11176
11217
  id: string;
11177
11218
  metadata: {
11178
11219
  __typename?: 'GitHubRepositoryMetadata';
11220
+ id: string;
11179
11221
  githubRepoOwnerName: string;
11180
11222
  githubRepoName: string;
11181
11223
  };
@@ -11311,6 +11353,7 @@ export type CreateIosAppBuildCredentialsMutation = {
11311
11353
  id: string;
11312
11354
  metadata: {
11313
11355
  __typename?: 'GitHubRepositoryMetadata';
11356
+ id: string;
11314
11357
  githubRepoOwnerName: string;
11315
11358
  githubRepoName: string;
11316
11359
  };
@@ -11432,6 +11475,7 @@ export type SetDistributionCertificateMutation = {
11432
11475
  id: string;
11433
11476
  metadata: {
11434
11477
  __typename?: 'GitHubRepositoryMetadata';
11478
+ id: string;
11435
11479
  githubRepoOwnerName: string;
11436
11480
  githubRepoName: string;
11437
11481
  };
@@ -11553,6 +11597,7 @@ export type SetProvisioningProfileMutation = {
11553
11597
  id: string;
11554
11598
  metadata: {
11555
11599
  __typename?: 'GitHubRepositoryMetadata';
11600
+ id: string;
11556
11601
  githubRepoOwnerName: string;
11557
11602
  githubRepoName: string;
11558
11603
  };
@@ -11678,6 +11723,7 @@ export type CreateIosAppCredentialsMutation = {
11678
11723
  id: string;
11679
11724
  metadata: {
11680
11725
  __typename?: 'GitHubRepositoryMetadata';
11726
+ id: string;
11681
11727
  githubRepoOwnerName: string;
11682
11728
  githubRepoName: string;
11683
11729
  };
@@ -11763,6 +11809,7 @@ export type CreateIosAppCredentialsMutation = {
11763
11809
  id: string;
11764
11810
  metadata: {
11765
11811
  __typename?: 'GitHubRepositoryMetadata';
11812
+ id: string;
11766
11813
  githubRepoOwnerName: string;
11767
11814
  githubRepoName: string;
11768
11815
  };
@@ -11835,6 +11882,7 @@ export type CreateIosAppCredentialsMutation = {
11835
11882
  id: string;
11836
11883
  metadata: {
11837
11884
  __typename?: 'GitHubRepositoryMetadata';
11885
+ id: string;
11838
11886
  githubRepoOwnerName: string;
11839
11887
  githubRepoName: string;
11840
11888
  };
@@ -11945,6 +11993,7 @@ export type SetPushKeyMutation = {
11945
11993
  id: string;
11946
11994
  metadata: {
11947
11995
  __typename?: 'GitHubRepositoryMetadata';
11996
+ id: string;
11948
11997
  githubRepoOwnerName: string;
11949
11998
  githubRepoName: string;
11950
11999
  };
@@ -12030,6 +12079,7 @@ export type SetPushKeyMutation = {
12030
12079
  id: string;
12031
12080
  metadata: {
12032
12081
  __typename?: 'GitHubRepositoryMetadata';
12082
+ id: string;
12033
12083
  githubRepoOwnerName: string;
12034
12084
  githubRepoName: string;
12035
12085
  };
@@ -12102,6 +12152,7 @@ export type SetPushKeyMutation = {
12102
12152
  id: string;
12103
12153
  metadata: {
12104
12154
  __typename?: 'GitHubRepositoryMetadata';
12155
+ id: string;
12105
12156
  githubRepoOwnerName: string;
12106
12157
  githubRepoName: string;
12107
12158
  };
@@ -12212,6 +12263,7 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
12212
12263
  id: string;
12213
12264
  metadata: {
12214
12265
  __typename?: 'GitHubRepositoryMetadata';
12266
+ id: string;
12215
12267
  githubRepoOwnerName: string;
12216
12268
  githubRepoName: string;
12217
12269
  };
@@ -12297,6 +12349,7 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
12297
12349
  id: string;
12298
12350
  metadata: {
12299
12351
  __typename?: 'GitHubRepositoryMetadata';
12352
+ id: string;
12300
12353
  githubRepoOwnerName: string;
12301
12354
  githubRepoName: string;
12302
12355
  };
@@ -12369,6 +12422,7 @@ export type SetAppStoreConnectApiKeyForSubmissionsMutation = {
12369
12422
  id: string;
12370
12423
  metadata: {
12371
12424
  __typename?: 'GitHubRepositoryMetadata';
12425
+ id: string;
12372
12426
  githubRepoOwnerName: string;
12373
12427
  githubRepoName: string;
12374
12428
  };
@@ -12627,6 +12681,7 @@ export type AppleDistributionCertificateByAppQuery = {
12627
12681
  id: string;
12628
12682
  metadata: {
12629
12683
  __typename?: 'GitHubRepositoryMetadata';
12684
+ id: string;
12630
12685
  githubRepoOwnerName: string;
12631
12686
  githubRepoName: string;
12632
12687
  };
@@ -12733,6 +12788,7 @@ export type AppleDistributionCertificatesPaginatedByAccountQuery = {
12733
12788
  id: string;
12734
12789
  metadata: {
12735
12790
  __typename?: 'GitHubRepositoryMetadata';
12791
+ id: string;
12736
12792
  githubRepoOwnerName: string;
12737
12793
  githubRepoName: string;
12738
12794
  };
@@ -12890,6 +12946,7 @@ export type ApplePushKeysPaginatedByAccountQuery = {
12890
12946
  id: string;
12891
12947
  metadata: {
12892
12948
  __typename?: 'GitHubRepositoryMetadata';
12949
+ id: string;
12893
12950
  githubRepoOwnerName: string;
12894
12951
  githubRepoName: string;
12895
12952
  };
@@ -13034,6 +13091,7 @@ export type IosAppBuildCredentialsByAppleAppIdentiferAndDistributionQuery = {
13034
13091
  id: string;
13035
13092
  metadata: {
13036
13093
  __typename?: 'GitHubRepositoryMetadata';
13094
+ id: string;
13037
13095
  githubRepoOwnerName: string;
13038
13096
  githubRepoName: string;
13039
13097
  };
@@ -13164,6 +13222,7 @@ export type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = {
13164
13222
  id: string;
13165
13223
  metadata: {
13166
13224
  __typename?: 'GitHubRepositoryMetadata';
13225
+ id: string;
13167
13226
  githubRepoOwnerName: string;
13168
13227
  githubRepoName: string;
13169
13228
  };
@@ -13249,6 +13308,7 @@ export type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = {
13249
13308
  id: string;
13250
13309
  metadata: {
13251
13310
  __typename?: 'GitHubRepositoryMetadata';
13311
+ id: string;
13252
13312
  githubRepoOwnerName: string;
13253
13313
  githubRepoName: string;
13254
13314
  };
@@ -13321,6 +13381,7 @@ export type IosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery = {
13321
13381
  id: string;
13322
13382
  metadata: {
13323
13383
  __typename?: 'GitHubRepositoryMetadata';
13384
+ id: string;
13324
13385
  githubRepoOwnerName: string;
13325
13386
  githubRepoName: string;
13326
13387
  };
@@ -13435,6 +13496,7 @@ export type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery =
13435
13496
  id: string;
13436
13497
  metadata: {
13437
13498
  __typename?: 'GitHubRepositoryMetadata';
13499
+ id: string;
13438
13500
  githubRepoOwnerName: string;
13439
13501
  githubRepoName: string;
13440
13502
  };
@@ -13520,6 +13582,7 @@ export type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery =
13520
13582
  id: string;
13521
13583
  metadata: {
13522
13584
  __typename?: 'GitHubRepositoryMetadata';
13585
+ id: string;
13523
13586
  githubRepoOwnerName: string;
13524
13587
  githubRepoName: string;
13525
13588
  };
@@ -13592,6 +13655,7 @@ export type CommonIosAppCredentialsWithBuildCredentialsByAppIdentifierIdQuery =
13592
13655
  id: string;
13593
13656
  metadata: {
13594
13657
  __typename?: 'GitHubRepositoryMetadata';
13658
+ id: string;
13595
13659
  githubRepoOwnerName: string;
13596
13660
  githubRepoName: string;
13597
13661
  };
@@ -14938,6 +15002,7 @@ export type CreateWorkflowRunFromGitRefMutation = {
14938
15002
  export type CreateExpoGoRepackWorkflowRunMutationVariables = Exact<{
14939
15003
  appId: Scalars['ID']['input'];
14940
15004
  projectSource: WorkflowProjectSourceInput;
15005
+ sdkVersion?: InputMaybe<Scalars['String']['input']>;
14941
15006
  }>;
14942
15007
  export type CreateExpoGoRepackWorkflowRunMutation = {
14943
15008
  __typename?: 'RootMutation';
@@ -15272,6 +15337,7 @@ export type AppByIdQuery = {
15272
15337
  id: string;
15273
15338
  metadata: {
15274
15339
  __typename?: 'GitHubRepositoryMetadata';
15340
+ id: string;
15275
15341
  githubRepoOwnerName: string;
15276
15342
  githubRepoName: string;
15277
15343
  };
@@ -15328,6 +15394,7 @@ export type AppByFullNameQuery = {
15328
15394
  id: string;
15329
15395
  metadata: {
15330
15396
  __typename?: 'GitHubRepositoryMetadata';
15397
+ id: string;
15331
15398
  githubRepoOwnerName: string;
15332
15399
  githubRepoName: string;
15333
15400
  };
@@ -16657,10 +16724,24 @@ export type DeviceRunSessionByIdQuery = {
16657
16724
  id: string;
16658
16725
  status: DeviceRunSessionStatus;
16659
16726
  type: DeviceRunSessionType;
16727
+ app: {
16728
+ __typename?: 'App';
16729
+ id: string;
16730
+ slug: string;
16731
+ ownerAccount: {
16732
+ __typename?: 'Account';
16733
+ id: string;
16734
+ name: string;
16735
+ };
16736
+ };
16660
16737
  remoteConfig?: {
16661
16738
  __typename: 'AgentDeviceRunSessionRemoteConfig';
16662
16739
  url: string;
16663
16740
  token: string;
16741
+ } | {
16742
+ __typename: 'ServeSimRunSessionRemoteConfig';
16743
+ previewUrl: string;
16744
+ streamUrl: string;
16664
16745
  } | null;
16665
16746
  turtleJobRun?: {
16666
16747
  __typename?: 'JobRun';
@@ -18152,6 +18233,24 @@ export type WorkflowJobByIdQuery = {
18152
18233
  };
18153
18234
  };
18154
18235
  };
18236
+ export type ExpoGoRepackConfigurationQueryVariables = Exact<{
18237
+ input: ExpoGoRepackInput;
18238
+ }>;
18239
+ export type ExpoGoRepackConfigurationQuery = {
18240
+ __typename?: 'RootQuery';
18241
+ expoGoBuild: {
18242
+ __typename?: 'ExpoGoBuildQuery';
18243
+ repackConfiguration: {
18244
+ __typename?: 'ExpoGoProjectConfiguration';
18245
+ sdkVersion: string;
18246
+ files: Array<{
18247
+ __typename?: 'ExpoGoProjectFile';
18248
+ fileName: string;
18249
+ fileContents: string;
18250
+ }>;
18251
+ };
18252
+ };
18253
+ };
18155
18254
  export type WorkflowRunByIdQueryVariables = Exact<{
18156
18255
  workflowRunId: Scalars['ID']['input'];
18157
18256
  }>;
@@ -18673,6 +18772,7 @@ export type AppFragment = {
18673
18772
  id: string;
18674
18773
  metadata: {
18675
18774
  __typename?: 'GitHubRepositoryMetadata';
18775
+ id: string;
18676
18776
  githubRepoOwnerName: string;
18677
18777
  githubRepoName: string;
18678
18778
  };
@@ -19734,6 +19834,7 @@ export type CommonAndroidAppCredentialsFragment = {
19734
19834
  id: string;
19735
19835
  metadata: {
19736
19836
  __typename?: 'GitHubRepositoryMetadata';
19837
+ id: string;
19737
19838
  githubRepoOwnerName: string;
19738
19839
  githubRepoName: string;
19739
19840
  };
@@ -19931,6 +20032,7 @@ export type AppleDistributionCertificateFragment = {
19931
20032
  id: string;
19932
20033
  metadata: {
19933
20034
  __typename?: 'GitHubRepositoryMetadata';
20035
+ id: string;
19934
20036
  githubRepoOwnerName: string;
19935
20037
  githubRepoName: string;
19936
20038
  };
@@ -20034,6 +20136,7 @@ export type ApplePushKeyFragment = {
20034
20136
  id: string;
20035
20137
  metadata: {
20036
20138
  __typename?: 'GitHubRepositoryMetadata';
20139
+ id: string;
20037
20140
  githubRepoOwnerName: string;
20038
20141
  githubRepoName: string;
20039
20142
  };
@@ -20130,6 +20233,7 @@ export type IosAppBuildCredentialsFragment = {
20130
20233
  id: string;
20131
20234
  metadata: {
20132
20235
  __typename?: 'GitHubRepositoryMetadata';
20236
+ id: string;
20133
20237
  githubRepoOwnerName: string;
20134
20238
  githubRepoName: string;
20135
20239
  };
@@ -20218,6 +20322,7 @@ export type CommonIosAppCredentialsWithoutBuildCredentialsFragment = {
20218
20322
  id: string;
20219
20323
  metadata: {
20220
20324
  __typename?: 'GitHubRepositoryMetadata';
20325
+ id: string;
20221
20326
  githubRepoOwnerName: string;
20222
20327
  githubRepoName: string;
20223
20328
  };
@@ -20290,6 +20395,7 @@ export type CommonIosAppCredentialsWithoutBuildCredentialsFragment = {
20290
20395
  id: string;
20291
20396
  metadata: {
20292
20397
  __typename?: 'GitHubRepositoryMetadata';
20398
+ id: string;
20293
20399
  githubRepoOwnerName: string;
20294
20400
  githubRepoName: string;
20295
20401
  };
@@ -20390,6 +20496,7 @@ export type CommonIosAppCredentialsFragment = {
20390
20496
  id: string;
20391
20497
  metadata: {
20392
20498
  __typename?: 'GitHubRepositoryMetadata';
20499
+ id: string;
20393
20500
  githubRepoOwnerName: string;
20394
20501
  githubRepoName: string;
20395
20502
  };
@@ -20475,6 +20582,7 @@ export type CommonIosAppCredentialsFragment = {
20475
20582
  id: string;
20476
20583
  metadata: {
20477
20584
  __typename?: 'GitHubRepositoryMetadata';
20585
+ id: string;
20478
20586
  githubRepoOwnerName: string;
20479
20587
  githubRepoName: string;
20480
20588
  };
@@ -20547,6 +20655,7 @@ export type CommonIosAppCredentialsFragment = {
20547
20655
  id: string;
20548
20656
  metadata: {
20549
20657
  __typename?: 'GitHubRepositoryMetadata';
20658
+ id: string;
20550
20659
  githubRepoOwnerName: string;
20551
20660
  githubRepoName: string;
20552
20661
  };
@@ -402,6 +402,7 @@ var DeviceRunSessionStatus;
402
402
  var DeviceRunSessionType;
403
403
  (function (DeviceRunSessionType) {
404
404
  DeviceRunSessionType["AgentDevice"] = "AGENT_DEVICE";
405
+ DeviceRunSessionType["ServeSim"] = "SERVE_SIM";
405
406
  })(DeviceRunSessionType || (exports.DeviceRunSessionType = DeviceRunSessionType = {}));
406
407
  var DistributionType;
407
408
  (function (DistributionType) {
@@ -15,8 +15,9 @@ export declare namespace WorkflowRunMutation {
15
15
  }): Promise<{
16
16
  id: string;
17
17
  }>;
18
- function createExpoGoRepackWorkflowRunAsync(graphqlClient: ExpoGraphqlClient, { appId, projectSource, }: {
18
+ function createExpoGoRepackWorkflowRunAsync(graphqlClient: ExpoGraphqlClient, { appId, sdkVersion, projectSource, }: {
19
19
  appId: string;
20
+ sdkVersion?: string;
20
21
  projectSource: WorkflowProjectSourceInput;
21
22
  }): Promise<{
22
23
  id: string;
@@ -60,21 +60,29 @@ var WorkflowRunMutation;
60
60
  return { id: data.workflowRun.createWorkflowRunFromGitRef.id };
61
61
  }
62
62
  WorkflowRunMutation.createWorkflowRunFromGitRefAsync = createWorkflowRunFromGitRefAsync;
63
- async function createExpoGoRepackWorkflowRunAsync(graphqlClient, { appId, projectSource, }) {
63
+ async function createExpoGoRepackWorkflowRunAsync(graphqlClient, { appId, sdkVersion, projectSource, }) {
64
64
  const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
65
65
  .mutation(
66
66
  /* eslint-disable graphql/template-strings */
67
67
  (0, graphql_tag_1.default) `
68
- mutation CreateExpoGoRepackWorkflowRun($appId: ID!, $projectSource: WorkflowProjectSourceInput!) {
68
+ mutation CreateExpoGoRepackWorkflowRun(
69
+ $appId: ID!
70
+ $projectSource: WorkflowProjectSourceInput!
71
+ $sdkVersion: String
72
+ ) {
69
73
  workflowRun {
70
- createExpoGoRepackWorkflowRun(appId: $appId, projectSource: $projectSource) {
74
+ createExpoGoRepackWorkflowRun(
75
+ appId: $appId
76
+ projectSource: $projectSource
77
+ sdkVersion: $sdkVersion
78
+ ) {
71
79
  id
72
80
  }
73
81
  }
74
82
  }
75
83
  `,
76
84
  /* eslint-enable graphql/template-strings */
77
- { appId, projectSource })
85
+ { appId, projectSource, sdkVersion })
78
86
  .toPromise());
79
87
  return { id: data.workflowRun.createExpoGoRepackWorkflowRun.id };
80
88
  }
@@ -14,12 +14,24 @@ exports.DeviceRunSessionQuery = {
14
14
  id
15
15
  status
16
16
  type
17
+ app {
18
+ id
19
+ slug
20
+ ownerAccount {
21
+ id
22
+ name
23
+ }
24
+ }
17
25
  remoteConfig {
18
26
  __typename
19
27
  ... on AgentDeviceRunSessionRemoteConfig {
20
28
  url
21
29
  token
22
30
  }
31
+ ... on ServeSimRunSessionRemoteConfig {
32
+ previewUrl
33
+ streamUrl
34
+ }
23
35
  }
24
36
  turtleJobRun {
25
37
  id
@@ -1,6 +1,7 @@
1
1
  import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
2
- import { WorkflowRunByIdQuery, WorkflowRunByIdWithJobsQuery, WorkflowRunFragment, WorkflowRunStatus } from '../generated';
2
+ import { ExpoGoProjectConfiguration, ExpoGoRepackInput, WorkflowRunByIdQuery, WorkflowRunByIdWithJobsQuery, WorkflowRunFragment, WorkflowRunStatus } from '../generated';
3
3
  export declare const WorkflowRunQuery: {
4
+ expoGoRepackConfigurationAsync(graphqlClient: ExpoGraphqlClient, input: ExpoGoRepackInput): Promise<ExpoGoProjectConfiguration>;
4
5
  byIdAsync(graphqlClient: ExpoGraphqlClient, workflowRunId: string, { useCache }?: {
5
6
  useCache?: boolean;
6
7
  }): Promise<WorkflowRunByIdQuery["workflowRuns"]["byId"]>;
@@ -9,6 +9,28 @@ const client_1 = require("../client");
9
9
  const WorkflowJob_1 = require("../types/WorkflowJob");
10
10
  const WorkflowRun_1 = require("../types/WorkflowRun");
11
11
  exports.WorkflowRunQuery = {
12
+ async expoGoRepackConfigurationAsync(graphqlClient, input) {
13
+ const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
14
+ .query(
15
+ /* eslint-disable graphql/template-strings */
16
+ (0, graphql_tag_1.default) `
17
+ query ExpoGoRepackConfiguration($input: ExpoGoRepackInput!) {
18
+ expoGoBuild {
19
+ repackConfiguration(input: $input) {
20
+ sdkVersion
21
+ files {
22
+ fileName
23
+ fileContents
24
+ }
25
+ }
26
+ }
27
+ }
28
+ `,
29
+ /* eslint-enable graphql/template-strings */
30
+ { input }, { requestPolicy: 'network-only' })
31
+ .toPromise());
32
+ return data.expoGoBuild.repackConfiguration;
33
+ },
12
34
  async byIdAsync(graphqlClient, workflowRunId, { useCache = true } = {}) {
13
35
  const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
14
36
  .query((0, graphql_tag_1.default) `
@@ -18,6 +18,7 @@ exports.AppFragmentNode = (0, graphql_tag_1.default) `
18
18
  githubRepository {
19
19
  id
20
20
  metadata {
21
+ id
21
22
  githubRepoOwnerName
22
23
  githubRepoName
23
24
  }
@@ -0,0 +1,5 @@
1
+ import { DeviceRunSessionByIdQuery } from '../graphql/generated';
2
+ type DeviceRunSessionByIdResult = DeviceRunSessionByIdQuery['deviceRunSessions']['byId'];
3
+ export type DeviceRunSessionRemoteConfig = NonNullable<DeviceRunSessionByIdResult['remoteConfig']>;
4
+ export declare function formatRemoteSessionInstructions(remoteConfig: DeviceRunSessionRemoteConfig): string;
5
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.formatRemoteSessionInstructions = formatRemoteSessionInstructions;
4
+ function formatRemoteSessionInstructions(remoteConfig) {
5
+ switch (remoteConfig.__typename) {
6
+ case 'AgentDeviceRunSessionRemoteConfig':
7
+ return [
8
+ '🔑 Run the following in your shell to attach to the agent-device daemon:',
9
+ '',
10
+ `export AGENT_DEVICE_DAEMON_BASE_URL='${remoteConfig.url}'`,
11
+ `export AGENT_DEVICE_DAEMON_AUTH_TOKEN='${remoteConfig.token}'`,
12
+ ].join('\n');
13
+ case 'ServeSimRunSessionRemoteConfig':
14
+ return [
15
+ '🌐 Open the following URL in your browser to access the simulator:',
16
+ '',
17
+ remoteConfig.previewUrl,
18
+ ].join('\n');
19
+ }
20
+ }
@@ -27,14 +27,14 @@ class NoVcsClient extends vcs_1.Client {
27
27
  })).stdout.trim();
28
28
  }
29
29
  catch (err) {
30
- if (!hasWarnedAboutEasProjectRoot) {
30
+ if (!this.cwdOverride && !hasWarnedAboutEasProjectRoot) {
31
31
  log_1.default.warn(`Failed to get Git root path with \`git rev-parse --show-toplevel\`.`, err);
32
32
  log_1.default.warn('Falling back to using current working directory as project root.');
33
33
  log_1.default.warn('You can set `EAS_PROJECT_ROOT` environment variable to let eas-cli know where your project is located.');
34
34
  hasWarnedAboutEasProjectRoot = true;
35
35
  }
36
36
  }
37
- return path_1.default.resolve(process.cwd(), process.env.EAS_PROJECT_ROOT ?? '.');
37
+ return path_1.default.resolve(this.cwdOverride ?? process.cwd(), process.env.EAS_PROJECT_ROOT ?? '.');
38
38
  }
39
39
  async makeShallowCopyAsync(destinationPath) {
40
40
  const srcPath = path_1.default.normalize(await this.getRootPathAsync());