eas-cli 13.4.2 → 14.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 +73 -73
- package/build/ApiV2Error.js +5 -1
- package/build/analytics/AnalyticsManager.js +5 -4
- package/build/api.js +1 -0
- package/build/branch/actions/SelectBranch.js +1 -0
- package/build/branch/queries.d.ts +3 -3
- package/build/branch/queries.js +7 -5
- package/build/build/validate.js +6 -3
- package/build/channel/actions/SelectChannel.js +1 -0
- package/build/channel/queries.d.ts +0 -1
- package/build/channel/queries.js +11 -16
- package/build/commandUtils/EasCommand.js +100 -90
- package/build/commandUtils/builds.d.ts +1 -0
- package/build/commandUtils/builds.js +3 -0
- package/build/commandUtils/gating/FeatureGateEnvOverrides.js +1 -1
- package/build/commandUtils/gating/FeatureGating.js +2 -0
- package/build/commands/account/login.js +16 -18
- package/build/commands/account/logout.js +6 -8
- package/build/commands/account/view.js +8 -10
- package/build/commands/analytics.js +2 -2
- package/build/commands/branch/create.js +18 -20
- package/build/commands/branch/delete.js +17 -19
- package/build/commands/branch/list.js +11 -13
- package/build/commands/branch/publish.js +2 -2
- package/build/commands/branch/rename.js +18 -20
- package/build/commands/branch/view.js +19 -21
- package/build/commands/build/cancel.js +22 -24
- package/build/commands/build/configure.js +15 -17
- package/build/commands/build/delete.js +22 -24
- package/build/commands/build/index.js +81 -83
- package/build/commands/build/inspect.js +42 -44
- package/build/commands/build/internal.js +32 -34
- package/build/commands/build/list.js +58 -60
- package/build/commands/build/resign.js +36 -38
- package/build/commands/build/run.js +36 -38
- package/build/commands/build/version/get.js +21 -23
- package/build/commands/build/version/set.js +20 -22
- package/build/commands/build/version/sync.js +20 -22
- package/build/commands/build/view.js +12 -14
- package/build/commands/channel/create.js +17 -19
- package/build/commands/channel/delete.js +18 -20
- package/build/commands/channel/edit.js +20 -22
- package/build/commands/channel/list.js +12 -14
- package/build/commands/channel/pause.js +20 -22
- package/build/commands/channel/resume.js +20 -22
- package/build/commands/channel/rollout.js +74 -76
- package/build/commands/channel/view.js +18 -20
- package/build/commands/config.js +21 -23
- package/build/commands/credentials/configure-build.js +21 -23
- package/build/commands/credentials/index.js +13 -15
- package/build/commands/device/create.js +6 -8
- package/build/commands/device/delete.js +12 -14
- package/build/commands/device/list.js +12 -14
- package/build/commands/device/rename.js +13 -15
- package/build/commands/device/view.js +8 -10
- package/build/commands/diagnostics.js +6 -8
- package/build/commands/env/create.js +39 -41
- package/build/commands/env/delete.js +25 -27
- package/build/commands/env/exec.js +22 -24
- package/build/commands/env/get.js +26 -28
- package/build/commands/env/link.js +27 -29
- package/build/commands/env/list.js +27 -29
- package/build/commands/env/pull.js +23 -25
- package/build/commands/env/push.js +21 -23
- package/build/commands/env/unlink.js +23 -25
- package/build/commands/env/update.js +38 -40
- package/build/commands/fingerprint/compare.d.ts +28 -0
- package/build/commands/fingerprint/compare.js +324 -0
- package/build/commands/metadata/lint.js +18 -20
- package/build/commands/metadata/pull.js +15 -17
- package/build/commands/metadata/push.js +15 -17
- package/build/commands/open.js +6 -8
- package/build/commands/project/info.js +6 -8
- package/build/commands/project/init.js +26 -28
- package/build/commands/project/onboarding.js +10 -12
- package/build/commands/secret/create.js +30 -32
- package/build/commands/secret/delete.js +14 -16
- package/build/commands/secret/list.js +7 -9
- package/build/commands/secret/push.js +23 -25
- package/build/commands/submit/internal.js +23 -25
- package/build/commands/submit.js +54 -56
- package/build/commands/update/configure.js +18 -20
- package/build/commands/update/delete.js +16 -18
- package/build/commands/update/edit.js +25 -27
- package/build/commands/update/index.js +65 -67
- package/build/commands/update/list.js +21 -23
- package/build/commands/update/republish.js +45 -47
- package/build/commands/update/roll-back-to-embedded.d.ts +2 -1
- package/build/commands/update/roll-back-to-embedded.js +92 -84
- package/build/commands/update/rollback.js +7 -7
- package/build/commands/update/view.js +16 -18
- package/build/commands/webhook/create.js +20 -22
- package/build/commands/webhook/delete.js +17 -19
- package/build/commands/webhook/list.js +14 -16
- package/build/commands/webhook/update.js +23 -25
- package/build/commands/webhook/view.js +13 -15
- package/build/commands/worker/alias.js +30 -32
- package/build/commands/worker/deploy.js +38 -40
- package/build/commands/workflow/create.js +16 -18
- package/build/commands/workflow/run.js +13 -15
- package/build/commands/workflow/validate.js +18 -20
- package/build/credentials/android/AndroidCredentialsProvider.js +3 -1
- package/build/credentials/android/actions/AssignFcm.js +1 -0
- package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForFcmV1.js +1 -0
- package/build/credentials/android/actions/AssignGoogleServiceAccountKeyForSubmissions.js +1 -0
- package/build/credentials/android/actions/CreateFcm.js +1 -0
- package/build/credentials/android/actions/CreateGoogleServiceAccountKey.js +1 -0
- package/build/credentials/android/actions/CreateKeystore.js +1 -0
- package/build/credentials/android/actions/DownloadKeystore.js +2 -0
- package/build/credentials/android/actions/RemoveFcm.js +1 -0
- package/build/credentials/android/actions/RemoveGoogleServiceAccountKey.js +2 -0
- package/build/credentials/android/actions/RemoveKeystore.js +1 -0
- package/build/credentials/android/actions/SetUpBuildCredentials.js +1 -0
- package/build/credentials/android/actions/SetUpBuildCredentialsFromCredentialsJson.js +1 -0
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForFcmV1.js +1 -0
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKeyForSubmissions.js +1 -0
- package/build/credentials/android/actions/UseExistingGoogleServiceAccountKey.js +1 -0
- package/build/credentials/context.js +14 -5
- package/build/credentials/errors.js +1 -0
- package/build/credentials/ios/IosCredentialsProvider.js +3 -1
- package/build/credentials/ios/actions/AssignAscApiKey.js +1 -0
- package/build/credentials/ios/actions/AssignPushKey.js +1 -0
- package/build/credentials/ios/actions/ConfigureProvisioningProfile.js +4 -0
- package/build/credentials/ios/actions/CreateAscApiKey.js +1 -0
- package/build/credentials/ios/actions/CreateDistributionCertificate.js +1 -0
- package/build/credentials/ios/actions/CreateProvisioningProfile.js +3 -0
- package/build/credentials/ios/actions/CreatePushKey.js +1 -0
- package/build/credentials/ios/actions/RemoveAscApiKey.js +2 -0
- package/build/credentials/ios/actions/RemoveDistributionCertificate.js +3 -0
- package/build/credentials/ios/actions/RemoveProvisioningProfile.js +2 -0
- package/build/credentials/ios/actions/RemovePushKey.js +2 -0
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +1 -0
- package/build/credentials/ios/actions/SetUpAscApiKey.js +9 -7
- package/build/credentials/ios/actions/SetUpBuildCredentials.js +1 -0
- package/build/credentials/ios/actions/SetUpBuildCredentialsFromCredentialsJson.js +3 -0
- package/build/credentials/ios/actions/SetUpDistributionCertificate.js +3 -0
- package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.js +1 -0
- package/build/credentials/ios/actions/SetUpProvisioningProfile.js +3 -0
- package/build/credentials/ios/actions/SetUpPushKey.js +1 -0
- package/build/credentials/ios/actions/SetUpTargetBuildCredentials.js +1 -0
- package/build/credentials/ios/actions/SetUpTargetBuildCredentialsFromCredentialsJson.js +3 -0
- package/build/credentials/ios/actions/UpdateCredentialsJson.js +3 -0
- package/build/credentials/ios/appstore/AppStoreApi.js +2 -0
- package/build/credentials/manager/CheckBuildProfileFlagAgainstEasJson.js +3 -0
- package/build/credentials/manager/CreateAndroidBuildCredentials.js +1 -0
- package/build/credentials/manager/ManageAndroid.js +2 -0
- package/build/credentials/manager/ManageIos.js +2 -0
- package/build/credentials/manager/SelectAndroidBuildCredentials.js +2 -0
- package/build/credentials/manager/SelectBuildProfileFromEasJson.js +2 -0
- package/build/credentials/manager/SelectIosDistributionTypeGraphqlFromBuildProfile.js +1 -0
- package/build/credentials/manager/SelectPlatform.js +7 -0
- package/build/credentials/manager/SetDefaultAndroidKeystore.js +1 -0
- package/build/credentials/manager/SetUpAndroidBuildCredentials.js +1 -0
- package/build/credentials/manager/SetUpBuildCredentialsCommandAction.js +9 -0
- package/build/credentials/manager/SetUpIosBuildCredentials.js +1 -0
- package/build/devices/actions/create/action.js +4 -0
- package/build/devices/manager.js +4 -0
- package/build/fetch.js +1 -0
- package/build/graphql/generated.d.ts +175 -0
- package/build/graphql/generated.js +8 -3
- package/build/graphql/queries/BuildQuery.d.ts +4 -1
- package/build/graphql/queries/BuildQuery.js +19 -0
- package/build/graphql/types/Build.d.ts +1 -0
- package/build/graphql/types/Build.js +15 -1
- package/build/graphql/types/Fingerprint.d.ts +1 -0
- package/build/graphql/types/Fingerprint.js +12 -0
- package/build/log.js +2 -2
- package/build/metadata/apple/config/reader.js +1 -0
- package/build/metadata/apple/config/writer.js +1 -0
- package/build/metadata/apple/tasks/age-rating.js +1 -4
- package/build/metadata/apple/tasks/app-info.js +1 -4
- package/build/metadata/apple/tasks/app-review-detail.js +1 -4
- package/build/metadata/apple/tasks/app-version.js +2 -1
- package/build/metadata/errors.js +5 -0
- package/build/rollout/actions/CreateRollout.d.ts +9 -10
- package/build/rollout/actions/CreateRollout.js +2 -0
- package/build/rollout/actions/EditRollout.d.ts +2 -3
- package/build/rollout/actions/EditRollout.js +2 -0
- package/build/rollout/actions/EndRollout.d.ts +4 -6
- package/build/rollout/actions/EndRollout.js +2 -0
- package/build/rollout/actions/ManageRollout.d.ts +2 -3
- package/build/rollout/actions/ManageRollout.js +2 -0
- package/build/rollout/actions/NonInteractiveRollout.d.ts +6 -27
- package/build/rollout/actions/NonInteractiveRollout.js +1 -0
- package/build/rollout/actions/RolloutMainMenu.d.ts +6 -7
- package/build/rollout/actions/RolloutMainMenu.js +1 -0
- package/build/rollout/actions/SelectRuntime.d.ts +6 -20
- package/build/rollout/actions/SelectRuntime.js +3 -0
- package/build/submit/BaseSubmitter.js +4 -0
- package/build/submit/android/AndroidSubmitCommand.js +1 -0
- package/build/submit/ios/IosSubmitCommand.js +1 -0
- package/build/update/getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.js +3 -3
- package/build/user/SessionManager.js +2 -0
- package/build/utils/fingerprint.d.ts +97 -0
- package/build/utils/fingerprint.js +5 -0
- package/build/utils/fingerprintCli.d.ts +5 -7
- package/build/utils/fingerprintCli.js +11 -1
- package/build/utils/fingerprintDiff.d.ts +33 -0
- package/build/utils/fingerprintDiff.js +122 -0
- package/build/vcs/clients/git.js +1 -0
- package/build/vcs/local.js +2 -1
- package/oclif.manifest.json +51 -7
- package/package.json +9 -7
package/build/devices/manager.js
CHANGED
|
@@ -18,6 +18,7 @@ The provisioning profile needs to contain the UDIDs (unique identifiers) of your
|
|
|
18
18
|
First of all, choose the Expo account under which you want to register your devices.
|
|
19
19
|
Later, authenticate with Apple and choose your desired Apple Team (if your Apple ID has access to multiple teams).`;
|
|
20
20
|
class DeviceManager {
|
|
21
|
+
ctx;
|
|
21
22
|
constructor(ctx) {
|
|
22
23
|
this.ctx = ctx;
|
|
23
24
|
}
|
|
@@ -40,6 +41,9 @@ class DeviceManager {
|
|
|
40
41
|
}
|
|
41
42
|
exports.default = DeviceManager;
|
|
42
43
|
class AccountResolver {
|
|
44
|
+
graphqlClient;
|
|
45
|
+
projectId;
|
|
46
|
+
user;
|
|
43
47
|
constructor(graphqlClient, projectId, user) {
|
|
44
48
|
this.graphqlClient = graphqlClient;
|
|
45
49
|
this.projectId = projectId;
|
package/build/fetch.js
CHANGED
|
@@ -6,6 +6,7 @@ const https_proxy_agent_1 = tslib_1.__importDefault(require("https-proxy-agent")
|
|
|
6
6
|
const node_fetch_1 = tslib_1.__importDefault(require("node-fetch"));
|
|
7
7
|
tslib_1.__exportStar(require("node-fetch"), exports);
|
|
8
8
|
class RequestError extends Error {
|
|
9
|
+
response;
|
|
9
10
|
constructor(message, response) {
|
|
10
11
|
super(message);
|
|
11
12
|
this.response = response;
|
|
@@ -642,6 +642,7 @@ export type AccountSsoConfigurationPublicDataQueryPublicDataByAccountNameArgs =
|
|
|
642
642
|
accountName: Scalars['String']['input'];
|
|
643
643
|
};
|
|
644
644
|
export declare enum AccountUploadSessionType {
|
|
645
|
+
ProfileImageUpload = "PROFILE_IMAGE_UPLOAD",
|
|
645
646
|
WorkflowsProjectSources = "WORKFLOWS_PROJECT_SOURCES"
|
|
646
647
|
}
|
|
647
648
|
export type AccountUsageEasBuildMetadata = {
|
|
@@ -1746,6 +1747,9 @@ export type AppUpdatesConnection = {
|
|
|
1746
1747
|
edges: Array<AppUpdateEdge>;
|
|
1747
1748
|
pageInfo: PageInfo;
|
|
1748
1749
|
};
|
|
1750
|
+
export declare enum AppUploadSessionType {
|
|
1751
|
+
ProfileImageUpload = "PROFILE_IMAGE_UPLOAD"
|
|
1752
|
+
}
|
|
1749
1753
|
/** Represents Play Store/App Store version of an application */
|
|
1750
1754
|
export type AppVersion = {
|
|
1751
1755
|
__typename?: 'AppVersion';
|
|
@@ -2428,6 +2432,7 @@ export type BuildFilter = {
|
|
|
2428
2432
|
channel?: InputMaybe<Scalars['String']['input']>;
|
|
2429
2433
|
distribution?: InputMaybe<DistributionType>;
|
|
2430
2434
|
gitCommitHash?: InputMaybe<Scalars['String']['input']>;
|
|
2435
|
+
hasFingerprint?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2431
2436
|
platform?: InputMaybe<AppPlatform>;
|
|
2432
2437
|
runtimeVersion?: InputMaybe<Scalars['String']['input']>;
|
|
2433
2438
|
sdkVersion?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2438,6 +2443,7 @@ export type BuildFilterInput = {
|
|
|
2438
2443
|
channel?: InputMaybe<Scalars['String']['input']>;
|
|
2439
2444
|
developmentClient?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2440
2445
|
distributions?: InputMaybe<Array<DistributionType>>;
|
|
2446
|
+
hasFingerprint?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2441
2447
|
platforms?: InputMaybe<Array<AppPlatform>>;
|
|
2442
2448
|
releaseChannel?: InputMaybe<Scalars['String']['input']>;
|
|
2443
2449
|
runtimeVersion?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5774,6 +5780,8 @@ export type UploadSession = {
|
|
|
5774
5780
|
__typename?: 'UploadSession';
|
|
5775
5781
|
/** Create an Upload Session for a specific account */
|
|
5776
5782
|
createAccountScopedUploadSession: Scalars['JSONObject']['output'];
|
|
5783
|
+
/** Create an Upload Session for a specific app */
|
|
5784
|
+
createAppScopedUploadSession: Scalars['JSONObject']['output'];
|
|
5777
5785
|
/** Create an Upload Session */
|
|
5778
5786
|
createUploadSession: Scalars['JSONObject']['output'];
|
|
5779
5787
|
};
|
|
@@ -5781,6 +5789,10 @@ export type UploadSessionCreateAccountScopedUploadSessionArgs = {
|
|
|
5781
5789
|
accountID: Scalars['ID']['input'];
|
|
5782
5790
|
type: AccountUploadSessionType;
|
|
5783
5791
|
};
|
|
5792
|
+
export type UploadSessionCreateAppScopedUploadSessionArgs = {
|
|
5793
|
+
appID: Scalars['ID']['input'];
|
|
5794
|
+
type: AppUploadSessionType;
|
|
5795
|
+
};
|
|
5784
5796
|
export type UploadSessionCreateUploadSessionArgs = {
|
|
5785
5797
|
type: UploadSessionType;
|
|
5786
5798
|
};
|
|
@@ -12261,6 +12273,89 @@ export type BuildsWithSubmissionsByIdQuery = {
|
|
|
12261
12273
|
};
|
|
12262
12274
|
};
|
|
12263
12275
|
};
|
|
12276
|
+
export type BuildsWithFingerprintByIdQueryVariables = Exact<{
|
|
12277
|
+
buildId: Scalars['ID']['input'];
|
|
12278
|
+
}>;
|
|
12279
|
+
export type BuildsWithFingerprintByIdQuery = {
|
|
12280
|
+
__typename?: 'RootQuery';
|
|
12281
|
+
builds: {
|
|
12282
|
+
__typename?: 'BuildQuery';
|
|
12283
|
+
byId: {
|
|
12284
|
+
__typename?: 'Build';
|
|
12285
|
+
id: string;
|
|
12286
|
+
status: BuildStatus;
|
|
12287
|
+
platform: AppPlatform;
|
|
12288
|
+
channel?: string | null;
|
|
12289
|
+
distribution?: DistributionType | null;
|
|
12290
|
+
iosEnterpriseProvisioning?: BuildIosEnterpriseProvisioning | null;
|
|
12291
|
+
buildProfile?: string | null;
|
|
12292
|
+
sdkVersion?: string | null;
|
|
12293
|
+
appVersion?: string | null;
|
|
12294
|
+
appBuildVersion?: string | null;
|
|
12295
|
+
runtimeVersion?: string | null;
|
|
12296
|
+
gitCommitHash?: string | null;
|
|
12297
|
+
gitCommitMessage?: string | null;
|
|
12298
|
+
initialQueuePosition?: number | null;
|
|
12299
|
+
queuePosition?: number | null;
|
|
12300
|
+
estimatedWaitTimeLeftSeconds?: number | null;
|
|
12301
|
+
priority: BuildPriority;
|
|
12302
|
+
createdAt: any;
|
|
12303
|
+
updatedAt: any;
|
|
12304
|
+
message?: string | null;
|
|
12305
|
+
completedAt?: any | null;
|
|
12306
|
+
expirationDate?: any | null;
|
|
12307
|
+
isForIosSimulator: boolean;
|
|
12308
|
+
fingerprint?: {
|
|
12309
|
+
__typename?: 'Fingerprint';
|
|
12310
|
+
id: string;
|
|
12311
|
+
hash: string;
|
|
12312
|
+
debugInfoUrl?: string | null;
|
|
12313
|
+
} | null;
|
|
12314
|
+
error?: {
|
|
12315
|
+
__typename?: 'BuildError';
|
|
12316
|
+
errorCode: string;
|
|
12317
|
+
message: string;
|
|
12318
|
+
docsUrl?: string | null;
|
|
12319
|
+
} | null;
|
|
12320
|
+
artifacts?: {
|
|
12321
|
+
__typename?: 'BuildArtifacts';
|
|
12322
|
+
buildUrl?: string | null;
|
|
12323
|
+
xcodeBuildLogsUrl?: string | null;
|
|
12324
|
+
applicationArchiveUrl?: string | null;
|
|
12325
|
+
buildArtifactsUrl?: string | null;
|
|
12326
|
+
} | null;
|
|
12327
|
+
initiatingActor?: {
|
|
12328
|
+
__typename: 'Robot';
|
|
12329
|
+
id: string;
|
|
12330
|
+
displayName: string;
|
|
12331
|
+
} | {
|
|
12332
|
+
__typename: 'SSOUser';
|
|
12333
|
+
id: string;
|
|
12334
|
+
displayName: string;
|
|
12335
|
+
} | {
|
|
12336
|
+
__typename: 'User';
|
|
12337
|
+
id: string;
|
|
12338
|
+
displayName: string;
|
|
12339
|
+
} | null;
|
|
12340
|
+
project: {
|
|
12341
|
+
__typename: 'App';
|
|
12342
|
+
id: string;
|
|
12343
|
+
name: string;
|
|
12344
|
+
slug: string;
|
|
12345
|
+
ownerAccount: {
|
|
12346
|
+
__typename?: 'Account';
|
|
12347
|
+
id: string;
|
|
12348
|
+
name: string;
|
|
12349
|
+
};
|
|
12350
|
+
} | {
|
|
12351
|
+
__typename: 'Snack';
|
|
12352
|
+
id: string;
|
|
12353
|
+
name: string;
|
|
12354
|
+
slug: string;
|
|
12355
|
+
};
|
|
12356
|
+
};
|
|
12357
|
+
};
|
|
12358
|
+
};
|
|
12264
12359
|
export type ViewBuildsOnAppQueryVariables = Exact<{
|
|
12265
12360
|
appId: Scalars['String']['input'];
|
|
12266
12361
|
offset: Scalars['Int']['input'];
|
|
@@ -13579,6 +13674,80 @@ export type BuildWithSubmissionsFragment = {
|
|
|
13579
13674
|
slug: string;
|
|
13580
13675
|
};
|
|
13581
13676
|
};
|
|
13677
|
+
export type BuildWithFingerprintFragment = {
|
|
13678
|
+
__typename?: 'Build';
|
|
13679
|
+
id: string;
|
|
13680
|
+
status: BuildStatus;
|
|
13681
|
+
platform: AppPlatform;
|
|
13682
|
+
channel?: string | null;
|
|
13683
|
+
distribution?: DistributionType | null;
|
|
13684
|
+
iosEnterpriseProvisioning?: BuildIosEnterpriseProvisioning | null;
|
|
13685
|
+
buildProfile?: string | null;
|
|
13686
|
+
sdkVersion?: string | null;
|
|
13687
|
+
appVersion?: string | null;
|
|
13688
|
+
appBuildVersion?: string | null;
|
|
13689
|
+
runtimeVersion?: string | null;
|
|
13690
|
+
gitCommitHash?: string | null;
|
|
13691
|
+
gitCommitMessage?: string | null;
|
|
13692
|
+
initialQueuePosition?: number | null;
|
|
13693
|
+
queuePosition?: number | null;
|
|
13694
|
+
estimatedWaitTimeLeftSeconds?: number | null;
|
|
13695
|
+
priority: BuildPriority;
|
|
13696
|
+
createdAt: any;
|
|
13697
|
+
updatedAt: any;
|
|
13698
|
+
message?: string | null;
|
|
13699
|
+
completedAt?: any | null;
|
|
13700
|
+
expirationDate?: any | null;
|
|
13701
|
+
isForIosSimulator: boolean;
|
|
13702
|
+
fingerprint?: {
|
|
13703
|
+
__typename?: 'Fingerprint';
|
|
13704
|
+
id: string;
|
|
13705
|
+
hash: string;
|
|
13706
|
+
debugInfoUrl?: string | null;
|
|
13707
|
+
} | null;
|
|
13708
|
+
error?: {
|
|
13709
|
+
__typename?: 'BuildError';
|
|
13710
|
+
errorCode: string;
|
|
13711
|
+
message: string;
|
|
13712
|
+
docsUrl?: string | null;
|
|
13713
|
+
} | null;
|
|
13714
|
+
artifacts?: {
|
|
13715
|
+
__typename?: 'BuildArtifacts';
|
|
13716
|
+
buildUrl?: string | null;
|
|
13717
|
+
xcodeBuildLogsUrl?: string | null;
|
|
13718
|
+
applicationArchiveUrl?: string | null;
|
|
13719
|
+
buildArtifactsUrl?: string | null;
|
|
13720
|
+
} | null;
|
|
13721
|
+
initiatingActor?: {
|
|
13722
|
+
__typename: 'Robot';
|
|
13723
|
+
id: string;
|
|
13724
|
+
displayName: string;
|
|
13725
|
+
} | {
|
|
13726
|
+
__typename: 'SSOUser';
|
|
13727
|
+
id: string;
|
|
13728
|
+
displayName: string;
|
|
13729
|
+
} | {
|
|
13730
|
+
__typename: 'User';
|
|
13731
|
+
id: string;
|
|
13732
|
+
displayName: string;
|
|
13733
|
+
} | null;
|
|
13734
|
+
project: {
|
|
13735
|
+
__typename: 'App';
|
|
13736
|
+
id: string;
|
|
13737
|
+
name: string;
|
|
13738
|
+
slug: string;
|
|
13739
|
+
ownerAccount: {
|
|
13740
|
+
__typename?: 'Account';
|
|
13741
|
+
id: string;
|
|
13742
|
+
name: string;
|
|
13743
|
+
};
|
|
13744
|
+
} | {
|
|
13745
|
+
__typename: 'Snack';
|
|
13746
|
+
id: string;
|
|
13747
|
+
name: string;
|
|
13748
|
+
slug: string;
|
|
13749
|
+
};
|
|
13750
|
+
};
|
|
13582
13751
|
export type EnvironmentSecretFragment = {
|
|
13583
13752
|
__typename?: 'EnvironmentSecret';
|
|
13584
13753
|
id: string;
|
|
@@ -13610,6 +13779,12 @@ export type EnvironmentVariableWithSecretFragment = {
|
|
|
13610
13779
|
visibility: EnvironmentVariableVisibility;
|
|
13611
13780
|
type: EnvironmentSecretType;
|
|
13612
13781
|
};
|
|
13782
|
+
export type FingerprintFragment = {
|
|
13783
|
+
__typename?: 'Fingerprint';
|
|
13784
|
+
id: string;
|
|
13785
|
+
hash: string;
|
|
13786
|
+
debugInfoUrl?: string | null;
|
|
13787
|
+
};
|
|
13613
13788
|
export type RuntimeFragment = {
|
|
13614
13789
|
__typename?: 'Runtime';
|
|
13615
13790
|
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.
|
|
10
|
-
exports.
|
|
11
|
-
exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkerLoggerLevel = exports.WorkerDeploymentTier = exports.WorkerDeploymentLogLevel = exports.WebhookType = exports.UserEntityTypeName = exports.UserAgentOs = exports.UserAgentBrowser = void 0;
|
|
9
|
+
exports.Feature = 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.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.UsageMetricType = exports.UploadSessionType = exports.TargetEntityMutationType = 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.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.GitHubAppEnvironment = exports.FingerprintSourceType = void 0;
|
|
11
|
+
exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkerLoggerLevel = exports.WorkerDeploymentTier = exports.WorkerDeploymentLogLevel = exports.WebhookType = exports.UserEntityTypeName = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = void 0;
|
|
12
12
|
var AccountAppsSortByField;
|
|
13
13
|
(function (AccountAppsSortByField) {
|
|
14
14
|
AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
|
|
@@ -20,6 +20,7 @@ var AccountAppsSortByField;
|
|
|
20
20
|
})(AccountAppsSortByField || (exports.AccountAppsSortByField = AccountAppsSortByField = {}));
|
|
21
21
|
var AccountUploadSessionType;
|
|
22
22
|
(function (AccountUploadSessionType) {
|
|
23
|
+
AccountUploadSessionType["ProfileImageUpload"] = "PROFILE_IMAGE_UPLOAD";
|
|
23
24
|
AccountUploadSessionType["WorkflowsProjectSources"] = "WORKFLOWS_PROJECT_SOURCES";
|
|
24
25
|
})(AccountUploadSessionType || (exports.AccountUploadSessionType = AccountUploadSessionType = {}));
|
|
25
26
|
var ActivityTimelineProjectActivityType;
|
|
@@ -90,6 +91,10 @@ var AppStoreConnectUserRole;
|
|
|
90
91
|
AppStoreConnectUserRole["Technical"] = "TECHNICAL";
|
|
91
92
|
AppStoreConnectUserRole["Unknown"] = "UNKNOWN";
|
|
92
93
|
})(AppStoreConnectUserRole || (exports.AppStoreConnectUserRole = AppStoreConnectUserRole = {}));
|
|
94
|
+
var AppUploadSessionType;
|
|
95
|
+
(function (AppUploadSessionType) {
|
|
96
|
+
AppUploadSessionType["ProfileImageUpload"] = "PROFILE_IMAGE_UPLOAD";
|
|
97
|
+
})(AppUploadSessionType || (exports.AppUploadSessionType = AppUploadSessionType = {}));
|
|
93
98
|
var AppleDeviceClass;
|
|
94
99
|
(function (AppleDeviceClass) {
|
|
95
100
|
AppleDeviceClass["Ipad"] = "IPAD";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
-
import { BuildFragment, BuildWithSubmissionsFragment, ViewBuildsOnAppQueryVariables } from '../generated';
|
|
2
|
+
import { BuildFragment, BuildWithFingerprintFragment, BuildWithSubmissionsFragment, ViewBuildsOnAppQueryVariables } from '../generated';
|
|
3
3
|
export declare const BuildQuery: {
|
|
4
4
|
byIdAsync(graphqlClient: ExpoGraphqlClient, buildId: string, { useCache }?: {
|
|
5
5
|
useCache?: boolean | undefined;
|
|
@@ -7,5 +7,8 @@ export declare const BuildQuery: {
|
|
|
7
7
|
withSubmissionsByIdAsync(graphqlClient: ExpoGraphqlClient, buildId: string, { useCache }?: {
|
|
8
8
|
useCache?: boolean | undefined;
|
|
9
9
|
}): Promise<BuildWithSubmissionsFragment>;
|
|
10
|
+
withFingerprintByIdAsync(graphqlClient: ExpoGraphqlClient, buildId: string, { useCache }?: {
|
|
11
|
+
useCache?: boolean | undefined;
|
|
12
|
+
}): Promise<BuildWithFingerprintFragment>;
|
|
10
13
|
viewBuildsOnAppAsync(graphqlClient: ExpoGraphqlClient, { appId, limit, offset, filter }: ViewBuildsOnAppQueryVariables): Promise<BuildFragment[]>;
|
|
11
14
|
};
|
|
@@ -45,6 +45,25 @@ exports.BuildQuery = {
|
|
|
45
45
|
.toPromise());
|
|
46
46
|
return data.builds.byId;
|
|
47
47
|
},
|
|
48
|
+
async withFingerprintByIdAsync(graphqlClient, buildId, { useCache = true } = {}) {
|
|
49
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
50
|
+
.query((0, graphql_tag_1.default) `
|
|
51
|
+
query BuildsWithFingerprintByIdQuery($buildId: ID!) {
|
|
52
|
+
builds {
|
|
53
|
+
byId(buildId: $buildId) {
|
|
54
|
+
id
|
|
55
|
+
...BuildWithFingerprintFragment
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
${(0, graphql_1.print)(Build_1.BuildFragmentWithFingerprintNode)}
|
|
60
|
+
`, { buildId }, {
|
|
61
|
+
requestPolicy: useCache ? 'cache-first' : 'network-only',
|
|
62
|
+
additionalTypenames: ['Build'],
|
|
63
|
+
})
|
|
64
|
+
.toPromise());
|
|
65
|
+
return data.builds.byId;
|
|
66
|
+
},
|
|
48
67
|
async viewBuildsOnAppAsync(graphqlClient, { appId, limit, offset, filter }) {
|
|
49
68
|
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
50
69
|
.query(
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BuildFragmentWithSubmissionsNode = exports.BuildFragmentNode = void 0;
|
|
3
|
+
exports.BuildFragmentWithFingerprintNode = exports.BuildFragmentWithSubmissionsNode = exports.BuildFragmentNode = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_1 = require("graphql");
|
|
6
6
|
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
7
|
+
const Fingerprint_1 = require("./Fingerprint");
|
|
7
8
|
const Submission_1 = require("./Submission");
|
|
8
9
|
exports.BuildFragmentNode = (0, graphql_tag_1.default) `
|
|
9
10
|
fragment BuildFragment on Build {
|
|
@@ -73,3 +74,16 @@ exports.BuildFragmentWithSubmissionsNode = (0, graphql_tag_1.default) `
|
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
`;
|
|
77
|
+
exports.BuildFragmentWithFingerprintNode = (0, graphql_tag_1.default) `
|
|
78
|
+
${(0, graphql_1.print)(Fingerprint_1.FingerprintFragmentNode)}
|
|
79
|
+
${(0, graphql_1.print)(exports.BuildFragmentNode)}
|
|
80
|
+
|
|
81
|
+
fragment BuildWithFingerprintFragment on Build {
|
|
82
|
+
id
|
|
83
|
+
...BuildFragment
|
|
84
|
+
fingerprint {
|
|
85
|
+
id
|
|
86
|
+
...FingerprintFragment
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FingerprintFragmentNode: import("graphql").DocumentNode;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FingerprintFragmentNode = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
6
|
+
exports.FingerprintFragmentNode = (0, graphql_tag_1.default) `
|
|
7
|
+
fragment FingerprintFragment on Fingerprint {
|
|
8
|
+
id
|
|
9
|
+
hash
|
|
10
|
+
debugInfoUrl
|
|
11
|
+
}
|
|
12
|
+
`;
|
package/build/log.js
CHANGED
|
@@ -8,6 +8,7 @@ const getenv_1 = require("getenv");
|
|
|
8
8
|
const log_symbols_1 = tslib_1.__importDefault(require("log-symbols"));
|
|
9
9
|
const terminal_link_1 = tslib_1.__importDefault(require("terminal-link"));
|
|
10
10
|
class Log {
|
|
11
|
+
static isDebug = (0, getenv_1.boolish)('EXPO_DEBUG', false);
|
|
11
12
|
static log(...args) {
|
|
12
13
|
Log.consoleLog(...args);
|
|
13
14
|
}
|
|
@@ -56,6 +57,7 @@ class Log {
|
|
|
56
57
|
static withTextColor(args, chalkColor) {
|
|
57
58
|
return args.map(arg => chalkColor(arg));
|
|
58
59
|
}
|
|
60
|
+
static isLastLineNewLine = false;
|
|
59
61
|
static updateIsLastLineNewLine(args) {
|
|
60
62
|
if (args.length === 0) {
|
|
61
63
|
Log.isLastLineNewLine = true;
|
|
@@ -71,8 +73,6 @@ class Log {
|
|
|
71
73
|
}
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
|
-
Log.isDebug = (0, getenv_1.boolish)('EXPO_DEBUG', false);
|
|
75
|
-
Log.isLastLineNewLine = false;
|
|
76
76
|
exports.default = Log;
|
|
77
77
|
/**
|
|
78
78
|
* Prints a link for given URL, using text if provided, otherwise text is just the URL.
|
|
@@ -8,10 +8,7 @@ const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
|
8
8
|
const log_2 = require("../../utils/log");
|
|
9
9
|
const task_1 = require("../task");
|
|
10
10
|
class AgeRatingTask extends task_1.AppleTask {
|
|
11
|
-
|
|
12
|
-
super(...arguments);
|
|
13
|
-
this.name = () => 'age rating declarations';
|
|
14
|
-
}
|
|
11
|
+
name = () => 'age rating declarations';
|
|
15
12
|
async prepareAsync({ context }) {
|
|
16
13
|
(0, assert_1.default)(context.version, `App version information is not prepared, can't update age rating`);
|
|
17
14
|
context.ageRating = (await context.version.getAgeRatingDeclarationAsync()) ?? undefined;
|
|
@@ -9,10 +9,7 @@ const log_2 = require("../../utils/log");
|
|
|
9
9
|
const retry_1 = require("../../utils/retry");
|
|
10
10
|
const task_1 = require("../task");
|
|
11
11
|
class AppInfoTask extends task_1.AppleTask {
|
|
12
|
-
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.name = () => 'app information';
|
|
15
|
-
}
|
|
12
|
+
name = () => 'app information';
|
|
16
13
|
async prepareAsync({ context }) {
|
|
17
14
|
const info = await (0, retry_1.retryIfNullAsync)(() => context.app.getEditAppInfoAsync());
|
|
18
15
|
(0, assert_1.default)(info, 'Could not resolve the editable app info to update');
|
|
@@ -9,10 +9,7 @@ const log_2 = require("../../utils/log");
|
|
|
9
9
|
const task_1 = require("../task");
|
|
10
10
|
/** Handle all contact, demo account, or instruction info that are required for the App Store review team. */
|
|
11
11
|
class AppReviewDetailTask extends task_1.AppleTask {
|
|
12
|
-
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.name = () => 'app review detail';
|
|
15
|
-
}
|
|
12
|
+
name = () => 'app review detail';
|
|
16
13
|
async prepareAsync({ context }) {
|
|
17
14
|
(0, assert_1.default)(context.version, `App version not initialized, can't download store review details`);
|
|
18
15
|
context.reviewDetail = (await context.version.getAppStoreReviewDetailAsync()) ?? undefined;
|
|
@@ -10,15 +10,16 @@ const log_2 = require("../../utils/log");
|
|
|
10
10
|
const retry_1 = require("../../utils/retry");
|
|
11
11
|
const task_1 = require("../task");
|
|
12
12
|
class AppVersionTask extends task_1.AppleTask {
|
|
13
|
+
options;
|
|
13
14
|
constructor(options = {}) {
|
|
14
15
|
super();
|
|
15
|
-
this.name = () => (this.options.editLive ? 'live app version' : 'editable app version');
|
|
16
16
|
this.options = {
|
|
17
17
|
platform: options.platform ?? apple_utils_1.Platform.IOS,
|
|
18
18
|
editLive: options.editLive ?? false,
|
|
19
19
|
version: options.version ?? null,
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
+
name = () => (this.options.editLive ? 'live app version' : 'editable app version');
|
|
22
23
|
async prepareAsync({ context }) {
|
|
23
24
|
const { version, versionIsFirst, versionIsLive } = await resolveVersionAsync(context.app, this.options);
|
|
24
25
|
(0, assert_1.default)(version, 'Could not resolve a live or editable app version');
|
package/build/metadata/errors.js
CHANGED
|
@@ -10,6 +10,7 @@ const log_1 = tslib_1.__importStar(require("../log"));
|
|
|
10
10
|
* and should contain useful information for the user to solve before trying again.
|
|
11
11
|
*/
|
|
12
12
|
class MetadataValidationError extends Error {
|
|
13
|
+
errors;
|
|
13
14
|
constructor(message, errors = []) {
|
|
14
15
|
super(message ?? 'Store configuration validation failed');
|
|
15
16
|
this.errors = errors;
|
|
@@ -23,6 +24,8 @@ exports.MetadataValidationError = MetadataValidationError;
|
|
|
23
24
|
* It contains that list of encountered errors to present to the user.
|
|
24
25
|
*/
|
|
25
26
|
class MetadataUploadError extends Error {
|
|
27
|
+
errors;
|
|
28
|
+
executionId;
|
|
26
29
|
constructor(errors, executionId) {
|
|
27
30
|
super(`Store configuration upload encountered ${errors.length === 1 ? 'an error' : `${errors.length} errors`}.`);
|
|
28
31
|
this.errors = errors;
|
|
@@ -37,6 +40,8 @@ exports.MetadataUploadError = MetadataUploadError;
|
|
|
37
40
|
* It contains that list of encountered errors to present to the user.
|
|
38
41
|
*/
|
|
39
42
|
class MetadataDownloadError extends Error {
|
|
43
|
+
errors;
|
|
44
|
+
executionId;
|
|
40
45
|
constructor(errors, executionId) {
|
|
41
46
|
super(`Store configuration download encountered ${errors.length === 1 ? 'an error' : `${errors.length} errors`}.`);
|
|
42
47
|
this.errors = errors;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EASUpdateAction, EASUpdateContext } from '../../eas-update/utils';
|
|
2
|
-
import {
|
|
3
|
-
import { UpdateChannelObject } from '../../graphql/queries/ChannelQuery';
|
|
2
|
+
import { UpdateChannelBasicInfoFragment } from '../../graphql/generated';
|
|
4
3
|
export type NonInteractiveOptions = {
|
|
5
4
|
branchNameToRollout: string;
|
|
6
5
|
percent: number;
|
|
@@ -14,12 +13,12 @@ export declare class CreateRollout implements EASUpdateAction<UpdateChannelBasic
|
|
|
14
13
|
private readonly options;
|
|
15
14
|
constructor(channelInfo: UpdateChannelBasicInfoFragment, options?: Partial<NonInteractiveOptions>);
|
|
16
15
|
runAsync(ctx: EASUpdateContext): Promise<UpdateChannelBasicInfoFragment>;
|
|
17
|
-
confirmCreationAsync
|
|
18
|
-
getChannelObjectAsync
|
|
19
|
-
getLatestUpdateGroupOnBranchAsync
|
|
20
|
-
selectRuntimeVersionAsync
|
|
21
|
-
selectRuntimeVersionFromAlternativeSourceAsync
|
|
22
|
-
selectRuntimeVersionFromProjectConfigAsync
|
|
23
|
-
selectBranchAsync
|
|
24
|
-
resolveBranchNameAsync
|
|
16
|
+
private confirmCreationAsync;
|
|
17
|
+
private getChannelObjectAsync;
|
|
18
|
+
private getLatestUpdateGroupOnBranchAsync;
|
|
19
|
+
private selectRuntimeVersionAsync;
|
|
20
|
+
private selectRuntimeVersionFromAlternativeSourceAsync;
|
|
21
|
+
private selectRuntimeVersionFromProjectConfigAsync;
|
|
22
|
+
private selectBranchAsync;
|
|
23
|
+
private resolveBranchNameAsync;
|
|
25
24
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EASUpdateAction, EASUpdateContext } from '../../eas-update/utils';
|
|
2
2
|
import { UpdateChannelBasicInfoFragment } from '../../graphql/generated';
|
|
3
|
-
import { UpdateChannelObject } from '../../graphql/queries/ChannelQuery';
|
|
4
3
|
export type NonInteractiveOptions = {
|
|
5
4
|
percent: number;
|
|
6
5
|
};
|
|
@@ -12,6 +11,6 @@ export declare class EditRollout implements EASUpdateAction<UpdateChannelBasicIn
|
|
|
12
11
|
private readonly options;
|
|
13
12
|
constructor(channelInfo: UpdateChannelBasicInfoFragment, options?: Partial<NonInteractiveOptions>);
|
|
14
13
|
runAsync(ctx: EASUpdateContext): Promise<UpdateChannelBasicInfoFragment>;
|
|
15
|
-
confirmEditAsync
|
|
16
|
-
getChannelObjectAsync
|
|
14
|
+
private confirmEditAsync;
|
|
15
|
+
private getChannelObjectAsync;
|
|
17
16
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { EASUpdateAction, EASUpdateContext } from '../../eas-update/utils';
|
|
2
2
|
import { UpdateChannelBasicInfoFragment } from '../../graphql/generated';
|
|
3
|
-
import { UpdateBranchObject, UpdateChannelObject } from '../../graphql/queries/ChannelQuery';
|
|
4
|
-
import { Rollout } from '../branch-mapping';
|
|
5
3
|
export declare enum EndOutcome {
|
|
6
4
|
REPUBLISH_AND_REVERT = "republish-and-revert",
|
|
7
5
|
REVERT = "revert"
|
|
@@ -20,8 +18,8 @@ export declare class EndRollout implements EASUpdateAction<UpdateChannelBasicInf
|
|
|
20
18
|
private readonly options;
|
|
21
19
|
constructor(channelInfo: UpdateChannelBasicInfoFragment, options: Partial<NonInteractiveOptions> & GeneralOptions);
|
|
22
20
|
runAsync(ctx: EASUpdateContext): Promise<UpdateChannelBasicInfoFragment>;
|
|
23
|
-
getChannelObjectAsync
|
|
24
|
-
selectOutcomeAsync
|
|
25
|
-
performOutcomeAsync
|
|
26
|
-
confirmOutcomeAsync
|
|
21
|
+
private getChannelObjectAsync;
|
|
22
|
+
private selectOutcomeAsync;
|
|
23
|
+
private performOutcomeAsync;
|
|
24
|
+
private confirmOutcomeAsync;
|
|
27
25
|
}
|
|
@@ -2,7 +2,6 @@ import { NonInteractiveOptions as EditRolloutNonInteractiveOptions } from './Edi
|
|
|
2
2
|
import { GeneralOptions as EndRolloutGeneralOptions, NonInteractiveOptions as EndRolloutNonInteractiveOptions } from './EndRollout';
|
|
3
3
|
import { EASUpdateAction, EASUpdateContext } from '../../eas-update/utils';
|
|
4
4
|
import { UpdateChannelBasicInfoFragment } from '../../graphql/generated';
|
|
5
|
-
import { UpdateChannelObject } from '../../graphql/queries/ChannelQuery';
|
|
6
5
|
export declare enum ManageRolloutActions {
|
|
7
6
|
EDIT = "Edit",
|
|
8
7
|
END = "End",
|
|
@@ -20,6 +19,6 @@ export declare class ManageRollout implements EASUpdateAction<EASUpdateAction> {
|
|
|
20
19
|
action?: ManageRolloutActions.EDIT | ManageRolloutActions.END | ManageRolloutActions.VIEW;
|
|
21
20
|
} & Partial<EditRolloutNonInteractiveOptions> & Partial<EndRolloutNonInteractiveOptions> & EndRolloutGeneralOptions);
|
|
22
21
|
runAsync(ctx: EASUpdateContext): Promise<EASUpdateAction>;
|
|
23
|
-
selectActionAsync
|
|
24
|
-
getChannelObjectAsync
|
|
22
|
+
private selectActionAsync;
|
|
23
|
+
private getChannelObjectAsync;
|
|
25
24
|
}
|