eas-cli 18.10.0 → 18.12.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 (56) hide show
  1. package/README.md +107 -102
  2. package/build/build/runBuildAndSubmit.d.ts +3 -1
  3. package/build/build/runBuildAndSubmit.js +12 -4
  4. package/build/build/utils/repository.js +8 -0
  5. package/build/build/validateLockfile.d.ts +1 -0
  6. package/build/build/validateLockfile.js +37 -0
  7. package/build/commandUtils/buildFlags.d.ts +1 -0
  8. package/build/commandUtils/buildFlags.js +18 -0
  9. package/build/commandUtils/convex.d.ts +1 -0
  10. package/build/commandUtils/convex.js +8 -2
  11. package/build/commands/build/dev.d.ts +1 -0
  12. package/build/commands/build/dev.js +12 -2
  13. package/build/commands/build/run.d.ts +1 -0
  14. package/build/commands/build/run.js +12 -3
  15. package/build/commands/integrations/convex/connect.d.ts +1 -0
  16. package/build/commands/integrations/convex/connect.js +65 -7
  17. package/build/commands/integrations/convex/team/invite.js +6 -1
  18. package/build/commands/observe/events.js +12 -24
  19. package/build/commands/observe/logs.d.ts +29 -0
  20. package/build/commands/observe/logs.js +163 -0
  21. package/build/commands/observe/metrics.js +11 -19
  22. package/build/commands/observe/versions.js +11 -19
  23. package/build/commands/simulator/start.js +85 -92
  24. package/build/commands/simulator/stop.js +1 -1
  25. package/build/graphql/generated.d.ts +290 -10
  26. package/build/graphql/generated.js +32 -3
  27. package/build/graphql/mutations/DeviceRunSessionMutation.d.ts +2 -2
  28. package/build/graphql/mutations/DeviceRunSessionMutation.js +4 -4
  29. package/build/graphql/queries/DeviceRunSessionQuery.js +8 -1
  30. package/build/graphql/queries/ObserveQuery.d.ts +21 -1
  31. package/build/graphql/queries/ObserveQuery.js +80 -0
  32. package/build/graphql/types/ConvexTeamConnection.d.ts +1 -1
  33. package/build/graphql/types/ConvexTeamConnection.js +1 -0
  34. package/build/graphql/types/Observe.d.ts +1 -0
  35. package/build/graphql/types/Observe.js +26 -1
  36. package/build/observe/fetchCustomEvents.d.ts +19 -0
  37. package/build/observe/fetchCustomEvents.js +21 -0
  38. package/build/observe/formatCustomEvents.d.ts +70 -0
  39. package/build/observe/formatCustomEvents.js +140 -0
  40. package/build/observe/formatEvents.js +5 -34
  41. package/build/observe/formatMetrics.js +2 -7
  42. package/build/observe/formatUtils.d.ts +27 -0
  43. package/build/observe/formatUtils.js +64 -0
  44. package/build/observe/formatVersions.js +2 -9
  45. package/build/observe/platforms.d.ts +21 -0
  46. package/build/observe/platforms.js +48 -0
  47. package/build/observe/resolveProjectContext.d.ts +22 -0
  48. package/build/observe/resolveProjectContext.js +21 -0
  49. package/build/run/ios/run.d.ts +2 -1
  50. package/build/run/ios/run.js +6 -2
  51. package/build/run/ios/simulator.d.ts +4 -1
  52. package/build/run/ios/simulator.js +14 -2
  53. package/build/run/run.d.ts +2 -1
  54. package/build/run/run.js +2 -2
  55. package/oclif.manifest.json +568 -375
  56. package/package.json +5 -5
