eas-cli 0.55.0 → 0.57.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 +58 -49
- package/build/branch/queries.d.ts +5 -0
- package/build/branch/queries.js +87 -0
- package/build/build/android/version.d.ts +5 -0
- package/build/build/android/version.js +16 -9
- package/build/build/build.js +7 -2
- package/build/build/context.d.ts +3 -3
- package/build/build/createContext.d.ts +4 -2
- package/build/build/createContext.js +3 -1
- package/build/build/ios/build.js +1 -16
- package/build/build/ios/syncProjectConfiguration.d.ts +3 -3
- package/build/build/ios/syncProjectConfiguration.js +2 -2
- package/build/build/ios/version.d.ts +10 -3
- package/build/build/ios/version.js +57 -28
- package/build/build/metadata.d.ts +1 -0
- package/build/build/metadata.js +15 -5
- package/build/build/runBuildAndSubmit.d.ts +1 -0
- package/build/build/runBuildAndSubmit.js +8 -4
- package/build/commandUtils/pagination.d.ts +13 -0
- package/build/commandUtils/pagination.js +42 -0
- package/build/commands/branch/list.d.ts +3 -4
- package/build/commands/branch/list.js +6 -69
- package/build/commands/branch/view.d.ts +3 -0
- package/build/commands/branch/view.js +15 -63
- package/build/commands/build/index.d.ts +1 -0
- package/build/commands/build/index.js +9 -0
- package/build/commands/build/version/set.d.ts +10 -0
- package/build/commands/build/version/set.js +82 -0
- package/build/commands/build/version/sync.d.ts +12 -0
- package/build/commands/build/version/sync.js +124 -0
- package/build/commands/update/index.d.ts +2 -2
- package/build/commands/update/index.js +13 -5
- package/build/commands/update/list.js +13 -18
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +2 -2
- package/build/credentials/ios/types.d.ts +2 -0
- package/build/devices/actions/create/action.d.ts +5 -2
- package/build/devices/actions/create/action.js +12 -2
- package/build/devices/actions/create/developerPortalMethod.d.ts +6 -0
- package/build/devices/actions/create/developerPortalMethod.js +90 -0
- package/build/devices/manager.js +4 -4
- package/build/graphql/generated.d.ts +271 -59
- package/build/graphql/generated.js +8 -1
- package/build/graphql/mutations/AppVersionMutation.d.ts +11 -0
- package/build/graphql/mutations/AppVersionMutation.js +28 -0
- package/build/graphql/queries/AppVersionQuery.d.ts +4 -0
- package/build/graphql/queries/AppVersionQuery.js +37 -0
- package/build/graphql/queries/BranchQuery.d.ts +2 -1
- package/build/graphql/queries/BranchQuery.js +26 -0
- package/build/graphql/queries/UpdateQuery.d.ts +6 -8
- package/build/graphql/queries/UpdateQuery.js +27 -23
- package/build/platform.d.ts +1 -0
- package/build/platform.js +17 -1
- package/build/project/android/applicationId.js +2 -2
- package/build/project/android/versions.d.ts +3 -0
- package/build/project/android/versions.js +23 -0
- package/build/project/applicationIdentifier.d.ts +4 -0
- package/build/project/applicationIdentifier.js +37 -0
- package/build/project/ios/bundleIdentifier.js +2 -2
- package/build/project/ios/target.js +14 -1
- package/build/project/ios/versions.d.ts +3 -0
- package/build/project/ios/versions.js +17 -0
- package/build/project/publish.d.ts +1 -2
- package/build/project/publish.js +8 -12
- package/build/project/remoteVersionSource.d.ts +6 -0
- package/build/project/remoteVersionSource.js +52 -0
- package/build/submit/utils/files.js +1 -1
- package/build/update/queries.d.ts +3 -0
- package/build/update/queries.js +72 -0
- package/build/update/utils.d.ts +14 -0
- package/build/update/utils.js +26 -9
- package/build/uploads.d.ts +4 -3
- package/build/uploads.js +11 -9
- package/build/utils/expodash/chunk.d.ts +1 -0
- package/build/utils/expodash/chunk.js +16 -0
- package/build/utils/queries.d.ts +25 -0
- package/build/utils/queries.js +67 -0
- package/oclif.manifest.json +1 -1
- package/package.json +10 -5
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.formatDeviceLabel = exports.runDeveloperPortalMethodAsync = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const apple_utils_1 = require("@expo/apple-utils");
|
|
6
|
+
const AppleDeviceMutation_1 = require("../../../credentials/ios/api/graphql/mutations/AppleDeviceMutation");
|
|
7
|
+
const AppleDeviceQuery_1 = require("../../../credentials/ios/api/graphql/queries/AppleDeviceQuery");
|
|
8
|
+
const authenticate_1 = require("../../../credentials/ios/appstore/authenticate");
|
|
9
|
+
const generated_1 = require("../../../graphql/generated");
|
|
10
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
11
|
+
const ora_1 = require("../../../ora");
|
|
12
|
+
const prompts_1 = require("../../../prompts");
|
|
13
|
+
const chunk_1 = tslib_1.__importDefault(require("../../../utils/expodash/chunk"));
|
|
14
|
+
const DEVICE_IMPORT_CHUNK_SIZE = 10;
|
|
15
|
+
const DEVICE_CLASS_TO_GRAPHQL_TYPE = {
|
|
16
|
+
[apple_utils_1.DeviceClass.IPAD]: generated_1.AppleDeviceClass.Ipad,
|
|
17
|
+
[apple_utils_1.DeviceClass.IPHONE]: generated_1.AppleDeviceClass.Iphone,
|
|
18
|
+
};
|
|
19
|
+
async function runDeveloperPortalMethodAsync(appStoreApi, accountId, appleTeam) {
|
|
20
|
+
const appleAuthCtx = await appStoreApi.ensureAuthenticatedAsync();
|
|
21
|
+
const unregisteredPortalDevices = await findUnregisteredPortalDevicesAsync(appleAuthCtx, accountId, appleTeam);
|
|
22
|
+
if (unregisteredPortalDevices.length === 0) {
|
|
23
|
+
log_1.default.log('All your devices registered on Apple Developer Portal are already imported to EAS.');
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const devicesToImport = await chooseDevicesToImportAsync(unregisteredPortalDevices);
|
|
27
|
+
await importDevicesAsync(accountId, appleTeam, devicesToImport);
|
|
28
|
+
}
|
|
29
|
+
exports.runDeveloperPortalMethodAsync = runDeveloperPortalMethodAsync;
|
|
30
|
+
async function importDevicesAsync(accountId, appleTeam, devices) {
|
|
31
|
+
const spinner = (0, ora_1.ora)(`Importing ${devices.length} Apple device${devices.length === 1 ? '' : 's'} to EAS`).start();
|
|
32
|
+
const deviceChunks = (0, chunk_1.default)(devices, DEVICE_IMPORT_CHUNK_SIZE);
|
|
33
|
+
try {
|
|
34
|
+
for (const deviceChunk of deviceChunks) {
|
|
35
|
+
await importDeviceChunkAsync(accountId, appleTeam, deviceChunk);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
catch (err) {
|
|
39
|
+
spinner.fail();
|
|
40
|
+
throw err;
|
|
41
|
+
}
|
|
42
|
+
spinner.succeed();
|
|
43
|
+
}
|
|
44
|
+
async function importDeviceChunkAsync(accountId, appleTeam, devices) {
|
|
45
|
+
const promises = devices.map(device => {
|
|
46
|
+
var _a;
|
|
47
|
+
return AppleDeviceMutation_1.AppleDeviceMutation.createAppleDeviceAsync({
|
|
48
|
+
appleTeamId: appleTeam.id,
|
|
49
|
+
identifier: device.attributes.udid,
|
|
50
|
+
name: device.attributes.name,
|
|
51
|
+
deviceClass: (_a = DEVICE_CLASS_TO_GRAPHQL_TYPE[device.attributes.deviceClass]) !== null && _a !== void 0 ? _a : undefined,
|
|
52
|
+
}, accountId);
|
|
53
|
+
});
|
|
54
|
+
await Promise.all(promises);
|
|
55
|
+
}
|
|
56
|
+
async function findUnregisteredPortalDevicesAsync(appleAuthCtx, accountId, appleTeam) {
|
|
57
|
+
const expoRegisteredDevices = await AppleDeviceQuery_1.AppleDeviceQuery.getAllByAppleTeamIdentifierAsync(accountId, appleTeam.appleTeamIdentifier, { useCache: false });
|
|
58
|
+
const expoRegisteredDevicesByUdid = expoRegisteredDevices.reduce((acc, device) => {
|
|
59
|
+
acc[device.identifier] = device;
|
|
60
|
+
return acc;
|
|
61
|
+
}, {});
|
|
62
|
+
const portalDevices = await apple_utils_1.Device.getAllIOSProfileDevicesAsync((0, authenticate_1.getRequestContext)(appleAuthCtx));
|
|
63
|
+
return portalDevices.filter(portalDevice => !(portalDevice.attributes.udid in expoRegisteredDevicesByUdid) &&
|
|
64
|
+
[apple_utils_1.DeviceClass.IPAD, apple_utils_1.DeviceClass.IPHONE].includes(portalDevice.attributes.deviceClass));
|
|
65
|
+
}
|
|
66
|
+
async function chooseDevicesToImportAsync(devices) {
|
|
67
|
+
const { chosenDevices } = await (0, prompts_1.promptAsync)({
|
|
68
|
+
type: 'multiselect',
|
|
69
|
+
name: 'chosenDevices',
|
|
70
|
+
message: 'Which devices do you want to import to EAS?',
|
|
71
|
+
choices: devices.map(device => ({
|
|
72
|
+
value: device,
|
|
73
|
+
title: formatDeviceLabel(device),
|
|
74
|
+
selected: true,
|
|
75
|
+
})),
|
|
76
|
+
});
|
|
77
|
+
return chosenDevices;
|
|
78
|
+
}
|
|
79
|
+
function formatDeviceLabel(device) {
|
|
80
|
+
const deviceDetails = formatDeviceDetails(device);
|
|
81
|
+
return `${device.attributes.name} - ${device.attributes.udid})${deviceDetails !== '' ? ` - ${deviceDetails}` : ''}`;
|
|
82
|
+
}
|
|
83
|
+
exports.formatDeviceLabel = formatDeviceLabel;
|
|
84
|
+
function formatDeviceDetails(device) {
|
|
85
|
+
let details = device.attributes.deviceClass;
|
|
86
|
+
if (device.attributes.model) {
|
|
87
|
+
details = device.attributes.model;
|
|
88
|
+
}
|
|
89
|
+
return details === '' ? details : `(${details})`;
|
|
90
|
+
}
|
package/build/devices/manager.js
CHANGED
|
@@ -27,12 +27,12 @@ class DeviceManager {
|
|
|
27
27
|
log_1.default.log(chalk_1.default.green(CREATE_COMMAND_DESCRIPTION));
|
|
28
28
|
log_1.default.addNewLineIfNone();
|
|
29
29
|
const account = await this.resolveAccountAsync();
|
|
30
|
-
const
|
|
30
|
+
const appleAuthCtx = await this.ctx.appStore.ensureAuthenticatedAsync();
|
|
31
31
|
const appleTeam = await ensureAppleTeamExistsAsync(account.id, {
|
|
32
|
-
appleTeamIdentifier: team.id,
|
|
33
|
-
appleTeamName: team.name,
|
|
32
|
+
appleTeamIdentifier: appleAuthCtx.team.id,
|
|
33
|
+
appleTeamName: appleAuthCtx.team.name,
|
|
34
34
|
});
|
|
35
|
-
const action = new action_1.default(account, appleTeam);
|
|
35
|
+
const action = new action_1.default(this.ctx.appStore, account, appleTeam);
|
|
36
36
|
await action.runAsync();
|
|
37
37
|
}
|
|
38
38
|
async resolveAccountAsync() {
|
|
@@ -120,6 +120,8 @@ export declare type Account = {
|
|
|
120
120
|
requiresAccessTokenForPushSecurity: Scalars['Boolean'];
|
|
121
121
|
/** Snacks associated with this account */
|
|
122
122
|
snacks: Array<Snack>;
|
|
123
|
+
/** SSO configuration for this account */
|
|
124
|
+
ssoConfiguration?: Maybe<AccountSsoConfiguration>;
|
|
123
125
|
/** Subscription info visible to members that have VIEWER role */
|
|
124
126
|
subscription?: Maybe<SubscriptionDetails>;
|
|
125
127
|
/** @deprecated No longer needed */
|
|
@@ -334,6 +336,77 @@ export declare type AccountQueryByIdArgs = {
|
|
|
334
336
|
export declare type AccountQueryByNameArgs = {
|
|
335
337
|
accountName: Scalars['String'];
|
|
336
338
|
};
|
|
339
|
+
/** Auth configuration data for an SSO account. */
|
|
340
|
+
export declare type AccountSsoConfiguration = {
|
|
341
|
+
__typename?: 'AccountSSOConfiguration';
|
|
342
|
+
authEndpoint?: Maybe<Scalars['String']>;
|
|
343
|
+
authProtocol: AuthProtocolType;
|
|
344
|
+
authProviderIdentifier: Scalars['String'];
|
|
345
|
+
clientIdentifier: Scalars['String'];
|
|
346
|
+
clientSecret: Scalars['String'];
|
|
347
|
+
createdAt: Scalars['DateTime'];
|
|
348
|
+
id: Scalars['ID'];
|
|
349
|
+
issuer?: Maybe<Scalars['String']>;
|
|
350
|
+
jwksEndpoint?: Maybe<Scalars['String']>;
|
|
351
|
+
redirectUri: Scalars['String'];
|
|
352
|
+
tokenEndpoint?: Maybe<Scalars['String']>;
|
|
353
|
+
updatedAt: Scalars['DateTime'];
|
|
354
|
+
userInfoEndpoint?: Maybe<Scalars['String']>;
|
|
355
|
+
};
|
|
356
|
+
export declare type AccountSsoConfigurationData = {
|
|
357
|
+
authEndpoint?: InputMaybe<Scalars['String']>;
|
|
358
|
+
authProtocol: AuthProtocolType;
|
|
359
|
+
authProviderIdentifier: Scalars['String'];
|
|
360
|
+
clientIdentifier: Scalars['String'];
|
|
361
|
+
clientSecret: Scalars['String'];
|
|
362
|
+
issuer?: InputMaybe<Scalars['String']>;
|
|
363
|
+
jwksEndpoint?: InputMaybe<Scalars['String']>;
|
|
364
|
+
redirectUri: Scalars['String'];
|
|
365
|
+
tokenEndpoint?: InputMaybe<Scalars['String']>;
|
|
366
|
+
userInfoEndpoint?: InputMaybe<Scalars['String']>;
|
|
367
|
+
};
|
|
368
|
+
export declare type AccountSsoConfigurationMutation = {
|
|
369
|
+
__typename?: 'AccountSSOConfigurationMutation';
|
|
370
|
+
/** Create an AccountSSOConfiguration for an Account */
|
|
371
|
+
createAccountSSOConfiguration: AccountSsoConfiguration;
|
|
372
|
+
/** Delete an AccountSSOConfiguration */
|
|
373
|
+
deleteAccountSSOConfiguration: DeleteAccountSsoConfigurationResult;
|
|
374
|
+
/** Update an AccountSSOConfiguration */
|
|
375
|
+
updateAccountSSOConfiguration: AccountSsoConfiguration;
|
|
376
|
+
};
|
|
377
|
+
export declare type AccountSsoConfigurationMutationCreateAccountSsoConfigurationArgs = {
|
|
378
|
+
accountId: Scalars['ID'];
|
|
379
|
+
accountSSOConfigurationData: AccountSsoConfigurationData;
|
|
380
|
+
};
|
|
381
|
+
export declare type AccountSsoConfigurationMutationDeleteAccountSsoConfigurationArgs = {
|
|
382
|
+
id: Scalars['ID'];
|
|
383
|
+
};
|
|
384
|
+
export declare type AccountSsoConfigurationMutationUpdateAccountSsoConfigurationArgs = {
|
|
385
|
+
accountSSOConfigurationData: AccountSsoConfigurationData;
|
|
386
|
+
id: Scalars['ID'];
|
|
387
|
+
};
|
|
388
|
+
/** Public auth configuration data for an SSO account. */
|
|
389
|
+
export declare type AccountSsoConfigurationPublicData = {
|
|
390
|
+
__typename?: 'AccountSSOConfigurationPublicData';
|
|
391
|
+
authEndpoint?: Maybe<Scalars['String']>;
|
|
392
|
+
authProtocol: AuthProtocolType;
|
|
393
|
+
authProviderIdentifier: Scalars['String'];
|
|
394
|
+
clientIdentifier: Scalars['String'];
|
|
395
|
+
id: Scalars['ID'];
|
|
396
|
+
issuer?: Maybe<Scalars['String']>;
|
|
397
|
+
jwksEndpoint?: Maybe<Scalars['String']>;
|
|
398
|
+
redirectUri: Scalars['String'];
|
|
399
|
+
tokenEndpoint?: Maybe<Scalars['String']>;
|
|
400
|
+
userInfoEndpoint?: Maybe<Scalars['String']>;
|
|
401
|
+
};
|
|
402
|
+
export declare type AccountSsoConfigurationPublicDataQuery = {
|
|
403
|
+
__typename?: 'AccountSSOConfigurationPublicDataQuery';
|
|
404
|
+
/** Get AccountSSOConfiguration public data by account name */
|
|
405
|
+
publicDataByAccountName: AccountSsoConfigurationPublicData;
|
|
406
|
+
};
|
|
407
|
+
export declare type AccountSsoConfigurationPublicDataQueryPublicDataByAccountNameArgs = {
|
|
408
|
+
accountName: Scalars['String'];
|
|
409
|
+
};
|
|
337
410
|
export declare type AccountUsageMetric = {
|
|
338
411
|
__typename?: 'AccountUsageMetric';
|
|
339
412
|
id: Scalars['ID'];
|
|
@@ -362,6 +435,7 @@ export declare type AccountUsageMetricsByBillingPeriodArgs = {
|
|
|
362
435
|
date: Scalars['DateTime'];
|
|
363
436
|
};
|
|
364
437
|
export declare type AccountUsageMetricsMetricsForServiceMetricArgs = {
|
|
438
|
+
filterParams?: InputMaybe<Scalars['JSONObject']>;
|
|
365
439
|
granularity: UsageMetricsGranularity;
|
|
366
440
|
serviceMetric: EasServiceMetric;
|
|
367
441
|
timespan: UsageMetricsTimespan;
|
|
@@ -596,6 +670,7 @@ export declare type AndroidJobInput = {
|
|
|
596
670
|
type: BuildWorkflow;
|
|
597
671
|
updates?: InputMaybe<BuildUpdatesInput>;
|
|
598
672
|
username?: InputMaybe<Scalars['String']>;
|
|
673
|
+
version?: InputMaybe<AndroidJobVersionInput>;
|
|
599
674
|
};
|
|
600
675
|
export declare type AndroidJobKeystoreInput = {
|
|
601
676
|
dataBase64: Scalars['String'];
|
|
@@ -607,6 +682,9 @@ export declare type AndroidJobSecretsInput = {
|
|
|
607
682
|
buildCredentials?: InputMaybe<AndroidJobBuildCredentialsInput>;
|
|
608
683
|
environmentSecrets?: InputMaybe<Scalars['JSONObject']>;
|
|
609
684
|
};
|
|
685
|
+
export declare type AndroidJobVersionInput = {
|
|
686
|
+
versionCode: Scalars['String'];
|
|
687
|
+
};
|
|
610
688
|
export declare type AndroidKeystore = {
|
|
611
689
|
__typename?: 'AndroidKeystore';
|
|
612
690
|
account: Account;
|
|
@@ -709,6 +787,7 @@ export declare type App = Project & {
|
|
|
709
787
|
isLikedByMe: Scalars['Boolean'];
|
|
710
788
|
/** @deprecated No longer supported */
|
|
711
789
|
lastPublishedTime: Scalars['DateTime'];
|
|
790
|
+
latestAppVersionByPlatformAndApplicationIdentifier?: Maybe<AppVersion>;
|
|
712
791
|
latestReleaseForReleaseChannel?: Maybe<AppRelease>;
|
|
713
792
|
/** ID of latest classic update release */
|
|
714
793
|
latestReleaseId: Scalars['ID'];
|
|
@@ -812,6 +891,11 @@ export declare type AppIosAppCredentialsArgs = {
|
|
|
812
891
|
filter?: InputMaybe<IosAppCredentialsFilter>;
|
|
813
892
|
};
|
|
814
893
|
/** Represents an Exponent App (or Experience in legacy terms) */
|
|
894
|
+
export declare type AppLatestAppVersionByPlatformAndApplicationIdentifierArgs = {
|
|
895
|
+
applicationIdentifier: Scalars['String'];
|
|
896
|
+
platform: AppPlatform;
|
|
897
|
+
};
|
|
898
|
+
/** Represents an Exponent App (or Experience in legacy terms) */
|
|
815
899
|
export declare type AppLatestReleaseForReleaseChannelArgs = {
|
|
816
900
|
platform: AppPlatform;
|
|
817
901
|
releaseChannel: Scalars['String'];
|
|
@@ -1004,6 +1088,47 @@ export declare enum AppStoreConnectUserRole {
|
|
|
1004
1088
|
Technical = "TECHNICAL",
|
|
1005
1089
|
Unknown = "UNKNOWN"
|
|
1006
1090
|
}
|
|
1091
|
+
/** Represents Play Store/App Store version of an application */
|
|
1092
|
+
export declare type AppVersion = {
|
|
1093
|
+
__typename?: 'AppVersion';
|
|
1094
|
+
/**
|
|
1095
|
+
* Store identifier for an application
|
|
1096
|
+
* - Android - applicationId
|
|
1097
|
+
* - iOS - bundle identifier
|
|
1098
|
+
*/
|
|
1099
|
+
applicationIdentifier: Scalars['String'];
|
|
1100
|
+
/**
|
|
1101
|
+
* Value that identifies build in a store (it's visible to developers, but not to end users)
|
|
1102
|
+
* - Android - versionCode in build.gradle ("android.versionCode" field in app.json)
|
|
1103
|
+
* - iOS - CFBundleVersion in Info.plist ("ios.buildNumber" field in app.json)
|
|
1104
|
+
*/
|
|
1105
|
+
buildVersion: Scalars['String'];
|
|
1106
|
+
id: Scalars['ID'];
|
|
1107
|
+
platform: AppPlatform;
|
|
1108
|
+
runtimeVersion?: Maybe<Scalars['String']>;
|
|
1109
|
+
/**
|
|
1110
|
+
* User-facing version in a store
|
|
1111
|
+
* - Android - versionName in build.gradle ("version" field in app.json)
|
|
1112
|
+
* - iOS - CFBundleShortVersionString in Info.plist ("version" field in app.json)
|
|
1113
|
+
*/
|
|
1114
|
+
storeVersion: Scalars['String'];
|
|
1115
|
+
};
|
|
1116
|
+
export declare type AppVersionInput = {
|
|
1117
|
+
appId: Scalars['ID'];
|
|
1118
|
+
applicationIdentifier: Scalars['String'];
|
|
1119
|
+
buildVersion: Scalars['String'];
|
|
1120
|
+
platform: AppPlatform;
|
|
1121
|
+
runtimeVersion?: InputMaybe<Scalars['String']>;
|
|
1122
|
+
storeVersion: Scalars['String'];
|
|
1123
|
+
};
|
|
1124
|
+
export declare type AppVersionMutation = {
|
|
1125
|
+
__typename?: 'AppVersionMutation';
|
|
1126
|
+
/** Create an app version */
|
|
1127
|
+
createAppVersion: AppVersion;
|
|
1128
|
+
};
|
|
1129
|
+
export declare type AppVersionMutationCreateAppVersionArgs = {
|
|
1130
|
+
appVersionInput: AppVersionInput;
|
|
1131
|
+
};
|
|
1007
1132
|
export declare type AppleAppIdentifier = {
|
|
1008
1133
|
__typename?: 'AppleAppIdentifier';
|
|
1009
1134
|
account: Account;
|
|
@@ -1181,7 +1306,7 @@ export declare type ApplePushKey = {
|
|
|
1181
1306
|
updatedAt: Scalars['DateTime'];
|
|
1182
1307
|
};
|
|
1183
1308
|
export declare type ApplePushKeyInput = {
|
|
1184
|
-
appleTeamId
|
|
1309
|
+
appleTeamId: Scalars['ID'];
|
|
1185
1310
|
keyIdentifier: Scalars['String'];
|
|
1186
1311
|
keyP8: Scalars['String'];
|
|
1187
1312
|
};
|
|
@@ -1278,6 +1403,9 @@ export declare type AssetQuery = {
|
|
|
1278
1403
|
export declare type AssetQueryMetadataArgs = {
|
|
1279
1404
|
storageKeys: Array<Scalars['String']>;
|
|
1280
1405
|
};
|
|
1406
|
+
export declare enum AuthProtocolType {
|
|
1407
|
+
Oidc = "OIDC"
|
|
1408
|
+
}
|
|
1281
1409
|
export declare type Billing = {
|
|
1282
1410
|
__typename?: 'Billing';
|
|
1283
1411
|
/** History of invoices */
|
|
@@ -1304,6 +1432,7 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
|
|
|
1304
1432
|
canRetry: Scalars['Boolean'];
|
|
1305
1433
|
cancelingActor?: Maybe<Actor>;
|
|
1306
1434
|
channel?: Maybe<Scalars['String']>;
|
|
1435
|
+
childBuild?: Maybe<Build>;
|
|
1307
1436
|
completedAt?: Maybe<Scalars['DateTime']>;
|
|
1308
1437
|
createdAt: Scalars['DateTime'];
|
|
1309
1438
|
distribution?: Maybe<DistributionType>;
|
|
@@ -1312,6 +1441,7 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
|
|
|
1312
1441
|
estimatedWaitTimeLeftSeconds?: Maybe<Scalars['Int']>;
|
|
1313
1442
|
expirationDate?: Maybe<Scalars['DateTime']>;
|
|
1314
1443
|
gitCommitHash?: Maybe<Scalars['String']>;
|
|
1444
|
+
gitCommitMessage?: Maybe<Scalars['String']>;
|
|
1315
1445
|
id: Scalars['ID'];
|
|
1316
1446
|
/** Queue position is 1-indexed */
|
|
1317
1447
|
initialQueuePosition?: Maybe<Scalars['Int']>;
|
|
@@ -1321,6 +1451,10 @@ export declare type Build = ActivityTimelineProjectActivity & BuildOrBuildJob &
|
|
|
1321
1451
|
iosEnterpriseProvisioning?: Maybe<BuildIosEnterpriseProvisioning>;
|
|
1322
1452
|
isGitWorkingTreeDirty?: Maybe<Scalars['Boolean']>;
|
|
1323
1453
|
logFiles: Array<Scalars['String']>;
|
|
1454
|
+
maxBuildTimeSeconds: Scalars['Int'];
|
|
1455
|
+
/** Retry time starts after completedAt */
|
|
1456
|
+
maxRetryTimeMinutes: Scalars['Int'];
|
|
1457
|
+
message?: Maybe<Scalars['String']>;
|
|
1324
1458
|
metrics?: Maybe<BuildMetrics>;
|
|
1325
1459
|
parentBuild?: Maybe<Build>;
|
|
1326
1460
|
platform: AppPlatform;
|
|
@@ -1458,8 +1592,10 @@ export declare type BuildMetadataInput = {
|
|
|
1458
1592
|
credentialsSource?: InputMaybe<BuildCredentialsSource>;
|
|
1459
1593
|
distribution?: InputMaybe<DistributionType>;
|
|
1460
1594
|
gitCommitHash?: InputMaybe<Scalars['String']>;
|
|
1595
|
+
gitCommitMessage?: InputMaybe<Scalars['String']>;
|
|
1461
1596
|
iosEnterpriseProvisioning?: InputMaybe<BuildIosEnterpriseProvisioning>;
|
|
1462
1597
|
isGitWorkingTreeDirty?: InputMaybe<Scalars['Boolean']>;
|
|
1598
|
+
message?: InputMaybe<Scalars['String']>;
|
|
1463
1599
|
reactNativeVersion?: InputMaybe<Scalars['String']>;
|
|
1464
1600
|
releaseChannel?: InputMaybe<Scalars['String']>;
|
|
1465
1601
|
runtimeVersion?: InputMaybe<Scalars['String']>;
|
|
@@ -1521,7 +1657,8 @@ export declare type BuildParamsInput = {
|
|
|
1521
1657
|
};
|
|
1522
1658
|
export declare enum BuildPriority {
|
|
1523
1659
|
High = "HIGH",
|
|
1524
|
-
Normal = "NORMAL"
|
|
1660
|
+
Normal = "NORMAL",
|
|
1661
|
+
NormalPlus = "NORMAL_PLUS"
|
|
1525
1662
|
}
|
|
1526
1663
|
/** Publicly visible data for a Build. */
|
|
1527
1664
|
export declare type BuildPublicData = {
|
|
@@ -1697,6 +1834,10 @@ export declare type DeleteAccountResult = {
|
|
|
1697
1834
|
__typename?: 'DeleteAccountResult';
|
|
1698
1835
|
id: Scalars['ID'];
|
|
1699
1836
|
};
|
|
1837
|
+
export declare type DeleteAccountSsoConfigurationResult = {
|
|
1838
|
+
__typename?: 'DeleteAccountSSOConfigurationResult';
|
|
1839
|
+
id: Scalars['ID'];
|
|
1840
|
+
};
|
|
1700
1841
|
export declare type DeleteAndroidKeystoreResult = {
|
|
1701
1842
|
__typename?: 'DeleteAndroidKeystoreResult';
|
|
1702
1843
|
id: Scalars['ID'];
|
|
@@ -1776,6 +1917,7 @@ export declare enum EasBuildDeprecationInfoType {
|
|
|
1776
1917
|
export declare enum EasServiceMetric {
|
|
1777
1918
|
AssetsRequests = "ASSETS_REQUESTS",
|
|
1778
1919
|
BandwidthUsage = "BANDWIDTH_USAGE",
|
|
1920
|
+
Builds = "BUILDS",
|
|
1779
1921
|
ManifestRequests = "MANIFEST_REQUESTS",
|
|
1780
1922
|
UniqueUsers = "UNIQUE_USERS"
|
|
1781
1923
|
}
|
|
@@ -1851,6 +1993,14 @@ export declare enum Feature {
|
|
|
1851
1993
|
/** Share access to projects */
|
|
1852
1994
|
Teams = "TEAMS"
|
|
1853
1995
|
}
|
|
1996
|
+
export declare type FutureSubscription = {
|
|
1997
|
+
__typename?: 'FutureSubscription';
|
|
1998
|
+
createdAt: Scalars['DateTime'];
|
|
1999
|
+
id: Scalars['ID'];
|
|
2000
|
+
meteredBillingStatus: MeteredBillingStatus;
|
|
2001
|
+
planId: Scalars['String'];
|
|
2002
|
+
startDate: Scalars['DateTime'];
|
|
2003
|
+
};
|
|
1854
2004
|
export declare type GetSignedAssetUploadSpecificationsResult = {
|
|
1855
2005
|
__typename?: 'GetSignedAssetUploadSpecificationsResult';
|
|
1856
2006
|
specifications: Array<Scalars['String']>;
|
|
@@ -2078,6 +2228,7 @@ export declare type IosJobInput = {
|
|
|
2078
2228
|
type: BuildWorkflow;
|
|
2079
2229
|
updates?: InputMaybe<BuildUpdatesInput>;
|
|
2080
2230
|
username?: InputMaybe<Scalars['String']>;
|
|
2231
|
+
version?: InputMaybe<IosJobVersionInput>;
|
|
2081
2232
|
};
|
|
2082
2233
|
export declare type IosJobSecretsInput = {
|
|
2083
2234
|
buildCredentials?: InputMaybe<Array<InputMaybe<IosJobTargetCredentialsInput>>>;
|
|
@@ -2088,6 +2239,9 @@ export declare type IosJobTargetCredentialsInput = {
|
|
|
2088
2239
|
provisioningProfileBase64: Scalars['String'];
|
|
2089
2240
|
targetName: Scalars['String'];
|
|
2090
2241
|
};
|
|
2242
|
+
export declare type IosJobVersionInput = {
|
|
2243
|
+
buildNumber: Scalars['String'];
|
|
2244
|
+
};
|
|
2091
2245
|
/** @deprecated Use developmentClient option instead. */
|
|
2092
2246
|
export declare enum IosManagedBuildType {
|
|
2093
2247
|
DevelopmentClient = "DEVELOPMENT_CLIENT",
|
|
@@ -2226,6 +2380,10 @@ export declare type MeMutationUpdateAppArgs = {
|
|
|
2226
2380
|
export declare type MeMutationUpdateProfileArgs = {
|
|
2227
2381
|
userData: UserDataInput;
|
|
2228
2382
|
};
|
|
2383
|
+
export declare type MeteredBillingStatus = {
|
|
2384
|
+
__typename?: 'MeteredBillingStatus';
|
|
2385
|
+
EAS_UPDATE: Scalars['Boolean'];
|
|
2386
|
+
};
|
|
2229
2387
|
export declare type Offer = {
|
|
2230
2388
|
__typename?: 'Offer';
|
|
2231
2389
|
features?: Maybe<Array<Maybe<Feature>>>;
|
|
@@ -2408,6 +2566,8 @@ export declare type RootMutation = {
|
|
|
2408
2566
|
accessToken: AccessTokenMutation;
|
|
2409
2567
|
/** Mutations that modify an Account */
|
|
2410
2568
|
account: AccountMutation;
|
|
2569
|
+
/** Mutations that create, update, and delete an AccountSSOConfiguration */
|
|
2570
|
+
accountSSOConfiguration: AccountSsoConfigurationMutation;
|
|
2411
2571
|
/** Mutations that modify the build credentials for an Android app */
|
|
2412
2572
|
androidAppBuildCredentials: AndroidAppBuildCredentialsMutation;
|
|
2413
2573
|
/** Mutations that modify the credentials for an Android app */
|
|
@@ -2420,6 +2580,8 @@ export declare type RootMutation = {
|
|
|
2420
2580
|
app?: Maybe<AppMutation>;
|
|
2421
2581
|
/** Mutations that modify an App Store Connect Api Key */
|
|
2422
2582
|
appStoreConnectApiKey: AppStoreConnectApiKeyMutation;
|
|
2583
|
+
/** Mutations that modify an AppVersion */
|
|
2584
|
+
appVersion: AppVersionMutation;
|
|
2423
2585
|
/** Mutations that modify an Identifier for an iOS App */
|
|
2424
2586
|
appleAppIdentifier: AppleAppIdentifierMutation;
|
|
2425
2587
|
/** Mutations that modify an Apple Device */
|
|
@@ -2486,6 +2648,8 @@ export declare type RootQuery = {
|
|
|
2486
2648
|
_doNotUse?: Maybe<Scalars['String']>;
|
|
2487
2649
|
/** Top-level query object for querying Accounts. */
|
|
2488
2650
|
account: AccountQuery;
|
|
2651
|
+
/** Top-level query object for querying AccountSSOConfigurationPublicData */
|
|
2652
|
+
accountSSOConfigurationPublicData: AccountSsoConfigurationPublicDataQuery;
|
|
2489
2653
|
/** Top-level query object for querying Actors. */
|
|
2490
2654
|
actor: ActorQuery;
|
|
2491
2655
|
/**
|
|
@@ -2655,12 +2819,16 @@ export declare type Submission = ActivityTimelineProjectActivity & {
|
|
|
2655
2819
|
archiveUrl?: Maybe<Scalars['String']>;
|
|
2656
2820
|
canRetry: Scalars['Boolean'];
|
|
2657
2821
|
cancelingActor?: Maybe<Actor>;
|
|
2822
|
+
childSubmission?: Maybe<Submission>;
|
|
2823
|
+
completedAt?: Maybe<Scalars['DateTime']>;
|
|
2658
2824
|
createdAt: Scalars['DateTime'];
|
|
2659
2825
|
error?: Maybe<SubmissionError>;
|
|
2660
2826
|
id: Scalars['ID'];
|
|
2661
2827
|
initiatingActor?: Maybe<Actor>;
|
|
2662
2828
|
iosConfig?: Maybe<IosSubmissionConfig>;
|
|
2663
2829
|
logsUrl?: Maybe<Scalars['String']>;
|
|
2830
|
+
/** Retry time starts after completedAt */
|
|
2831
|
+
maxRetryTimeMinutes: Scalars['Int'];
|
|
2664
2832
|
parentSubmission?: Maybe<Submission>;
|
|
2665
2833
|
platform: AppPlatform;
|
|
2666
2834
|
status: SubmissionStatus;
|
|
@@ -2737,8 +2905,10 @@ export declare type SubscriptionDetails = {
|
|
|
2737
2905
|
cancelledAt?: Maybe<Scalars['DateTime']>;
|
|
2738
2906
|
concurrencies?: Maybe<Concurrencies>;
|
|
2739
2907
|
endedAt?: Maybe<Scalars['DateTime']>;
|
|
2908
|
+
futureSubscription?: Maybe<FutureSubscription>;
|
|
2740
2909
|
id: Scalars['ID'];
|
|
2741
2910
|
isDowngrading?: Maybe<Scalars['Boolean']>;
|
|
2911
|
+
meteredBillingStatus: MeteredBillingStatus;
|
|
2742
2912
|
name?: Maybe<Scalars['String']>;
|
|
2743
2913
|
nextInvoice?: Maybe<Scalars['DateTime']>;
|
|
2744
2914
|
planId?: Maybe<Scalars['String']>;
|
|
@@ -2897,6 +3067,7 @@ export declare type UsageMetricTotal = {
|
|
|
2897
3067
|
};
|
|
2898
3068
|
export declare enum UsageMetricType {
|
|
2899
3069
|
Bandwidth = "BANDWIDTH",
|
|
3070
|
+
Build = "BUILD",
|
|
2900
3071
|
Request = "REQUEST",
|
|
2901
3072
|
User = "USER"
|
|
2902
3073
|
}
|
|
@@ -3234,43 +3405,6 @@ export declare type DeleteUpdateBranchMutation = {
|
|
|
3234
3405
|
};
|
|
3235
3406
|
};
|
|
3236
3407
|
};
|
|
3237
|
-
export declare type BranchesByAppQueryVariables = Exact<{
|
|
3238
|
-
appId: Scalars['String'];
|
|
3239
|
-
limit: Scalars['Int'];
|
|
3240
|
-
}>;
|
|
3241
|
-
export declare type BranchesByAppQuery = {
|
|
3242
|
-
__typename?: 'RootQuery';
|
|
3243
|
-
app: {
|
|
3244
|
-
__typename?: 'AppQuery';
|
|
3245
|
-
byId: {
|
|
3246
|
-
__typename?: 'App';
|
|
3247
|
-
id: string;
|
|
3248
|
-
updateBranches: Array<{
|
|
3249
|
-
__typename?: 'UpdateBranch';
|
|
3250
|
-
id: string;
|
|
3251
|
-
name: string;
|
|
3252
|
-
updates: Array<{
|
|
3253
|
-
__typename?: 'Update';
|
|
3254
|
-
id: string;
|
|
3255
|
-
createdAt: any;
|
|
3256
|
-
message?: string | null;
|
|
3257
|
-
runtimeVersion: string;
|
|
3258
|
-
group: string;
|
|
3259
|
-
platform: string;
|
|
3260
|
-
actor?: {
|
|
3261
|
-
__typename: 'Robot';
|
|
3262
|
-
firstName?: string | null;
|
|
3263
|
-
id: string;
|
|
3264
|
-
} | {
|
|
3265
|
-
__typename: 'User';
|
|
3266
|
-
username: string;
|
|
3267
|
-
id: string;
|
|
3268
|
-
} | null;
|
|
3269
|
-
}>;
|
|
3270
|
-
}>;
|
|
3271
|
-
};
|
|
3272
|
-
};
|
|
3273
|
-
};
|
|
3274
3408
|
export declare type EditUpdateBranchMutationVariables = Exact<{
|
|
3275
3409
|
input: EditUpdateBranchInput;
|
|
3276
3410
|
}>;
|
|
@@ -5759,6 +5893,19 @@ export declare type CreateAppMutation = {
|
|
|
5759
5893
|
};
|
|
5760
5894
|
} | null;
|
|
5761
5895
|
};
|
|
5896
|
+
export declare type CreateAppVersionMutationVariables = Exact<{
|
|
5897
|
+
appVersionInput: AppVersionInput;
|
|
5898
|
+
}>;
|
|
5899
|
+
export declare type CreateAppVersionMutation = {
|
|
5900
|
+
__typename?: 'RootMutation';
|
|
5901
|
+
appVersion: {
|
|
5902
|
+
__typename?: 'AppVersionMutation';
|
|
5903
|
+
createAppVersion: {
|
|
5904
|
+
__typename?: 'AppVersion';
|
|
5905
|
+
id: string;
|
|
5906
|
+
};
|
|
5907
|
+
};
|
|
5908
|
+
};
|
|
5762
5909
|
export declare type CreateAndroidBuildMutationVariables = Exact<{
|
|
5763
5910
|
appId: Scalars['ID'];
|
|
5764
5911
|
job: AndroidJobInput;
|
|
@@ -6181,6 +6328,27 @@ export declare type DeleteWebhookMutation = {
|
|
|
6181
6328
|
};
|
|
6182
6329
|
};
|
|
6183
6330
|
};
|
|
6331
|
+
export declare type LatestAppVersionQueryVariables = Exact<{
|
|
6332
|
+
appId: Scalars['String'];
|
|
6333
|
+
platform: AppPlatform;
|
|
6334
|
+
applicationIdentifier: Scalars['String'];
|
|
6335
|
+
}>;
|
|
6336
|
+
export declare type LatestAppVersionQuery = {
|
|
6337
|
+
__typename?: 'RootQuery';
|
|
6338
|
+
app: {
|
|
6339
|
+
__typename?: 'AppQuery';
|
|
6340
|
+
byId: {
|
|
6341
|
+
__typename?: 'App';
|
|
6342
|
+
id: string;
|
|
6343
|
+
latestAppVersionByPlatformAndApplicationIdentifier?: {
|
|
6344
|
+
__typename?: 'AppVersion';
|
|
6345
|
+
id: string;
|
|
6346
|
+
storeVersion: string;
|
|
6347
|
+
buildVersion: string;
|
|
6348
|
+
} | null;
|
|
6349
|
+
};
|
|
6350
|
+
};
|
|
6351
|
+
};
|
|
6184
6352
|
export declare type ViewBranchQueryVariables = Exact<{
|
|
6185
6353
|
appId: Scalars['String'];
|
|
6186
6354
|
name: Scalars['String'];
|
|
@@ -6200,6 +6368,44 @@ export declare type ViewBranchQuery = {
|
|
|
6200
6368
|
};
|
|
6201
6369
|
};
|
|
6202
6370
|
};
|
|
6371
|
+
export declare type BranchesByAppQueryVariables = Exact<{
|
|
6372
|
+
appId: Scalars['String'];
|
|
6373
|
+
limit: Scalars['Int'];
|
|
6374
|
+
offset: Scalars['Int'];
|
|
6375
|
+
}>;
|
|
6376
|
+
export declare type BranchesByAppQuery = {
|
|
6377
|
+
__typename?: 'RootQuery';
|
|
6378
|
+
app: {
|
|
6379
|
+
__typename?: 'AppQuery';
|
|
6380
|
+
byId: {
|
|
6381
|
+
__typename?: 'App';
|
|
6382
|
+
id: string;
|
|
6383
|
+
updateBranches: Array<{
|
|
6384
|
+
__typename?: 'UpdateBranch';
|
|
6385
|
+
id: string;
|
|
6386
|
+
name: string;
|
|
6387
|
+
updates: Array<{
|
|
6388
|
+
__typename?: 'Update';
|
|
6389
|
+
id: string;
|
|
6390
|
+
createdAt: any;
|
|
6391
|
+
message?: string | null;
|
|
6392
|
+
runtimeVersion: string;
|
|
6393
|
+
group: string;
|
|
6394
|
+
platform: string;
|
|
6395
|
+
actor?: {
|
|
6396
|
+
__typename: 'Robot';
|
|
6397
|
+
firstName?: string | null;
|
|
6398
|
+
id: string;
|
|
6399
|
+
} | {
|
|
6400
|
+
__typename: 'User';
|
|
6401
|
+
username: string;
|
|
6402
|
+
id: string;
|
|
6403
|
+
} | null;
|
|
6404
|
+
}>;
|
|
6405
|
+
}>;
|
|
6406
|
+
};
|
|
6407
|
+
};
|
|
6408
|
+
};
|
|
6203
6409
|
export declare type BuildsByIdQueryVariables = Exact<{
|
|
6204
6410
|
buildId: Scalars['ID'];
|
|
6205
6411
|
}>;
|
|
@@ -6551,6 +6757,7 @@ export declare type GetAllSubmissionsForAppQuery = {
|
|
|
6551
6757
|
export declare type ViewAllUpdatesQueryVariables = Exact<{
|
|
6552
6758
|
appId: Scalars['String'];
|
|
6553
6759
|
limit: Scalars['Int'];
|
|
6760
|
+
offset: Scalars['Int'];
|
|
6554
6761
|
}>;
|
|
6555
6762
|
export declare type ViewAllUpdatesQuery = {
|
|
6556
6763
|
__typename?: 'RootQuery';
|
|
@@ -6559,28 +6766,28 @@ export declare type ViewAllUpdatesQuery = {
|
|
|
6559
6766
|
byId: {
|
|
6560
6767
|
__typename?: 'App';
|
|
6561
6768
|
id: string;
|
|
6562
|
-
|
|
6563
|
-
__typename?: '
|
|
6769
|
+
updates: Array<{
|
|
6770
|
+
__typename?: 'Update';
|
|
6564
6771
|
id: string;
|
|
6565
|
-
|
|
6566
|
-
|
|
6567
|
-
|
|
6772
|
+
group: string;
|
|
6773
|
+
message?: string | null;
|
|
6774
|
+
createdAt: any;
|
|
6775
|
+
runtimeVersion: string;
|
|
6776
|
+
platform: string;
|
|
6777
|
+
actor?: {
|
|
6778
|
+
__typename?: 'Robot';
|
|
6779
|
+
firstName?: string | null;
|
|
6568
6780
|
id: string;
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
__typename?: 'User';
|
|
6580
|
-
username: string;
|
|
6581
|
-
id: string;
|
|
6582
|
-
} | null;
|
|
6583
|
-
}>;
|
|
6781
|
+
} | {
|
|
6782
|
+
__typename?: 'User';
|
|
6783
|
+
username: string;
|
|
6784
|
+
id: string;
|
|
6785
|
+
} | null;
|
|
6786
|
+
branch: {
|
|
6787
|
+
__typename?: 'UpdateBranch';
|
|
6788
|
+
id: string;
|
|
6789
|
+
name: string;
|
|
6790
|
+
};
|
|
6584
6791
|
}>;
|
|
6585
6792
|
};
|
|
6586
6793
|
};
|
|
@@ -6620,6 +6827,11 @@ export declare type ViewBranchUpdatesQuery = {
|
|
|
6620
6827
|
username: string;
|
|
6621
6828
|
id: string;
|
|
6622
6829
|
} | null;
|
|
6830
|
+
branch: {
|
|
6831
|
+
__typename?: 'UpdateBranch';
|
|
6832
|
+
id: string;
|
|
6833
|
+
name: string;
|
|
6834
|
+
};
|
|
6623
6835
|
}>;
|
|
6624
6836
|
} | null;
|
|
6625
6837
|
};
|