eas-cli 1.1.0 → 2.0.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 +68 -46
- package/build/analytics/events.d.ts +4 -1
- package/build/analytics/events.js +3 -0
- package/build/build/createContext.js +1 -0
- package/build/build/ios/graphql.js +0 -1
- package/build/commandUtils/EasCommand.d.ts +2 -0
- package/build/commandUtils/EasCommand.js +44 -3
- package/build/commands/build/index.d.ts +2 -1
- package/build/commands/build/index.js +36 -18
- package/build/commands/submit.d.ts +2 -1
- package/build/commands/submit.js +28 -14
- package/build/commands/update/configure.js +54 -1
- package/build/commands/update/index.js +3 -0
- package/build/credentials/android/api/GraphqlClient.js +1 -1
- package/build/credentials/context.d.ts +3 -0
- package/build/credentials/context.js +1 -0
- package/build/credentials/ios/IosCredentialsProvider.d.ts +1 -0
- package/build/credentials/ios/IosCredentialsProvider.js +33 -5
- package/build/credentials/ios/api/GraphqlClient.js +1 -1
- package/build/credentials/ios/appstore/ascApiKey.d.ts +11 -0
- package/build/credentials/ios/appstore/ascApiKey.js +53 -3
- package/build/credentials/ios/appstore/bundleIdCapabilities.js +176 -15
- package/build/credentials/manager/ManageAndroid.js +2 -8
- package/build/credentials/manager/ManageIos.js +2 -4
- package/build/graphql/generated.d.ts +191 -39
- package/build/graphql/generated.js +39 -1
- package/build/{credentials/ios/api/graphql → graphql}/queries/AppQuery.d.ts +1 -1
- package/build/{credentials/ios/api/graphql → graphql}/queries/AppQuery.js +2 -2
- package/build/graphql/queries/EnvironmentSecretsQuery.d.ts +1 -1
- package/build/graphql/queries/EnvironmentSecretsQuery.js +2 -2
- package/build/graphql/queries/StatuspageServiceQuery.d.ts +4 -0
- package/build/graphql/queries/StatuspageServiceQuery.js +28 -0
- package/build/graphql/types/StatuspageService.d.ts +1 -0
- package/build/graphql/types/StatuspageService.js +19 -0
- package/build/project/ensureProjectExists.d.ts +0 -7
- package/build/project/ensureProjectExists.js +4 -14
- package/build/project/projectUtils.d.ts +0 -1
- package/build/project/projectUtils.js +9 -29
- package/build/submit/android/AndroidSubmitter.js +1 -1
- package/build/submit/submit.js +2 -2
- package/build/submit/utils/errors.js +2 -0
- package/build/utils/statuspageService.d.ts +2 -0
- package/build/utils/statuspageService.js +41 -0
- package/build/vcs/local.d.ts +1 -0
- package/build/vcs/local.js +11 -2
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
- package/build/graphql/queries/ProjectQuery.d.ts +0 -6
- package/build/graphql/queries/ProjectQuery.js +0 -24
|
@@ -372,6 +372,7 @@ exports.CapabilityMapping = [
|
|
|
372
372
|
{
|
|
373
373
|
// https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_networking_vpn_api
|
|
374
374
|
name: 'Push Notifications',
|
|
375
|
+
// com.apple.developer.aps-environment
|
|
375
376
|
entitlement: 'aps-environment',
|
|
376
377
|
capability: apple_utils_1.CapabilityType.PUSH_NOTIFICATIONS,
|
|
377
378
|
validateOptions: validateDevProdString,
|
|
@@ -410,6 +411,181 @@ exports.CapabilityMapping = [
|
|
|
410
411
|
validateOptions: validateDevProdString,
|
|
411
412
|
getOptions: getDefinedOptions,
|
|
412
413
|
},
|
|
414
|
+
{
|
|
415
|
+
entitlement: 'com.apple.developer.coremedia.hls.low-latency',
|
|
416
|
+
name: 'Low Latency HLS',
|
|
417
|
+
capability: apple_utils_1.CapabilityType.HLS_LOW_LATENCY,
|
|
418
|
+
validateOptions: validateBooleanOptions,
|
|
419
|
+
getOptions: getBooleanOptions,
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
entitlement: 'com.apple.developer.associated-domains.mdm-managed',
|
|
423
|
+
name: 'MDM Managed Associated Domains',
|
|
424
|
+
capability: apple_utils_1.CapabilityType.MDM_MANAGED_ASSOCIATED_DOMAINS,
|
|
425
|
+
validateOptions: validateBooleanOptions,
|
|
426
|
+
getOptions: getBooleanOptions,
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
entitlement: 'com.apple.developer.fileprovider.testing-mode',
|
|
430
|
+
name: 'FileProvider TestingMode',
|
|
431
|
+
capability: apple_utils_1.CapabilityType.FILE_PROVIDER_TESTING_MODE,
|
|
432
|
+
validateOptions: validateBooleanOptions,
|
|
433
|
+
getOptions: getBooleanOptions,
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
entitlement: 'com.apple.developer.healthkit.recalibrate-estimates',
|
|
437
|
+
name: 'Recalibrate Estimates',
|
|
438
|
+
capability: apple_utils_1.CapabilityType.HEALTH_KIT_RECALIBRATE_ESTIMATES,
|
|
439
|
+
validateOptions: validateBooleanOptions,
|
|
440
|
+
getOptions: getBooleanOptions,
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
entitlement: 'com.apple.developer.maps',
|
|
444
|
+
name: 'Maps',
|
|
445
|
+
capability: apple_utils_1.CapabilityType.MAPS,
|
|
446
|
+
validateOptions: validateBooleanOptions,
|
|
447
|
+
getOptions: getBooleanOptions,
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
entitlement: 'com.apple.developer.user-management',
|
|
451
|
+
name: 'TV Services',
|
|
452
|
+
capability: apple_utils_1.CapabilityType.USER_MANAGEMENT,
|
|
453
|
+
validateOptions: validateBooleanOptions,
|
|
454
|
+
getOptions: getBooleanOptions,
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
entitlement: 'com.apple.developer.networking.custom-protocol',
|
|
458
|
+
name: 'Custom Network Protocol',
|
|
459
|
+
capability: apple_utils_1.CapabilityType.NETWORK_CUSTOM_PROTOCOL,
|
|
460
|
+
validateOptions: validateBooleanOptions,
|
|
461
|
+
getOptions: getBooleanOptions,
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
entitlement: 'com.apple.developer.system-extension.install',
|
|
465
|
+
name: 'System Extension',
|
|
466
|
+
capability: apple_utils_1.CapabilityType.SYSTEM_EXTENSION_INSTALL,
|
|
467
|
+
validateOptions: validateBooleanOptions,
|
|
468
|
+
getOptions: getBooleanOptions,
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
entitlement: 'com.apple.developer.push-to-talk',
|
|
472
|
+
name: 'Push to Talk',
|
|
473
|
+
capability: apple_utils_1.CapabilityType.PUSH_TO_TALK,
|
|
474
|
+
validateOptions: validateBooleanOptions,
|
|
475
|
+
getOptions: getBooleanOptions,
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
entitlement: 'com.apple.developer.driverkit.transport.usb',
|
|
479
|
+
name: 'DriverKit USB Transport (development)',
|
|
480
|
+
capability: apple_utils_1.CapabilityType.DRIVER_KIT_USB_TRANSPORT_PUB,
|
|
481
|
+
validateOptions: validateBooleanOptions,
|
|
482
|
+
getOptions: getBooleanOptions,
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
entitlement: 'com.apple.developer.kernel.increased-memory-limit',
|
|
486
|
+
name: 'Increased Memory Limit',
|
|
487
|
+
capability: apple_utils_1.CapabilityType.INCREASED_MEMORY_LIMIT,
|
|
488
|
+
validateOptions: validateBooleanOptions,
|
|
489
|
+
getOptions: getBooleanOptions,
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
entitlement: 'com.apple.developer.driverkit.communicates-with-drivers',
|
|
493
|
+
name: 'Communicates with Drivers',
|
|
494
|
+
capability: apple_utils_1.CapabilityType.DRIVER_KIT_COMMUNICATES_WITH_DRIVERS,
|
|
495
|
+
validateOptions: validateBooleanOptions,
|
|
496
|
+
getOptions: getBooleanOptions,
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
entitlement: 'com.apple.developer.media-device-discovery-extension',
|
|
500
|
+
name: 'Media Device Discovery',
|
|
501
|
+
capability: apple_utils_1.CapabilityType.MEDIA_DEVICE_DISCOVERY,
|
|
502
|
+
validateOptions: validateBooleanOptions,
|
|
503
|
+
getOptions: getBooleanOptions,
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
entitlement: 'com.apple.developer.driverkit.allow-third-party-userclients',
|
|
507
|
+
name: 'DriverKit Allow Third Party UserClients',
|
|
508
|
+
capability: apple_utils_1.CapabilityType.DRIVER_KIT_ALLOW_THIRD_PARTY_USER_CLIENTS,
|
|
509
|
+
validateOptions: validateBooleanOptions,
|
|
510
|
+
getOptions: getBooleanOptions,
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
entitlement: 'com.apple.developer.weatherkit',
|
|
514
|
+
name: 'WeatherKit',
|
|
515
|
+
capability: apple_utils_1.CapabilityType.WEATHER_KIT,
|
|
516
|
+
validateOptions: validateBooleanOptions,
|
|
517
|
+
getOptions: getBooleanOptions,
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
entitlement: 'com.apple.developer.on-demand-install-capable',
|
|
521
|
+
name: 'On Demand Install Capable for App Clip Extensions',
|
|
522
|
+
capability: apple_utils_1.CapabilityType.ON_DEMAND_INSTALL_EXTENSIONS,
|
|
523
|
+
validateOptions: validateBooleanOptions,
|
|
524
|
+
getOptions: getBooleanOptions,
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
entitlement: 'com.apple.developer.driverkit.family.scsicontroller',
|
|
528
|
+
name: 'DriverKit Family SCSIController (development)',
|
|
529
|
+
capability: apple_utils_1.CapabilityType.DRIVER_KIT_FAMILY_SCSI_CONTROLLER_PUB,
|
|
530
|
+
validateOptions: validateBooleanOptions,
|
|
531
|
+
getOptions: getBooleanOptions,
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
entitlement: 'com.apple.developer.driverkit.family.serial',
|
|
535
|
+
name: 'DriverKit Family Serial (development)',
|
|
536
|
+
capability: apple_utils_1.CapabilityType.DRIVER_KIT_FAMILY_SERIAL_PUB,
|
|
537
|
+
validateOptions: validateBooleanOptions,
|
|
538
|
+
getOptions: getBooleanOptions,
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
entitlement: 'com.apple.developer.driverkit.family.networking',
|
|
542
|
+
name: 'DriverKit Family Networking (development)',
|
|
543
|
+
capability: apple_utils_1.CapabilityType.DRIVER_KIT_FAMILY_NETWORKING_PUB,
|
|
544
|
+
validateOptions: validateBooleanOptions,
|
|
545
|
+
getOptions: getBooleanOptions,
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
entitlement: 'com.apple.developer.driverkit.family.hid.eventservice',
|
|
549
|
+
name: 'DriverKit Family HID EventService (development)',
|
|
550
|
+
capability: apple_utils_1.CapabilityType.DRIVER_KIT_FAMILY_HID_EVENT_SERVICE_PUB,
|
|
551
|
+
validateOptions: validateBooleanOptions,
|
|
552
|
+
getOptions: getBooleanOptions,
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
entitlement: 'com.apple.developer.driverkit.family.hid.device',
|
|
556
|
+
name: 'DriverKit Family HID Device (development)',
|
|
557
|
+
capability: apple_utils_1.CapabilityType.DRIVER_KIT_FAMILY_HID_DEVICE_PUB,
|
|
558
|
+
validateOptions: validateBooleanOptions,
|
|
559
|
+
getOptions: getBooleanOptions,
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
entitlement: 'com.apple.developer.driverkit',
|
|
563
|
+
name: 'DriverKit for Development',
|
|
564
|
+
capability: apple_utils_1.CapabilityType.DRIVER_KIT_PUBLIC,
|
|
565
|
+
validateOptions: validateBooleanOptions,
|
|
566
|
+
getOptions: getBooleanOptions,
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
entitlement: 'com.apple.developer.driverkit.transport.hid',
|
|
570
|
+
name: 'DriverKit Transport HID (development)',
|
|
571
|
+
capability: apple_utils_1.CapabilityType.DRIVER_KIT_TRANSPORT_HID_PUB,
|
|
572
|
+
validateOptions: validateBooleanOptions,
|
|
573
|
+
getOptions: getBooleanOptions,
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
entitlement: 'com.apple.developer.driverkit.family.audio',
|
|
577
|
+
name: 'DriverKit Family Audio (development)',
|
|
578
|
+
capability: apple_utils_1.CapabilityType.DRIVER_KIT_FAMILY_AUDIO_PUB,
|
|
579
|
+
validateOptions: validateBooleanOptions,
|
|
580
|
+
getOptions: getBooleanOptions,
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
entitlement: 'com.apple.developer.shared-with-you',
|
|
584
|
+
name: 'Shared with You',
|
|
585
|
+
capability: apple_utils_1.CapabilityType.SHARED_WITH_YOU,
|
|
586
|
+
validateOptions: validateBooleanOptions,
|
|
587
|
+
getOptions: getBooleanOptions,
|
|
588
|
+
},
|
|
413
589
|
// These don't appear to have entitlements, so it's unclear how we can automatically enable / disable them at this time.
|
|
414
590
|
// TODO: Maybe add a warning about manually enabling features?
|
|
415
591
|
// ?? -- links `StoreKit.framework`
|
|
@@ -421,24 +597,9 @@ exports.CapabilityMapping = [
|
|
|
421
597
|
// },
|
|
422
598
|
// {
|
|
423
599
|
// entitlement: '',
|
|
424
|
-
// name: 'FileProvider TestingMode',
|
|
425
|
-
// capability: 'FILEPROVIDER_TESTINGMODE',
|
|
426
|
-
// },
|
|
427
|
-
// {
|
|
428
|
-
// entitlement: '',
|
|
429
600
|
// name: 'HLS Interstitial Previews',
|
|
430
601
|
// capability: 'HLS_INTERSTITIAL_PREVIEW',
|
|
431
602
|
// },
|
|
432
|
-
// {
|
|
433
|
-
// entitlement: '',
|
|
434
|
-
// name: 'Low Latency HLS',
|
|
435
|
-
// capability: 'COREMEDIA_HLS_LOW_LATENCY',
|
|
436
|
-
// },
|
|
437
|
-
// {
|
|
438
|
-
// entitlement: '',
|
|
439
|
-
// name: 'MDM Managed Associated Domains',
|
|
440
|
-
// capability: 'MDM_MANAGED_ASSOCIATED_DOMAINS',
|
|
441
|
-
// },
|
|
442
603
|
// "Game Controllers" doesn't appear in Dev Portal but it does show up in Xcode,
|
|
443
604
|
// toggling in Xcode causes no network request to be sent.
|
|
444
605
|
// Therefore it seems that it's a mistake in Xcode,
|
|
@@ -61,10 +61,6 @@ class ManageAndroid {
|
|
|
61
61
|
while (true) {
|
|
62
62
|
try {
|
|
63
63
|
if (ctx.hasProjectContext) {
|
|
64
|
-
const maybeProjectId = await (0, projectUtils_1.promptToCreateProjectIfNotExistsAsync)(ctx.exp);
|
|
65
|
-
if (!maybeProjectId) {
|
|
66
|
-
throw new Error('Your project must be registered with EAS in order to use the credentials manager.');
|
|
67
|
-
}
|
|
68
64
|
const appLookupParams = await (0, BuildCredentialsUtils_1.getAppLookupParamsFromContextAsync)(ctx, gradleContext);
|
|
69
65
|
const appCredentials = await ctx.android.getAndroidAppCredentialsWithCommonFieldsAsync(appLookupParams);
|
|
70
66
|
if (!appCredentials) {
|
|
@@ -131,10 +127,8 @@ class ManageAndroid {
|
|
|
131
127
|
}
|
|
132
128
|
async createProjectContextAsync(ctx, buildProfile) {
|
|
133
129
|
(0, assert_1.default)(ctx.hasProjectContext, 'createProjectContextAsync: must have project context.');
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
throw new Error('Your project must be registered with EAS in order to use the credentials manager.');
|
|
137
|
-
}
|
|
130
|
+
// ensure the project exists on the EAS server
|
|
131
|
+
await (0, projectUtils_1.getProjectIdAsync)(ctx.exp);
|
|
138
132
|
return await (0, gradle_1.resolveGradleBuildContextAsync)(ctx.projectDir, buildProfile);
|
|
139
133
|
}
|
|
140
134
|
async runProjectSpecificActionAsync(ctx, action, gradleContext) {
|
|
@@ -147,10 +147,8 @@ class ManageIos {
|
|
|
147
147
|
}
|
|
148
148
|
async createProjectContextAsync(ctx, account, buildProfile) {
|
|
149
149
|
(0, assert_1.default)(ctx.hasProjectContext, 'createProjectContextAsync: must have project context.');
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
throw new Error('Your project must be registered with EAS in order to use the credentials manager.');
|
|
153
|
-
}
|
|
150
|
+
// ensure the project exists on the EAS server
|
|
151
|
+
await (0, projectUtils_1.getProjectIdAsync)(ctx.exp);
|
|
154
152
|
const app = { account, projectName: ctx.exp.slug };
|
|
155
153
|
const xcodeBuildContext = await (0, scheme_1.resolveXcodeBuildContextAsync)({
|
|
156
154
|
projectDir: ctx.projectDir,
|
|
@@ -251,8 +251,8 @@ export declare type AccountMutation = {
|
|
|
251
251
|
grantActorPermissions: Account;
|
|
252
252
|
/** Rename this account and the primary user's username if this account is a personal account */
|
|
253
253
|
rename: Account;
|
|
254
|
-
/** Requests a refund for the specified charge
|
|
255
|
-
requestRefund
|
|
254
|
+
/** Requests a refund for the specified charge by requesting a manual refund from support */
|
|
255
|
+
requestRefund?: Maybe<Scalars['Boolean']>;
|
|
256
256
|
/** Revoke specified Permissions for Actor. Actor must already have at least one permission on the account. */
|
|
257
257
|
revokeActorPermissions: Account;
|
|
258
258
|
/**
|
|
@@ -676,9 +676,22 @@ export declare type AndroidJobKeystoreInput = {
|
|
|
676
676
|
keyPassword?: InputMaybe<Scalars['String']>;
|
|
677
677
|
keystorePassword: Scalars['String'];
|
|
678
678
|
};
|
|
679
|
+
export declare type AndroidJobOverridesInput = {
|
|
680
|
+
artifactPath?: InputMaybe<Scalars['String']>;
|
|
681
|
+
buildType?: InputMaybe<AndroidBuildType>;
|
|
682
|
+
builderEnvironment?: InputMaybe<AndroidBuilderEnvironmentInput>;
|
|
683
|
+
cache?: InputMaybe<BuildCacheInput>;
|
|
684
|
+
developmentClient?: InputMaybe<Scalars['Boolean']>;
|
|
685
|
+
experimental?: InputMaybe<Scalars['JSONObject']>;
|
|
686
|
+
gradleCommand?: InputMaybe<Scalars['String']>;
|
|
687
|
+
releaseChannel?: InputMaybe<Scalars['String']>;
|
|
688
|
+
secrets?: InputMaybe<AndroidJobSecretsInput>;
|
|
689
|
+
updates?: InputMaybe<BuildUpdatesInput>;
|
|
690
|
+
username?: InputMaybe<Scalars['String']>;
|
|
691
|
+
version?: InputMaybe<AndroidJobVersionInput>;
|
|
692
|
+
};
|
|
679
693
|
export declare type AndroidJobSecretsInput = {
|
|
680
694
|
buildCredentials?: InputMaybe<AndroidJobBuildCredentialsInput>;
|
|
681
|
-
environmentSecrets?: InputMaybe<Scalars['JSONObject']>;
|
|
682
695
|
};
|
|
683
696
|
export declare type AndroidJobVersionInput = {
|
|
684
697
|
versionCode: Scalars['String'];
|
|
@@ -1627,8 +1640,15 @@ export declare type BuildMutation = {
|
|
|
1627
1640
|
createIosBuild: CreateBuildResult;
|
|
1628
1641
|
/** Delete an EAS Build build */
|
|
1629
1642
|
deleteBuild: Build;
|
|
1630
|
-
/** Retry an EAS Build
|
|
1643
|
+
/** Retry an Android EAS Build */
|
|
1644
|
+
retryAndroidBuild: Build;
|
|
1645
|
+
/**
|
|
1646
|
+
* Retry an EAS Build build
|
|
1647
|
+
* @deprecated Use retryAndroidBuild and retryIosBuild instead
|
|
1648
|
+
*/
|
|
1631
1649
|
retryBuild: Build;
|
|
1650
|
+
/** Retry an iOS EAS Build */
|
|
1651
|
+
retryIosBuild: Build;
|
|
1632
1652
|
};
|
|
1633
1653
|
export declare type BuildMutationCancelBuildArgs = {
|
|
1634
1654
|
buildId: Scalars['ID'];
|
|
@@ -1648,9 +1668,17 @@ export declare type BuildMutationCreateIosBuildArgs = {
|
|
|
1648
1668
|
export declare type BuildMutationDeleteBuildArgs = {
|
|
1649
1669
|
buildId: Scalars['ID'];
|
|
1650
1670
|
};
|
|
1671
|
+
export declare type BuildMutationRetryAndroidBuildArgs = {
|
|
1672
|
+
buildId: Scalars['ID'];
|
|
1673
|
+
jobOverrides?: InputMaybe<AndroidJobOverridesInput>;
|
|
1674
|
+
};
|
|
1651
1675
|
export declare type BuildMutationRetryBuildArgs = {
|
|
1652
1676
|
buildId: Scalars['ID'];
|
|
1653
1677
|
};
|
|
1678
|
+
export declare type BuildMutationRetryIosBuildArgs = {
|
|
1679
|
+
buildId: Scalars['ID'];
|
|
1680
|
+
jobOverrides?: InputMaybe<IosJobOverridesInput>;
|
|
1681
|
+
};
|
|
1654
1682
|
export declare type BuildOrBuildJob = {
|
|
1655
1683
|
id: Scalars['ID'];
|
|
1656
1684
|
};
|
|
@@ -2267,9 +2295,27 @@ export declare type IosJobInput = {
|
|
|
2267
2295
|
username?: InputMaybe<Scalars['String']>;
|
|
2268
2296
|
version?: InputMaybe<IosJobVersionInput>;
|
|
2269
2297
|
};
|
|
2298
|
+
export declare type IosJobOverridesInput = {
|
|
2299
|
+
artifactPath?: InputMaybe<Scalars['String']>;
|
|
2300
|
+
buildConfiguration?: InputMaybe<Scalars['String']>;
|
|
2301
|
+
/** @deprecated */
|
|
2302
|
+
buildType?: InputMaybe<IosBuildType>;
|
|
2303
|
+
builderEnvironment?: InputMaybe<IosBuilderEnvironmentInput>;
|
|
2304
|
+
cache?: InputMaybe<BuildCacheInput>;
|
|
2305
|
+
developmentClient?: InputMaybe<Scalars['Boolean']>;
|
|
2306
|
+
/** @deprecated */
|
|
2307
|
+
distribution?: InputMaybe<DistributionType>;
|
|
2308
|
+
experimental?: InputMaybe<Scalars['JSONObject']>;
|
|
2309
|
+
releaseChannel?: InputMaybe<Scalars['String']>;
|
|
2310
|
+
scheme?: InputMaybe<Scalars['String']>;
|
|
2311
|
+
secrets?: InputMaybe<IosJobSecretsInput>;
|
|
2312
|
+
simulator?: InputMaybe<Scalars['Boolean']>;
|
|
2313
|
+
updates?: InputMaybe<BuildUpdatesInput>;
|
|
2314
|
+
username?: InputMaybe<Scalars['String']>;
|
|
2315
|
+
version?: InputMaybe<IosJobVersionInput>;
|
|
2316
|
+
};
|
|
2270
2317
|
export declare type IosJobSecretsInput = {
|
|
2271
2318
|
buildCredentials?: InputMaybe<Array<InputMaybe<IosJobTargetCredentialsInput>>>;
|
|
2272
|
-
environmentSecrets?: InputMaybe<Scalars['JSONObject']>;
|
|
2273
2319
|
};
|
|
2274
2320
|
export declare type IosJobTargetCredentialsInput = {
|
|
2275
2321
|
distributionCertificate: IosJobDistributionCertificateInput;
|
|
@@ -2681,8 +2727,6 @@ export declare type RootMutationBuildJobArgs = {
|
|
|
2681
2727
|
};
|
|
2682
2728
|
export declare type RootQuery = {
|
|
2683
2729
|
__typename?: 'RootQuery';
|
|
2684
|
-
/** Top-level query object for querying GitHub App information and resources it has access to. */
|
|
2685
|
-
GitHubApp: GitHubAppQuery;
|
|
2686
2730
|
/**
|
|
2687
2731
|
* This is a placeholder field
|
|
2688
2732
|
* @deprecated Not used.
|
|
@@ -2717,6 +2761,8 @@ export declare type RootQuery = {
|
|
|
2717
2761
|
clientBuilds: ClientBuildQuery;
|
|
2718
2762
|
/** Top-level query object for querying Experimentation configuration. */
|
|
2719
2763
|
experimentation: ExperimentationQuery;
|
|
2764
|
+
/** Top-level query object for querying GitHub App information and resources it has access to. */
|
|
2765
|
+
githubApp: GitHubAppQuery;
|
|
2720
2766
|
/** Top-level query object for querying Stripe Invoices. */
|
|
2721
2767
|
invoice: InvoiceQuery;
|
|
2722
2768
|
/**
|
|
@@ -2731,6 +2777,8 @@ export declare type RootQuery = {
|
|
|
2731
2777
|
meActor?: Maybe<Actor>;
|
|
2732
2778
|
project: ProjectQuery;
|
|
2733
2779
|
snack: SnackQuery;
|
|
2780
|
+
/** Top-level query object for querying Expo status page services. */
|
|
2781
|
+
statuspageService: StatuspageServiceQuery;
|
|
2734
2782
|
submissions: SubmissionQuery;
|
|
2735
2783
|
/** fetch all updates in a group */
|
|
2736
2784
|
updatesByGroup: Array<Update>;
|
|
@@ -2862,6 +2910,90 @@ export declare enum StandardOffer {
|
|
|
2862
2910
|
/** $348 USD per year, 30 day trial */
|
|
2863
2911
|
YearlySub = "YEARLY_SUB"
|
|
2864
2912
|
}
|
|
2913
|
+
/** Incident for a given component from Expo status page API. */
|
|
2914
|
+
export declare type StatuspageIncident = {
|
|
2915
|
+
__typename?: 'StatuspageIncident';
|
|
2916
|
+
createdAt: Scalars['DateTime'];
|
|
2917
|
+
id: Scalars['ID'];
|
|
2918
|
+
/** Impact of an incident from Expo status page. */
|
|
2919
|
+
impact: StatuspageIncidentImpact;
|
|
2920
|
+
name: Scalars['String'];
|
|
2921
|
+
resolvedAt?: Maybe<Scalars['DateTime']>;
|
|
2922
|
+
/** Shortlink to the incident from Expo status page. */
|
|
2923
|
+
shortlink: Scalars['String'];
|
|
2924
|
+
/** Current status of an incident from Expo status page. */
|
|
2925
|
+
status: StatuspageIncidentStatus;
|
|
2926
|
+
updatedAt: Scalars['DateTime'];
|
|
2927
|
+
/** List of all updates for an incident from Expo status page. */
|
|
2928
|
+
updates: Array<StatuspageIncidentUpdate>;
|
|
2929
|
+
};
|
|
2930
|
+
/** Possible Incident impact values from Expo status page API. */
|
|
2931
|
+
export declare enum StatuspageIncidentImpact {
|
|
2932
|
+
Critical = "CRITICAL",
|
|
2933
|
+
Maintenance = "MAINTENANCE",
|
|
2934
|
+
Major = "MAJOR",
|
|
2935
|
+
Minor = "MINOR",
|
|
2936
|
+
None = "NONE"
|
|
2937
|
+
}
|
|
2938
|
+
/** Possible Incident statuses from Expo status page API. */
|
|
2939
|
+
export declare enum StatuspageIncidentStatus {
|
|
2940
|
+
Completed = "COMPLETED",
|
|
2941
|
+
Identified = "IDENTIFIED",
|
|
2942
|
+
Investigating = "INVESTIGATING",
|
|
2943
|
+
InProgress = "IN_PROGRESS",
|
|
2944
|
+
Monitoring = "MONITORING",
|
|
2945
|
+
Resolved = "RESOLVED",
|
|
2946
|
+
Scheduled = "SCHEDULED",
|
|
2947
|
+
Verifying = "VERIFYING"
|
|
2948
|
+
}
|
|
2949
|
+
/** Update for an Incident from Expo status page API. */
|
|
2950
|
+
export declare type StatuspageIncidentUpdate = {
|
|
2951
|
+
__typename?: 'StatuspageIncidentUpdate';
|
|
2952
|
+
/** Text of an update from Expo status page. */
|
|
2953
|
+
body: Scalars['String'];
|
|
2954
|
+
createdAt: Scalars['DateTime'];
|
|
2955
|
+
id: Scalars['ID'];
|
|
2956
|
+
/** Status set at the moment of update. */
|
|
2957
|
+
status: StatuspageIncidentStatus;
|
|
2958
|
+
};
|
|
2959
|
+
/** Service monitored by Expo status page. */
|
|
2960
|
+
export declare type StatuspageService = {
|
|
2961
|
+
__typename?: 'StatuspageService';
|
|
2962
|
+
/** Description of a service from Expo status page. */
|
|
2963
|
+
description?: Maybe<Scalars['String']>;
|
|
2964
|
+
id: Scalars['ID'];
|
|
2965
|
+
/**
|
|
2966
|
+
* List of last inicdents for a service from Expo status page (we always query for 50 latest incidents for all services)
|
|
2967
|
+
* sorted by createdAt field in descending order.
|
|
2968
|
+
*/
|
|
2969
|
+
incidents: Array<StatuspageIncident>;
|
|
2970
|
+
/** Name of a service monitored by Expo status page. */
|
|
2971
|
+
name: StatuspageServiceName;
|
|
2972
|
+
/** Current status of a service from Expo status page. */
|
|
2973
|
+
status: StatuspageServiceStatus;
|
|
2974
|
+
};
|
|
2975
|
+
/** Name of a service monitored by Expo status page. */
|
|
2976
|
+
export declare enum StatuspageServiceName {
|
|
2977
|
+
EasBuild = "EAS_BUILD",
|
|
2978
|
+
EasSubmit = "EAS_SUBMIT",
|
|
2979
|
+
EasUpdate = "EAS_UPDATE"
|
|
2980
|
+
}
|
|
2981
|
+
export declare type StatuspageServiceQuery = {
|
|
2982
|
+
__typename?: 'StatuspageServiceQuery';
|
|
2983
|
+
/** Query services from Expo status page by names. */
|
|
2984
|
+
byServiceNames: Array<StatuspageService>;
|
|
2985
|
+
};
|
|
2986
|
+
export declare type StatuspageServiceQueryByServiceNamesArgs = {
|
|
2987
|
+
serviceNames: Array<StatuspageServiceName>;
|
|
2988
|
+
};
|
|
2989
|
+
/** Possible statuses for a service. */
|
|
2990
|
+
export declare enum StatuspageServiceStatus {
|
|
2991
|
+
DegradedPerformance = "DEGRADED_PERFORMANCE",
|
|
2992
|
+
MajorOutage = "MAJOR_OUTAGE",
|
|
2993
|
+
Operational = "OPERATIONAL",
|
|
2994
|
+
PartialOutage = "PARTIAL_OUTAGE",
|
|
2995
|
+
UnderMaintenance = "UNDER_MAINTENANCE"
|
|
2996
|
+
}
|
|
2865
2997
|
export declare type StripeCoupon = {
|
|
2866
2998
|
__typename?: 'StripeCoupon';
|
|
2867
2999
|
amountOff?: Maybe<Scalars['String']>;
|
|
@@ -5168,21 +5300,6 @@ export declare type SetAppStoreConnectApiKeyForSubmissionsMutation = {
|
|
|
5168
5300
|
};
|
|
5169
5301
|
};
|
|
5170
5302
|
};
|
|
5171
|
-
export declare type AppByFullNameQueryVariables = Exact<{
|
|
5172
|
-
fullName: Scalars['String'];
|
|
5173
|
-
}>;
|
|
5174
|
-
export declare type AppByFullNameQuery = {
|
|
5175
|
-
__typename?: 'RootQuery';
|
|
5176
|
-
app: {
|
|
5177
|
-
__typename?: 'AppQuery';
|
|
5178
|
-
byFullName: {
|
|
5179
|
-
__typename?: 'App';
|
|
5180
|
-
id: string;
|
|
5181
|
-
fullName: string;
|
|
5182
|
-
slug: string;
|
|
5183
|
-
};
|
|
5184
|
-
};
|
|
5185
|
-
};
|
|
5186
5303
|
export declare type AppStoreConnectApiKeyByAccountQueryVariables = Exact<{
|
|
5187
5304
|
accountName: Scalars['String'];
|
|
5188
5305
|
}>;
|
|
@@ -6392,6 +6509,21 @@ export declare type DeleteWebhookMutation = {
|
|
|
6392
6509
|
};
|
|
6393
6510
|
};
|
|
6394
6511
|
};
|
|
6512
|
+
export declare type AppByFullNameQueryVariables = Exact<{
|
|
6513
|
+
fullName: Scalars['String'];
|
|
6514
|
+
}>;
|
|
6515
|
+
export declare type AppByFullNameQuery = {
|
|
6516
|
+
__typename?: 'RootQuery';
|
|
6517
|
+
app: {
|
|
6518
|
+
__typename?: 'AppQuery';
|
|
6519
|
+
byFullName: {
|
|
6520
|
+
__typename?: 'App';
|
|
6521
|
+
id: string;
|
|
6522
|
+
fullName: string;
|
|
6523
|
+
slug: string;
|
|
6524
|
+
};
|
|
6525
|
+
};
|
|
6526
|
+
};
|
|
6395
6527
|
export declare type LatestAppVersionQueryVariables = Exact<{
|
|
6396
6528
|
appId: Scalars['String'];
|
|
6397
6529
|
platform: AppPlatform;
|
|
@@ -6794,23 +6926,6 @@ export declare type EnvironmentSecretsByAppIdQuery = {
|
|
|
6794
6926
|
};
|
|
6795
6927
|
};
|
|
6796
6928
|
};
|
|
6797
|
-
export declare type ProjectByUsernameAndSlugQueryVariables = Exact<{
|
|
6798
|
-
username: Scalars['String'];
|
|
6799
|
-
slug: Scalars['String'];
|
|
6800
|
-
}>;
|
|
6801
|
-
export declare type ProjectByUsernameAndSlugQuery = {
|
|
6802
|
-
__typename?: 'RootQuery';
|
|
6803
|
-
project: {
|
|
6804
|
-
__typename?: 'ProjectQuery';
|
|
6805
|
-
byUsernameAndSlug: {
|
|
6806
|
-
__typename?: 'App';
|
|
6807
|
-
id: string;
|
|
6808
|
-
} | {
|
|
6809
|
-
__typename?: 'Snack';
|
|
6810
|
-
id: string;
|
|
6811
|
-
};
|
|
6812
|
-
};
|
|
6813
|
-
};
|
|
6814
6929
|
export declare type GetAssetMetadataQueryVariables = Exact<{
|
|
6815
6930
|
storageKeys: Array<Scalars['String']> | Scalars['String'];
|
|
6816
6931
|
}>;
|
|
@@ -6839,6 +6954,29 @@ export declare type GetAssetLimitPerUpdateGroupForAppQuery = {
|
|
|
6839
6954
|
};
|
|
6840
6955
|
};
|
|
6841
6956
|
};
|
|
6957
|
+
export declare type StatuspageServiceByServiceNamesQueryVariables = Exact<{
|
|
6958
|
+
serviceNames: Array<StatuspageServiceName> | StatuspageServiceName;
|
|
6959
|
+
}>;
|
|
6960
|
+
export declare type StatuspageServiceByServiceNamesQuery = {
|
|
6961
|
+
__typename?: 'RootQuery';
|
|
6962
|
+
statuspageService: {
|
|
6963
|
+
__typename?: 'StatuspageServiceQuery';
|
|
6964
|
+
byServiceNames: Array<{
|
|
6965
|
+
__typename?: 'StatuspageService';
|
|
6966
|
+
id: string;
|
|
6967
|
+
name: StatuspageServiceName;
|
|
6968
|
+
status: StatuspageServiceStatus;
|
|
6969
|
+
incidents: Array<{
|
|
6970
|
+
__typename?: 'StatuspageIncident';
|
|
6971
|
+
id: string;
|
|
6972
|
+
status: StatuspageIncidentStatus;
|
|
6973
|
+
name: string;
|
|
6974
|
+
impact: StatuspageIncidentImpact;
|
|
6975
|
+
shortlink: string;
|
|
6976
|
+
}>;
|
|
6977
|
+
}>;
|
|
6978
|
+
};
|
|
6979
|
+
};
|
|
6842
6980
|
export declare type SubmissionsByIdQueryVariables = Exact<{
|
|
6843
6981
|
submissionId: Scalars['ID'];
|
|
6844
6982
|
}>;
|
|
@@ -7244,6 +7382,20 @@ export declare type EnvironmentSecretFragment = {
|
|
|
7244
7382
|
name: string;
|
|
7245
7383
|
createdAt: any;
|
|
7246
7384
|
};
|
|
7385
|
+
export declare type StatuspageServiceFragment = {
|
|
7386
|
+
__typename?: 'StatuspageService';
|
|
7387
|
+
id: string;
|
|
7388
|
+
name: StatuspageServiceName;
|
|
7389
|
+
status: StatuspageServiceStatus;
|
|
7390
|
+
incidents: Array<{
|
|
7391
|
+
__typename?: 'StatuspageIncident';
|
|
7392
|
+
id: string;
|
|
7393
|
+
status: StatuspageIncidentStatus;
|
|
7394
|
+
name: string;
|
|
7395
|
+
impact: StatuspageIncidentImpact;
|
|
7396
|
+
shortlink: string;
|
|
7397
|
+
}>;
|
|
7398
|
+
};
|
|
7247
7399
|
export declare type SubmissionFragment = {
|
|
7248
7400
|
__typename?: 'Submission';
|
|
7249
7401
|
id: string;
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* For more info and docs, visit https://graphql-code-generator.com/
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.
|
|
9
|
+
exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.SubmissionStatus = exports.SubmissionAndroidTrack = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OfferType = exports.MailchimpTag = exports.MailchimpAudience = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.Feature = exports.EasServiceMetric = exports.EasBuildDeprecationInfoType = exports.DistributionType = exports.CacheControlScope = exports.BuildWorkflow = exports.BuildStatus = exports.BuildResourceClass = exports.BuildPriority = exports.BuildJobStatus = exports.BuildJobLogsFormat = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.AuthProtocolType = exports.AssetMetadataStatus = exports.AppsFilter = exports.AppleDeviceClass = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppPrivacy = exports.AppPlatform = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = void 0;
|
|
10
|
+
exports.WebhookType = void 0;
|
|
10
11
|
var ActivityTimelineProjectActivityType;
|
|
11
12
|
(function (ActivityTimelineProjectActivityType) {
|
|
12
13
|
ActivityTimelineProjectActivityType["Build"] = "BUILD";
|
|
@@ -270,6 +271,43 @@ var StandardOffer;
|
|
|
270
271
|
/** $348 USD per year, 30 day trial */
|
|
271
272
|
StandardOffer["YearlySub"] = "YEARLY_SUB";
|
|
272
273
|
})(StandardOffer = exports.StandardOffer || (exports.StandardOffer = {}));
|
|
274
|
+
/** Possible Incident impact values from Expo status page API. */
|
|
275
|
+
var StatuspageIncidentImpact;
|
|
276
|
+
(function (StatuspageIncidentImpact) {
|
|
277
|
+
StatuspageIncidentImpact["Critical"] = "CRITICAL";
|
|
278
|
+
StatuspageIncidentImpact["Maintenance"] = "MAINTENANCE";
|
|
279
|
+
StatuspageIncidentImpact["Major"] = "MAJOR";
|
|
280
|
+
StatuspageIncidentImpact["Minor"] = "MINOR";
|
|
281
|
+
StatuspageIncidentImpact["None"] = "NONE";
|
|
282
|
+
})(StatuspageIncidentImpact = exports.StatuspageIncidentImpact || (exports.StatuspageIncidentImpact = {}));
|
|
283
|
+
/** Possible Incident statuses from Expo status page API. */
|
|
284
|
+
var StatuspageIncidentStatus;
|
|
285
|
+
(function (StatuspageIncidentStatus) {
|
|
286
|
+
StatuspageIncidentStatus["Completed"] = "COMPLETED";
|
|
287
|
+
StatuspageIncidentStatus["Identified"] = "IDENTIFIED";
|
|
288
|
+
StatuspageIncidentStatus["Investigating"] = "INVESTIGATING";
|
|
289
|
+
StatuspageIncidentStatus["InProgress"] = "IN_PROGRESS";
|
|
290
|
+
StatuspageIncidentStatus["Monitoring"] = "MONITORING";
|
|
291
|
+
StatuspageIncidentStatus["Resolved"] = "RESOLVED";
|
|
292
|
+
StatuspageIncidentStatus["Scheduled"] = "SCHEDULED";
|
|
293
|
+
StatuspageIncidentStatus["Verifying"] = "VERIFYING";
|
|
294
|
+
})(StatuspageIncidentStatus = exports.StatuspageIncidentStatus || (exports.StatuspageIncidentStatus = {}));
|
|
295
|
+
/** Name of a service monitored by Expo status page. */
|
|
296
|
+
var StatuspageServiceName;
|
|
297
|
+
(function (StatuspageServiceName) {
|
|
298
|
+
StatuspageServiceName["EasBuild"] = "EAS_BUILD";
|
|
299
|
+
StatuspageServiceName["EasSubmit"] = "EAS_SUBMIT";
|
|
300
|
+
StatuspageServiceName["EasUpdate"] = "EAS_UPDATE";
|
|
301
|
+
})(StatuspageServiceName = exports.StatuspageServiceName || (exports.StatuspageServiceName = {}));
|
|
302
|
+
/** Possible statuses for a service. */
|
|
303
|
+
var StatuspageServiceStatus;
|
|
304
|
+
(function (StatuspageServiceStatus) {
|
|
305
|
+
StatuspageServiceStatus["DegradedPerformance"] = "DEGRADED_PERFORMANCE";
|
|
306
|
+
StatuspageServiceStatus["MajorOutage"] = "MAJOR_OUTAGE";
|
|
307
|
+
StatuspageServiceStatus["Operational"] = "OPERATIONAL";
|
|
308
|
+
StatuspageServiceStatus["PartialOutage"] = "PARTIAL_OUTAGE";
|
|
309
|
+
StatuspageServiceStatus["UnderMaintenance"] = "UNDER_MAINTENANCE";
|
|
310
|
+
})(StatuspageServiceStatus = exports.StatuspageServiceStatus || (exports.StatuspageServiceStatus = {}));
|
|
273
311
|
var SubmissionAndroidArchiveType;
|
|
274
312
|
(function (SubmissionAndroidArchiveType) {
|
|
275
313
|
SubmissionAndroidArchiveType["Aab"] = "AAB";
|
|
@@ -5,8 +5,8 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
6
6
|
const graphql_1 = require("graphql");
|
|
7
7
|
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
|
-
const client_1 = require("
|
|
9
|
-
const App_1 = require("
|
|
8
|
+
const client_1 = require("../client");
|
|
9
|
+
const App_1 = require("../types/App");
|
|
10
10
|
exports.AppQuery = {
|
|
11
11
|
async byFullNameAsync(fullName) {
|
|
12
12
|
const data = await (0, client_1.withErrorHandlingAsync)(client_1.graphqlClient
|
|
@@ -9,5 +9,5 @@ export declare type EnvironmentSecretWithScope = EnvironmentSecretFragment & {
|
|
|
9
9
|
export declare const EnvironmentSecretsQuery: {
|
|
10
10
|
byAccountNameAsync(accountName: string): Promise<EnvironmentSecretFragment[]>;
|
|
11
11
|
byAppIdAsync(appId: string): Promise<EnvironmentSecretFragment[]>;
|
|
12
|
-
allAsync(projectAccountName: string,
|
|
12
|
+
allAsync(projectAccountName: string, projectId: string): Promise<EnvironmentSecretWithScope[]>;
|
|
13
13
|
};
|