eas-cli 16.13.3 → 16.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/README.md +128 -78
  2. package/build/commands/env/create.d.ts +0 -1
  3. package/build/commands/env/create.js +1 -28
  4. package/build/commands/update/delete.js +2 -20
  5. package/build/commands/update/republish.js +2 -139
  6. package/build/commands/update/revert-update-rollout.d.ts +24 -0
  7. package/build/commands/update/revert-update-rollout.js +264 -0
  8. package/build/commands/update/roll-back-to-embedded.d.ts +0 -2
  9. package/build/commands/update/roll-back-to-embedded.js +13 -133
  10. package/build/commands/upload.d.ts +0 -1
  11. package/build/commands/upload.js +0 -1
  12. package/build/graphql/generated.d.ts +91 -109
  13. package/build/graphql/generated.js +15 -3
  14. package/build/graphql/mutations/EnvironmentVariableMutation.d.ts +0 -2
  15. package/build/graphql/mutations/EnvironmentVariableMutation.js +0 -48
  16. package/build/graphql/types/Update.js +1 -0
  17. package/build/project/publish.js +1 -0
  18. package/build/update/delete.d.ts +5 -0
  19. package/build/update/delete.js +24 -0
  20. package/build/update/queries.d.ts +13 -1
  21. package/build/update/queries.js +62 -1
  22. package/build/update/republish.d.ts +27 -0
  23. package/build/update/republish.js +242 -1
  24. package/build/update/roll-back-to-embedded.d.ts +18 -0
  25. package/build/update/roll-back-to-embedded.js +119 -0
  26. package/build/user/fetchUser.js +15 -13
  27. package/build/utils/statuspageService.js +1 -0
  28. package/oclif.manifest.json +78 -115
  29. package/package.json +3 -2
  30. package/build/commands/env/link.d.ts +0 -23
  31. package/build/commands/env/link.js +0 -128
  32. package/build/commands/env/unlink.d.ts +0 -22
  33. package/build/commands/env/unlink.js +0 -117
@@ -3,27 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const eas_json_1 = require("@expo/eas-json");
5
5
  const core_1 = require("@oclif/core");
6
- const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
7
6
  const queries_1 = require("../../branch/queries");
8
- const url_1 = require("../../build/utils/url");
9
7
  const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
10
8
  const flags_1 = require("../../commandUtils/flags");
11
9
  const pagination_1 = require("../../commandUtils/pagination");
12
- const fetch_1 = tslib_1.__importDefault(require("../../fetch"));
13
10
  const generated_1 = require("../../graphql/generated");
14
- const PublishMutation_1 = require("../../graphql/mutations/PublishMutation");
15
- const RuntimeQuery_1 = require("../../graphql/queries/RuntimeQuery");
16
- const log_1 = tslib_1.__importStar(require("../../log"));
17
- const ora_1 = require("../../ora");
18
11
  const projectUtils_1 = require("../../project/projectUtils");
19
12
  const publish_1 = require("../../project/publish");
20
13
  const configure_1 = require("../../update/configure");
21
- const utils_1 = require("../../update/utils");
14
+ const queries_2 = require("../../update/queries");
15
+ const roll_back_to_embedded_1 = require("../../update/roll-back-to-embedded");
22
16
  const code_signing_1 = require("../../utils/code-signing");
23
- const uniqBy_1 = tslib_1.__importDefault(require("../../utils/expodash/uniqBy"));
24
- const formatFields_1 = tslib_1.__importDefault(require("../../utils/formatFields"));
25
17
  const json_1 = require("../../utils/json");
26
- const relay_1 = require("../../utils/relay");
27
18
  const statuspageService_1 = require("../../utils/statuspageService");
28
19
  class UpdateRollBackToEmbedded extends EasCommand_1.default {
29
20
  static description = 'roll back to the embedded update';
@@ -116,134 +107,23 @@ class UpdateRollBackToEmbedded extends EasCommand_1.default {
116
107
  branchName,
117
108
  });
118
109
  const selectedRuntime = runtimeVersionArg ??
