eas-cli 22.4.0 → 22.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,8 @@ export default class Simulator extends EasCommand {
18
18
  type: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
19
19
  'package-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
20
20
  'max-duration-minutes': import("@oclif/core/lib/interfaces").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
21
+ 'max-idle-time-minutes': import("@oclif/core/lib/interfaces").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
22
+ 'resource-class': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
21
23
  force: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
22
24
  'out-config-type': import("@oclif/core/lib/interfaces").OptionFlag<"env" | "dotenv", import("@oclif/core/lib/interfaces").CustomOptions>;
23
25
  };
@@ -80,6 +80,15 @@ class Simulator extends EasCommand_1.default {
80
80
  description: 'Maximum duration of the simulator session in minutes before it is automatically stopped. Only customizable on paid plans. Defaults to a value derived from the job run priority when omitted.',
81
81
  min: 0,
82
82
  }),
83
+ 'max-idle-time-minutes': core_1.Flags.integer({
84
+ description: 'Stop the simulator session automatically after this many minutes without session activity. When omitted, the session has no idle timeout and runs until its maximum duration.',
85
+ min: 0,
86
+ }),
87
+ 'resource-class': core_1.Flags.option({
88
+ description: 'The instance type that will be used to run this simulator session',
89
+ hidden: true,
90
+ options: Object.values(utils_1.DEVICE_RUN_SESSION_RESOURCE_CLASS_FLAG_VALUES),
91
+ })(),
83
92
  force: core_1.Flags.boolean({
84
93
  description: '[default: true] Create a new simulator session even when an existing simulator session is present in the environment.',
85
94
  default: true,
@@ -124,6 +133,9 @@ class Simulator extends EasCommand_1.default {
124
133
  const sdkVersionFromFlag = flags['sdk-version']?.trim() || undefined;
125
134
  const launchArgs = flags['launch-arg'];
126
135
  const openUrl = flags['open-url']?.trim() || undefined;
136
+ const resourceClass = flags['resource-class']
137
+ ? utils_1.DEVICE_RUN_SESSION_RESOURCE_CLASS_BY_FLAG_VALUE[flags['resource-class']]
138
+ : undefined;
127
139
  if (sdkVersionFromFlag && !flags['expo-go']) {
128
140
  throw new errors_1.EasCommandError('The --sdk-version flag can only be used with --expo-go.');
129
141
  }
@@ -167,7 +179,9 @@ class Simulator extends EasCommand_1.default {
167
179
  ...(expoGoSdkVersion ? { expoGo: true, sdkVersion: expoGoSdkVersion } : {}),
168
180
  ...(launchArgs?.length ? { launchArgs } : {}),
169
181
  ...(openUrl ? { openUrl } : {}),
182
+ ...(resourceClass ? { resourceClass } : {}),
170
183
  maxRunTimeMinutes: flags['max-duration-minutes'],
184
+ maxIdleTimeMinutes: flags['max-idle-time-minutes'],
171
185
  });
172
186
  deviceRunSessionId = session.id;
173
187
  (0, nullthrows_1.default)(session.turtleJobRun?.id, 'Expected simulator session to start');
@@ -1865,6 +1865,11 @@ export type AppNotificationPreferenceInput = {
1865
1865
  export type AppObserve = {
1866
1866
  __typename?: 'AppObserve';
1867
1867
  appVersions: Array<AppObserveAppVersion>;
1868
+ /**
1869
+ * A single custom event by the `id` of an `AppObserveCustomEvent`. Null when the app has no
1870
+ * such event, including when it has aged out of retention.
1871
+ */
1872
+ customEvent?: Maybe<AppObserveCustomEvent>;
1868
1873
  customEventCounts: AppObserveCustomEventCounts;
1869
1874
  customEventList: AppObserveCustomEventListConnection;
1870
1875
  customEventNames: AppObserveCustomEventNames;
@@ -1877,6 +1882,14 @@ export type AppObserve = {
1877
1882
  errorStats: AppObserveErrorStats;
1878
1883
  /** Time-bucketed exception counts split into fatal vs non-fatal, for the stacked-bar chart. */
1879
1884
  errorTimeSeries: AppObserveErrorTimeSeries;
1885
+ /**
1886
+ * A single metric event by the `id` of an `AppObserveEvent`. Null when the app has no such
1887
+ * event, including when it has aged out of retention or the id is not one this API issued.
1888
+ *
1889
+ * `sessionEventCount` and `userEventCount` are always null here: they are aggregates over a
1890
+ * time range, and a single event does not supply one.
1891
+ */
1892
+ event?: Maybe<AppObserveEvent>;
1880
1893
  events: AppObserveEventsConnection;
1881
1894
  /** Highest Expo SDK version seen in telemetry over the trailing 30 days; null when none was reported. */
1882
1895
  latestExpoSdkVersion?: Maybe<Scalars['String']['output']>;
@@ -1900,11 +1913,15 @@ export type AppObserve = {
1900
1913
  * universe used by `appVersions` headline counts.
1901
1914
  */
1902
1915
  uniqueActiveUserCount: Scalars['Int']['output'];
1916
+ /** Update download activity (the Recent updates list). Not available on the free tier or legacy plans. */
1903
1917
  updates: AppObserveUpdatesConnection;
1904
1918
  };
1905
1919
  export type AppObserveAppVersionsArgs = {
1906
1920
  input: AppObserveReleasesInput;
1907
1921
  };
1922
+ export type AppObserveCustomEventArgs = {
1923
+ id: Scalars['ID']['input'];
1924
+ };
1908
1925
  export type AppObserveCustomEventCountsArgs = {
1909
1926
  input: AppObserveCustomEventCountsInput;
1910
1927
  };
@@ -1926,11 +1943,13 @@ export type AppObserveCustomEventNamesArgs = {
1926
1943
  isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
1927
1944
  orderBy?: InputMaybe<AppObserveCustomEventNamesOrderBy>;
1928
1945
  platform?: InputMaybe<AppObservePlatform>;
1946
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
1929
1947
  startTime: Scalars['DateTime']['input'];
1930
1948
  };
1931
1949
  export type AppObserveEnvironmentsArgs = {
1932
1950
  endTime?: InputMaybe<Scalars['DateTime']['input']>;
1933
1951
  platform?: InputMaybe<AppObservePlatform>;
1952
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
1934
1953
  startTime?: InputMaybe<Scalars['DateTime']['input']>;
1935
1954
  };
1936
1955
  export type AppObserveErrorGroupBreakdownArgs = {
@@ -1945,6 +1964,9 @@ export type AppObserveErrorStatsArgs = {
1945
1964
  export type AppObserveErrorTimeSeriesArgs = {
1946
1965
  input: AppObserveErrorTimeSeriesInput;
1947
1966
  };
1967
+ export type AppObserveEventArgs = {
1968
+ id: Scalars['ID']['input'];
1969
+ };
1948
1970
  export type AppObserveEventsArgs = {
1949
1971
  after?: InputMaybe<Scalars['String']['input']>;
1950
1972
  before?: InputMaybe<Scalars['String']['input']>;
@@ -2125,7 +2147,9 @@ export type AppObserveCustomEventCountsInput = {
2125
2147
  environment?: InputMaybe<Scalars['String']['input']>;
2126
2148
  eventName: Scalars['String']['input'];
2127
2149
  isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
2128
- platform: AppObservePlatform;
2150
+ platform?: InputMaybe<AppObservePlatform>;
2151
+ /** Filter to these platforms. Cannot be set together with platform. One of platform or platforms is required. */
2152
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2129
2153
  startTime: Scalars['DateTime']['input'];
2130
2154
  };
2131
2155
  export type AppObserveCustomEventEdge = {
@@ -2151,6 +2175,8 @@ export type AppObserveCustomEventListFilter = {
2151
2175
  eventName?: InputMaybe<Scalars['String']['input']>;
2152
2176
  isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
2153
2177
  platform?: InputMaybe<AppObservePlatform>;
2178
+ /** Filter to these platforms. Cannot be set together with platform. */
2179
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2154
2180
  propertyFilters?: InputMaybe<Array<AppObserveCustomEventPropertyFilter>>;
2155
2181
  sessionId?: InputMaybe<Scalars['String']['input']>;
2156
2182
  startTime?: InputMaybe<Scalars['DateTime']['input']>;
@@ -2245,6 +2271,8 @@ export type AppObserveErrorGroupBreakdownInput = {
2245
2271
  fingerprint: Scalars['String']['input'];
2246
2272
  isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
2247
2273
  platform?: InputMaybe<AppObservePlatform>;
2274
+ /** Filter to these platforms. Cannot be set together with platform. */
2275
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2248
2276
  startTime: Scalars['DateTime']['input'];
2249
2277
  };
2250
2278
  export type AppObserveErrorGroupPlatformCount = {
@@ -2274,6 +2302,8 @@ export type AppObserveErrorGroupsInput = {
2274
2302
  isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
2275
2303
  orderBy?: InputMaybe<AppObserveErrorGroupsOrderBy>;
2276
2304
  platform?: InputMaybe<AppObservePlatform>;
2305
+ /** Filter to these platforms. Cannot be set together with platform. */
2306
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2277
2307
  /** Restrict to fatal-only or non-fatal-only errors. */
2278
2308
  severity?: InputMaybe<AppObserveErrorSeverity>;
2279
2309
  /** Restrict to a capture source (e.g. global). */
@@ -2332,6 +2362,8 @@ export type AppObserveErrorStatsInput = {
2332
2362
  environment?: InputMaybe<Scalars['String']['input']>;
2333
2363
  isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
2334
2364
  platform?: InputMaybe<AppObservePlatform>;
2365
+ /** Filter to these platforms. Cannot be set together with platform. */
2366
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2335
2367
  startTime: Scalars['DateTime']['input'];
2336
2368
  };
2337
2369
  export type AppObserveErrorTimeSeries = {
@@ -2365,6 +2397,8 @@ export type AppObserveErrorTimeSeriesInput = {
2365
2397
  fingerprint?: InputMaybe<Scalars['String']['input']>;
2366
2398
  isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
2367
2399
  platform?: InputMaybe<AppObservePlatform>;
2400
+ /** Filter to these platforms. Cannot be set together with platform. */
2401
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2368
2402
  startTime: Scalars['DateTime']['input'];
2369
2403
  };
2370
2404
  export type AppObserveEvent = {
@@ -2431,6 +2465,8 @@ export type AppObserveEventsFilter = {
2431
2465
  isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
2432
2466
  metricName?: InputMaybe<Scalars['String']['input']>;
2433
2467
  platform?: InputMaybe<AppObservePlatform>;
2468
+ /** Filter to these platforms. Cannot be set together with platform. */
2469
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2434
2470
  routeName?: InputMaybe<Scalars['String']['input']>;
2435
2471
  sessionId?: InputMaybe<Scalars['String']['input']>;
2436
2472
  startTime?: InputMaybe<Scalars['DateTime']['input']>;
@@ -2478,6 +2514,8 @@ export type AppObserveNavigationRoutesFilter = {
2478
2514
  endTime: Scalars['DateTime']['input'];
2479
2515
  environment?: InputMaybe<Scalars['String']['input']>;
2480
2516
  platform?: InputMaybe<AppObservePlatform>;
2517
+ /** Filter to these platforms. Cannot be set together with platform. */
2518
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2481
2519
  routeNames?: InputMaybe<Array<Scalars['String']['input']>>;
2482
2520
  startTime: Scalars['DateTime']['input'];
2483
2521
  };
@@ -2524,6 +2562,8 @@ export type AppObserveOverviewEngagementInput = {
2524
2562
  endTime: Scalars['DateTime']['input'];
2525
2563
  environment?: InputMaybe<Scalars['String']['input']>;
2526
2564
  platform?: InputMaybe<AppObservePlatform>;
2565
+ /** Filter to these platforms. Cannot be set together with platform. */
2566
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2527
2567
  startTime: Scalars['DateTime']['input'];
2528
2568
  };
2529
2569
  export type AppObserveOverviewEngagementStat = {
@@ -2567,15 +2607,21 @@ export type AppObserveOverviewStabilityInput = {
2567
2607
  endTime: Scalars['DateTime']['input'];
2568
2608
  environment?: InputMaybe<Scalars['String']['input']>;
2569
2609
  platform?: InputMaybe<AppObservePlatform>;
2610
+ /** Filter to these platforms. Cannot be set together with platform. */
2611
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2570
2612
  startTime: Scalars['DateTime']['input'];
2571
2613
  };
2572
2614
  export type AppObserveOverviewUpdate = {
2573
2615
  __typename?: 'AppObserveOverviewUpdate';
2574
2616
  /** Null for the embedded bundle. */
2575
2617
  appUpdateId?: Maybe<Scalars['ID']['output']>;
2576
- /** Downloads recorded in range across platforms; null when none were recorded (and always for the embedded bundle). */
2618
+ /**
2619
+ * Downloads recorded in range across platforms; null when none were recorded
2620
+ * (and always for the embedded bundle). Download data is paid-only: on the
2621
+ * free tier and legacy plans this is always null.
2622
+ */
2577
2623
  downloadCount?: Maybe<Scalars['Int']['output']>;
2578
- /** One entry per platform with downloads in range; empty for the embedded bundle. */
2624
+ /** One entry per platform with downloads in range; empty for the embedded bundle and on the free tier and legacy plans. */
2579
2625
  downloads: Array<AppObserveOverviewUpdateDownload>;
2580
2626
  eventCount: Scalars['Int']['output'];
2581
2627
  firstSeenAt: Scalars['DateTime']['output'];
@@ -2675,6 +2721,8 @@ export type AppObserveReleasesInput = {
2675
2721
  environment?: InputMaybe<Scalars['String']['input']>;
2676
2722
  metricNames?: InputMaybe<Array<Scalars['String']['input']>>;
2677
2723
  platform?: InputMaybe<AppObservePlatform>;
2724
+ /** Filter to these platforms. Cannot be set together with platform. */
2725
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2678
2726
  startTime: Scalars['DateTime']['input'];
2679
2727
  };
2680
2728
  export type AppObserveTimeSeries = {
@@ -2709,6 +2757,8 @@ export type AppObserveTimeSeriesInput = {
2709
2757
  isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
2710
2758
  metricName: Scalars['String']['input'];
2711
2759
  platform?: InputMaybe<AppObservePlatform>;
2760
+ /** Filter to these platforms. Cannot be set together with platform. */
2761
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2712
2762
  routeName?: InputMaybe<Scalars['String']['input']>;
2713
2763
  startTime: Scalars['DateTime']['input'];
2714
2764
  };
@@ -2755,6 +2805,8 @@ export type AppObserveUpdatesInput = {
2755
2805
  first?: InputMaybe<Scalars['Int']['input']>;
2756
2806
  orderBy?: InputMaybe<AppObserveUpdatesOrderBy>;
2757
2807
  platform?: InputMaybe<AppObservePlatform>;
2808
+ /** Filter to these platforms. Cannot be set together with platform. */
2809
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
2758
2810
  startTime: Scalars['DateTime']['input'];
2759
2811
  };
2760
2812
  export type AppObserveUpdatesOrderBy = {
@@ -4529,6 +4581,7 @@ export type CreateDeviceRunSessionInput = {
4529
4581
  */
4530
4582
  packageVersion?: InputMaybe<Scalars['String']['input']>;
4531
4583
  platform: AppPlatform;
4584
+ resourceClass?: InputMaybe<DeviceRunSessionResourceClass>;
4532
4585
  /**
4533
4586
  * Expo SDK version used to select an Expo Go application archive. Only supported when expoGo is
4534
4587
  * true. If omitted, the current Expo Go archive for the platform is used.
@@ -5151,7 +5204,17 @@ export type DeploymentsMutationDeleteWorkerDeploymentByIdentifierArgs = {
5151
5204
  export type DeviceRunSession = {
5152
5205
  __typename?: 'DeviceRunSession';
5153
5206
  app: App;
5207
+ /**
5208
+ * Direct application archive URL installed and launched for this session. Null when
5209
+ * the session uses an EAS Build or starts without an app.
5210
+ */
5211
+ applicationArchiveUrl?: Maybe<Scalars['String']['output']>;
5154
5212
  artifacts: Array<DeviceRunSessionArtifact>;
5213
+ /**
5214
+ * EAS Build installed and launched for this session. Null when the session uses
5215
+ * a direct application archive URL or starts without an app.
5216
+ */
5217
+ build?: Maybe<Build>;
5155
5218
  createdAt: Scalars['DateTime']['output'];
5156
5219
  finishedAt?: Maybe<Scalars['DateTime']['output']>;
5157
5220
  id: Scalars['ID']['output'];
@@ -5261,6 +5324,10 @@ export type DeviceRunSessionQueryByIdArgs = {
5261
5324
  deviceRunSessionId: Scalars['ID']['input'];
5262
5325
  };
5263
5326
  export type DeviceRunSessionRemoteConfig = AgentDeviceRunSessionRemoteConfig | AppiumRunSessionRemoteConfig | ArgentRunSessionRemoteConfig | ServeSimRunSessionRemoteConfig;
5327
+ export declare enum DeviceRunSessionResourceClass {
5328
+ Large = "LARGE",
5329
+ Medium = "MEDIUM"
5330
+ }
5264
5331
  export declare enum DeviceRunSessionStatus {
5265
5332
  Errored = "ERRORED",
5266
5333
  InProgress = "IN_PROGRESS",
@@ -9014,8 +9081,7 @@ export type TurtleSshSessionMutation = {
9014
9081
  export type TurtleSshSessionMutationCreateOrUpdateTurtleSshSessionArgs = {
9015
9082
  connectionConfig: TurtleSshConnectionConfigInput;
9016
9083
  sessionSettings: TurtleSshSessionSettingsInput;
9017
- turtleBuildId?: InputMaybe<Scalars['ID']['input']>;
9018
- turtleJobRunId?: InputMaybe<Scalars['ID']['input']>;
9084
+ target: TurtleSshTargetInput;
9019
9085
  };
9020
9086
  export type TurtleSshSessionSettings = {
9021
9087
  __typename?: 'TurtleSshSessionSettings';
@@ -9024,6 +9090,14 @@ export type TurtleSshSessionSettings = {
9024
9090
  export type TurtleSshSessionSettingsInput = {
9025
9091
  idleTimeoutSeconds: Scalars['Int']['input'];
9026
9092
  };
9093
+ export type TurtleSshTargetInput = {
9094
+ id: Scalars['ID']['input'];
9095
+ type: TurtleSshTargetType;
9096
+ };
9097
+ export declare enum TurtleSshTargetType {
9098
+ Build = "BUILD",
9099
+ JobRun = "JOB_RUN"
9100
+ }
9027
9101
  export declare enum TurtleSshTransportType {
9028
9102
  UptermV1 = "UPTERM_V1"
9029
9103
  }
@@ -11234,6 +11308,11 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
11234
11308
  __typename?: 'WorkflowRun';
11235
11309
  activityTimestamp: Scalars['DateTime']['output'];
11236
11310
  actor?: Maybe<Actor>;
11311
+ /**
11312
+ * Why the server canceled this run. Null for manually canceled runs and for
11313
+ * runs canceled before the reason was recorded.
11314
+ */
11315
+ cancelReason?: Maybe<WorkflowRunCancelReason>;
11237
11316
  createdAt: Scalars['DateTime']['output'];
11238
11317
  durationSeconds?: Maybe<Scalars['Int']['output']>;
11239
11318
  errors: Array<WorkflowRunError>;
@@ -11259,6 +11338,15 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
11259
11338
  workflow: Workflow;
11260
11339
  workflowRevision?: Maybe<WorkflowRevision>;
11261
11340
  };
11341
+ export type WorkflowRunCancelReason = WorkflowRunCancelReasonConcurrencyGroup;
11342
+ export type WorkflowRunCancelReasonConcurrencyGroup = {
11343
+ __typename?: 'WorkflowRunCancelReasonConcurrencyGroup';
11344
+ /**
11345
+ * The newer run in the same concurrency group whose creation canceled this run.
11346
+ * Null if that run no longer exists.
11347
+ */
11348
+ cancelingWorkflowRun?: Maybe<WorkflowRun>;
11349
+ };
11262
11350
  export type WorkflowRunEdge = {
11263
11351
  __typename?: 'WorkflowRunEdge';
11264
11352
  cursor: Scalars['String']['output'];
@@ -11328,7 +11416,8 @@ export declare enum WorkflowRunStatus {
11328
11416
  Failure = "FAILURE",
11329
11417
  InProgress = "IN_PROGRESS",
11330
11418
  New = "NEW",
11331
- Success = "SUCCESS"
11419
+ Success = "SUCCESS",
11420
+ Waiting = "WAITING"
11332
11421
  }
11333
11422
  export type WorkflowRunTimeRangeInput = {
11334
11423
  earliest?: InputMaybe<Scalars['DateTime']['input']>;
@@ -7,9 +7,9 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  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.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectWorkflowConnectionStatus = exports.AppStoreConnectUserRole = exports.AppStoreConnectBuildUploadState = exports.AppStoreConnectBuildProcessingState = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObserveUpdatesOrderByField = exports.AppObserveUpdatesOrderByDirection = exports.AppObservePropertyType = exports.AppObservePlatform = exports.AppObserveNavigationRoutesOrderByField = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppObserveErrorSeverity = exports.AppObserveErrorGroupsOrderBy = exports.AppObserveErrorBreakdownDimension = exports.AppObserveCustomEventNamesOrderByField = exports.AppObserveCustomEventNamesOrderByDirection = exports.AppObserveCustomEventListOrderByField = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = void 0;
10
- 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.ExitInterviewOutcome = exports.ExitInterviewMessageRole = 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 = exports.DeviceRunSessionStatus = exports.DashboardViewPin = exports.DashboardChatMessageStatus = exports.DashboardChatMessageRole = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = void 0;
11
- exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdatesTimelineItemType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TurtleSshTransportType = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = 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.RealtimeLogsTargetType = exports.ProjectArchiveSourceType = exports.PostHogRegion = exports.PostHogDeepLinkPurpose = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = exports.JobRunStatus = exports.JobRunPriority = exports.IosSchemeBuildConfiguration = void 0;
12
- exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDispatchInputType = exports.WorkflowDeviceTestCaseStatusFilter = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowDeviceTestCaseStatSortField = exports.WorkflowDeviceTestCaseSortDirection = exports.WorkflowDeviceTestCaseInsightsTimeSeriesGranularity = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = void 0;
10
+ 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.ExitInterviewOutcome = exports.ExitInterviewMessageRole = 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 = exports.DeviceRunSessionStatus = exports.DeviceRunSessionResourceClass = exports.DashboardViewPin = exports.DashboardChatMessageStatus = exports.DashboardChatMessageRole = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = void 0;
11
+ exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdatesTimelineItemType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TurtleSshTransportType = exports.TurtleSshTargetType = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = 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.RealtimeLogsTargetType = exports.ProjectArchiveSourceType = exports.PostHogRegion = exports.PostHogDeepLinkPurpose = 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 = void 0;
12
+ exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDispatchInputType = exports.WorkflowDeviceTestCaseStatusFilter = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowDeviceTestCaseStatSortField = exports.WorkflowDeviceTestCaseSortDirection = exports.WorkflowDeviceTestCaseInsightsTimeSeriesGranularity = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = void 0;
13
13
  var AccountAppsSortByField;
14
14
  (function (AccountAppsSortByField) {
15
15
  AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
@@ -456,6 +456,11 @@ var DashboardViewPin;
456
456
  DashboardViewPin["Activity"] = "ACTIVITY";
457
457
  DashboardViewPin["Overview"] = "OVERVIEW";
458
458
  })(DashboardViewPin || (exports.DashboardViewPin = DashboardViewPin = {}));
459
+ var DeviceRunSessionResourceClass;
460
+ (function (DeviceRunSessionResourceClass) {
461
+ DeviceRunSessionResourceClass["Large"] = "LARGE";
462
+ DeviceRunSessionResourceClass["Medium"] = "MEDIUM";
463
+ })(DeviceRunSessionResourceClass || (exports.DeviceRunSessionResourceClass = DeviceRunSessionResourceClass = {}));
459
464
  var DeviceRunSessionStatus;
460
465
  (function (DeviceRunSessionStatus) {
461
466
  DeviceRunSessionStatus["Errored"] = "ERRORED";
@@ -1013,6 +1018,11 @@ var TargetEntityMutationType;
1013
1018
  TargetEntityMutationType["Delete"] = "DELETE";
1014
1019
  TargetEntityMutationType["Update"] = "UPDATE";
1015
1020
  })(TargetEntityMutationType || (exports.TargetEntityMutationType = TargetEntityMutationType = {}));
1021
+ var TurtleSshTargetType;
1022
+ (function (TurtleSshTargetType) {
1023
+ TurtleSshTargetType["Build"] = "BUILD";
1024
+ TurtleSshTargetType["JobRun"] = "JOB_RUN";
1025
+ })(TurtleSshTargetType || (exports.TurtleSshTargetType = TurtleSshTargetType = {}));
1016
1026
  var TurtleSshTransportType;
1017
1027
  (function (TurtleSshTransportType) {
1018
1028
  TurtleSshTransportType["UptermV1"] = "UPTERM_V1";
@@ -1259,6 +1269,7 @@ var WorkflowRunStatus;
1259
1269
  WorkflowRunStatus["InProgress"] = "IN_PROGRESS";
1260
1270
  WorkflowRunStatus["New"] = "NEW";
1261
1271
  WorkflowRunStatus["Success"] = "SUCCESS";
1272
+ WorkflowRunStatus["Waiting"] = "WAITING";
1262
1273
  })(WorkflowRunStatus || (exports.WorkflowRunStatus = WorkflowRunStatus = {}));
1263
1274
  var WorkflowRunTriggerEventType;
1264
1275
  (function (WorkflowRunTriggerEventType) {
@@ -1,4 +1,4 @@
1
- import { DeviceRunSessionByIdQuery, DeviceRunSessionType } from '../graphql/generated';
1
+ import { DeviceRunSessionByIdQuery, DeviceRunSessionResourceClass, DeviceRunSessionType } from '../graphql/generated';
2
2
  type DeviceRunSessionByIdResult = DeviceRunSessionByIdQuery['deviceRunSessions']['byId'];
3
3
  export type DeviceRunSessionRemoteConfig = NonNullable<DeviceRunSessionByIdResult['remoteConfig']>;
4
4
  /** Landing page where accounts without access can request it. */
@@ -11,6 +11,8 @@ export declare function formatSimulatorUnavailableMessage(accountName: string):
11
11
  export declare const DEVICE_RUN_SESSION_TYPE_FLAG_VALUES: Record<DeviceRunSessionType, string>;
12
12
  export declare const DEVICE_RUN_SESSION_TYPE_BY_FLAG_VALUE: Record<string, DeviceRunSessionType>;
13
13
  export declare function deviceRunSessionTypeToFlagValue(type: DeviceRunSessionType): string;
14
+ export declare const DEVICE_RUN_SESSION_RESOURCE_CLASS_FLAG_VALUES: Record<DeviceRunSessionResourceClass, string>;
15
+ export declare const DEVICE_RUN_SESSION_RESOURCE_CLASS_BY_FLAG_VALUE: Record<string, DeviceRunSessionResourceClass>;
14
16
  export declare function getRemoteSessionEnvironmentVariables(remoteConfig: DeviceRunSessionRemoteConfig): Record<string, string>;
15
17
  type RemoteSessionInstructionsConfigType = 'env' | 'dotenv';
16
18
  export declare function formatRemoteSessionInstructions(remoteConfig: DeviceRunSessionRemoteConfig, configType: RemoteSessionInstructionsConfigType): string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEVICE_RUN_SESSION_TYPE_BY_FLAG_VALUE = exports.DEVICE_RUN_SESSION_TYPE_FLAG_VALUES = exports.EAS_SIMULATOR_WAITLIST_URL = void 0;
3
+ exports.DEVICE_RUN_SESSION_RESOURCE_CLASS_BY_FLAG_VALUE = exports.DEVICE_RUN_SESSION_RESOURCE_CLASS_FLAG_VALUES = exports.DEVICE_RUN_SESSION_TYPE_BY_FLAG_VALUE = exports.DEVICE_RUN_SESSION_TYPE_FLAG_VALUES = exports.EAS_SIMULATOR_WAITLIST_URL = void 0;
4
4
  exports.formatSimulatorUnavailableMessage = formatSimulatorUnavailableMessage;
5
5
  exports.deviceRunSessionTypeToFlagValue = deviceRunSessionTypeToFlagValue;
6
6
  exports.getRemoteSessionEnvironmentVariables = getRemoteSessionEnvironmentVariables;
@@ -31,6 +31,11 @@ exports.DEVICE_RUN_SESSION_TYPE_BY_FLAG_VALUE = Object.fromEntries(Object.entrie
31
31
  function deviceRunSessionTypeToFlagValue(type) {
32
32
  return exports.DEVICE_RUN_SESSION_TYPE_FLAG_VALUES[type];
33
33
  }
34
+ exports.DEVICE_RUN_SESSION_RESOURCE_CLASS_FLAG_VALUES = {
35
+ [generated_1.DeviceRunSessionResourceClass.Large]: 'large',
36
+ [generated_1.DeviceRunSessionResourceClass.Medium]: 'medium',
37
+ };
38
+ exports.DEVICE_RUN_SESSION_RESOURCE_CLASS_BY_FLAG_VALUE = Object.fromEntries(Object.entries(exports.DEVICE_RUN_SESSION_RESOURCE_CLASS_FLAG_VALUES).map(([resourceClass, value]) => [value, resourceClass]));
34
39
  function getRemoteSessionEnvironmentVariables(remoteConfig) {
35
40
  switch (remoteConfig.__typename) {
36
41
  case 'AgentDeviceRunSessionRemoteConfig':