eas-cli 24.8.0 → 24.9.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.
- package/README.md +222 -204
- package/build/commandUtils/workflow/validation.js +11 -2
- package/build/commands/simulator/events.js +4 -2
- package/build/commands/simulator/get.js +1 -0
- package/build/commands/simulator/index.js +11 -10
- package/build/commands/simulator/list.js +4 -2
- package/build/commands/submit/internal.d.ts +4 -1
- package/build/commands/submit/internal.js +20 -2
- package/build/commands/update/index.d.ts +2 -0
- package/build/commands/update/index.js +45 -4
- package/build/commands/update/republish.d.ts +1 -0
- package/build/commands/update/republish.js +6 -0
- package/build/commands/update/roll-back-to-embedded.d.ts +1 -0
- package/build/commands/update/roll-back-to-embedded.js +7 -1
- package/build/commands/update/rollback.d.ts +1 -0
- package/build/commands/update/rollback.js +11 -3
- package/build/commands/workflow/validate.js +1 -0
- package/build/graphql/generated.d.ts +181 -19
- package/build/graphql/generated.js +30 -3
- package/build/ora.js +12 -2
- package/build/project/maybeUploadSourceMapsAsync.d.ts +34 -0
- package/build/project/maybeUploadSourceMapsAsync.js +156 -0
- package/build/simulator/egress.d.ts +11 -4
- package/build/simulator/egress.js +72 -10
- package/build/simulator/env.d.ts +1 -0
- package/build/simulator/env.js +4 -1
- package/build/simulator/utils.d.ts +15 -5
- package/build/simulator/utils.js +33 -11
- package/build/update/active-rollout.d.ts +8 -0
- package/build/update/active-rollout.js +82 -0
- package/build/update/republish.d.ts +4 -1
- package/build/update/republish.js +13 -3
- package/build/update/roll-back-to-embedded.d.ts +4 -1
- package/build/update/roll-back-to-embedded.js +14 -3
- package/build/uploads.js +5 -1
- package/build/user/expoBrowserAuthFlowLauncher.js +0 -1
- package/oclif.manifest.json +205 -149
- 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
|
|
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.
|
|
5490
|
-
* sessions on IOS.
|
|
5529
|
+
* omitted, all traffic exits from EAS infrastructure.
|
|
5491
5530
|
*/
|
|
5492
5531
|
egress?: InputMaybe<DeviceRunSessionEgress>;
|
|
5493
5532
|
/**
|
|
@@ -5519,8 +5558,9 @@ 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
|
|
5523
|
-
*
|
|
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']>;
|
|
5526
5566
|
/**
|
|
@@ -5534,6 +5574,11 @@ export type CreateDeviceRunSessionInput = {
|
|
|
5534
5574
|
*/
|
|
5535
5575
|
packageVersion?: InputMaybe<Scalars['String']['input']>;
|
|
5536
5576
|
platform: AppPlatform;
|
|
5577
|
+
/**
|
|
5578
|
+
* The client sending this request, recorded for analytics only. Omit it when the
|
|
5579
|
+
* client is not one of the listed values; the session is then reported as unknown.
|
|
5580
|
+
*/
|
|
5581
|
+
requestOrigin?: InputMaybe<DeviceRunSessionRequestOrigin>;
|
|
5537
5582
|
resourceClass?: InputMaybe<DeviceRunSessionResourceClass>;
|
|
5538
5583
|
/**
|
|
5539
5584
|
* Expo SDK version used to select an Expo Go application archive. Only supported when expoGo is
|
|
@@ -5878,6 +5923,10 @@ export type DeleteCustomDomainResult = {
|
|
|
5878
5923
|
hostname: Scalars['String']['output'];
|
|
5879
5924
|
id: Scalars['ID']['output'];
|
|
5880
5925
|
};
|
|
5926
|
+
export type DeleteDeviceRunSessionResult = {
|
|
5927
|
+
__typename?: 'DeleteDeviceRunSessionResult';
|
|
5928
|
+
id: Scalars['ID']['output'];
|
|
5929
|
+
};
|
|
5881
5930
|
export type DeleteDiscordUserResult = {
|
|
5882
5931
|
__typename?: 'DeleteDiscordUserResult';
|
|
5883
5932
|
id: Scalars['ID']['output'];
|
|
@@ -6087,8 +6136,8 @@ export type DeviceRunSession = {
|
|
|
6087
6136
|
*/
|
|
6088
6137
|
maxIdleTimeMinutes?: Maybe<Scalars['Int']['output']>;
|
|
6089
6138
|
/**
|
|
6090
|
-
* Human-readable label
|
|
6091
|
-
* session
|
|
6139
|
+
* Human-readable label set when the session is created or changed later with
|
|
6140
|
+
* updateDeviceRunSession. Null when the session has no name.
|
|
6092
6141
|
*/
|
|
6093
6142
|
name?: Maybe<Scalars['String']['output']>;
|
|
6094
6143
|
/**
|
|
@@ -6152,7 +6201,7 @@ export type DeviceRunSessionEventLogUploadSession = {
|
|
|
6152
6201
|
url: Scalars['String']['output'];
|
|
6153
6202
|
};
|
|
6154
6203
|
export type DeviceRunSessionFilterInput = {
|
|
6155
|
-
/** Case-insensitive
|
|
6204
|
+
/** Case-insensitive match anywhere in the session name. */
|
|
6156
6205
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
6157
6206
|
platforms?: InputMaybe<Array<AppPlatform>>;
|
|
6158
6207
|
statuses?: InputMaybe<Array<DeviceRunSessionStatus>>;
|
|
@@ -6171,6 +6220,11 @@ export type DeviceRunSessionMutation = {
|
|
|
6171
6220
|
* overwriting its structured event log while the backing job run is running.
|
|
6172
6221
|
*/
|
|
6173
6222
|
createEventLogUploadSession: CreateDeviceRunSessionEventLogUploadSessionResult;
|
|
6223
|
+
/**
|
|
6224
|
+
* Permanently delete a finished session and its artifacts. The backing job,
|
|
6225
|
+
* if present, must also have finished. Returns the deleted session ID.
|
|
6226
|
+
*/
|
|
6227
|
+
deleteDeviceRunSession: DeleteDeviceRunSessionResult;
|
|
6174
6228
|
/**
|
|
6175
6229
|
* Ensure a device run session is stopped. Idempotent: if the session has already
|
|
6176
6230
|
* finished, the existing session is returned unchanged (an ERRORED session stays
|
|
@@ -6179,6 +6233,11 @@ export type DeviceRunSessionMutation = {
|
|
|
6179
6233
|
ensureDeviceRunSessionStopped: DeviceRunSession;
|
|
6180
6234
|
/** Mark a device run session as started and persist remote connection details */
|
|
6181
6235
|
startDeviceRunSession: DeviceRunSession;
|
|
6236
|
+
/**
|
|
6237
|
+
* Update a device run session name and tags, including on sessions
|
|
6238
|
+
* that have already finished.
|
|
6239
|
+
*/
|
|
6240
|
+
updateDeviceRunSession: DeviceRunSession;
|
|
6182
6241
|
};
|
|
6183
6242
|
export type DeviceRunSessionMutation_CreateArtifactUploadSessionArgs = {
|
|
6184
6243
|
deviceRunSessionId: Scalars['ID']['input'];
|
|
@@ -6190,6 +6249,9 @@ export type DeviceRunSessionMutation_CreateDeviceRunSessionArgs = {
|
|
|
6190
6249
|
export type DeviceRunSessionMutation_CreateEventLogUploadSessionArgs = {
|
|
6191
6250
|
deviceRunSessionId: Scalars['ID']['input'];
|
|
6192
6251
|
};
|
|
6252
|
+
export type DeviceRunSessionMutation_DeleteDeviceRunSessionArgs = {
|
|
6253
|
+
deviceRunSessionId: Scalars['ID']['input'];
|
|
6254
|
+
};
|
|
6193
6255
|
export type DeviceRunSessionMutation_EnsureDeviceRunSessionStoppedArgs = {
|
|
6194
6256
|
deviceRunSessionId: Scalars['ID']['input'];
|
|
6195
6257
|
};
|
|
@@ -6197,14 +6259,34 @@ export type DeviceRunSessionMutation_StartDeviceRunSessionArgs = {
|
|
|
6197
6259
|
deviceRunSessionId: Scalars['ID']['input'];
|
|
6198
6260
|
remoteConfig: Scalars['JSONObject']['input'];
|
|
6199
6261
|
};
|
|
6262
|
+
export type DeviceRunSessionMutation_UpdateDeviceRunSessionArgs = {
|
|
6263
|
+
deviceRunSessionId: Scalars['ID']['input'];
|
|
6264
|
+
input: UpdateDeviceRunSessionInput;
|
|
6265
|
+
};
|
|
6266
|
+
/** Virtual device profiles available for new device run sessions. */
|
|
6267
|
+
export type DeviceRunSessionProfiles = {
|
|
6268
|
+
__typename?: 'DeviceRunSessionProfiles';
|
|
6269
|
+
android: AndroidDeviceRunSessionProfiles;
|
|
6270
|
+
ios: IosDeviceRunSessionProfiles;
|
|
6271
|
+
};
|
|
6200
6272
|
export type DeviceRunSessionQuery = {
|
|
6201
6273
|
__typename?: 'DeviceRunSessionQuery';
|
|
6202
6274
|
byId: DeviceRunSession;
|
|
6275
|
+
profiles: DeviceRunSessionProfiles;
|
|
6203
6276
|
};
|
|
6204
6277
|
export type DeviceRunSessionQuery_ByIdArgs = {
|
|
6205
6278
|
deviceRunSessionId: Scalars['ID']['input'];
|
|
6206
6279
|
};
|
|
6207
6280
|
export type DeviceRunSessionRemoteConfig = AgentDeviceRunSessionRemoteConfig | AppiumRunSessionRemoteConfig | ArgentRunSessionRemoteConfig | ServeSimRunSessionRemoteConfig | WebPreviewOnlyRunSessionRemoteConfig;
|
|
6281
|
+
/**
|
|
6282
|
+
* The client that sent a session creation request, as reported by that client. Recorded
|
|
6283
|
+
* for analytics only and never used for authorization.
|
|
6284
|
+
*/
|
|
6285
|
+
export declare enum DeviceRunSessionRequestOrigin {
|
|
6286
|
+
EasCli = "EAS_CLI",
|
|
6287
|
+
Mcp = "MCP",
|
|
6288
|
+
Website = "WEBSITE"
|
|
6289
|
+
}
|
|
6208
6290
|
export declare enum DeviceRunSessionResourceClass {
|
|
6209
6291
|
Large = "LARGE",
|
|
6210
6292
|
Medium = "MEDIUM"
|
|
@@ -6213,6 +6295,10 @@ export declare enum DeviceRunSessionStatus {
|
|
|
6213
6295
|
Errored = "ERRORED",
|
|
6214
6296
|
InProgress = "IN_PROGRESS",
|
|
6215
6297
|
New = "NEW",
|
|
6298
|
+
/** The session's job run waits in the queue for a worker. */
|
|
6299
|
+
Queued = "QUEUED",
|
|
6300
|
+
/** A worker runs the session's job and prepares the virtual device. */
|
|
6301
|
+
Starting = "STARTING",
|
|
6216
6302
|
Stopped = "STOPPED"
|
|
6217
6303
|
}
|
|
6218
6304
|
export declare enum DeviceRunSessionType {
|
|
@@ -7791,7 +7877,10 @@ export type GitHubUserMutation = {
|
|
|
7791
7877
|
__typename?: 'GitHubUserMutation';
|
|
7792
7878
|
/** Delete a GitHub User by ID */
|
|
7793
7879
|
deleteGitHubUser: DeleteGitHubUserResult;
|
|
7794
|
-
/**
|
|
7880
|
+
/**
|
|
7881
|
+
* Generate a GitHub User Access Token
|
|
7882
|
+
* @deprecated This mutation is scheduled for removal.
|
|
7883
|
+
*/
|
|
7795
7884
|
generateGitHubUserAccessToken?: Maybe<Scalars['String']['output']>;
|
|
7796
7885
|
};
|
|
7797
7886
|
export type GitHubUserMutation_DeleteGitHubUserArgs = {
|
|
@@ -8057,6 +8146,17 @@ export type IosBuilderEnvironmentInput = {
|
|
|
8057
8146
|
pnpm?: InputMaybe<Scalars['String']['input']>;
|
|
8058
8147
|
yarn?: InputMaybe<Scalars['String']['input']>;
|
|
8059
8148
|
};
|
|
8149
|
+
export type IosDeviceRunSessionDevice = {
|
|
8150
|
+
__typename?: 'IosDeviceRunSessionDevice';
|
|
8151
|
+
/** Human-readable device name to show to users (e.g. "iPhone 17 Pro"). */
|
|
8152
|
+
displayName: Scalars['String']['output'];
|
|
8153
|
+
/** Simulator device name accepted by ios.deviceIdentifier (e.g. "iPhone 17 Pro"). */
|
|
8154
|
+
identifier: Scalars['String']['output'];
|
|
8155
|
+
};
|
|
8156
|
+
export type IosDeviceRunSessionProfiles = {
|
|
8157
|
+
__typename?: 'IosDeviceRunSessionProfiles';
|
|
8158
|
+
devices: Array<IosDeviceRunSessionDevice>;
|
|
8159
|
+
};
|
|
8060
8160
|
export declare enum IosDistributionType {
|
|
8061
8161
|
AdHoc = "AD_HOC",
|
|
8062
8162
|
AppStore = "APP_STORE",
|
|
@@ -8805,6 +8905,7 @@ export type PublishUpdateGroupInput = {
|
|
|
8805
8905
|
rollBackToEmbeddedInfoGroup?: InputMaybe<UpdateRollBackToEmbeddedGroup>;
|
|
8806
8906
|
rolloutInfoGroup?: InputMaybe<UpdateRolloutInfoGroup>;
|
|
8807
8907
|
runtimeVersion: Scalars['String']['input'];
|
|
8908
|
+
sourceMapGroup?: InputMaybe<SourceMapGroup>;
|
|
8808
8909
|
turtleJobRunId?: InputMaybe<Scalars['String']['input']>;
|
|
8809
8910
|
updateInfoGroup?: InputMaybe<UpdateInfoGroup>;
|
|
8810
8911
|
};
|
|
@@ -8968,7 +9069,9 @@ export declare enum Role {
|
|
|
8968
9069
|
Admin = "ADMIN",
|
|
8969
9070
|
Custom = "CUSTOM",
|
|
8970
9071
|
Developer = "DEVELOPER",
|
|
9072
|
+
/** @deprecated No longer supported */
|
|
8971
9073
|
HasAdmin = "HAS_ADMIN",
|
|
9074
|
+
/** @deprecated No longer supported */
|
|
8972
9075
|
NotAdmin = "NOT_ADMIN",
|
|
8973
9076
|
Owner = "OWNER",
|
|
8974
9077
|
ReleaseManager = "RELEASE_MANAGER",
|
|
@@ -9032,7 +9135,7 @@ export type RootMutation = {
|
|
|
9032
9135
|
deployments: DeploymentsMutation;
|
|
9033
9136
|
/** Mutations that assign or modify DevDomainNames for apps */
|
|
9034
9137
|
devDomainName: AppDevDomainNameMutation;
|
|
9035
|
-
/** Mutations that create, start, and
|
|
9138
|
+
/** Mutations that create, start, stop, and update device run sessions */
|
|
9036
9139
|
deviceRunSession: DeviceRunSessionMutation;
|
|
9037
9140
|
/** Mutations for Discord users */
|
|
9038
9141
|
discordUser: DiscordUserMutation;
|
|
@@ -9712,6 +9815,17 @@ export type SnackQuery = {
|
|
|
9712
9815
|
export type SnackQuery_ByHashIdArgs = {
|
|
9713
9816
|
hashId: Scalars['ID']['input'];
|
|
9714
9817
|
};
|
|
9818
|
+
export type SourceMapGroup = {
|
|
9819
|
+
android?: InputMaybe<SourceMapSourceInput>;
|
|
9820
|
+
ios?: InputMaybe<SourceMapSourceInput>;
|
|
9821
|
+
};
|
|
9822
|
+
export type SourceMapSourceInput = {
|
|
9823
|
+
bucketKey: Scalars['String']['input'];
|
|
9824
|
+
type: SourceMapSourceType;
|
|
9825
|
+
};
|
|
9826
|
+
export declare enum SourceMapSourceType {
|
|
9827
|
+
Gcs = "GCS"
|
|
9828
|
+
}
|
|
9715
9829
|
export declare enum StandardOffer {
|
|
9716
9830
|
/** $29 USD per month, 30 day trial */
|
|
9717
9831
|
Default = "DEFAULT",
|
|
@@ -10175,7 +10289,6 @@ export type TurtleSshConnectionConfig = {
|
|
|
10175
10289
|
type: TurtleSshTransportType;
|
|
10176
10290
|
};
|
|
10177
10291
|
export type TurtleSshConnectionConfigInput = {
|
|
10178
|
-
host: Scalars['String']['input'];
|
|
10179
10292
|
reconnecting?: InputMaybe<Scalars['Boolean']['input']>;
|
|
10180
10293
|
secret: Scalars['String']['input'];
|
|
10181
10294
|
type: TurtleSshTransportType;
|
|
@@ -10484,6 +10597,19 @@ export type UpdateDeploymentsConnection = {
|
|
|
10484
10597
|
edges: Array<UpdateDeploymentEdge>;
|
|
10485
10598
|
pageInfo: PageInfo;
|
|
10486
10599
|
};
|
|
10600
|
+
export type UpdateDeviceRunSessionInput = {
|
|
10601
|
+
/**
|
|
10602
|
+
* New human-readable label for the session, at most 255 characters after leading
|
|
10603
|
+
* and trailing whitespace is trimmed. Pass null to clear the name so clients fall
|
|
10604
|
+
* back to identifying the session by id.
|
|
10605
|
+
*/
|
|
10606
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
10607
|
+
/**
|
|
10608
|
+
* Replace the session tags. Tags are trimmed, lowercased and deduplicated.
|
|
10609
|
+
* Pass an empty list or null to clear them. Omit to leave tags unchanged.
|
|
10610
|
+
*/
|
|
10611
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
10612
|
+
};
|
|
10487
10613
|
export type UpdateDiffReceipt = {
|
|
10488
10614
|
__typename?: 'UpdateDiffReceipt';
|
|
10489
10615
|
appId: Scalars['ID']['output'];
|
|
@@ -10780,7 +10906,8 @@ export declare enum UploadSessionType {
|
|
|
10780
10906
|
EasSubmitAppArchive = "EAS_SUBMIT_APP_ARCHIVE",
|
|
10781
10907
|
EasSubmitGcsAppArchive = "EAS_SUBMIT_GCS_APP_ARCHIVE",
|
|
10782
10908
|
EasUpdateAssetsMetadata = "EAS_UPDATE_ASSETS_METADATA",
|
|
10783
|
-
EasUpdateFingerprint = "EAS_UPDATE_FINGERPRINT"
|
|
10909
|
+
EasUpdateFingerprint = "EAS_UPDATE_FINGERPRINT",
|
|
10910
|
+
EasUpdateSourceMaps = "EAS_UPDATE_SOURCE_MAPS"
|
|
10784
10911
|
}
|
|
10785
10912
|
export type UsageBudget = {
|
|
10786
10913
|
__typename?: 'UsageBudget';
|
|
@@ -11191,7 +11318,10 @@ export type UserInvitation = {
|
|
|
11191
11318
|
isForOrganization: Scalars['Boolean']['output'];
|
|
11192
11319
|
/** Account permissions to be granted upon acceptance of this invitation */
|
|
11193
11320
|
permissions: Array<Permission>;
|
|
11194
|
-
/**
|
|
11321
|
+
/**
|
|
11322
|
+
* Role to be granted upon acceptance of this invitation
|
|
11323
|
+
* @deprecated Derive role from permissions instead
|
|
11324
|
+
*/
|
|
11195
11325
|
role: Role;
|
|
11196
11326
|
};
|
|
11197
11327
|
export type UserInvitationMutation = {
|
|
@@ -11292,6 +11422,7 @@ export type UserPermission = {
|
|
|
11292
11422
|
/** Composite identifier for this account membership (accountId:actorId) */
|
|
11293
11423
|
id: Scalars['ID']['output'];
|
|
11294
11424
|
permissions: Array<Permission>;
|
|
11425
|
+
/** @deprecated Derive role from permissions instead */
|
|
11295
11426
|
role: Role;
|
|
11296
11427
|
userActor?: Maybe<UserActor>;
|
|
11297
11428
|
};
|
|
@@ -12068,8 +12199,9 @@ export type WorkflowDeviceTestCaseInsights_TimeSeriesArgs = {
|
|
|
12068
12199
|
};
|
|
12069
12200
|
/**
|
|
12070
12201
|
* Mutually exclusive bucket counts (passedClean + flaky + failed = totalRuns for the bucket).
|
|
12071
|
-
* Buckets
|
|
12072
|
-
*
|
|
12202
|
+
* Buckets start at the requested timespan start and advance by the granularity interval, so
|
|
12203
|
+
* their boundaries follow the requested range. The last bucket is shorter when the timespan is
|
|
12204
|
+
* not a whole number of intervals.
|
|
12073
12205
|
*/
|
|
12074
12206
|
export type WorkflowDeviceTestCaseInsightsBucket = {
|
|
12075
12207
|
__typename?: 'WorkflowDeviceTestCaseInsightsBucket';
|
|
@@ -12422,7 +12554,8 @@ export declare enum WorkflowJobType {
|
|
|
12422
12554
|
Submission = "SUBMISSION",
|
|
12423
12555
|
Testflight = "TESTFLIGHT",
|
|
12424
12556
|
Update = "UPDATE",
|
|
12425
|
-
UpdateRollout = "UPDATE_ROLLOUT"
|
|
12557
|
+
UpdateRollout = "UPDATE_ROLLOUT",
|
|
12558
|
+
WorkflowCall = "WORKFLOW_CALL"
|
|
12426
12559
|
}
|
|
12427
12560
|
export type WorkflowProjectSourceInput = {
|
|
12428
12561
|
easJsonBucketKey?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -12652,7 +12785,12 @@ export declare enum WorkflowRunTriggerEventType {
|
|
|
12652
12785
|
GithubRefDelete = "GITHUB_REF_DELETE",
|
|
12653
12786
|
Manual = "MANUAL",
|
|
12654
12787
|
RepackExpoGo = "REPACK_EXPO_GO",
|
|
12655
|
-
Schedule = "SCHEDULE"
|
|
12788
|
+
Schedule = "SCHEDULE",
|
|
12789
|
+
SentryIssueArchived = "SENTRY_ISSUE_ARCHIVED",
|
|
12790
|
+
SentryIssueAssigned = "SENTRY_ISSUE_ASSIGNED",
|
|
12791
|
+
SentryIssueCreated = "SENTRY_ISSUE_CREATED",
|
|
12792
|
+
SentryIssueResolved = "SENTRY_ISSUE_RESOLVED",
|
|
12793
|
+
SentryIssueUnresolved = "SENTRY_ISSUE_UNRESOLVED"
|
|
12656
12794
|
}
|
|
12657
12795
|
export type WorkflowRunsConnection = {
|
|
12658
12796
|
__typename?: 'WorkflowRunsConnection';
|
|
@@ -22624,6 +22762,30 @@ export type WorkflowJobSshPollQuery = {
|
|
|
22624
22762
|
};
|
|
22625
22763
|
};
|
|
22626
22764
|
};
|
|
22765
|
+
export type BuildSshPollQueryVariables = Exact<{
|
|
22766
|
+
buildId: Scalars['ID']['input'];
|
|
22767
|
+
}>;
|
|
22768
|
+
export type BuildSshPollQuery = {
|
|
22769
|
+
__typename?: 'RootQuery';
|
|
22770
|
+
builds: {
|
|
22771
|
+
__typename?: 'BuildQuery';
|
|
22772
|
+
byId: {
|
|
22773
|
+
__typename?: 'Build';
|
|
22774
|
+
id: string;
|
|
22775
|
+
status: BuildStatus;
|
|
22776
|
+
sshSession?: {
|
|
22777
|
+
__typename?: 'TurtleSshSession';
|
|
22778
|
+
id: string;
|
|
22779
|
+
connectionConfig: {
|
|
22780
|
+
__typename?: 'TurtleSshConnectionConfig';
|
|
22781
|
+
host: string;
|
|
22782
|
+
secret: string;
|
|
22783
|
+
reconnecting: boolean;
|
|
22784
|
+
};
|
|
22785
|
+
} | null;
|
|
22786
|
+
};
|
|
22787
|
+
};
|
|
22788
|
+
};
|
|
22627
22789
|
export type JobRunSshPollQueryVariables = Exact<{
|
|
22628
22790
|
jobRunId: Scalars['ID']['input'];
|
|
22629
22791
|
}>;
|
|
@@ -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.
|
|
11
|
-
exports.
|
|
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>;
|