eas-cli 24.8.0 → 24.10.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 (41) hide show
  1. package/README.md +249 -204
  2. package/build/commandUtils/workflow/validation.js +11 -2
  3. package/build/commands/simulator/events.js +4 -2
  4. package/build/commands/simulator/get.js +1 -0
  5. package/build/commands/simulator/index.d.ts +2 -0
  6. package/build/commands/simulator/index.js +36 -10
  7. package/build/commands/simulator/list.js +4 -2
  8. package/build/commands/submit/internal.d.ts +4 -1
  9. package/build/commands/submit/internal.js +20 -2
  10. package/build/commands/update/index.d.ts +2 -0
  11. package/build/commands/update/index.js +45 -4
  12. package/build/commands/update/republish.d.ts +1 -0
  13. package/build/commands/update/republish.js +6 -0
  14. package/build/commands/update/roll-back-to-embedded.d.ts +1 -0
  15. package/build/commands/update/roll-back-to-embedded.js +7 -1
  16. package/build/commands/update/rollback.d.ts +1 -0
  17. package/build/commands/update/rollback.js +11 -3
  18. package/build/commands/workflow/validate.js +1 -0
  19. package/build/graphql/generated.d.ts +193 -19
  20. package/build/graphql/generated.js +30 -3
  21. package/build/ora.js +12 -2
  22. package/build/project/maybeUploadSourceMapsAsync.d.ts +34 -0
  23. package/build/project/maybeUploadSourceMapsAsync.js +156 -0
  24. package/build/simulator/egress.d.ts +11 -4
  25. package/build/simulator/egress.js +72 -10
  26. package/build/simulator/env.d.ts +1 -0
  27. package/build/simulator/env.js +4 -1
  28. package/build/simulator/networkCapture.d.ts +7 -0
  29. package/build/simulator/networkCapture.js +22 -0
  30. package/build/simulator/utils.d.ts +15 -5
  31. package/build/simulator/utils.js +33 -11
  32. package/build/update/active-rollout.d.ts +8 -0
  33. package/build/update/active-rollout.js +82 -0
  34. package/build/update/republish.d.ts +4 -1
  35. package/build/update/republish.js +13 -3
  36. package/build/update/roll-back-to-embedded.d.ts +4 -1
  37. package/build/update/roll-back-to-embedded.js +14 -3
  38. package/build/uploads.js +5 -1
  39. package/build/user/expoBrowserAuthFlowLauncher.js +0 -1
  40. package/oclif.manifest.json +334 -262
  41. package/package.json +5 -5
@@ -646,13 +646,13 @@ export type AccountMembersEdge = {
646
646
  node: UserPermission;
647
647
  };
648
648
  export type AccountMembersFilterInput = {
649
+ /** Filter by members containing all of the specified permissions. */
650
+ exactPermissions?: InputMaybe<Array<Permission>>;
649
651
  /**
650
652
  * Filter members by 2FA status. Only regular users are returned when set, since SSO users
651
653
  * and robots don't have 2FA. Requires admin permission on the account.
652
654
  */
653
655
  isSecondFactorAuthenticationEnabled?: InputMaybe<Scalars['Boolean']['input']>;
654
- /** Filter members by role. Only OWNER, ADMIN, DEVELOPER, and VIEW_ONLY are supported. */
655
- role?: InputMaybe<Role>;
656
656
  /** Case-insensitive substring match on username, email, and name */
657
657
  searchTerm?: InputMaybe<Scalars['String']['input']>;
658
658
  };
@@ -1186,6 +1186,17 @@ export type AndroidBuilderEnvironmentInput = {
1186
1186
  pnpm?: InputMaybe<Scalars['String']['input']>;
1187
1187
  yarn?: InputMaybe<Scalars['String']['input']>;
1188
1188
  };