119
- (await UpdateRollBackToEmbedded.selectRuntimeAsync(graphqlClient, {
110
+ (await (0, queries_2.selectRuntimeOnBranchAsync)(graphqlClient, {
120
111
  appId: projectId,
121
112
  branchName,
122
113
  }))?.version;
123
114
  if (!selectedRuntime) {
124
115
  core_1.Errors.error('Must select a runtime or provide the --runtimeVersion flag', { exit: 1 });
125
116
  }
126
- const runtimeToPlatformsAndFingerprintInfoMapping = (0, publish_1.getRuntimeToPlatformsAndFingerprintInfoMappingFromRuntimeVersionInfoObjects)(realizedPlatforms.map(platform => ({
127
- platform,
128
- runtimeVersionInfo: {
129
- runtimeVersion: selectedRuntime,
130
- expoUpdatesRuntimeFingerprint: null,
131
- expoUpdatesRuntimeFingerprintHash: null,
132
- },
133
- })));
134
- let newUpdates;
135
- const publishSpinner = (0, ora_1.ora)('Publishing...').start();
136
- try {
137
- newUpdates = await this.publishRollbacksAsync({
138
- graphqlClient,
139
- updateMessage,
140
- branchId: branch.id,
141
- codeSigningInfo,
142
- runtimeToPlatformsAndFingerprintInfoMapping,
143
- realizedPlatforms,
144
- });
145
- publishSpinner.succeed('Published!');
146
- }
147
- catch (e) {
148
- publishSpinner.fail('Failed to publish updates');
149
- throw e;
150
- }
151
- if (jsonFlag) {
152
- (0, json_1.printJsonOnlyOutput)((0, utils_1.getUpdateJsonInfosForUpdates)(newUpdates));
153
- }
154
- else {
155
- log_1.default.addNewLineIfNone();
156
- for (const runtime of (0, uniqBy_1.default)(runtimeToPlatformsAndFingerprintInfoMapping, version => version.runtimeVersion)) {
157
- const newUpdatesForRuntimeVersion = newUpdates.filter(update => update.runtimeVersion === runtime.runtimeVersion);
158
- if (newUpdatesForRuntimeVersion.length === 0) {
159
- throw new Error(`Publish response is missing updates with runtime ${runtime.runtimeVersion}.`);
160
- }
161
- const platforms = newUpdatesForRuntimeVersion.map(update => update.platform);
162
- const newAndroidUpdate = newUpdatesForRuntimeVersion.find(update => update.platform === 'android');
163
- const newIosUpdate = newUpdatesForRuntimeVersion.find(update => update.platform === 'ios');
164
- const updateGroupId = newUpdatesForRuntimeVersion[0].group;
165
- const projectName = exp.slug;
166
- const accountName = (await (0, projectUtils_1.getOwnerAccountForProjectIdAsync)(graphqlClient, projectId)).name;
167
- const updateGroupUrl = (0, url_1.getUpdateGroupUrl)(accountName, projectName, updateGroupId);
168
- const updateGroupLink = (0, log_1.link)(updateGroupUrl, { dim: false });
169
- log_1.default.log((0, formatFields_1.default)([
170
- { label: 'Branch', value: branchName },
171
- { label: 'Runtime version', value: runtime.runtimeVersion },
172
- { label: 'Platform', value: platforms.join(', ') },
173
- { label: 'Update group ID', value: updateGroupId },
174
- ...(newAndroidUpdate
175
- ? [{ label: 'Android update ID', value: newAndroidUpdate.id }]
176
- : []),
177
- ...(newIosUpdate ? [{ label: 'iOS update ID', value: newIosUpdate.id }] : []),
178
- { label: 'Message', value: updateMessage ?? '' },
179
- { label: 'EAS Dashboard', value: updateGroupLink },
180
- ]));
181
- log_1.default.addNewLineIfNone();
182
- }
183
- }
184
- }
185
- async publishRollbacksAsync({ graphqlClient, updateMessage, branchId, codeSigningInfo, runtimeToPlatformsAndFingerprintInfoMapping, realizedPlatforms, }) {
186
- const rollbackInfoGroups = Object.fromEntries(realizedPlatforms.map(platform => [platform, true]));
187
- // Sort the updates into different groups based on their platform specific runtime versions
188
- const updateGroups = runtimeToPlatformsAndFingerprintInfoMapping.map(({ runtimeVersion, platforms }) => {
189
- const localRollbackInfoGroup = Object.fromEntries(platforms.map(platform => [platform, rollbackInfoGroups[platform]]));
190
- return {
191
- branchId,
192
- rollBackToEmbeddedInfoGroup: localRollbackInfoGroup,
193
- runtimeVersion,
194
- message: updateMessage,
195
- awaitingCodeSigningInfo: !!codeSigningInfo,
196
- };
197
- });
198
- const newUpdates = await PublishMutation_1.PublishMutation.publishUpdateGroupAsync(graphqlClient, updateGroups);
199
- if (codeSigningInfo) {
200
- log_1.default.log('🔒 Signing roll back');
201
- const updatesTemp = [...newUpdates];
202
- const updateGroupsAndTheirUpdates = updateGroups.map(updateGroup => {
203
- const newUpdates = updatesTemp.splice(0, Object.keys((0, nullthrows_1.default)(updateGroup.rollBackToEmbeddedInfoGroup)).length);
204
- return {
205
- updateGroup,
206
- newUpdates,
207
- };
208
- });
209
- await Promise.all(updateGroupsAndTheirUpdates.map(async ({ newUpdates }) => {
210
- await Promise.all(newUpdates.map(async (newUpdate) => {
211
- const response = await (0, fetch_1.default)(newUpdate.manifestPermalink, {
212
- method: 'GET',
213
- headers: { accept: 'multipart/mixed' },
214
- });
215
- const directiveBody = (0, nullthrows_1.default)(await (0, code_signing_1.getDirectiveBodyAsync)(response));
216
- (0, code_signing_1.checkDirectiveBodyAgainstUpdateInfoGroup)(directiveBody);
217
- const directiveSignature = (0, code_signing_1.signBody)(directiveBody, codeSigningInfo);
218
- await PublishMutation_1.PublishMutation.setCodeSigningInfoAsync(graphqlClient, newUpdate.id, {
219
- alg: codeSigningInfo.codeSigningMetadata.alg,
220
- keyid: codeSigningInfo.codeSigningMetadata.keyid,
221
- sig: directiveSignature,
222
- });
223
- }));
224
- }));
225
- }
226
- return newUpdates;
227
- }
228
- static async selectRuntimeAsync(graphqlClient, { appId, branchName, batchSize = 5, }) {
229
- const queryAsync = async (queryParams) => {
230
- return await RuntimeQuery_1.RuntimeQuery.getRuntimesOnBranchAsync(graphqlClient, {
231
- appId,
232
- name: branchName,
233
- first: queryParams.first,
234
- after: queryParams.after,
235
- last: queryParams.last,
236
- before: queryParams.before,
237
- });
238
- };
239
- const getTitleAsync = async (runtime) => {
240
- return runtime.version;
241
- };
242
- return await (0, relay_1.selectPaginatedAsync)({
243
- queryAsync,
244
- getTitleAsync,
245
- printedType: 'target runtime',
246
- pageSize: batchSize,
117
+ await (0, roll_back_to_embedded_1.publishRollBackToEmbeddedUpdateAsync)({
118
+ graphqlClient,
119
+ projectId,
120
+ exp,
121
+ updateMessage,
122
+ branch,
123
+ codeSigningInfo,
124
+ platforms: realizedPlatforms,
125
+ runtimeVersion: selectedRuntime,
126
+ json: jsonFlag,
247
127
  });
248
128
  }
249
129
  sanitizeFlags(flags) {
@@ -2,7 +2,6 @@ import { Platform } from '@expo/eas-build-job';
2
2
  import EasCommand from '../commandUtils/EasCommand';
3
3
  export default class BuildUpload extends EasCommand {
4
4
  static description: string;
5
- static hidden: boolean;
6
5
  static flags: {
7
6
  json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
8
7
  'non-interactive': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
@@ -28,7 +28,6 @@ const plist_1 = require("../utils/plist");
28
28
  const progress_1 = require("../utils/progress");
29
29
  class BuildUpload extends EasCommand_1.default {
30
30
  static description = 'upload a local build and generate a sharable link';
31
- static hidden = true;
32
31
  static flags = {
33
32
  platform: core_1.Flags.enum({
34
33
  char: 'p',
@@ -115,6 +115,8 @@ export type Account = {
115
115
  __typename?: 'Account';
116
116
  /** @deprecated Legacy access tokens are deprecated */
117
117
  accessTokens: Array<Maybe<AccessToken>>;
118
+ /** Server account feature gate values for this account, optionally filtering by desired gates. */
119
+ accountFeatureGates: Scalars['JSONObject']['output'];
118
120
  /** Coalesced project activity for all apps belonging to this account. */
119
121
  activityTimelineProjectActivities: Array<ActivityTimelineProjectActivity>;
120
122
  appCount: Scalars['Int']['output'];
@@ -152,10 +154,6 @@ export type Account = {
152
154
  /** Billing information. Only visible to members with the ADMIN or OWNER role. */
153
155
  billing?: Maybe<Billing>;
154
156
  billingPeriod: BillingPeriod;
155
- /** (EAS Build) Builds associated with this account */
156
- builds: Array<Build>;
157
- /** Whether this account can enable SSO. */
158
- canEnableSSO: Scalars['Boolean']['output'];
159
157
  createdAt: Scalars['DateTime']['output'];
160
158
  displayName?: Maybe<Scalars['String']['output']>;
161
159
  /** Environment secrets for an account */
@@ -225,6 +223,13 @@ export type Account = {
225
223
  /** @deprecated Build packs are no longer supported */
226
224
  willAutoRenewBuilds?: Maybe<Scalars['Boolean']['output']>;
227
225
  };
226
+ /**
227
+ * An account is a container owning projects, credentials, billing and other organization
228
+ * data and settings. Actors may own and be members of accounts.
229
+ */
230
+ export type AccountAccountFeatureGatesArgs = {
231
+ filter?: InputMaybe<Array<Scalars['String']['input']>>;
232
+ };
228
233
  /**
229
234
  * An account is a container owning projects, credentials, billing and other organization
230
235
  * data and settings. Actors may own and be members of accounts.
@@ -366,16 +371,6 @@ export type AccountAuditLogsPaginatedArgs = {
366
371
  export type AccountBillingPeriodArgs = {
367
372
  date: Scalars['DateTime']['input'];
368
373
  };
369
- /**
370
- * An account is a container owning projects, credentials, billing and other organization
371
- * data and settings. Actors may own and be members of accounts.
372
- */
373
- export type AccountBuildsArgs = {
374
- limit: Scalars['Int']['input'];
375
- offset: Scalars['Int']['input'];
376
- platform?: InputMaybe<AppPlatform>;
377
- status?: InputMaybe<BuildStatus>;
378
- };
379
374
  /**
380
375
  * An account is a container owning projects, credentials, billing and other organization
381
376
  * data and settings. Actors may own and be members of accounts.
@@ -2060,6 +2055,13 @@ export type AppleDistributionCertificateMutationCreateAppleDistributionCertifica
2060
2055
  export type AppleDistributionCertificateMutationDeleteAppleDistributionCertificateArgs = {
2061
2056
  id: Scalars['ID']['input'];
2062
2057
  };
2058
+ export type AppleDistributionCertificateQuery = {
2059
+ __typename?: 'AppleDistributionCertificateQuery';
2060
+ byId: AppleDistributionCertificate;
2061
+ };
2062
+ export type AppleDistributionCertificateQueryByIdArgs = {
2063
+ id: Scalars['ID']['input'];
2064
+ };
2063
2065
  export type AppleProvisioningProfile = {
2064
2066
  __typename?: 'AppleProvisioningProfile';
2065
2067
  account: Account;
@@ -2105,6 +2107,13 @@ export type AppleProvisioningProfileMutationUpdateAppleProvisioningProfileArgs =
2105
2107
  appleProvisioningProfileInput: AppleProvisioningProfileInput;
2106
2108
  id: Scalars['ID']['input'];
2107
2109
  };
2110
+ export type AppleProvisioningProfileQuery = {
2111
+ __typename?: 'AppleProvisioningProfileQuery';
2112
+ byId: AppleProvisioningProfile;
2113
+ };
2114
+ export type AppleProvisioningProfileQueryByIdArgs = {
2115
+ id: Scalars['ID']['input'];
2116
+ };
2108
2117
  export type ApplePushKey = {
2109
2118
  __typename?: 'ApplePushKey';
2110
2119
  account: Account;
@@ -2451,8 +2460,6 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
2451
2460
  /** Queue position is 1-indexed */
2452
2461
  initialQueuePosition?: Maybe<Scalars['Int']['output']>;
2453
2462
  initiatingActor?: Maybe<Actor>;
2454
- /** @deprecated User type is deprecated */
2455
- initiatingUser?: Maybe<User>;
2456
2463
  iosEnterpriseProvisioning?: Maybe<BuildIosEnterpriseProvisioning>;
2457
2464
  isForIosSimulator: Scalars['Boolean']['output'];
2458
2465
  isGitWorkingTreeDirty?: Maybe<Scalars['Boolean']['output']>;
@@ -2516,6 +2523,7 @@ export type BuildAnnotation = {
2516
2523
  regexFlags?: Maybe<Scalars['String']['output']>;
2517
2524
  regexString: Scalars['String']['output'];
2518
2525
  title: Scalars['String']['output'];
2526
+ type: BuildAnnotationType;
2519
2527
  };
2520
2528
  export type BuildAnnotationDataInput = {
2521
2529
  buildPhase: Scalars['String']['input'];
@@ -2525,6 +2533,7 @@ export type BuildAnnotationDataInput = {
2525
2533
  regexFlags?: InputMaybe<Scalars['String']['input']>;
2526
2534
  regexString: Scalars['String']['input'];
2527
2535
  title: Scalars['String']['input'];
2536
+ type: BuildAnnotationType;
2528
2537
  };
2529
2538
  export type BuildAnnotationFiltersInput = {
2530
2539
  buildPhases: Array<Scalars['String']['input']>;
@@ -2548,6 +2557,11 @@ export type BuildAnnotationMutationUpdateBuildAnnotationArgs = {
2548
2557
  buildAnnotationData: BuildAnnotationDataInput;
2549
2558
  buildAnnotationId: Scalars['ID']['input'];
2550
2559
  };
2560
+ export declare enum BuildAnnotationType {
2561
+ Error = "ERROR",
2562
+ Info = "INFO",
2563
+ Warning = "WARNING"
2564
+ }
2551
2565
  export type BuildAnnotationsQuery = {
2552
2566
  __typename?: 'BuildAnnotationsQuery';
2553
2567
  /** View build annotations */
@@ -3551,6 +3565,7 @@ export declare enum EnvironmentSecretType {
3551
3565
  }
3552
3566
  export type EnvironmentVariable = {
3553
3567
  __typename?: 'EnvironmentVariable';
3568
+ /** @deprecated Environment variables are automatically linked to all apps */
3554
3569
  apps: Array<App>;
3555
3570
  createdAt: Scalars['DateTime']['output'];
3556
3571
  environments?: Maybe<Array<EnvironmentVariableEnvironment>>;
@@ -3591,12 +3606,6 @@ export type EnvironmentVariableMutation = {
3591
3606
  deleteBulkEnvironmentVariables: Array<DeleteEnvironmentVariableResult>;
3592
3607
  /** Delete an environment variable */
3593
3608
  deleteEnvironmentVariable: DeleteEnvironmentVariableResult;
3594
- /** Bulk link shared environment variables */
3595
- linkBulkSharedEnvironmentVariables: Array<EnvironmentVariable>;
3596
- /** Link shared environment variable */
3597
- linkSharedEnvironmentVariable: EnvironmentVariable;
3598
- /** Unlink shared environment variable */
3599
- unlinkSharedEnvironmentVariable: EnvironmentVariable;
3600
3609
  /** Bulk update environment variables */
3601
3610
  updateBulkEnvironmentVariables: Array<EnvironmentVariable>;
3602
3611
  /** Update an environment variable */
@@ -3624,19 +3633,6 @@ export type EnvironmentVariableMutationDeleteBulkEnvironmentVariablesArgs = {
3624
3633
  export type EnvironmentVariableMutationDeleteEnvironmentVariableArgs = {
3625
3634
  id: Scalars['ID']['input'];
3626
3635
  };
3627
- export type EnvironmentVariableMutationLinkBulkSharedEnvironmentVariablesArgs = {
3628
- linkData: Array<LinkSharedEnvironmentVariableInput>;
3629
- };
3630
- export type EnvironmentVariableMutationLinkSharedEnvironmentVariableArgs = {
3631
- appId: Scalars['ID']['input'];
3632
- environment?: InputMaybe<EnvironmentVariableEnvironment>;
3633
- environmentVariableId: Scalars['ID']['input'];
3634
- };
3635
- export type EnvironmentVariableMutationUnlinkSharedEnvironmentVariableArgs = {
3636
- appId: Scalars['ID']['input'];
3637
- environment?: InputMaybe<EnvironmentVariableEnvironment>;
3638
- environmentVariableId: Scalars['ID']['input'];
3639
- };
3640
3636
  export type EnvironmentVariableMutationUpdateBulkEnvironmentVariablesArgs = {
3641
3637
  environmentVariablesData: Array<UpdateEnvironmentVariableInput>;
3642
3638
  };
@@ -4591,11 +4587,6 @@ export type LinkSentryInstallationToExpoAccountInput = {
4591
4587
  installationId: Scalars['ID']['input'];
4592
4588
  sentryOrgSlug: Scalars['String']['input'];
4593
4589
  };
4594
- export type LinkSharedEnvironmentVariableInput = {
4595
- appId: Scalars['ID']['input'];
4596
- environment?: InputMaybe<EnvironmentVariableEnvironment>;
4597
- environmentVariableId: Scalars['ID']['input'];
4598
- };
4599
4590
  export type LocalBuildArchiveSourceInput = {
4600
4591
  bucketKey: Scalars['String']['input'];
4601
4592
  type: LocalBuildArchiveSourceType;
@@ -5294,6 +5285,10 @@ export type RootQuery = {
5294
5285
  appStoreConnectApiKey: AppStoreConnectApiKeyQuery;
5295
5286
  /** Top-level query object for querying Apple Device registration requests. */
5296
5287
  appleDeviceRegistrationRequest: AppleDeviceRegistrationRequestQuery;
5288
+ /** Top-level query object for querying Apple distribution certificates. */
5289
+ appleDistributionCertificate?: Maybe<AppleDistributionCertificateQuery>;
5290
+ /** Top-level query object for querying Apple provisioning profiles. */
5291
+ appleProvisioningProfile?: Maybe<AppleProvisioningProfileQuery>;
5297
5292
  /** Top-level query object for querying Apple Teams. */
5298
5293
  appleTeam: AppleTeamQuery;
5299
5294
  asset: AssetQuery;
@@ -5758,6 +5753,7 @@ export declare enum StatuspageServiceName {
5758
5753
  EasBuild = "EAS_BUILD",
5759
5754
  EasSubmit = "EAS_SUBMIT",
5760
5755
  EasUpdate = "EAS_UPDATE",
5756
+ EasWorkflows = "EAS_WORKFLOWS",
5761
5757
  GithubApiRequests = "GITHUB_API_REQUESTS",
5762
5758
  GithubWebhooks = "GITHUB_WEBHOOKS"
5763
5759
  }
@@ -7318,8 +7314,13 @@ export type WorkflowArtifact = {
7318
7314
  id: Scalars['ID']['output'];
7319
7315
  jobRun: JobRun;
7320
7316
  name: Scalars['String']['output'];
7317
+ storageType: WorkflowArtifactStorageType;
7321
7318
  updatedAt: Scalars['DateTime']['output'];
7322
7319
  };
7320
+ export declare enum WorkflowArtifactStorageType {
7321
+ Gcs = "GCS",
7322
+ R2 = "R2"
7323
+ }
7323
7324
  export type WorkflowJob = {
7324
7325
  __typename?: 'WorkflowJob';
7325
7326
  approvals: Array<WorkflowJobApproval>;
@@ -7747,29 +7748,6 @@ export type AppInfoQuery = {
7747
7748
  };
7748
7749
  };
7749
7750
  };
7750
- export type ScheduleUpdateGroupDeletionMutationVariables = Exact<{
7751
- group: Scalars['ID']['input'];
7752
- }>;
7753
- export type ScheduleUpdateGroupDeletionMutation = {
7754
- __typename?: 'RootMutation';
7755
- update: {
7756
- __typename?: 'UpdateMutation';
7757
- scheduleUpdateGroupDeletion: {
7758
- __typename?: 'BackgroundJobReceipt';
7759
- id: string;
7760
- state: BackgroundJobState;
7761
- tries: number;
7762
- willRetry: boolean;
7763
- resultId?: string | null;
7764
- resultType: BackgroundJobResultType;
7765
- resultData?: any | null;
7766
- errorCode?: string | null;
7767
- errorMessage?: string | null;
7768
- createdAt: any;
7769
- updatedAt: any;
7770
- };
7771
- };
7772
- };
7773
7751
  export type CreateAndroidAppBuildCredentialsMutationVariables = Exact<{
7774
7752
  androidAppBuildCredentialsInput: AndroidAppBuildCredentialsInput;
7775
7753
  androidAppCredentialsId: Scalars['ID']['input'];
@@ -11809,52 +11787,6 @@ export type DeleteEnvironmentSecretMutation = {
11809
11787
  };
11810
11788
  };
11811
11789
  };
11812
- export type LinkSharedEnvironmentVariableMutationVariables = Exact<{
11813
- appId: Scalars['ID']['input'];
11814
- environment?: InputMaybe<EnvironmentVariableEnvironment>;
11815
- environmentVariableId: Scalars['ID']['input'];
11816
- }>;
11817
- export type LinkSharedEnvironmentVariableMutation = {
11818
- __typename?: 'RootMutation';
11819
- environmentVariable: {
11820
- __typename?: 'EnvironmentVariableMutation';
11821
- linkSharedEnvironmentVariable: {
11822
- __typename?: 'EnvironmentVariable';
11823
- id: string;
11824
- name: string;
11825
- value?: string | null;
11826
- environments?: Array<EnvironmentVariableEnvironment> | null;
11827
- createdAt: any;
11828
- updatedAt: any;
11829
- scope: EnvironmentVariableScope;
11830
- visibility?: EnvironmentVariableVisibility | null;
11831
- type: EnvironmentSecretType;
11832
- };
11833
- };
11834
- };
11835
- export type UnlinkSharedEnvironmentVariableMutationVariables = Exact<{
11836
- appId: Scalars['ID']['input'];
11837
- environment?: InputMaybe<EnvironmentVariableEnvironment>;
11838
- environmentVariableId: Scalars['ID']['input'];
11839
- }>;
11840
- export type UnlinkSharedEnvironmentVariableMutation = {
11841
- __typename?: 'RootMutation';
11842
- environmentVariable: {
11843
- __typename?: 'EnvironmentVariableMutation';
11844
- unlinkSharedEnvironmentVariable: {
11845
- __typename?: 'EnvironmentVariable';
11846
- id: string;
11847
- name: string;
11848
- value?: string | null;
11849
- environments?: Array<EnvironmentVariableEnvironment> | null;
11850
- createdAt: any;
11851
- updatedAt: any;
11852
- scope: EnvironmentVariableScope;
11853
- visibility?: EnvironmentVariableVisibility | null;
11854
- type: EnvironmentSecretType;
11855
- };
11856
- };
11857
- };
11858
11790
  export type CreateEnvironmentVariableForAccountMutationVariables = Exact<{
11859
11791
  input: CreateSharedEnvironmentVariableInput;
11860
11792
  accountId: Scalars['ID']['input'];
@@ -12152,6 +12084,7 @@ export type UpdatePublishMutation = {
12152
12084
  rolloutControlUpdate?: {
12153
12085
  __typename?: 'Update';
12154
12086
  id: string;
12087
+ group: string;
12155
12088
  } | null;
12156
12089
  fingerprint?: {
12157
12090
  __typename?: 'Fingerprint';
@@ -12242,6 +12175,7 @@ export type SetRolloutPercentageMutation = {
12242
12175
  rolloutControlUpdate?: {
12243
12176
  __typename?: 'Update';
12244
12177
  id: string;
12178
+ group: string;
12245
12179
  } | null;
12246
12180
  fingerprint?: {
12247
12181
  __typename?: 'Fingerprint';
@@ -12811,6 +12745,7 @@ export type BranchesByAppQuery = {
12811
12745
  rolloutControlUpdate?: {
12812
12746
  __typename?: 'Update';
12813
12747
  id: string;
12748
+ group: string;
12814
12749
  } | null;
12815
12750
  fingerprint?: {
12816
12751
  __typename?: 'Fingerprint';
@@ -12929,6 +12864,7 @@ export type ViewBranchesOnUpdateChannelQuery = {
12929
12864
  rolloutControlUpdate?: {
12930
12865
  __typename?: 'Update';
12931
12866
  id: string;
12867
+ group: string;
12932
12868
  } | null;
12933
12869
  fingerprint?: {
12934
12870
  __typename?: 'Fingerprint';
@@ -13438,6 +13374,7 @@ export type ViewUpdateChannelOnAppQuery = {
13438
13374
  rolloutControlUpdate?: {
13439
13375
  __typename?: 'Update';
13440
13376
  id: string;
13377
+ group: string;
13441
13378
  } | null;
13442
13379
  fingerprint?: {
13443
13380
  __typename?: 'Fingerprint';
@@ -13525,6 +13462,7 @@ export type ViewUpdateChannelsOnAppQuery = {
13525
13462
  rolloutControlUpdate?: {
13526
13463
  __typename?: 'Update';
13527
13464
  id: string;
13465
+ group: string;
13528
13466
  } | null;
13529
13467
  fingerprint?: {
13530
13468
  __typename?: 'Fingerprint';
@@ -14049,6 +13987,7 @@ export type ViewUpdatesByGroupQuery = {
14049
13987
  rolloutControlUpdate?: {
14050
13988
  __typename?: 'Update';
14051
13989
  id: string;
13990
+ group: string;
14052
13991
  } | null;
14053
13992
  fingerprint?: {
14054
13993
  __typename?: 'Fingerprint';
@@ -14125,6 +14064,7 @@ export type ViewUpdateGroupsOnBranchQuery = {
14125
14064
  rolloutControlUpdate?: {
14126
14065
  __typename?: 'Update';
14127
14066
  id: string;
14067
+ group: string;
14128
14068
  } | null;
14129
14069
  fingerprint?: {
14130
14070
  __typename?: 'Fingerprint';
@@ -14200,6 +14140,7 @@ export type ViewUpdateGroupsOnAppQuery = {
14200
14140
  rolloutControlUpdate?: {
14201
14141
  __typename?: 'Update';
14202
14142
  id: string;
14143
+ group: string;
14203
14144
  } | null;
14204
14145
  fingerprint?: {
14205
14146
  __typename?: 'Fingerprint';
@@ -14268,6 +14209,7 @@ export type UpdateByIdQuery = {
14268
14209
  rolloutControlUpdate?: {
14269
14210
  __typename?: 'Update';
14270
14211
  id: string;
14212
+ group: string;
14271
14213
  } | null;
14272
14214
  fingerprint?: {
14273
14215
  __typename?: 'Fingerprint';
@@ -15123,6 +15065,7 @@ export type UpdateFragment = {
15123
15065
  rolloutControlUpdate?: {
15124
15066
  __typename?: 'Update';
15125
15067
  id: string;
15068
+ group: string;
15126
15069
  } | null;
15127
15070
  fingerprint?: {
15128
15071
  __typename?: 'Fingerprint';
@@ -15185,6 +15128,7 @@ export type UpdateBranchFragment = {
15185
15128
  rolloutControlUpdate?: {
15186
15129
  __typename?: 'Update';
15187
15130
  id: string;
15131
+ group: string;
15188
15132
  } | null;
15189
15133
  fingerprint?: {
15190
15134
  __typename?: 'Fingerprint';
@@ -16125,6 +16069,44 @@ export type CommonIosAppCredentialsFragment = {
16125
16069
  } | null;
16126
16070
  } | null;
16127
16071
  };
16072
+ export type ScheduleUpdateGroupDeletionMutationVariables = Exact<{
16073
+ group: Scalars['ID']['input'];
16074
+ }>;
16075
+ export type ScheduleUpdateGroupDeletionMutation = {
16076
+ __typename?: 'RootMutation';
16077
+ update: {
16078
+ __typename?: 'UpdateMutation';
16079
+ scheduleUpdateGroupDeletion: {
16080
+ __typename?: 'BackgroundJobReceipt';
16081
+ id: string;
16082
+ state: BackgroundJobState;
16083
+ tries: number;
16084
+ willRetry: boolean;
16085
+ resultId?: string | null;
16086
+ resultType: BackgroundJobResultType;
16087
+ resultData?: any | null;
16088
+ errorCode?: string | null;
16089
+ errorMessage?: string | null;
16090
+ createdAt: any;
16091
+ updatedAt: any;
16092
+ };
16093
+ };
16094
+ };
16095
+ export type MeUserActorQueryVariables = Exact<{
16096
+ [key: string]: never;
16097
+ }>;
16098
+ export type MeUserActorQuery = {
16099
+ __typename?: 'RootQuery';
16100
+ meUserActor?: {
16101
+ __typename?: 'SSOUser';
16102
+ id: string;
16103
+ username: string;
16104
+ } | {
16105
+ __typename?: 'User';
16106
+ id: string;
16107
+ username: string;
16108
+ } | null;
16109
+ };
16128
16110
  export type WorkerDeploymentFragment = {
16129
16111
  __typename?: 'WorkerDeployment';
16130
16112
  id: string;
@@ -6,9 +6,9 @@
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.Experiment = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentVariableEnvironment = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = 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 = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppPrivacy = exports.AppPlatform = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountAppsSortByField = void 0;
10
- exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidTrack = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.NotificationType = exports.NotificationEvent = exports.MailchimpTag = exports.MailchimpAudience = 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 = exports.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = exports.Feature = void 0;
11
- exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.TargetEntityMutationType = void 0;
9
+ exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentVariableEnvironment = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = 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 = exports.BuildAnnotationType = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppPrivacy = exports.AppPlatform = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountAppsSortByField = void 0;
10
+ exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidTrack = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.NotificationType = exports.NotificationEvent = exports.MailchimpTag = exports.MailchimpAudience = 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 = exports.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = exports.Feature = exports.Experiment = void 0;
11
+ exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.TargetEntityMutationType = exports.SubmissionStatus = void 0;
12
12
  var AccountAppsSortByField;
13
13
  (function (AccountAppsSortByField) {
14
14
  AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
@@ -157,6 +157,12 @@ var BackgroundJobState;
157
157
  BackgroundJobState["Queued"] = "QUEUED";
158
158
  BackgroundJobState["Success"] = "SUCCESS";
159
159
  })(BackgroundJobState || (exports.BackgroundJobState = BackgroundJobState = {}));
160
+ var BuildAnnotationType;
161
+ (function (BuildAnnotationType) {
162
+ BuildAnnotationType["Error"] = "ERROR";
163
+ BuildAnnotationType["Info"] = "INFO";
164
+ BuildAnnotationType["Warning"] = "WARNING";
165
+ })(BuildAnnotationType || (exports.BuildAnnotationType = BuildAnnotationType = {}));
160
166
  var BuildCredentialsSource;
161
167
  (function (BuildCredentialsSource) {
162
168
  BuildCredentialsSource["Local"] = "LOCAL";
@@ -696,6 +702,7 @@ var StatuspageServiceName;
696
702
  StatuspageServiceName["EasBuild"] = "EAS_BUILD";
697
703
  StatuspageServiceName["EasSubmit"] = "EAS_SUBMIT";
698
704
  StatuspageServiceName["EasUpdate"] = "EAS_UPDATE";
705
+ StatuspageServiceName["EasWorkflows"] = "EAS_WORKFLOWS";
699
706
  StatuspageServiceName["GithubApiRequests"] = "GITHUB_API_REQUESTS";
700
707
  StatuspageServiceName["GithubWebhooks"] = "GITHUB_WEBHOOKS";
701
708
  })(StatuspageServiceName || (exports.StatuspageServiceName = StatuspageServiceName = {}));
@@ -862,6 +869,11 @@ var WorkerLoggerLevel;
862
869
  WorkerLoggerLevel["Trace"] = "TRACE";
863
870
  WorkerLoggerLevel["Warn"] = "WARN";
864
871
  })(WorkerLoggerLevel || (exports.WorkerLoggerLevel = WorkerLoggerLevel = {}));
872
+ var WorkflowArtifactStorageType;
873
+ (function (WorkflowArtifactStorageType) {
874
+ WorkflowArtifactStorageType["Gcs"] = "GCS";
875
+ WorkflowArtifactStorageType["R2"] = "R2";
876
+ })(WorkflowArtifactStorageType || (exports.WorkflowArtifactStorageType = WorkflowArtifactStorageType = {}));
865
877
  var WorkflowJobReviewDecision;
866
878
  (function (WorkflowJobReviewDecision) {
867
879
  WorkflowJobReviewDecision["Approved"] = "APPROVED";