@@ -215,8 +215,13 @@ export type Account = {
215
215
  /** @deprecated Legacy access tokens are deprecated */
216
216
  requiresAccessTokenForPushSecurity: Scalars['Boolean']['output'];
217
217
  sentryInstallation?: Maybe<SentryInstallation>;
218
- /** Snacks associated with this account */
218
+ /**
219
+ * Snacks associated with this account
220
+ * @deprecated Use snacksPaginated
221
+ */
219
222
  snacks: Array<Snack>;
223
+ /** Paginated list of Snacks associated with this account, sorted by most recent activity. */
224
+ snacksPaginated: AccountSnacksConnection;
220
225
  /** Allowed SSO providers for this account */
221
226
  ssoAllowedAuthProviders: Array<AuthProviderIdentifier>;
222
227
  /** SSO configuration for this account */
@@ -462,6 +467,16 @@ export type AccountSnacksArgs = {
462
467
  limit: Scalars['Int']['input'];
463
468
  offset: Scalars['Int']['input'];
464
469
  };
470
+ /**
471
+ * An account is a container owning projects, credentials, billing and other organization
472
+ * data and settings. Actors may own and be members of accounts.
473
+ */
474
+ export type AccountSnacksPaginatedArgs = {
475
+ after?: InputMaybe<Scalars['String']['input']>;
476
+ before?: InputMaybe<Scalars['String']['input']>;
477
+ first?: InputMaybe<Scalars['Int']['input']>;
478
+ last?: InputMaybe<Scalars['Int']['input']>;
479
+ };
465
480
  /**
466
481
  * An account is a container owning projects, credentials, billing and other organization
467
482
  * data and settings. Actors may own and be members of accounts.
@@ -804,6 +819,16 @@ export type AccountSsoConfigurationPublicDataQuery = {
804
819
  export type AccountSsoConfigurationPublicDataQueryPublicDataByAccountNameArgs = {
805
820
  accountName: Scalars['String']['input'];
806
821
  };
822
+ export type AccountSnacksConnection = {
823
+ __typename?: 'AccountSnacksConnection';
824
+ edges: Array<AccountSnacksEdge>;
825
+ pageInfo: PageInfo;
826
+ };
827
+ export type AccountSnacksEdge = {
828
+ __typename?: 'AccountSnacksEdge';
829
+ cursor: Scalars['String']['output'];
830
+ node: Snack;
831
+ };
807
832
  export declare enum AccountUploadSessionType {
808
833
  ProfileImageUpload = "PROFILE_IMAGE_UPLOAD",
809
834
  WorkflowsProjectSources = "WORKFLOWS_PROJECT_SOURCES"
@@ -923,6 +948,11 @@ export type Address = {
923
948
  state?: Maybe<Scalars['String']['output']>;
924
949
  zip?: Maybe<Scalars['String']['output']>;
925
950
  };
951
+ export type AgentDeviceRunSessionRemoteConfig = {
952
+ __typename?: 'AgentDeviceRunSessionRemoteConfig';
953
+ token: Scalars['String']['output'];
954
+ url: Scalars['String']['output'];
955
+ };
926
956
  export type AndroidAppBuildCredentials = {
927
957
  __typename?: 'AndroidAppBuildCredentials';
928
958
  androidKeystore?: Maybe<AndroidKeystore>;
@@ -1808,6 +1838,7 @@ export type AppObserve = {
1808
1838
  events: AppObserveEventsConnection;
1809
1839
  timeSeries: AppObserveTimeSeries;
1810
1840
  totalEventCount: Scalars['Int']['output'];
1841
+ updates: AppObserveUpdatesConnection;
1811
1842
  };
1812
1843
  export type AppObserveAppVersionsArgs = {
1813
1844
  input: AppObserveReleasesInput;
@@ -1823,8 +1854,13 @@ export type AppObserveCustomEventListArgs = {
1823
1854
  last?: InputMaybe<Scalars['Int']['input']>;
1824
1855
  };
1825
1856
  export type AppObserveCustomEventNamesArgs = {
1857
+ appBuildNumber?: InputMaybe<Scalars['String']['input']>;
1858
+ appEasBuildId?: InputMaybe<Scalars['String']['input']>;
1859
+ appUpdateId?: InputMaybe<Scalars['String']['input']>;
1860
+ appVersion?: InputMaybe<Scalars['String']['input']>;
1826
1861
  endTime: Scalars['DateTime']['input'];
1827
1862
  environment?: InputMaybe<Scalars['String']['input']>;
1863
+ orderBy?: InputMaybe<AppObserveCustomEventNamesOrderBy>;
1828
1864
  platform?: InputMaybe<AppObservePlatform>;
1829
1865
  startTime: Scalars['DateTime']['input'];
1830
1866
  };
@@ -1844,6 +1880,9 @@ export type AppObserveEventsArgs = {
1844
1880
  export type AppObserveTimeSeriesArgs = {
1845
1881
  input: AppObserveTimeSeriesInput;
1846
1882
  };
1883
+ export type AppObserveUpdatesArgs = {
1884
+ input: AppObserveUpdatesInput;
1885
+ };
1847
1886
  export type AppObserveAppBuildNumber = {
1848
1887
  __typename?: 'AppObserveAppBuildNumber';
1849
1888
  appBuildNumber: Scalars['String']['output'];
@@ -1959,6 +1998,18 @@ export type AppObserveCustomEventNames = {
1959
1998
  isTruncated: Scalars['Boolean']['output'];
1960
1999
  names: Array<AppObserveCustomEventName>;
1961
2000
  };
2001
+ export type AppObserveCustomEventNamesOrderBy = {
2002
+ direction: AppObserveCustomEventNamesOrderByDirection;
2003
+ field: AppObserveCustomEventNamesOrderByField;
2004
+ };
2005
+ export declare enum AppObserveCustomEventNamesOrderByDirection {
2006
+ Asc = "ASC",
2007
+ Desc = "DESC"
2008
+ }
2009
+ export declare enum AppObserveCustomEventNamesOrderByField {
2010
+ Count = "COUNT",
2011
+ EventName = "EVENT_NAME"
2012
+ }
1962
2013
  export type AppObserveCustomEventPropertyFilter = {
1963
2014
  key: Scalars['String']['input'];
1964
2015
  value: Scalars['String']['input'];
@@ -2097,6 +2148,53 @@ export type AppObserveTimeSeriesStatistics = {
2097
2148
  p90?: Maybe<Scalars['Float']['output']>;
2098
2149
  p99?: Maybe<Scalars['Float']['output']>;
2099
2150
  };
2151
+ export type AppObserveUpdate = {
2152
+ __typename?: 'AppObserveUpdate';
2153
+ appUpdateId: Scalars['String']['output'];
2154
+ appVersion: Scalars['String']['output'];
2155
+ downloadCount: Scalars['Int']['output'];
2156
+ firstSeenAt: Scalars['DateTime']['output'];
2157
+ medianDownloadTime: Scalars['Float']['output'];
2158
+ p90DownloadTime: Scalars['Float']['output'];
2159
+ };
2160
+ export type AppObserveUpdateEdge = {
2161
+ __typename?: 'AppObserveUpdateEdge';
2162
+ cursor: Scalars['String']['output'];
2163
+ node: AppObserveUpdate;
2164
+ };
2165
+ export type AppObserveUpdatesConnection = {
2166
+ __typename?: 'AppObserveUpdatesConnection';
2167
+ edges: Array<AppObserveUpdateEdge>;
2168
+ pageInfo: PageInfo;
2169
+ totalCount: Scalars['Int']['output'];
2170
+ totalDownloads: Scalars['Int']['output'];
2171
+ };
2172
+ export type AppObserveUpdatesInput = {
2173
+ after?: InputMaybe<Scalars['String']['input']>;
2174
+ appBuildNumber?: InputMaybe<Scalars['String']['input']>;
2175
+ appUpdateId?: InputMaybe<Scalars['String']['input']>;
2176
+ appVersion?: InputMaybe<Scalars['String']['input']>;
2177
+ endTime: Scalars['DateTime']['input'];
2178
+ environment?: InputMaybe<Scalars['String']['input']>;
2179
+ first?: InputMaybe<Scalars['Int']['input']>;
2180
+ orderBy?: InputMaybe<AppObserveUpdatesOrderBy>;
2181
+ platform: AppObservePlatform;
2182
+ startTime: Scalars['DateTime']['input'];
2183
+ };
2184
+ export type AppObserveUpdatesOrderBy = {
2185
+ direction: AppObserveUpdatesOrderByDirection;
2186
+ field: AppObserveUpdatesOrderByField;
2187
+ };
2188
+ export declare enum AppObserveUpdatesOrderByDirection {
2189
+ Asc = "ASC",
2190
+ Desc = "DESC"
2191
+ }
2192
+ export declare enum AppObserveUpdatesOrderByField {
2193
+ DownloadCount = "DOWNLOAD_COUNT",
2194
+ FirstSeenAt = "FIRST_SEEN_AT",
2195
+ MedianDownloadTime = "MEDIAN_DOWNLOAD_TIME",
2196
+ P90DownloadTime = "P90_DOWNLOAD_TIME"
2197
+ }
2100
2198
  export type AppObserveVersionMarkerStatistics = {
2101
2199
  __typename?: 'AppObserveVersionMarkerStatistics';
2102
2200
  average?: Maybe<Scalars['Float']['output']>;
@@ -3617,10 +3715,12 @@ export type ConvexProjectMutationSetupConvexProjectArgs = {
3617
3715
  export type ConvexTeamConnection = {
3618
3716
  __typename?: 'ConvexTeamConnection';
3619
3717
  account: Account;
3718
+ convexProjects: Array<ConvexProject>;
3620
3719
  convexTeamIdentifier: Scalars['String']['output'];
3621
3720
  convexTeamName: Scalars['String']['output'];
3622
3721
  convexTeamSlug: Scalars['String']['output'];
3623
3722
  createdAt: Scalars['DateTime']['output'];
3723
+ hasBeenClaimed: Scalars['Boolean']['output'];
3624
3724
  id: Scalars['ID']['output'];
3625
3725
  invitedAt?: Maybe<Scalars['DateTime']['output']>;
3626
3726
  invitedEmail?: Maybe<Scalars['String']['output']>;
@@ -4220,6 +4320,7 @@ export type DeviceRunSession = {
4220
4320
  */
4221
4321
  packageVersion?: Maybe<Scalars['String']['output']>;
4222
4322
  platform: AppPlatform;
4323
+ remoteConfig?: Maybe<DeviceRunSessionRemoteConfig>;
4223
4324
  startedAt?: Maybe<Scalars['DateTime']['output']>;
4224
4325
  status: DeviceRunSessionStatus;
4225
4326
  turtleJobRun?: Maybe<JobRun>;
@@ -4230,14 +4331,24 @@ export type DeviceRunSessionMutation = {
4230
4331
  __typename?: 'DeviceRunSessionMutation';
4231
4332
  /** Create a device run session */
4232
4333
  createDeviceRunSession: DeviceRunSession;
4233
- /** Stop a device run session */
4234
- stopDeviceRunSession: DeviceRunSession;
4334
+ /**
4335
+ * Ensure a device run session is stopped. Idempotent: if the session has already
4336
+ * finished, the existing session is returned unchanged (an ERRORED session stays
4337
+ * ERRORED).
4338
+ */
4339
+ ensureDeviceRunSessionStopped: DeviceRunSession;
4340
+ /** Mark a device run session as started and persist remote connection details */
4341
+ startDeviceRunSession: DeviceRunSession;
4235
4342
  };
4236
4343
  export type DeviceRunSessionMutationCreateDeviceRunSessionArgs = {
4237
4344
  deviceRunSessionInput: CreateDeviceRunSessionInput;
4238
4345
  };
4239
- export type DeviceRunSessionMutationStopDeviceRunSessionArgs = {
4346
+ export type DeviceRunSessionMutationEnsureDeviceRunSessionStoppedArgs = {
4347
+ deviceRunSessionId: Scalars['ID']['input'];
4348
+ };
4349
+ export type DeviceRunSessionMutationStartDeviceRunSessionArgs = {
4240
4350
  deviceRunSessionId: Scalars['ID']['input'];
4351
+ remoteConfig: Scalars['JSONObject']['input'];
4241
4352
  };
4242
4353
  export type DeviceRunSessionQuery = {
4243
4354
  __typename?: 'DeviceRunSessionQuery';
@@ -4246,6 +4357,7 @@ export type DeviceRunSessionQuery = {
4246
4357
  export type DeviceRunSessionQueryByIdArgs = {
4247
4358
  deviceRunSessionId: Scalars['ID']['input'];
4248
4359
  };
4360
+ export type DeviceRunSessionRemoteConfig = AgentDeviceRunSessionRemoteConfig;
4249
4361
  export declare enum DeviceRunSessionStatus {
4250
4362
  Errored = "ERRORED",
4251
4363
  InProgress = "IN_PROGRESS",
@@ -4738,11 +4850,15 @@ export type EchoRepositoryResult = {
4738
4850
  export type EchoTurn = {
4739
4851
  __typename?: 'EchoTurn';
4740
4852
  completedAt?: Maybe<Scalars['DateTime']['output']>;
4853
+ /** Terminal status of the turn (null if still in progress) */
4854
+ completionStatus?: Maybe<EchoTurnCompletionStatus>;
4741
4855
  createdAt: Scalars['DateTime']['output'];
4742
4856
  /** Parent chat */
4743
4857
  echoChat: EchoChat;
4744
4858
  /** Messages in this turn */
4745
4859
  echoMessages: Array<EchoMessage>;
4860
+ /** Error message when completionStatus is ERROR */
4861
+ error?: Maybe<Scalars['String']['output']>;
4746
4862
  id: Scalars['ID']['output'];
4747
4863
  };
4748
4864
  /** Breakdown of cache write input tokens by cache TTL. */
@@ -4751,12 +4867,25 @@ export type EchoTurnCacheWriteInput = {
4751
4867
  ttl5m?: InputMaybe<Scalars['Int']['input']>;
4752
4868
  ttl24h?: InputMaybe<Scalars['Int']['input']>;
4753
4869
  };
4870
+ export declare enum EchoTurnCompletionStatus {
4871
+ Cancelled = "CANCELLED",
4872
+ Completed = "COMPLETED",
4873
+ Error = "ERROR"
4874
+ }
4754
4875
  export type EchoTurnMutation = {
4755
4876
  __typename?: 'EchoTurnMutation';
4756
- /** Mark a turn as completed and create a billing ledger entry */
4877
+ /**
4878
+ * Mark a turn as completed and create a billing ledger entry.
4879
+ *
4880
+ * completionStatus defaults to COMPLETED for backward compatibility with
4881
+ * clients that do not yet send a status. error may be set when
4882
+ * completionStatus is ERROR to record the failure reason.
4883
+ */
4757
4884
  completeTurn: EchoTurn;
4758
4885
  };
4759
4886
  export type EchoTurnMutationCompleteTurnArgs = {
4887
+ completionStatus?: InputMaybe<EchoTurnCompletionStatus>;
4888
+ error?: InputMaybe<Scalars['String']['input']>;
4760
4889
  id: Scalars['ID']['input'];
4761
4890
  usage: EchoTurnUsageInput;
4762
4891
  };
@@ -5097,6 +5226,30 @@ export type ExperimentationQuery = {
5097
5226
  /** Get user experimentation config */
5098
5227
  userConfig: Scalars['JSONObject']['output'];
5099
5228
  };
5229
+ export type ExpoGoBuildQuery = {
5230
+ __typename?: 'ExpoGoBuildQuery';
5231
+ repackConfiguration: ExpoGoProjectConfiguration;
5232
+ };
5233
+ export type ExpoGoBuildQueryRepackConfigurationArgs = {
5234
+ input: ExpoGoRepackInput;
5235
+ };
5236
+ export type ExpoGoProjectConfiguration = {
5237
+ __typename?: 'ExpoGoProjectConfiguration';
5238
+ files: Array<ExpoGoProjectFile>;
5239
+ sdkVersion: Scalars['String']['output'];
5240
+ };
5241
+ export type ExpoGoProjectFile = {
5242
+ __typename?: 'ExpoGoProjectFile';
5243
+ fileContents: Scalars['String']['output'];
5244
+ fileName: Scalars['String']['output'];
5245
+ };
5246
+ export type ExpoGoRepackInput = {
5247
+ appId: Scalars['ID']['input'];
5248
+ appName?: InputMaybe<Scalars['String']['input']>;
5249
+ ascAppId: Scalars['String']['input'];
5250
+ bundleId: Scalars['String']['input'];
5251
+ sdkVersion?: InputMaybe<Scalars['String']['input']>;
5252
+ };
5100
5253
  export type FcmSnippet = FcmSnippetLegacy | FcmSnippetV1;
5101
5254
  export type FcmSnippetLegacy = {
5102
5255
  __typename?: 'FcmSnippetLegacy';
@@ -6615,7 +6768,7 @@ export type RootMutation = {
6615
6768
  deployments: DeploymentsMutation;
6616
6769
  /** Mutations that assign or modify DevDomainNames for apps */
6617
6770
  devDomainName: AppDevDomainNameMutation;
6618
- /** Mutations that create and stop device run sessions */
6771
+ /** Mutations that create, start, and stop device run sessions */
6619
6772
  deviceRunSession: DeviceRunSessionMutation;
6620
6773
  /** Mutations for Discord users */
6621
6774
  discordUser: DiscordUserMutation;
@@ -6783,6 +6936,7 @@ export type RootQuery = {
6783
6936
  echoVersion: EchoVersionQuery;
6784
6937
  /** Top-level query object for querying Experimentation configuration. */
6785
6938
  experimentation: ExperimentationQuery;
6939
+ expoGoBuild: ExpoGoBuildQuery;
6786
6940
  /** Top-level query object for querying GitHub App information and resources it has access to. */
6787
6941
  githubApp: GitHubAppQuery;
6788
6942
  /** Top-level query object for querying Google Service Account Keys. */
@@ -9283,6 +9437,7 @@ export declare enum WorkflowJobStatus {
9283
9437
  }
9284
9438
  export declare enum WorkflowJobType {
9285
9439
  AppleDeviceRegistrationRequest = "APPLE_DEVICE_REGISTRATION_REQUEST",
9440
+ BranchDelete = "BRANCH_DELETE",
9286
9441
  Build = "BUILD",
9287
9442
  Custom = "CUSTOM",
9288
9443
  Deploy = "DEPLOY",
@@ -9436,6 +9591,7 @@ export type WorkflowRunMutationCancelWorkflowRunArgs = {
9436
9591
  export type WorkflowRunMutationCreateExpoGoRepackWorkflowRunArgs = {
9437
9592
  appId: Scalars['ID']['input'];
9438
9593
  projectSource: WorkflowProjectSourceInput;
9594
+ sdkVersion?: InputMaybe<Scalars['String']['input']>;
9439
9595
  };
9440
9596
  export type WorkflowRunMutationCreateWorkflowRunArgs = {
9441
9597
  appId: Scalars['ID']['input'];
@@ -13930,6 +14086,7 @@ export type CreateConvexTeamConnectionMutation = {
13930
14086
  convexTeamIdentifier: string;
13931
14087
  convexTeamName: string;
13932
14088
  convexTeamSlug: string;
14089
+ hasBeenClaimed: boolean;
13933
14090
  createdAt: any;
13934
14091
  updatedAt: any;
13935
14092
  invitedAt?: any | null;
@@ -13950,6 +14107,7 @@ export type DeleteConvexTeamConnectionMutation = {
13950
14107
  convexTeamIdentifier: string;
13951
14108
  convexTeamName: string;
13952
14109
  convexTeamSlug: string;
14110
+ hasBeenClaimed: boolean;
13953
14111
  createdAt: any;
13954
14112
  updatedAt: any;
13955
14113
  invitedAt?: any | null;
@@ -13983,6 +14141,7 @@ export type SetupConvexProjectMutation = {
13983
14141
  convexTeamIdentifier: string;
13984
14142
  convexTeamName: string;
13985
14143
  convexTeamSlug: string;
14144
+ hasBeenClaimed: boolean;
13986
14145
  createdAt: any;
13987
14146
  updatedAt: any;
13988
14147
  invitedAt?: any | null;
@@ -14040,14 +14199,14 @@ export type CreateDeviceRunSessionMutation = {
14040
14199
  };
14041
14200
  };
14042
14201
  };
14043
- export type StopDeviceRunSessionMutationVariables = Exact<{
14202
+ export type EnsureDeviceRunSessionStoppedMutationVariables = Exact<{
14044
14203
  deviceRunSessionId: Scalars['ID']['input'];
14045
14204
  }>;
14046
- export type StopDeviceRunSessionMutation = {
14205
+ export type EnsureDeviceRunSessionStoppedMutation = {
14047
14206
  __typename?: 'RootMutation';
14048
14207
  deviceRunSession: {
14049
14208
  __typename?: 'DeviceRunSessionMutation';
14050
- stopDeviceRunSession: {
14209
+ ensureDeviceRunSessionStopped: {
14051
14210
  __typename?: 'DeviceRunSession';
14052
14211
  id: string;
14053
14212
  status: DeviceRunSessionStatus;
@@ -16443,6 +16602,7 @@ export type ConvexTeamConnectionsByAccountIdQuery = {
16443
16602
  convexTeamIdentifier: string;
16444
16603
  convexTeamName: string;
16445
16604
  convexTeamSlug: string;
16605
+ hasBeenClaimed: boolean;
16446
16606
  createdAt: any;
16447
16607
  updatedAt: any;
16448
16608
  invitedAt?: any | null;
@@ -16475,6 +16635,7 @@ export type ConvexProjectByAppIdQuery = {
16475
16635
  convexTeamIdentifier: string;
16476
16636
  convexTeamName: string;
16477
16637
  convexTeamSlug: string;
16638
+ hasBeenClaimed: boolean;
16478
16639
  createdAt: any;
16479
16640
  updatedAt: any;
16480
16641
  invitedAt?: any | null;
@@ -16495,11 +16656,16 @@ export type DeviceRunSessionByIdQuery = {
16495
16656
  __typename?: 'DeviceRunSession';
16496
16657
  id: string;
16497
16658
  status: DeviceRunSessionStatus;
16659
+ type: DeviceRunSessionType;
16660
+ remoteConfig?: {
16661
+ __typename: 'AgentDeviceRunSessionRemoteConfig';
16662
+ url: string;
16663
+ token: string;
16664
+ } | null;
16498
16665
  turtleJobRun?: {
16499
16666
  __typename?: 'JobRun';
16500
16667
  id: string;
16501
16668
  status: JobRunStatus;
16502
- logFileUrls: Array<string>;
16503
16669
  } | null;
16504
16670
  };
16505
16671
  };
@@ -16946,6 +17112,92 @@ export type AppObserveEventsQuery = {
16946
17112
  };
16947
17113
  };
16948
17114
  };
17115
+ export type AppObserveCustomEventListQueryVariables = Exact<{
17116
+ appId: Scalars['String']['input'];
17117
+ filter?: InputMaybe<AppObserveCustomEventListFilter>;
17118
+ first?: InputMaybe<Scalars['Int']['input']>;
17119
+ after?: InputMaybe<Scalars['String']['input']>;
17120
+ }>;
17121
+ export type AppObserveCustomEventListQuery = {
17122
+ __typename?: 'RootQuery';
17123
+ app: {
17124
+ __typename?: 'AppQuery';
17125
+ byId: {
17126
+ __typename?: 'App';
17127
+ id: string;
17128
+ observe: {
17129
+ __typename?: 'AppObserve';
17130
+ customEventList: {
17131
+ __typename?: 'AppObserveCustomEventListConnection';
17132
+ pageInfo: {
17133
+ __typename?: 'PageInfo';
17134
+ hasNextPage: boolean;
17135
+ hasPreviousPage: boolean;
17136
+ endCursor?: string | null;
17137
+ };
17138
+ edges: Array<{
17139
+ __typename?: 'AppObserveCustomEventEdge';
17140
+ cursor: string;
17141
+ node: {
17142
+ __typename?: 'AppObserveCustomEvent';
17143
+ id: string;
17144
+ eventName: string;
17145
+ timestamp: any;
17146
+ sessionId?: string | null;
17147
+ severityNumber?: number | null;
17148
+ severityText?: string | null;
17149
+ appVersion: string;
17150
+ appBuildNumber: string;
17151
+ appUpdateId?: string | null;
17152
+ appEasBuildId?: string | null;
17153
+ deviceOs: string;
17154
+ deviceOsVersion: string;
17155
+ deviceModel: string;
17156
+ environment?: string | null;
17157
+ easClientId: string;
17158
+ countryCode?: string | null;
17159
+ properties: Array<{
17160
+ __typename?: 'AppObserveEventProperty';
17161
+ key: string;
17162
+ value: string;
17163
+ type: AppObservePropertyType;
17164
+ }>;
17165
+ };
17166
+ }>;
17167
+ };
17168
+ };
17169
+ };
17170
+ };
17171
+ };
17172
+ export type AppObserveCustomEventNamesQueryVariables = Exact<{
17173
+ appId: Scalars['String']['input'];
17174
+ startTime: Scalars['DateTime']['input'];
17175
+ endTime: Scalars['DateTime']['input'];
17176
+ platform?: InputMaybe<AppObservePlatform>;
17177
+ environment?: InputMaybe<Scalars['String']['input']>;
17178
+ }>;
17179
+ export type AppObserveCustomEventNamesQuery = {
17180
+ __typename?: 'RootQuery';
17181
+ app: {
17182
+ __typename?: 'AppQuery';
17183
+ byId: {
17184
+ __typename?: 'App';
17185
+ id: string;
17186
+ observe: {
17187
+ __typename?: 'AppObserve';
17188
+ customEventNames: {
17189
+ __typename?: 'AppObserveCustomEventNames';
17190
+ isTruncated: boolean;
17191
+ names: Array<{
17192
+ __typename?: 'AppObserveCustomEventName';
17193
+ eventName: string;
17194
+ count: number;
17195
+ }>;
17196
+ };
17197
+ };
17198
+ };
17199
+ };
17200
+ };
16949
17201
  export type GetAssetMetadataQueryVariables = Exact<{
16950
17202
  storageKeys: Array<Scalars['String']['input']> | Scalars['String']['input'];
16951
17203
  }>;
@@ -18756,6 +19008,7 @@ export type ConvexTeamConnectionFragment = {
18756
19008
  convexTeamIdentifier: string;
18757
19009
  convexTeamName: string;
18758
19010
  convexTeamSlug: string;
19011
+ hasBeenClaimed: boolean;
18759
19012
  createdAt: any;
18760
19013
  updatedAt: any;
18761
19014
  invitedAt?: any | null;
@@ -18775,6 +19028,7 @@ export type ConvexProjectFragment = {
18775
19028
  convexTeamIdentifier: string;
18776
19029
  convexTeamName: string;
18777
19030
  convexTeamSlug: string;
19031
+ hasBeenClaimed: boolean;
18778
19032
  createdAt: any;
18779
19033
  updatedAt: any;
18780
19034
  invitedAt?: any | null;
@@ -18800,6 +19054,7 @@ export type SetupConvexProjectResultFragment = {
18800
19054
  convexTeamIdentifier: string;
18801
19055
  convexTeamName: string;
18802
19056
  convexTeamSlug: string;
19057
+ hasBeenClaimed: boolean;
18803
19058
  createdAt: any;
18804
19059
  updatedAt: any;
18805
19060
  invitedAt?: any | null;
@@ -18930,6 +19185,31 @@ export type AppObserveTimeSeriesFragment = {
18930
19185
  p99?: number | null;
18931
19186
  };
18932
19187
  };
19188
+ export type AppObserveCustomEventFragment = {
19189
+ __typename?: 'AppObserveCustomEvent';
19190
+ id: string;
19191
+ eventName: string;
19192
+ timestamp: any;
19193
+ sessionId?: string | null;
19194
+ severityNumber?: number | null;
19195
+ severityText?: string | null;
19196
+ appVersion: string;
19197
+ appBuildNumber: string;
19198
+ appUpdateId?: string | null;
19199
+ appEasBuildId?: string | null;
19200
+ deviceOs: string;
19201
+ deviceOsVersion: string;
19202
+ deviceModel: string;
19203
+ environment?: string | null;
19204
+ easClientId: string;
19205
+ countryCode?: string | null;
19206
+ properties: Array<{
19207
+ __typename?: 'AppObserveEventProperty';
19208
+ key: string;
19209
+ value: string;
19210
+ type: AppObservePropertyType;
19211
+ }>;
19212
+ };
18933
19213
  export type AppObserveEventFragment = {
18934
19214
  __typename?: 'AppObserveEvent';
18935
19215
  id: string;
@@ -6,9 +6,9 @@
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.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.DeviceRunSessionType = exports.DeviceRunSessionStatus = exports.DashboardViewPin = 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.BuildAnnotationType = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObservePropertyType = exports.AppObservePlatform = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = void 0;
10
- exports.RequestsOrderByDirection = exports.RequestMethod = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = 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 = exports.Feature = exports.Experiment = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EchoVersionSource = exports.EchoProjectVisibility = exports.EchoProjectUploadSessionType = exports.EchoProjectIconSource = exports.EchoMessageRole = exports.EchoMessagePartType = exports.EchoChatState = exports.EchoChangeType = exports.EchoBuildStatus = exports.EchoAgentType = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = void 0;
11
- exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = 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 = void 0;
9
+ exports.DeviceRunSessionStatus = exports.DashboardViewPin = 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.BuildAnnotationType = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObserveUpdatesOrderByField = exports.AppObserveUpdatesOrderByDirection = exports.AppObservePropertyType = exports.AppObservePlatform = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppObserveCustomEventNamesOrderByField = exports.AppObserveCustomEventNamesOrderByDirection = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = void 0;
10
+ exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = 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 = exports.Feature = exports.Experiment = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EchoVersionSource = exports.EchoTurnCompletionStatus = exports.EchoProjectVisibility = exports.EchoProjectUploadSessionType = exports.EchoProjectIconSource = exports.EchoMessageRole = exports.EchoMessagePartType = exports.EchoChatState = exports.EchoChangeType = exports.EchoBuildStatus = exports.EchoAgentType = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.DeviceRunSessionType = void 0;
11
+ exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = 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 = void 0;
12
12
  var AccountAppsSortByField;
13
13
  (function (AccountAppsSortByField) {
14
14
  AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
@@ -66,6 +66,16 @@ var AppInternalDistributionBuildPrivacy;
66
66
  AppInternalDistributionBuildPrivacy["Private"] = "PRIVATE";
67
67
  AppInternalDistributionBuildPrivacy["Public"] = "PUBLIC";
68
68
  })(AppInternalDistributionBuildPrivacy || (exports.AppInternalDistributionBuildPrivacy = AppInternalDistributionBuildPrivacy = {}));
69
+ var AppObserveCustomEventNamesOrderByDirection;
70
+ (function (AppObserveCustomEventNamesOrderByDirection) {
71
+ AppObserveCustomEventNamesOrderByDirection["Asc"] = "ASC";
72
+ AppObserveCustomEventNamesOrderByDirection["Desc"] = "DESC";
73
+ })(AppObserveCustomEventNamesOrderByDirection || (exports.AppObserveCustomEventNamesOrderByDirection = AppObserveCustomEventNamesOrderByDirection = {}));
74
+ var AppObserveCustomEventNamesOrderByField;
75
+ (function (AppObserveCustomEventNamesOrderByField) {
76
+ AppObserveCustomEventNamesOrderByField["Count"] = "COUNT";
77
+ AppObserveCustomEventNamesOrderByField["EventName"] = "EVENT_NAME";
78
+ })(AppObserveCustomEventNamesOrderByField || (exports.AppObserveCustomEventNamesOrderByField = AppObserveCustomEventNamesOrderByField = {}));
69
79
  var AppObserveEventsOrderByDirection;
70
80
  (function (AppObserveEventsOrderByDirection) {
71
81
  AppObserveEventsOrderByDirection["Asc"] = "ASC";
@@ -88,6 +98,18 @@ var AppObservePropertyType;
88
98
  AppObservePropertyType["Number"] = "NUMBER";
89
99
  AppObservePropertyType["String"] = "STRING";
90
100
  })(AppObservePropertyType || (exports.AppObservePropertyType = AppObservePropertyType = {}));
101
+ var AppObserveUpdatesOrderByDirection;
102
+ (function (AppObserveUpdatesOrderByDirection) {
103
+ AppObserveUpdatesOrderByDirection["Asc"] = "ASC";
104
+ AppObserveUpdatesOrderByDirection["Desc"] = "DESC";
105
+ })(AppObserveUpdatesOrderByDirection || (exports.AppObserveUpdatesOrderByDirection = AppObserveUpdatesOrderByDirection = {}));
106
+ var AppObserveUpdatesOrderByField;
107
+ (function (AppObserveUpdatesOrderByField) {
108
+ AppObserveUpdatesOrderByField["DownloadCount"] = "DOWNLOAD_COUNT";
109
+ AppObserveUpdatesOrderByField["FirstSeenAt"] = "FIRST_SEEN_AT";
110
+ AppObserveUpdatesOrderByField["MedianDownloadTime"] = "MEDIAN_DOWNLOAD_TIME";
111
+ AppObserveUpdatesOrderByField["P90DownloadTime"] = "P90_DOWNLOAD_TIME";
112
+ })(AppObserveUpdatesOrderByField || (exports.AppObserveUpdatesOrderByField = AppObserveUpdatesOrderByField = {}));
91
113
  var AppPlatform;
92
114
  (function (AppPlatform) {
93
115
  AppPlatform["Android"] = "ANDROID";
@@ -489,6 +511,12 @@ var EchoProjectVisibility;
489
511
  EchoProjectVisibility["Private"] = "PRIVATE";
490
512
  EchoProjectVisibility["Public"] = "PUBLIC";
491
513
  })(EchoProjectVisibility || (exports.EchoProjectVisibility = EchoProjectVisibility = {}));
514
+ var EchoTurnCompletionStatus;
515
+ (function (EchoTurnCompletionStatus) {
516
+ EchoTurnCompletionStatus["Cancelled"] = "CANCELLED";
517
+ EchoTurnCompletionStatus["Completed"] = "COMPLETED";
518
+ EchoTurnCompletionStatus["Error"] = "ERROR";
519
+ })(EchoTurnCompletionStatus || (exports.EchoTurnCompletionStatus = EchoTurnCompletionStatus = {}));
492
520
  var EchoVersionSource;
493
521
  (function (EchoVersionSource) {
494
522
  EchoVersionSource["Agent"] = "AGENT";
@@ -1047,6 +1075,7 @@ var WorkflowJobStatus;
1047
1075
  var WorkflowJobType;
1048
1076
  (function (WorkflowJobType) {
1049
1077
  WorkflowJobType["AppleDeviceRegistrationRequest"] = "APPLE_DEVICE_REGISTRATION_REQUEST";
1078
+ WorkflowJobType["BranchDelete"] = "BRANCH_DELETE";
1050
1079
  WorkflowJobType["Build"] = "BUILD";
1051
1080
  WorkflowJobType["Custom"] = "CUSTOM";
1052
1081
  WorkflowJobType["Deploy"] = "DEPLOY";
@@ -1,6 +1,6 @@
1
1
  import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
2
- import { CreateDeviceRunSessionInput, CreateDeviceRunSessionMutation, StopDeviceRunSessionMutation } from '../generated';
2
+ import { CreateDeviceRunSessionInput, CreateDeviceRunSessionMutation, EnsureDeviceRunSessionStoppedMutation } from '../generated';
3
3
  export declare const DeviceRunSessionMutation: {
4
4
  createDeviceRunSessionAsync(graphqlClient: ExpoGraphqlClient, deviceRunSessionInput: CreateDeviceRunSessionInput): Promise<CreateDeviceRunSessionMutation["deviceRunSession"]["createDeviceRunSession"]>;
5
- stopDeviceRunSessionAsync(graphqlClient: ExpoGraphqlClient, deviceRunSessionId: string): Promise<StopDeviceRunSessionMutation["deviceRunSession"]["stopDeviceRunSession"]>;
5
+ ensureDeviceRunSessionStoppedAsync(graphqlClient: ExpoGraphqlClient, deviceRunSessionId: string): Promise<EnsureDeviceRunSessionStoppedMutation["deviceRunSession"]["ensureDeviceRunSessionStopped"]>;
6
6
  };
@@ -31,12 +31,12 @@ exports.DeviceRunSessionMutation = {
31
31
  .toPromise());
32
32
  return data.deviceRunSession.createDeviceRunSession;
33
33
  },
34
- async stopDeviceRunSessionAsync(graphqlClient, deviceRunSessionId) {
34
+ async ensureDeviceRunSessionStoppedAsync(graphqlClient, deviceRunSessionId) {
35
35
  const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
36
36
  .mutation((0, graphql_tag_1.default) `
37
- mutation StopDeviceRunSessionMutation($deviceRunSessionId: ID!) {
37
+ mutation EnsureDeviceRunSessionStoppedMutation($deviceRunSessionId: ID!) {
38
38
  deviceRunSession {
39
- stopDeviceRunSession(deviceRunSessionId: $deviceRunSessionId) {
39
+ ensureDeviceRunSessionStopped(deviceRunSessionId: $deviceRunSessionId) {
40
40
  id
41
41
  status
42
42
  }
@@ -44,6 +44,6 @@ exports.DeviceRunSessionMutation = {
44
44
  }
45
45
  `, { deviceRunSessionId }, { noRetry: true })
46
46
  .toPromise());
47
- return data.deviceRunSession.stopDeviceRunSession;
47
+ return data.deviceRunSession.ensureDeviceRunSessionStopped;
48
48
  },
49
49
  };