1189
+ export type AndroidDeviceRunSessionDevice = {
1190
+ __typename?: 'AndroidDeviceRunSessionDevice';
1191
+ /** Human-readable device name to show to users (e.g. "Pixel 9"). */
1192
+ displayName: Scalars['String']['output'];
1193
+ /** AVD hardware profile id accepted by android.deviceIdentifier (e.g. "pixel_9"). */
1194
+ identifier: Scalars['String']['output'];
1195
+ };
1196
+ export type AndroidDeviceRunSessionProfiles = {
1197
+ __typename?: 'AndroidDeviceRunSessionProfiles';
1198
+ devices: Array<AndroidDeviceRunSessionDevice>;
1199
+ };
1189
1200
  export type AndroidFcm = {
1190
1201
  __typename?: 'AndroidFcm';
1191
1202
  account: Account;
@@ -3413,10 +3424,22 @@ export type AppObserveUpdate = {
3413
3424
  appUpdateId: Scalars['String']['output'];
3414
3425
  appUpdateMessage?: Maybe<Scalars['String']['output']>;
3415
3426
  appVersion: Scalars['String']['output'];
3427
+ /** Branch the update was published to. */
3428
+ branchName?: Maybe<Scalars['String']['output']>;
3416
3429
  downloadCount: Scalars['Int']['output'];
3417
3430
  firstSeenAt: Scalars['DateTime']['output'];
3431
+ /** Git commit the update was published from, when it was recorded. */
3432
+ gitCommitHash?: Maybe<Scalars['String']['output']>;
3418
3433
  medianDownloadTime: Scalars['Float']['output'];
3419
3434
  p90DownloadTime: Scalars['Float']['output'];
3435
+ /** Platform the update was published for: ios, android, or web. */
3436
+ platform?: Maybe<Scalars['String']['output']>;
3437
+ /** When the update was published, from the EAS Update record. */
3438
+ publishedAt?: Maybe<Scalars['DateTime']['output']>;
3439
+ /** Runtime version the update is compatible with. */
3440
+ runtimeVersion?: Maybe<Scalars['String']['output']>;
3441
+ /** ID of the update group this update belongs to. */
3442
+ updateGroupId?: Maybe<Scalars['String']['output']>;
3420
3443
  };
3421
3444
  export type AppObserveUpdateEdge = {
3422
3445
  __typename?: 'AppObserveUpdateEdge';
@@ -4057,6 +4080,11 @@ export type AppWorkflowRunsConnection = {
4057
4080
  export type AppWorkflowsInsights = {
4058
4081
  __typename?: 'AppWorkflowsInsights';
4059
4082
  overviewMetrics: WorkflowsInsightsOverviewMetrics;
4083
+ /**
4084
+ * Buckets start at the requested timespan start and advance by the granularity interval, so
4085
+ * their boundaries follow the requested range. The last bucket is shorter when the timespan is
4086
+ * not a whole number of intervals.
4087
+ */
4060
4088
  runsOverTime: WorkflowsInsightsRunsOverTimeData;
4061
4089
  workflows: WorkflowsInsightsWorkflowConnection;
4062
4090
  };
@@ -5408,7 +5436,7 @@ export type CreateAndroidDeviceRunSessionInput = {
5408
5436
  deviceIdentifier?: InputMaybe<Scalars['String']['input']>;
5409
5437
  /**
5410
5438
  * Android SDK system image package to use for the emulator (e.g.
5411
- * "system-images;android-35-ext15;google_apis_playstore;x86_64").
5439
+ * "system-images;android-35;google_apis;x86_64").
5412
5440
  */
5413
5441
  systemImagePackage?: InputMaybe<Scalars['String']['input']>;
5414
5442
  };
@@ -5465,6 +5493,18 @@ export type CreateDeviceRunSessionEventLogUploadSessionResult = {
5465
5493
  uploadSession: DeviceRunSessionEventLogUploadSession;
5466
5494
  };
5467
5495
  export type CreateDeviceRunSessionInput = {
5496
+ /**
5497
+ * The coding agent sending this request, recorded for analytics only and never used for
5498
+ * authorization. Surrounding whitespace is trimmed, and a blank value or one over 200 characters
5499
+ * is treated as omitted.
5500
+ */
5501
+ agentId?: InputMaybe<Scalars['String']['input']>;
5502
+ /**
5503
+ * The coding agent's own session identifier, recorded for analytics only and never used for
5504
+ * authorization. Surrounding whitespace is trimmed, and a blank value or one over 200 characters
5505
+ * is treated as omitted.
5506
+ */
5507
+ agentSessionId?: InputMaybe<Scalars['String']['input']>;
5468
5508
  /** Android emulator options. Only supported when platform is ANDROID. */
5469
5509
  android?: InputMaybe<CreateAndroidDeviceRunSessionInput>;
5470
5510
  appId: Scalars['ID']['input'];
@@ -5486,8 +5526,7 @@ export type CreateDeviceRunSessionInput = {
5486
5526
  buildId?: InputMaybe<Scalars['ID']['input']>;
5487
5527
  /**
5488
5528
  * Where the virtual device's proxied network traffic exits to the internet. If
5489
- * omitted, all traffic exits from EAS infrastructure. LOCAL is only supported for
5490
- * sessions on IOS.
5529
+ * omitted, all traffic exits from EAS infrastructure.
5491
5530
  */
5492
5531
  egress?: InputMaybe<DeviceRunSessionEgress>;
5493
5532
  /**
@@ -5519,10 +5558,23 @@ export type CreateDeviceRunSessionInput = {
5519
5558
  */
5520
5559
  maxRunTimeMinutes?: InputMaybe<Scalars['Int']['input']>;
5521
5560
  /**
5522
- * Human-readable label for the session, at most 255 characters. If omitted, the
5523
- * session is unnamed and clients fall back to identifying it by id.
5561
+ * Human-readable label for the session, at most 255 characters after leading and
5562
+ * trailing whitespace is trimmed. If omitted, the session is unnamed and clients
5563
+ * fall back to identifying it by id.
5524
5564
  */
5525
5565
  name?: InputMaybe<Scalars['String']['input']>;
5566
+ /**
5567
+ * Record HTTP(S) traffic from apps on the device for the whole session. iOS only.
5568
+ * HTTPS is decrypted, so recordings contain credentials and cookies in cleartext.
5569
+ * If omitted, no traffic is recorded.
5570
+ */
5571
+ networkCapture?: InputMaybe<Scalars['Boolean']['input']>;
5572
+ /**
5573
+ * What network capture may keep beyond method, URL, status, timing and size: header, query,
5574
+ * request-body, response-body. Each can carry credentials, so nothing here is recorded unless
5575
+ * it is asked for. Requires networkCapture.
5576
+ */
5577
+ networkCaptureFields?: InputMaybe<Array<Scalars['String']['input']>>;
5526
5578
  /**
5527
5579
  * Expo or development-client URL to open after launching the installed application. Requires
5528
5580
  * buildId, applicationArchiveUrl, or expoGo.
@@ -5534,6 +5586,11 @@ export type CreateDeviceRunSessionInput = {
5534
5586
  */
5535
5587
  packageVersion?: InputMaybe<Scalars['String']['input']>;
5536
5588
  platform: AppPlatform;
5589
+ /**
5590
+ * The client sending this request, recorded for analytics only. Omit it when the
5591
+ * client is not one of the listed values; the session is then reported as unknown.
5592
+ */
5593
+ requestOrigin?: InputMaybe<DeviceRunSessionRequestOrigin>;
5537
5594
  resourceClass?: InputMaybe<DeviceRunSessionResourceClass>;
5538
5595
  /**
5539
5596
  * Expo SDK version used to select an Expo Go application archive. Only supported when expoGo is
@@ -5878,6 +5935,10 @@ export type DeleteCustomDomainResult = {
5878
5935
  hostname: Scalars['String']['output'];
5879
5936
  id: Scalars['ID']['output'];
5880
5937
  };
5938
+ export type DeleteDeviceRunSessionResult = {
5939
+ __typename?: 'DeleteDeviceRunSessionResult';
5940
+ id: Scalars['ID']['output'];
5941
+ };
5881
5942
  export type DeleteDiscordUserResult = {
5882
5943
  __typename?: 'DeleteDiscordUserResult';
5883
5944
  id: Scalars['ID']['output'];
@@ -6087,8 +6148,8 @@ export type DeviceRunSession = {
6087
6148
  */
6088
6149
  maxIdleTimeMinutes?: Maybe<Scalars['Int']['output']>;
6089
6150
  /**
6090
- * Human-readable label chosen by whoever started the session. Null when the
6091
- * session was started without one.
6151
+ * Human-readable label set when the session is created or changed later with
6152
+ * updateDeviceRunSession. Null when the session has no name.
6092
6153
  */
6093
6154
  name?: Maybe<Scalars['String']['output']>;
6094
6155
  /**
@@ -6152,7 +6213,7 @@ export type DeviceRunSessionEventLogUploadSession = {
6152
6213
  url: Scalars['String']['output'];
6153
6214
  };
6154
6215
  export type DeviceRunSessionFilterInput = {
6155
- /** Case-insensitive prefix match on the session name. */
6216
+ /** Case-insensitive match anywhere in the session name. */
6156
6217
  name?: InputMaybe<Scalars['String']['input']>;
6157
6218
  platforms?: InputMaybe<Array<AppPlatform>>;
6158
6219
  statuses?: InputMaybe<Array<DeviceRunSessionStatus>>;
@@ -6171,6 +6232,11 @@ export type DeviceRunSessionMutation = {
6171
6232
  * overwriting its structured event log while the backing job run is running.
6172
6233
  */
6173
6234
  createEventLogUploadSession: CreateDeviceRunSessionEventLogUploadSessionResult;
6235
+ /**
6236
+ * Permanently delete a finished session and its artifacts. The backing job,
6237
+ * if present, must also have finished. Returns the deleted session ID.
6238
+ */
6239
+ deleteDeviceRunSession: DeleteDeviceRunSessionResult;
6174
6240
  /**
6175
6241
  * Ensure a device run session is stopped. Idempotent: if the session has already
6176
6242
  * finished, the existing session is returned unchanged (an ERRORED session stays
@@ -6179,6 +6245,11 @@ export type DeviceRunSessionMutation = {
6179
6245
  ensureDeviceRunSessionStopped: DeviceRunSession;
6180
6246
  /** Mark a device run session as started and persist remote connection details */
6181
6247
  startDeviceRunSession: DeviceRunSession;
6248
+ /**
6249
+ * Update a device run session name and tags, including on sessions
6250
+ * that have already finished.
6251
+ */
6252
+ updateDeviceRunSession: DeviceRunSession;
6182
6253
  };
6183
6254
  export type DeviceRunSessionMutation_CreateArtifactUploadSessionArgs = {
6184
6255
  deviceRunSessionId: Scalars['ID']['input'];
@@ -6190,6 +6261,9 @@ export type DeviceRunSessionMutation_CreateDeviceRunSessionArgs = {
6190
6261
  export type DeviceRunSessionMutation_CreateEventLogUploadSessionArgs = {
6191
6262
  deviceRunSessionId: Scalars['ID']['input'];
6192
6263
  };
6264
+ export type DeviceRunSessionMutation_DeleteDeviceRunSessionArgs = {
6265
+ deviceRunSessionId: Scalars['ID']['input'];
6266
+ };
6193
6267
  export type DeviceRunSessionMutation_EnsureDeviceRunSessionStoppedArgs = {
6194
6268
  deviceRunSessionId: Scalars['ID']['input'];
6195
6269
  };
@@ -6197,14 +6271,34 @@ export type DeviceRunSessionMutation_StartDeviceRunSessionArgs = {
6197
6271
  deviceRunSessionId: Scalars['ID']['input'];
6198
6272
  remoteConfig: Scalars['JSONObject']['input'];
6199
6273
  };
6274
+ export type DeviceRunSessionMutation_UpdateDeviceRunSessionArgs = {
6275
+ deviceRunSessionId: Scalars['ID']['input'];
6276
+ input: UpdateDeviceRunSessionInput;
6277
+ };
6278
+ /** Virtual device profiles available for new device run sessions. */
6279
+ export type DeviceRunSessionProfiles = {
6280
+ __typename?: 'DeviceRunSessionProfiles';
6281
+ android: AndroidDeviceRunSessionProfiles;
6282
+ ios: IosDeviceRunSessionProfiles;
6283
+ };
6200
6284
  export type DeviceRunSessionQuery = {
6201
6285
  __typename?: 'DeviceRunSessionQuery';
6202
6286
  byId: DeviceRunSession;
6287
+ profiles: DeviceRunSessionProfiles;
6203
6288
  };
6204
6289
  export type DeviceRunSessionQuery_ByIdArgs = {
6205
6290
  deviceRunSessionId: Scalars['ID']['input'];
6206
6291
  };
6207
6292
  export type DeviceRunSessionRemoteConfig = AgentDeviceRunSessionRemoteConfig | AppiumRunSessionRemoteConfig | ArgentRunSessionRemoteConfig | ServeSimRunSessionRemoteConfig | WebPreviewOnlyRunSessionRemoteConfig;
6293
+ /**
6294
+ * The client that sent a session creation request, as reported by that client. Recorded
6295
+ * for analytics only and never used for authorization.
6296
+ */
6297
+ export declare enum DeviceRunSessionRequestOrigin {
6298
+ EasCli = "EAS_CLI",
6299
+ Mcp = "MCP",
6300
+ Website = "WEBSITE"
6301
+ }
6208
6302
  export declare enum DeviceRunSessionResourceClass {
6209
6303
  Large = "LARGE",
6210
6304
  Medium = "MEDIUM"
@@ -6213,6 +6307,10 @@ export declare enum DeviceRunSessionStatus {
6213
6307
  Errored = "ERRORED",
6214
6308
  InProgress = "IN_PROGRESS",
6215
6309
  New = "NEW",
6310
+ /** The session's job run waits in the queue for a worker. */
6311
+ Queued = "QUEUED",
6312
+ /** A worker runs the session's job and prepares the virtual device. */
6313
+ Starting = "STARTING",
6216
6314
  Stopped = "STOPPED"
6217
6315
  }
6218
6316
  export declare enum DeviceRunSessionType {
@@ -7791,7 +7889,10 @@ export type GitHubUserMutation = {
7791
7889
  __typename?: 'GitHubUserMutation';
7792
7890
  /** Delete a GitHub User by ID */
7793
7891
  deleteGitHubUser: DeleteGitHubUserResult;
7794
- /** Generate a GitHub User Access Token */
7892
+ /**
7893
+ * Generate a GitHub User Access Token
7894
+ * @deprecated This mutation is scheduled for removal.
7895
+ */
7795
7896
  generateGitHubUserAccessToken?: Maybe<Scalars['String']['output']>;
7796
7897
  };
7797
7898
  export type GitHubUserMutation_DeleteGitHubUserArgs = {
@@ -8057,6 +8158,17 @@ export type IosBuilderEnvironmentInput = {
8057
8158
  pnpm?: InputMaybe<Scalars['String']['input']>;
8058
8159
  yarn?: InputMaybe<Scalars['String']['input']>;
8059
8160
  };
8161
+ export type IosDeviceRunSessionDevice = {
8162
+ __typename?: 'IosDeviceRunSessionDevice';
8163
+ /** Human-readable device name to show to users (e.g. "iPhone 17 Pro"). */
8164
+ displayName: Scalars['String']['output'];
8165
+ /** Simulator device name accepted by ios.deviceIdentifier (e.g. "iPhone 17 Pro"). */
8166
+ identifier: Scalars['String']['output'];
8167
+ };
8168
+ export type IosDeviceRunSessionProfiles = {
8169
+ __typename?: 'IosDeviceRunSessionProfiles';
8170
+ devices: Array<IosDeviceRunSessionDevice>;
8171
+ };
8060
8172
  export declare enum IosDistributionType {
8061
8173
  AdHoc = "AD_HOC",
8062
8174
  AppStore = "APP_STORE",
@@ -8805,6 +8917,7 @@ export type PublishUpdateGroupInput = {
8805
8917
  rollBackToEmbeddedInfoGroup?: InputMaybe<UpdateRollBackToEmbeddedGroup>;
8806
8918
  rolloutInfoGroup?: InputMaybe<UpdateRolloutInfoGroup>;
8807
8919
  runtimeVersion: Scalars['String']['input'];
8920
+ sourceMapGroup?: InputMaybe<SourceMapGroup>;
8808
8921
  turtleJobRunId?: InputMaybe<Scalars['String']['input']>;
8809
8922
  updateInfoGroup?: InputMaybe<UpdateInfoGroup>;
8810
8923
  };
@@ -8968,7 +9081,9 @@ export declare enum Role {
8968
9081
  Admin = "ADMIN",
8969
9082
  Custom = "CUSTOM",
8970
9083
  Developer = "DEVELOPER",
9084
+ /** @deprecated No longer supported */
8971
9085
  HasAdmin = "HAS_ADMIN",
9086
+ /** @deprecated No longer supported */
8972
9087
  NotAdmin = "NOT_ADMIN",
8973
9088
  Owner = "OWNER",
8974
9089
  ReleaseManager = "RELEASE_MANAGER",
@@ -9032,7 +9147,7 @@ export type RootMutation = {
9032
9147
  deployments: DeploymentsMutation;
9033
9148
  /** Mutations that assign or modify DevDomainNames for apps */
9034
9149
  devDomainName: AppDevDomainNameMutation;
9035
- /** Mutations that create, start, and stop device run sessions */
9150
+ /** Mutations that create, start, stop, and update device run sessions */
9036
9151
  deviceRunSession: DeviceRunSessionMutation;
9037
9152
  /** Mutations for Discord users */
9038
9153
  discordUser: DiscordUserMutation;
@@ -9712,6 +9827,17 @@ export type SnackQuery = {
9712
9827
  export type SnackQuery_ByHashIdArgs = {
9713
9828
  hashId: Scalars['ID']['input'];
9714
9829
  };
9830
+ export type SourceMapGroup = {
9831
+ android?: InputMaybe<SourceMapSourceInput>;
9832
+ ios?: InputMaybe<SourceMapSourceInput>;
9833
+ };
9834
+ export type SourceMapSourceInput = {
9835
+ bucketKey: Scalars['String']['input'];
9836
+ type: SourceMapSourceType;
9837
+ };
9838
+ export declare enum SourceMapSourceType {
9839
+ Gcs = "GCS"
9840
+ }
9715
9841
  export declare enum StandardOffer {
9716
9842
  /** $29 USD per month, 30 day trial */
9717
9843
  Default = "DEFAULT",
@@ -10175,7 +10301,6 @@ export type TurtleSshConnectionConfig = {
10175
10301
  type: TurtleSshTransportType;
10176
10302
  };
10177
10303
  export type TurtleSshConnectionConfigInput = {
10178
- host: Scalars['String']['input'];
10179
10304
  reconnecting?: InputMaybe<Scalars['Boolean']['input']>;
10180
10305
  secret: Scalars['String']['input'];
10181
10306
  type: TurtleSshTransportType;
@@ -10484,6 +10609,19 @@ export type UpdateDeploymentsConnection = {
10484
10609
  edges: Array<UpdateDeploymentEdge>;
10485
10610
  pageInfo: PageInfo;
10486
10611
  };
10612
+ export type UpdateDeviceRunSessionInput = {
10613
+ /**
10614
+ * New human-readable label for the session, at most 255 characters after leading
10615
+ * and trailing whitespace is trimmed. Pass null to clear the name so clients fall
10616
+ * back to identifying the session by id.
10617
+ */
10618
+ name?: InputMaybe<Scalars['String']['input']>;
10619
+ /**
10620
+ * Replace the session tags. Tags are trimmed, lowercased and deduplicated.
10621
+ * Pass an empty list or null to clear them. Omit to leave tags unchanged.
10622
+ */
10623
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
10624
+ };
10487
10625
  export type UpdateDiffReceipt = {
10488
10626
  __typename?: 'UpdateDiffReceipt';
10489
10627
  appId: Scalars['ID']['output'];
@@ -10780,7 +10918,8 @@ export declare enum UploadSessionType {
10780
10918
  EasSubmitAppArchive = "EAS_SUBMIT_APP_ARCHIVE",
10781
10919
  EasSubmitGcsAppArchive = "EAS_SUBMIT_GCS_APP_ARCHIVE",
10782
10920
  EasUpdateAssetsMetadata = "EAS_UPDATE_ASSETS_METADATA",
10783
- EasUpdateFingerprint = "EAS_UPDATE_FINGERPRINT"
10921
+ EasUpdateFingerprint = "EAS_UPDATE_FINGERPRINT",
10922
+ EasUpdateSourceMaps = "EAS_UPDATE_SOURCE_MAPS"
10784
10923
  }
10785
10924
  export type UsageBudget = {
10786
10925
  __typename?: 'UsageBudget';
@@ -11191,7 +11330,10 @@ export type UserInvitation = {
11191
11330
  isForOrganization: Scalars['Boolean']['output'];
11192
11331
  /** Account permissions to be granted upon acceptance of this invitation */
11193
11332
  permissions: Array<Permission>;
11194
- /** Role to be granted upon acceptance of this invitation */
11333
+ /**
11334
+ * Role to be granted upon acceptance of this invitation
11335
+ * @deprecated Derive role from permissions instead
11336
+ */
11195
11337
  role: Role;
11196
11338
  };
11197
11339
  export type UserInvitationMutation = {
@@ -11292,6 +11434,7 @@ export type UserPermission = {
11292
11434
  /** Composite identifier for this account membership (accountId:actorId) */
11293
11435
  id: Scalars['ID']['output'];
11294
11436
  permissions: Array<Permission>;
11437
+ /** @deprecated Derive role from permissions instead */
11295
11438
  role: Role;
11296
11439
  userActor?: Maybe<UserActor>;
11297
11440
  };
@@ -12068,8 +12211,9 @@ export type WorkflowDeviceTestCaseInsights_TimeSeriesArgs = {
12068
12211
  };
12069
12212
  /**
12070
12213
  * Mutually exclusive bucket counts (passedClean + flaky + failed = totalRuns for the bucket).
12071
- * Buckets are aligned to the UTC start of the requested granularity interval
12072
- * (minute / hour / day).
12214
+ * Buckets start at the requested timespan start and advance by the granularity interval, so
12215
+ * their boundaries follow the requested range. The last bucket is shorter when the timespan is
12216
+ * not a whole number of intervals.
12073
12217
  */
12074
12218
  export type WorkflowDeviceTestCaseInsightsBucket = {
12075
12219
  __typename?: 'WorkflowDeviceTestCaseInsightsBucket';
@@ -12422,7 +12566,8 @@ export declare enum WorkflowJobType {
12422
12566
  Submission = "SUBMISSION",
12423
12567
  Testflight = "TESTFLIGHT",
12424
12568
  Update = "UPDATE",
12425
- UpdateRollout = "UPDATE_ROLLOUT"
12569
+ UpdateRollout = "UPDATE_ROLLOUT",
12570
+ WorkflowCall = "WORKFLOW_CALL"
12426
12571
  }
12427
12572
  export type WorkflowProjectSourceInput = {
12428
12573
  easJsonBucketKey?: InputMaybe<Scalars['String']['input']>;
@@ -12652,7 +12797,12 @@ export declare enum WorkflowRunTriggerEventType {
12652
12797
  GithubRefDelete = "GITHUB_REF_DELETE",
12653
12798
  Manual = "MANUAL",
12654
12799
  RepackExpoGo = "REPACK_EXPO_GO",
12655
- Schedule = "SCHEDULE"
12800
+ Schedule = "SCHEDULE",
12801
+ SentryIssueArchived = "SENTRY_ISSUE_ARCHIVED",
12802
+ SentryIssueAssigned = "SENTRY_ISSUE_ASSIGNED",
12803
+ SentryIssueCreated = "SENTRY_ISSUE_CREATED",
12804
+ SentryIssueResolved = "SENTRY_ISSUE_RESOLVED",
12805
+ SentryIssueUnresolved = "SENTRY_ISSUE_UNRESOLVED"
12656
12806
  }
12657
12807
  export type WorkflowRunsConnection = {
12658
12808
  __typename?: 'WorkflowRunsConnection';
@@ -22624,6 +22774,30 @@ export type WorkflowJobSshPollQuery = {
22624
22774
  };
22625
22775
  };
22626
22776
  };
22777
+ export type BuildSshPollQueryVariables = Exact<{
22778
+ buildId: Scalars['ID']['input'];
22779
+ }>;
22780
+ export type BuildSshPollQuery = {
22781
+ __typename?: 'RootQuery';
22782
+ builds: {
22783
+ __typename?: 'BuildQuery';
22784
+ byId: {
22785
+ __typename?: 'Build';
22786
+ id: string;
22787
+ status: BuildStatus;
22788
+ sshSession?: {
22789
+ __typename?: 'TurtleSshSession';
22790
+ id: string;
22791
+ connectionConfig: {
22792
+ __typename?: 'TurtleSshConnectionConfig';
22793
+ host: string;
22794
+ secret: string;
22795
+ reconnecting: boolean;
22796
+ };
22797
+ } | null;
22798
+ };
22799
+ };
22800
+ };
22627
22801
  export type JobRunSshPollQueryVariables = Exact<{
22628
22802
  jobRunId: Scalars['ID']['input'];
22629
22803
  }>;
@@ -7,9 +7,9 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  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.AppObserveUserEventNamesOrderByField = exports.AppObserveUserEventListOrderByField = exports.AppObserveUserEventBreakdownDimension = exports.AppObserveUpdatesOrderByField = exports.AppObserveUpdatesOrderByDirection = exports.AppObservePropertyType = exports.AppObservePlatform = exports.AppObserveOrderDirection = exports.AppObserveNavigationRoutesOrderByField = exports.AppObserveMetricsListOrderByField = exports.AppObserveLogsOrderByField = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppObserveErrorSeverity = exports.AppObserveErrorOccurrencesOrderByField = exports.AppObserveErrorKind = exports.AppObserveErrorGroupsOrderBy = exports.AppObserveErrorBreakdownDimension = exports.AppObserveCustomEventNamesOrderByField = exports.AppObserveCustomEventNamesOrderByDirection = exports.AppObserveCustomEventListOrderByField = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.AgentProviderConnectionStatus = exports.AgentProviderConnectionAuthorizationStatus = exports.AgentProvider = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = void 0;
10
- 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.DeviceRunSessionEgress = 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 = void 0;
11
- exports.SupabaseAdvisorType = exports.SupabaseAdvisorLintLevel = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.SandboxStatus = exports.SandboxResourceClass = exports.SandboxOperatingSystem = 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 = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = 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 = 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 = void 0;
10
+ 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.DeviceRunSessionRequestOrigin = exports.DeviceRunSessionEgress = 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 = void 0;
11
+ exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SourceMapSourceType = exports.SecondFactorMethod = exports.SandboxStatus = exports.SandboxResourceClass = exports.SandboxOperatingSystem = 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 = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = exports.GitHubAppInstallationStatus = 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 = 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.SupabaseAdvisorType = exports.SupabaseAdvisorLintLevel = void 0;
13
13
  var AccountAppsSortByField;
14
14
  (function (AccountAppsSortByField) {
15
15
  AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
@@ -524,6 +524,16 @@ var DeviceRunSessionEgress;
524
524
  */
525
525
  DeviceRunSessionEgress["Local"] = "LOCAL";
526
526
  })(DeviceRunSessionEgress || (exports.DeviceRunSessionEgress = DeviceRunSessionEgress = {}));
527
+ /**
528
+ * The client that sent a session creation request, as reported by that client. Recorded
529
+ * for analytics only and never used for authorization.
530
+ */
531
+ var DeviceRunSessionRequestOrigin;
532
+ (function (DeviceRunSessionRequestOrigin) {
533
+ DeviceRunSessionRequestOrigin["EasCli"] = "EAS_CLI";
534
+ DeviceRunSessionRequestOrigin["Mcp"] = "MCP";
535
+ DeviceRunSessionRequestOrigin["Website"] = "WEBSITE";
536
+ })(DeviceRunSessionRequestOrigin || (exports.DeviceRunSessionRequestOrigin = DeviceRunSessionRequestOrigin = {}));
527
537
  var DeviceRunSessionResourceClass;
528
538
  (function (DeviceRunSessionResourceClass) {
529
539
  DeviceRunSessionResourceClass["Large"] = "LARGE";
@@ -534,6 +544,10 @@ var DeviceRunSessionStatus;
534
544
  DeviceRunSessionStatus["Errored"] = "ERRORED";
535
545
  DeviceRunSessionStatus["InProgress"] = "IN_PROGRESS";
536
546
  DeviceRunSessionStatus["New"] = "NEW";
547
+ /** The session's job run waits in the queue for a worker. */
548
+ DeviceRunSessionStatus["Queued"] = "QUEUED";
549
+ /** A worker runs the session's job and prepares the virtual device. */
550
+ DeviceRunSessionStatus["Starting"] = "STARTING";
537
551
  DeviceRunSessionStatus["Stopped"] = "STOPPED";
538
552
  })(DeviceRunSessionStatus || (exports.DeviceRunSessionStatus = DeviceRunSessionStatus = {}));
539
553
  var DeviceRunSessionType;
@@ -991,7 +1005,9 @@ var Role;
991
1005
  Role["Admin"] = "ADMIN";
992
1006
  Role["Custom"] = "CUSTOM";
993
1007
  Role["Developer"] = "DEVELOPER";
1008
+ /** @deprecated No longer supported */
994
1009
  Role["HasAdmin"] = "HAS_ADMIN";
1010
+ /** @deprecated No longer supported */
995
1011
  Role["NotAdmin"] = "NOT_ADMIN";
996
1012
  Role["Owner"] = "OWNER";
997
1013
  Role["ReleaseManager"] = "RELEASE_MANAGER";
@@ -1024,6 +1040,10 @@ var SecondFactorMethod;
1024
1040
  */
1025
1041
  SecondFactorMethod["Sms"] = "SMS";
1026
1042
  })(SecondFactorMethod || (exports.SecondFactorMethod = SecondFactorMethod = {}));
1043
+ var SourceMapSourceType;
1044
+ (function (SourceMapSourceType) {
1045
+ SourceMapSourceType["Gcs"] = "GCS";
1046
+ })(SourceMapSourceType || (exports.SourceMapSourceType = SourceMapSourceType = {}));
1027
1047
  var StandardOffer;
1028
1048
  (function (StandardOffer) {
1029
1049
  /** $29 USD per month, 30 day trial */
@@ -1164,6 +1184,7 @@ var UploadSessionType;
1164
1184
  UploadSessionType["EasSubmitGcsAppArchive"] = "EAS_SUBMIT_GCS_APP_ARCHIVE";
1165
1185
  UploadSessionType["EasUpdateAssetsMetadata"] = "EAS_UPDATE_ASSETS_METADATA";
1166
1186
  UploadSessionType["EasUpdateFingerprint"] = "EAS_UPDATE_FINGERPRINT";
1187
+ UploadSessionType["EasUpdateSourceMaps"] = "EAS_UPDATE_SOURCE_MAPS";
1167
1188
  })(UploadSessionType || (exports.UploadSessionType = UploadSessionType = {}));
1168
1189
  var UsageMetricType;
1169
1190
  (function (UsageMetricType) {
@@ -1358,6 +1379,7 @@ var WorkflowJobType;
1358
1379
  WorkflowJobType["Testflight"] = "TESTFLIGHT";
1359
1380
  WorkflowJobType["Update"] = "UPDATE";
1360
1381
  WorkflowJobType["UpdateRollout"] = "UPDATE_ROLLOUT";
1382
+ WorkflowJobType["WorkflowCall"] = "WORKFLOW_CALL";
1361
1383
  })(WorkflowJobType || (exports.WorkflowJobType = WorkflowJobType = {}));
1362
1384
  var WorkflowProjectSourceType;
1363
1385
  (function (WorkflowProjectSourceType) {
@@ -1396,6 +1418,11 @@ var WorkflowRunTriggerEventType;
1396
1418
  WorkflowRunTriggerEventType["Manual"] = "MANUAL";
1397
1419
  WorkflowRunTriggerEventType["RepackExpoGo"] = "REPACK_EXPO_GO";
1398
1420
  WorkflowRunTriggerEventType["Schedule"] = "SCHEDULE";
1421
+ WorkflowRunTriggerEventType["SentryIssueArchived"] = "SENTRY_ISSUE_ARCHIVED";
1422
+ WorkflowRunTriggerEventType["SentryIssueAssigned"] = "SENTRY_ISSUE_ASSIGNED";
1423
+ WorkflowRunTriggerEventType["SentryIssueCreated"] = "SENTRY_ISSUE_CREATED";
1424
+ WorkflowRunTriggerEventType["SentryIssueResolved"] = "SENTRY_ISSUE_RESOLVED";
1425
+ WorkflowRunTriggerEventType["SentryIssueUnresolved"] = "SENTRY_ISSUE_UNRESOLVED";
1399
1426
  })(WorkflowRunTriggerEventType || (exports.WorkflowRunTriggerEventType = WorkflowRunTriggerEventType = {}));
1400
1427
  var WorkflowsInsightsExportFormat;
1401
1428
  (function (WorkflowsInsightsExportFormat) {
package/build/ora.js CHANGED
@@ -29,13 +29,19 @@ function isSpinnerEnabled() {
29
29
  function ora(options) {
30
30
  const inputOptions = typeof options === 'string' ? { text: options } : (options ?? {});
31
31
  const disabled = !isSpinnerEnabled();
32
+ // In non-interactive mode, send the stream to stdout so it prevents looking like an error.
33
+ const stream = inputOptions.stream ?? (disabled ? process.stdout : process.stderr);
32
34
  const spinner = (0, ora_1.default)({
33
35
  // Ensure our non-interactive mode emulates CI mode.
34
36
  isEnabled: !disabled,
35
- // In non-interactive mode, send the stream to stdout so it prevents looking like an error.
36
- stream: disabled ? process.stdout : process.stderr,
37
37
  ...inputOptions,
38
+ stream,
38
39
  });
40
+ // ora only recounts the wrapped lines of its text when the text changes. After the
41
+ // terminal gets narrower, it clears too few lines and every frame leaves a copy behind.
42
+ const onResize = () => {
43
+ spinner.text = spinner.text;
44
+ };
39
45
  const oraStart = spinner.start.bind(spinner);
40
46
  const oraStop = spinner.stop.bind(spinner);
41
47
  const oraStopAndPersist = spinner.stopAndPersist.bind(spinner);
@@ -89,17 +95,21 @@ function ora(options) {
89
95
  // Skipping wrapping native logs removes the repeated interleaved "Exporting..." messages.
90
96
  if (!disabled) {
91
97
  wrapNativeLogs();
98
+ stream.off('resize', onResize);
99
+ stream.on('resize', onResize);
92
100
  }
93
101
  return oraStart(text);
94
102
  };
95
103
  spinner.stopAndPersist = (options) => {
96
104
  const result = oraStopAndPersist(options);
97
105
  resetNativeLogs();
106
+ stream.off('resize', onResize);
98
107
  return result;
99
108
  };
100
109
  spinner.stop = () => {
101
110
  const result = oraStop();
102
111
  resetNativeLogs();
112
+ stream.off('resize', onResize);
103
113
  return result;
104
114
  };
105
115
  return spinner;
@@ -0,0 +1,34 @@
1
+ import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
2
+ import { SourceMapSourceInput } from '../graphql/generated';
3
+ /** Platforms for which EAS stores a source map. The GraphQL SourceMapGroup input has no `web`. */
4
+ export declare const SOURCE_MAP_PLATFORMS: readonly ["android", "ios"];
5
+ export type SourceMapPlatform = (typeof SOURCE_MAP_PLATFORMS)[number];
6
+ export type SourceMapSources = Partial<Record<SourceMapPlatform, SourceMapSourceInput>>;
7
+ /**
8
+ * Maximum size the EAS upload session accepts for a source map. Mirrors `maxSizeBytes` for
9
+ * `GCS_EAS_UPDATE_SOURCE_MAPS` in the server's upload configuration.
10
+ */
11
+ export declare const MAX_SOURCE_MAP_SIZE_BYTES: number;
12
+ export declare function isSourceMapPlatform(platform: string): platform is SourceMapPlatform;
13
+ /**
14
+ * Upload the source map that `expo export` emitted for each native platform.
15
+ *
16
+ * Publishing must never fail because of a source map, so every failure path warns and yields no
17
+ * entry for that platform.
18
+ */
19
+ export declare function maybeUploadSourceMapsAsync(distRoot: string, graphqlClient: ExpoGraphqlClient): Promise<SourceMapSources | null>;
20
+ /**
21
+ * Find the source map for each native platform in the export directory.
22
+ *
23
+ * The maps are not listed in metadata.json, so they are located relative to the bundle that
24
+ * metadata.json does name. That ties each map to the bundle actually being published.
25
+ */
26
+ export declare function resolveSourceMapPathsAsync(distRoot: string): Promise<Partial<Record<SourceMapPlatform, string>>>;
27
+ /**
28
+ * Write a copy of the source map with every `sourcesContent` removed.
29
+ *
30
+ * Symbolication needs `mappings`, `sources` and `names`; `sourcesContent` only supplies the source
31
+ * text shown around a frame, and it is the bulk of a Hermes source map. The copy goes to a temporary
32
+ * directory so the export directory is left untouched.
33
+ */
34
+ export declare function stripSourcesContentAsync(sourceMapPath: string, platform: SourceMapPlatform): Promise<string>;