eas-cli 16.20.1 → 16.20.2
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 +85 -85
- package/build/build/evaluateConfigWithEnvVarsAsync.js +3 -4
- package/build/build/utils/environment.d.ts +5 -1
- package/build/build/utils/environment.js +12 -6
- package/build/commandUtils/EasCommand.d.ts +1 -1
- package/build/commandUtils/context/ContextField.d.ts +1 -1
- package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.d.ts +1 -1
- package/build/commandUtils/context/contextUtils/loadServerSideEnvironmentVariablesAsync.js +4 -4
- package/build/commandUtils/flags.d.ts +1 -4
- package/build/commandUtils/flags.js +5 -6
- package/build/commands/build/resign.d.ts +2 -1
- package/build/commands/deploy/index.d.ts +1 -1
- package/build/commands/env/create.d.ts +1 -1
- package/build/commands/env/delete.d.ts +1 -1
- package/build/commands/env/get.d.ts +1 -1
- package/build/commands/env/list.d.ts +1 -1
- package/build/commands/env/pull.d.ts +1 -1
- package/build/commands/env/push.d.ts +1 -1
- package/build/commands/env/update.d.ts +1 -1
- package/build/commands/fingerprint/compare.d.ts +1 -1
- package/build/commands/fingerprint/generate.d.ts +1 -1
- package/build/commands/update/configure.d.ts +1 -1
- package/build/commands/update/index.d.ts +1 -1
- package/build/graphql/generated.d.ts +77 -52
- package/build/graphql/generated.js +3 -9
- package/build/graphql/queries/EnvironmentVariablesQuery.d.ts +2 -1
- package/build/utils/prompts.d.ts +2 -1
- package/build/utils/prompts.js +3 -2
- package/build/utils/variableUtils.d.ts +2 -1
- package/build/utils/variableUtils.js +2 -1
- package/build/worker/assets.d.ts +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
|
@@ -55,6 +55,10 @@ export type Scalars = {
|
|
|
55
55
|
input: any;
|
|
56
56
|
output: any;
|
|
57
57
|
};
|
|
58
|
+
EnvironmentVariableEnvironment: {
|
|
59
|
+
input: any;
|
|
60
|
+
output: any;
|
|
61
|
+
};
|
|
58
62
|
JSON: {
|
|
59
63
|
input: any;
|
|
60
64
|
output: any;
|
|
@@ -390,7 +394,7 @@ export type AccountEnvironmentSecretsArgs = {
|
|
|
390
394
|
* data and settings. Actors may own and be members of accounts.
|
|
391
395
|
*/
|
|
392
396
|
export type AccountEnvironmentVariablesArgs = {
|
|
393
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
397
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
394
398
|
filterNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
395
399
|
};
|
|
396
400
|
/**
|
|
@@ -398,7 +402,7 @@ export type AccountEnvironmentVariablesArgs = {
|
|
|
398
402
|
* data and settings. Actors may own and be members of accounts.
|
|
399
403
|
*/
|
|
400
404
|
export type AccountEnvironmentVariablesIncludingSensitiveArgs = {
|
|
401
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
405
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
402
406
|
filterNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
403
407
|
};
|
|
404
408
|
/**
|
|
@@ -992,7 +996,7 @@ export type AndroidJobInput = {
|
|
|
992
996
|
cache?: InputMaybe<BuildCacheInput>;
|
|
993
997
|
customBuildConfig?: InputMaybe<CustomBuildConfigInput>;
|
|
994
998
|
developmentClient?: InputMaybe<Scalars['Boolean']['input']>;
|
|
995
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
999
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
996
1000
|
experimental?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
997
1001
|
gradleCommand?: InputMaybe<Scalars['String']['input']>;
|
|
998
1002
|
loggerLevel?: InputMaybe<WorkerLoggerLevel>;
|
|
@@ -1342,12 +1346,12 @@ export type AppEnvironmentSecretsArgs = {
|
|
|
1342
1346
|
};
|
|
1343
1347
|
/** Represents an Exponent App (or Experience in legacy terms) */
|
|
1344
1348
|
export type AppEnvironmentVariablesArgs = {
|
|
1345
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
1349
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
1346
1350
|
filterNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1347
1351
|
};
|
|
1348
1352
|
/** Represents an Exponent App (or Experience in legacy terms) */
|
|
1349
1353
|
export type AppEnvironmentVariablesIncludingSensitiveArgs = {
|
|
1350
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
1354
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
1351
1355
|
filterNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1352
1356
|
};
|
|
1353
1357
|
/** Represents an Exponent App (or Experience in legacy terms) */
|
|
@@ -2497,7 +2501,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
|
|
|
2497
2501
|
reactNativeVersion?: Maybe<Scalars['String']['output']>;
|
|
2498
2502
|
releaseChannel?: Maybe<Scalars['String']['output']>;
|
|
2499
2503
|
requiredPackageManager?: Maybe<Scalars['String']['output']>;
|
|
2500
|
-
resolvedEnvironment?: Maybe<EnvironmentVariableEnvironment>;
|
|
2504
|
+
resolvedEnvironment?: Maybe<Scalars['EnvironmentVariableEnvironment']['output']>;
|
|
2501
2505
|
/**
|
|
2502
2506
|
* The builder resource class requested by the developer
|
|
2503
2507
|
* @deprecated Use resourceClassDisplayName instead
|
|
@@ -2519,6 +2523,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
|
|
|
2519
2523
|
updatedAt: Scalars['DateTime']['output'];
|
|
2520
2524
|
waiverType?: Maybe<EasBuildWaiverType>;
|
|
2521
2525
|
workerStartedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2526
|
+
workflowJob?: Maybe<WorkflowJob>;
|
|
2522
2527
|
};
|
|
2523
2528
|
/** Represents an EAS Build */
|
|
2524
2529
|
export type BuildCanRetryArgs = {
|
|
@@ -3041,7 +3046,7 @@ export type CreateEnvironmentSecretInput = {
|
|
|
3041
3046
|
value: Scalars['String']['input'];
|
|
3042
3047
|
};
|
|
3043
3048
|
export type CreateEnvironmentVariableInput = {
|
|
3044
|
-
environments?: InputMaybe<Array<EnvironmentVariableEnvironment>>;
|
|
3049
|
+
environments?: InputMaybe<Array<Scalars['EnvironmentVariableEnvironment']['input']>>;
|
|
3045
3050
|
fileName?: InputMaybe<Scalars['String']['input']>;
|
|
3046
3051
|
name: Scalars['String']['input'];
|
|
3047
3052
|
overwrite?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -3061,7 +3066,7 @@ export type CreateGitHubBuildTriggerInput = {
|
|
|
3061
3066
|
appId: Scalars['ID']['input'];
|
|
3062
3067
|
autoSubmit: Scalars['Boolean']['input'];
|
|
3063
3068
|
buildProfile: Scalars['String']['input'];
|
|
3064
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
3069
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
3065
3070
|
executionBehavior: GitHubBuildTriggerExecutionBehavior;
|
|
3066
3071
|
isActive: Scalars['Boolean']['input'];
|
|
3067
3072
|
platform: AppPlatform;
|
|
@@ -3103,7 +3108,7 @@ export type CreateSentryProjectInput = {
|
|
|
3103
3108
|
sentryProjectSlug: Scalars['String']['input'];
|
|
3104
3109
|
};
|
|
3105
3110
|
export type CreateSharedEnvironmentVariableInput = {
|
|
3106
|
-
environments?: InputMaybe<Array<EnvironmentVariableEnvironment>>;
|
|
3111
|
+
environments?: InputMaybe<Array<Scalars['EnvironmentVariableEnvironment']['input']>>;
|
|
3107
3112
|
fileName?: InputMaybe<Scalars['String']['input']>;
|
|
3108
3113
|
name: Scalars['String']['input'];
|
|
3109
3114
|
overwrite?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -3572,11 +3577,11 @@ export type EnvironmentVariable = {
|
|
|
3572
3577
|
/** @deprecated Environment variables are automatically linked to all apps */
|
|
3573
3578
|
apps: Array<App>;
|
|
3574
3579
|
createdAt: Scalars['DateTime']['output'];
|
|
3575
|
-
environments?: Maybe<Array<EnvironmentVariableEnvironment>>;
|
|
3580
|
+
environments?: Maybe<Array<Scalars['EnvironmentVariableEnvironment']['output']>>;
|
|
3576
3581
|
fileName?: Maybe<Scalars['String']['output']>;
|
|
3577
3582
|
id: Scalars['ID']['output'];
|
|
3578
3583
|
isGlobal?: Maybe<Scalars['Boolean']['output']>;
|
|
3579
|
-
linkedEnvironments?: Maybe<Array<EnvironmentVariableEnvironment>>;
|
|
3584
|
+
linkedEnvironments?: Maybe<Array<Scalars['EnvironmentVariableEnvironment']['output']>>;
|
|
3580
3585
|
name: Scalars['String']['output'];
|
|
3581
3586
|
scope: EnvironmentVariableScope;
|
|
3582
3587
|
type: EnvironmentSecretType;
|
|
@@ -3591,11 +3596,6 @@ export type EnvironmentVariableLinkedEnvironmentsArgs = {
|
|
|
3591
3596
|
export type EnvironmentVariableValueArgs = {
|
|
3592
3597
|
includeFileContent?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3593
3598
|
};
|
|
3594
|
-
export declare enum EnvironmentVariableEnvironment {
|
|
3595
|
-
Development = "DEVELOPMENT",
|
|
3596
|
-
Preview = "PREVIEW",
|
|
3597
|
-
Production = "PRODUCTION"
|
|
3598
|
-
}
|
|
3599
3599
|
export type EnvironmentVariableMutation = {
|
|
3600
3600
|
__typename?: 'EnvironmentVariableMutation';
|
|
3601
3601
|
/** Create bulk env variables for an Account */
|
|
@@ -3656,11 +3656,11 @@ export type EnvironmentVariableWithSecret = {
|
|
|
3656
3656
|
__typename?: 'EnvironmentVariableWithSecret';
|
|
3657
3657
|
apps: Array<App>;
|
|
3658
3658
|
createdAt: Scalars['DateTime']['output'];
|
|
3659
|
-
environments?: Maybe<Array<EnvironmentVariableEnvironment>>;
|
|
3659
|
+
environments?: Maybe<Array<Scalars['EnvironmentVariableEnvironment']['output']>>;
|
|
3660
3660
|
fileName?: Maybe<Scalars['String']['output']>;
|
|
3661
3661
|
id: Scalars['ID']['output'];
|
|
3662
3662
|
isGlobal: Scalars['Boolean']['output'];
|
|
3663
|
-
linkedEnvironments?: Maybe<Array<EnvironmentVariableEnvironment>>;
|
|
3663
|
+
linkedEnvironments?: Maybe<Array<Scalars['EnvironmentVariableEnvironment']['output']>>;
|
|
3664
3664
|
name: Scalars['String']['output'];
|
|
3665
3665
|
scope: EnvironmentVariableScope;
|
|
3666
3666
|
sensitive: Scalars['Boolean']['output'];
|
|
@@ -3694,10 +3694,21 @@ export type EstimatedUsage = {
|
|
|
3694
3694
|
id: Scalars['ID']['output'];
|
|
3695
3695
|
limit: Scalars['Float']['output'];
|
|
3696
3696
|
metricType: UsageMetricType;
|
|
3697
|
+
platformBreakdown?: Maybe<EstimatedUsagePlatformBreakdown>;
|
|
3697
3698
|
service: EasService;
|
|
3698
3699
|
serviceMetric: EasServiceMetric;
|
|
3699
3700
|
value: Scalars['Float']['output'];
|
|
3700
3701
|
};
|
|
3702
|
+
export type EstimatedUsagePlatformBreakdown = {
|
|
3703
|
+
__typename?: 'EstimatedUsagePlatformBreakdown';
|
|
3704
|
+
android: EstimatedUsagePlatformDetail;
|
|
3705
|
+
ios: EstimatedUsagePlatformDetail;
|
|
3706
|
+
};
|
|
3707
|
+
export type EstimatedUsagePlatformDetail = {
|
|
3708
|
+
__typename?: 'EstimatedUsagePlatformDetail';
|
|
3709
|
+
limit: Scalars['Float']['output'];
|
|
3710
|
+
value: Scalars['Float']['output'];
|
|
3711
|
+
};
|
|
3701
3712
|
export declare enum Experiment {
|
|
3702
3713
|
Orbit = "ORBIT"
|
|
3703
3714
|
}
|
|
@@ -3914,7 +3925,7 @@ export type GitHubBuildInput = {
|
|
|
3914
3925
|
autoSubmit?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3915
3926
|
baseDirectory?: InputMaybe<Scalars['String']['input']>;
|
|
3916
3927
|
buildProfile: Scalars['String']['input'];
|
|
3917
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
3928
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
3918
3929
|
gitRef: Scalars['String']['input'];
|
|
3919
3930
|
platform: AppPlatform;
|
|
3920
3931
|
submitProfile?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3925,7 +3936,7 @@ export type GitHubBuildTrigger = {
|
|
|
3925
3936
|
autoSubmit: Scalars['Boolean']['output'];
|
|
3926
3937
|
buildProfile: Scalars['String']['output'];
|
|
3927
3938
|
createdAt: Scalars['DateTime']['output'];
|
|
3928
|
-
environment?: Maybe<EnvironmentVariableEnvironment>;
|
|
3939
|
+
environment?: Maybe<Scalars['EnvironmentVariableEnvironment']['output']>;
|
|
3929
3940
|
executionBehavior: GitHubBuildTriggerExecutionBehavior;
|
|
3930
3941
|
id: Scalars['ID']['output'];
|
|
3931
3942
|
isActive: Scalars['Boolean']['output'];
|
|
@@ -4398,7 +4409,7 @@ export type IosJobInput = {
|
|
|
4398
4409
|
developmentClient?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4399
4410
|
/** @deprecated */
|
|
4400
4411
|
distribution?: InputMaybe<DistributionType>;
|
|
4401
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
4412
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
4402
4413
|
experimental?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
4403
4414
|
loggerLevel?: InputMaybe<WorkerLoggerLevel>;
|
|
4404
4415
|
mode?: InputMaybe<BuildMode>;
|
|
@@ -4996,7 +5007,7 @@ export type PublishUpdateGroupInput = {
|
|
|
4996
5007
|
assetMapGroup?: InputMaybe<AssetMapGroup>;
|
|
4997
5008
|
awaitingCodeSigningInfo?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4998
5009
|
branchId: Scalars['String']['input'];
|
|
4999
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
5010
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
5000
5011
|
excludedAssets?: InputMaybe<Array<PartialManifestAsset>>;
|
|
5001
5012
|
fingerprintInfoGroup?: InputMaybe<FingerprintInfoGroup>;
|
|
5002
5013
|
gitCommitHash?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5847,6 +5858,7 @@ export type Submission = ActivityTimelineProjectActivity & {
|
|
|
5847
5858
|
status: SubmissionStatus;
|
|
5848
5859
|
submittedBuild?: Maybe<Build>;
|
|
5849
5860
|
updatedAt: Scalars['DateTime']['output'];
|
|
5861
|
+
workflowJob?: Maybe<WorkflowJob>;
|
|
5850
5862
|
};
|
|
5851
5863
|
export declare enum SubmissionAndroidArchiveType {
|
|
5852
5864
|
Aab = "AAB",
|
|
@@ -5999,7 +6011,7 @@ export type Update = ActivityTimelineProjectActivity & {
|
|
|
5999
6011
|
codeSigningInfo?: Maybe<CodeSigningInfo>;
|
|
6000
6012
|
createdAt: Scalars['DateTime']['output'];
|
|
6001
6013
|
deployments: DeploymentResult;
|
|
6002
|
-
environment?: Maybe<EnvironmentVariableEnvironment>;
|
|
6014
|
+
environment?: Maybe<Scalars['EnvironmentVariableEnvironment']['output']>;
|
|
6003
6015
|
expoGoSDKVersion?: Maybe<Scalars['String']['output']>;
|
|
6004
6016
|
fingerprint?: Maybe<Fingerprint>;
|
|
6005
6017
|
gitCommitHash?: Maybe<Scalars['String']['output']>;
|
|
@@ -6021,6 +6033,7 @@ export type Update = ActivityTimelineProjectActivity & {
|
|
|
6021
6033
|
/** @deprecated Use 'runtime' field . */
|
|
6022
6034
|
runtimeVersion: Scalars['String']['output'];
|
|
6023
6035
|
updatedAt: Scalars['DateTime']['output'];
|
|
6036
|
+
workflowJob?: Maybe<WorkflowJob>;
|
|
6024
6037
|
};
|
|
6025
6038
|
export type UpdateDeploymentsArgs = {
|
|
6026
6039
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6185,7 +6198,7 @@ export type UpdateDeploymentsConnection = {
|
|
|
6185
6198
|
pageInfo: PageInfo;
|
|
6186
6199
|
};
|
|
6187
6200
|
export type UpdateEnvironmentVariableInput = {
|
|
6188
|
-
environments?: InputMaybe<Array<EnvironmentVariableEnvironment>>;
|
|
6201
|
+
environments?: InputMaybe<Array<Scalars['EnvironmentVariableEnvironment']['input']>>;
|
|
6189
6202
|
fileName?: InputMaybe<Scalars['String']['input']>;
|
|
6190
6203
|
id: Scalars['ID']['input'];
|
|
6191
6204
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6201,7 +6214,7 @@ export type UpdateFilterInput = {
|
|
|
6201
6214
|
export type UpdateGitHubBuildTriggerInput = {
|
|
6202
6215
|
autoSubmit: Scalars['Boolean']['input'];
|
|
6203
6216
|
buildProfile: Scalars['String']['input'];
|
|
6204
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
6217
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
6205
6218
|
executionBehavior: GitHubBuildTriggerExecutionBehavior;
|
|
6206
6219
|
isActive: Scalars['Boolean']['input'];
|
|
6207
6220
|
platform: AppPlatform;
|
|
@@ -7528,8 +7541,14 @@ export type WorkflowRevisionInput = {
|
|
|
7528
7541
|
};
|
|
7529
7542
|
export type WorkflowRevisionMutation = {
|
|
7530
7543
|
__typename?: 'WorkflowRevisionMutation';
|
|
7544
|
+
getOrCreateWorkflowRevisionFromGitRef: WorkflowRevision;
|
|
7531
7545
|
validateWorkflowYamlConfig: Scalars['Boolean']['output'];
|
|
7532
7546
|
};
|
|
7547
|
+
export type WorkflowRevisionMutationGetOrCreateWorkflowRevisionFromGitRefArgs = {
|
|
7548
|
+
appId: Scalars['ID']['input'];
|
|
7549
|
+
fileName: Scalars['String']['input'];
|
|
7550
|
+
gitRef: Scalars['String']['input'];
|
|
7551
|
+
};
|
|
7533
7552
|
export type WorkflowRevisionMutationValidateWorkflowYamlConfigArgs = {
|
|
7534
7553
|
appId: Scalars['ID']['input'];
|
|
7535
7554
|
yamlConfig: Scalars['String']['input'];
|
|
@@ -7597,6 +7616,7 @@ export type WorkflowRunMutation = {
|
|
|
7597
7616
|
__typename?: 'WorkflowRunMutation';
|
|
7598
7617
|
cancelWorkflowRun: WorkflowRun;
|
|
7599
7618
|
createWorkflowRun: WorkflowRun;
|
|
7619
|
+
createWorkflowRunFromGitRef: WorkflowRun;
|
|
7600
7620
|
retryWorkflowRun: WorkflowRun;
|
|
7601
7621
|
};
|
|
7602
7622
|
export type WorkflowRunMutationCancelWorkflowRunArgs = {
|
|
@@ -7607,6 +7627,11 @@ export type WorkflowRunMutationCreateWorkflowRunArgs = {
|
|
|
7607
7627
|
workflowRevisionInput: WorkflowRevisionInput;
|
|
7608
7628
|
workflowRunInput: WorkflowRunInput;
|
|
7609
7629
|
};
|
|
7630
|
+
export type WorkflowRunMutationCreateWorkflowRunFromGitRefArgs = {
|
|
7631
|
+
gitRef: Scalars['String']['input'];
|
|
7632
|
+
inputs?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
7633
|
+
workflowRevisionId: Scalars['ID']['input'];
|
|
7634
|
+
};
|
|
7610
7635
|
export type WorkflowRunMutationRetryWorkflowRunArgs = {
|
|
7611
7636
|
fromFailedJobs?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7612
7637
|
workflowRunId: Scalars['ID']['input'];
|
|
@@ -11894,7 +11919,7 @@ export type CreateEnvironmentVariableForAccountMutation = {
|
|
|
11894
11919
|
id: string;
|
|
11895
11920
|
name: string;
|
|
11896
11921
|
value?: string | null;
|
|
11897
|
-
environments?: Array<
|
|
11922
|
+
environments?: Array<any> | null;
|
|
11898
11923
|
createdAt: any;
|
|
11899
11924
|
updatedAt: any;
|
|
11900
11925
|
scope: EnvironmentVariableScope;
|
|
@@ -11916,7 +11941,7 @@ export type CreateEnvironmentVariableForAppMutation = {
|
|
|
11916
11941
|
id: string;
|
|
11917
11942
|
name: string;
|
|
11918
11943
|
value?: string | null;
|
|
11919
|
-
environments?: Array<
|
|
11944
|
+
environments?: Array<any> | null;
|
|
11920
11945
|
createdAt: any;
|
|
11921
11946
|
updatedAt: any;
|
|
11922
11947
|
scope: EnvironmentVariableScope;
|
|
@@ -11937,7 +11962,7 @@ export type UpdateEnvironmentVariableMutation = {
|
|
|
11937
11962
|
id: string;
|
|
11938
11963
|
name: string;
|
|
11939
11964
|
value?: string | null;
|
|
11940
|
-
environments?: Array<
|
|
11965
|
+
environments?: Array<any> | null;
|
|
11941
11966
|
createdAt: any;
|
|
11942
11967
|
updatedAt: any;
|
|
11943
11968
|
scope: EnvironmentVariableScope;
|
|
@@ -12152,7 +12177,7 @@ export type UpdatePublishMutation = {
|
|
|
12152
12177
|
manifestPermalink: string;
|
|
12153
12178
|
gitCommitHash?: string | null;
|
|
12154
12179
|
isGitWorkingTreeDirty: boolean;
|
|
12155
|
-
environment?:
|
|
12180
|
+
environment?: any | null;
|
|
12156
12181
|
rolloutPercentage?: number | null;
|
|
12157
12182
|
manifestHostOverride?: string | null;
|
|
12158
12183
|
assetHostOverride?: string | null;
|
|
@@ -12243,7 +12268,7 @@ export type SetRolloutPercentageMutation = {
|
|
|
12243
12268
|
manifestPermalink: string;
|
|
12244
12269
|
gitCommitHash?: string | null;
|
|
12245
12270
|
isGitWorkingTreeDirty: boolean;
|
|
12246
|
-
environment?:
|
|
12271
|
+
environment?: any | null;
|
|
12247
12272
|
rolloutPercentage?: number | null;
|
|
12248
12273
|
manifestHostOverride?: string | null;
|
|
12249
12274
|
assetHostOverride?: string | null;
|
|
@@ -12835,7 +12860,7 @@ export type BranchesByAppQuery = {
|
|
|
12835
12860
|
manifestPermalink: string;
|
|
12836
12861
|
gitCommitHash?: string | null;
|
|
12837
12862
|
isGitWorkingTreeDirty: boolean;
|
|
12838
|
-
environment?:
|
|
12863
|
+
environment?: any | null;
|
|
12839
12864
|
rolloutPercentage?: number | null;
|
|
12840
12865
|
manifestHostOverride?: string | null;
|
|
12841
12866
|
assetHostOverride?: string | null;
|
|
@@ -12954,7 +12979,7 @@ export type ViewBranchesOnUpdateChannelQuery = {
|
|
|
12954
12979
|
manifestPermalink: string;
|
|
12955
12980
|
gitCommitHash?: string | null;
|
|
12956
12981
|
isGitWorkingTreeDirty: boolean;
|
|
12957
|
-
environment?:
|
|
12982
|
+
environment?: any | null;
|
|
12958
12983
|
rolloutPercentage?: number | null;
|
|
12959
12984
|
manifestHostOverride?: string | null;
|
|
12960
12985
|
assetHostOverride?: string | null;
|
|
@@ -13479,7 +13504,7 @@ export type ViewUpdateChannelOnAppQuery = {
|
|
|
13479
13504
|
manifestPermalink: string;
|
|
13480
13505
|
gitCommitHash?: string | null;
|
|
13481
13506
|
isGitWorkingTreeDirty: boolean;
|
|
13482
|
-
environment?:
|
|
13507
|
+
environment?: any | null;
|
|
13483
13508
|
rolloutPercentage?: number | null;
|
|
13484
13509
|
manifestHostOverride?: string | null;
|
|
13485
13510
|
assetHostOverride?: string | null;
|
|
@@ -13567,7 +13592,7 @@ export type ViewUpdateChannelsOnAppQuery = {
|
|
|
13567
13592
|
manifestPermalink: string;
|
|
13568
13593
|
gitCommitHash?: string | null;
|
|
13569
13594
|
isGitWorkingTreeDirty: boolean;
|
|
13570
|
-
environment?:
|
|
13595
|
+
environment?: any | null;
|
|
13571
13596
|
rolloutPercentage?: number | null;
|
|
13572
13597
|
manifestHostOverride?: string | null;
|
|
13573
13598
|
assetHostOverride?: string | null;
|
|
@@ -13689,7 +13714,7 @@ export type EnvironmentSecretsByAppIdQuery = {
|
|
|
13689
13714
|
export type EnvironmentVariablesIncludingSensitiveByAppIdQueryVariables = Exact<{
|
|
13690
13715
|
appId: Scalars['String']['input'];
|
|
13691
13716
|
filterNames?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
13692
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
13717
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
13693
13718
|
includeFileContent: Scalars['Boolean']['input'];
|
|
13694
13719
|
}>;
|
|
13695
13720
|
export type EnvironmentVariablesIncludingSensitiveByAppIdQuery = {
|
|
@@ -13704,7 +13729,7 @@ export type EnvironmentVariablesIncludingSensitiveByAppIdQuery = {
|
|
|
13704
13729
|
id: string;
|
|
13705
13730
|
name: string;
|
|
13706
13731
|
value?: string | null;
|
|
13707
|
-
environments?: Array<
|
|
13732
|
+
environments?: Array<any> | null;
|
|
13708
13733
|
createdAt: any;
|
|
13709
13734
|
updatedAt: any;
|
|
13710
13735
|
scope: EnvironmentVariableScope;
|
|
@@ -13718,7 +13743,7 @@ export type EnvironmentVariablesIncludingSensitiveByAppIdQuery = {
|
|
|
13718
13743
|
export type EnvironmentVariablesByAppIdQueryVariables = Exact<{
|
|
13719
13744
|
appId: Scalars['String']['input'];
|
|
13720
13745
|
filterNames?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
13721
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
13746
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
13722
13747
|
includeFileContent: Scalars['Boolean']['input'];
|
|
13723
13748
|
}>;
|
|
13724
13749
|
export type EnvironmentVariablesByAppIdQuery = {
|
|
@@ -13731,10 +13756,10 @@ export type EnvironmentVariablesByAppIdQuery = {
|
|
|
13731
13756
|
environmentVariables: Array<{
|
|
13732
13757
|
__typename?: 'EnvironmentVariable';
|
|
13733
13758
|
id: string;
|
|
13734
|
-
linkedEnvironments?: Array<
|
|
13759
|
+
linkedEnvironments?: Array<any> | null;
|
|
13735
13760
|
name: string;
|
|
13736
13761
|
value?: string | null;
|
|
13737
|
-
environments?: Array<
|
|
13762
|
+
environments?: Array<any> | null;
|
|
13738
13763
|
createdAt: any;
|
|
13739
13764
|
updatedAt: any;
|
|
13740
13765
|
scope: EnvironmentVariableScope;
|
|
@@ -13748,7 +13773,7 @@ export type EnvironmentVariablesByAppIdQuery = {
|
|
|
13748
13773
|
export type EnvironmentVariablesSharedQueryVariables = Exact<{
|
|
13749
13774
|
appId: Scalars['String']['input'];
|
|
13750
13775
|
filterNames?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
13751
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
13776
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
13752
13777
|
includeFileContent: Scalars['Boolean']['input'];
|
|
13753
13778
|
}>;
|
|
13754
13779
|
export type EnvironmentVariablesSharedQuery = {
|
|
@@ -13764,10 +13789,10 @@ export type EnvironmentVariablesSharedQuery = {
|
|
|
13764
13789
|
environmentVariables: Array<{
|
|
13765
13790
|
__typename?: 'EnvironmentVariable';
|
|
13766
13791
|
id: string;
|
|
13767
|
-
linkedEnvironments?: Array<
|
|
13792
|
+
linkedEnvironments?: Array<any> | null;
|
|
13768
13793
|
name: string;
|
|
13769
13794
|
value?: string | null;
|
|
13770
|
-
environments?: Array<
|
|
13795
|
+
environments?: Array<any> | null;
|
|
13771
13796
|
createdAt: any;
|
|
13772
13797
|
updatedAt: any;
|
|
13773
13798
|
scope: EnvironmentVariableScope;
|
|
@@ -13782,7 +13807,7 @@ export type EnvironmentVariablesSharedQuery = {
|
|
|
13782
13807
|
export type EnvironmentVariablesSharedWithSensitiveQueryVariables = Exact<{
|
|
13783
13808
|
appId: Scalars['String']['input'];
|
|
13784
13809
|
filterNames?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
13785
|
-
environment?: InputMaybe<EnvironmentVariableEnvironment>;
|
|
13810
|
+
environment?: InputMaybe<Scalars['EnvironmentVariableEnvironment']['input']>;
|
|
13786
13811
|
includeFileContent: Scalars['Boolean']['input'];
|
|
13787
13812
|
}>;
|
|
13788
13813
|
export type EnvironmentVariablesSharedWithSensitiveQuery = {
|
|
@@ -13800,7 +13825,7 @@ export type EnvironmentVariablesSharedWithSensitiveQuery = {
|
|
|
13800
13825
|
id: string;
|
|
13801
13826
|
name: string;
|
|
13802
13827
|
value?: string | null;
|
|
13803
|
-
environments?: Array<
|
|
13828
|
+
environments?: Array<any> | null;
|
|
13804
13829
|
createdAt: any;
|
|
13805
13830
|
updatedAt: any;
|
|
13806
13831
|
scope: EnvironmentVariableScope;
|
|
@@ -14092,7 +14117,7 @@ export type ViewUpdatesByGroupQuery = {
|
|
|
14092
14117
|
manifestPermalink: string;
|
|
14093
14118
|
gitCommitHash?: string | null;
|
|
14094
14119
|
isGitWorkingTreeDirty: boolean;
|
|
14095
|
-
environment?:
|
|
14120
|
+
environment?: any | null;
|
|
14096
14121
|
rolloutPercentage?: number | null;
|
|
14097
14122
|
manifestHostOverride?: string | null;
|
|
14098
14123
|
assetHostOverride?: string | null;
|
|
@@ -14169,7 +14194,7 @@ export type ViewUpdateGroupsOnBranchQuery = {
|
|
|
14169
14194
|
manifestPermalink: string;
|
|
14170
14195
|
gitCommitHash?: string | null;
|
|
14171
14196
|
isGitWorkingTreeDirty: boolean;
|
|
14172
|
-
environment?:
|
|
14197
|
+
environment?: any | null;
|
|
14173
14198
|
rolloutPercentage?: number | null;
|
|
14174
14199
|
manifestHostOverride?: string | null;
|
|
14175
14200
|
assetHostOverride?: string | null;
|
|
@@ -14245,7 +14270,7 @@ export type ViewUpdateGroupsOnAppQuery = {
|
|
|
14245
14270
|
manifestPermalink: string;
|
|
14246
14271
|
gitCommitHash?: string | null;
|
|
14247
14272
|
isGitWorkingTreeDirty: boolean;
|
|
14248
|
-
environment?:
|
|
14273
|
+
environment?: any | null;
|
|
14249
14274
|
rolloutPercentage?: number | null;
|
|
14250
14275
|
manifestHostOverride?: string | null;
|
|
14251
14276
|
assetHostOverride?: string | null;
|
|
@@ -14314,7 +14339,7 @@ export type UpdateByIdQuery = {
|
|
|
14314
14339
|
manifestPermalink: string;
|
|
14315
14340
|
gitCommitHash?: string | null;
|
|
14316
14341
|
isGitWorkingTreeDirty: boolean;
|
|
14317
|
-
environment?:
|
|
14342
|
+
environment?: any | null;
|
|
14318
14343
|
rolloutPercentage?: number | null;
|
|
14319
14344
|
manifestHostOverride?: string | null;
|
|
14320
14345
|
assetHostOverride?: string | null;
|
|
@@ -15357,7 +15382,7 @@ export type EnvironmentVariableFragment = {
|
|
|
15357
15382
|
id: string;
|
|
15358
15383
|
name: string;
|
|
15359
15384
|
value?: string | null;
|
|
15360
|
-
environments?: Array<
|
|
15385
|
+
environments?: Array<any> | null;
|
|
15361
15386
|
createdAt: any;
|
|
15362
15387
|
updatedAt: any;
|
|
15363
15388
|
scope: EnvironmentVariableScope;
|
|
@@ -15369,7 +15394,7 @@ export type EnvironmentVariableWithSecretFragment = {
|
|
|
15369
15394
|
id: string;
|
|
15370
15395
|
name: string;
|
|
15371
15396
|
value?: string | null;
|
|
15372
|
-
environments?: Array<
|
|
15397
|
+
environments?: Array<any> | null;
|
|
15373
15398
|
createdAt: any;
|
|
15374
15399
|
updatedAt: any;
|
|
15375
15400
|
scope: EnvironmentVariableScope;
|
|
@@ -15471,7 +15496,7 @@ export type UpdateFragment = {
|
|
|
15471
15496
|
manifestPermalink: string;
|
|
15472
15497
|
gitCommitHash?: string | null;
|
|
15473
15498
|
isGitWorkingTreeDirty: boolean;
|
|
15474
|
-
environment?:
|
|
15499
|
+
environment?: any | null;
|
|
15475
15500
|
rolloutPercentage?: number | null;
|
|
15476
15501
|
manifestHostOverride?: string | null;
|
|
15477
15502
|
assetHostOverride?: string | null;
|
|
@@ -15534,7 +15559,7 @@ export type UpdateBranchFragment = {
|
|
|
15534
15559
|
manifestPermalink: string;
|
|
15535
15560
|
gitCommitHash?: string | null;
|
|
15536
15561
|
isGitWorkingTreeDirty: boolean;
|
|
15537
|
-
environment?:
|
|
15562
|
+
environment?: any | null;
|
|
15538
15563
|
rolloutPercentage?: number | null;
|
|
15539
15564
|
manifestHostOverride?: string | null;
|
|
15540
15565
|
assetHostOverride?: string | null;
|
|
@@ -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.SubmissionPriority = exports.SubmissionArchiveSourceType = 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 =
|
|
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 =
|
|
9
|
+
exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.DashboardViewPin = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = 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.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = 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 = void 0;
|
|
12
12
|
var AccountAppsSortByField;
|
|
13
13
|
(function (AccountAppsSortByField) {
|
|
14
14
|
AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
|
|
@@ -401,12 +401,6 @@ var EnvironmentSecretType;
|
|
|
401
401
|
EnvironmentSecretType["FileBase64"] = "FILE_BASE64";
|
|
402
402
|
EnvironmentSecretType["String"] = "STRING";
|
|
403
403
|
})(EnvironmentSecretType || (exports.EnvironmentSecretType = EnvironmentSecretType = {}));
|
|
404
|
-
var EnvironmentVariableEnvironment;
|
|
405
|
-
(function (EnvironmentVariableEnvironment) {
|
|
406
|
-
EnvironmentVariableEnvironment["Development"] = "DEVELOPMENT";
|
|
407
|
-
EnvironmentVariableEnvironment["Preview"] = "PREVIEW";
|
|
408
|
-
EnvironmentVariableEnvironment["Production"] = "PRODUCTION";
|
|
409
|
-
})(EnvironmentVariableEnvironment || (exports.EnvironmentVariableEnvironment = EnvironmentVariableEnvironment = {}));
|
|
410
404
|
var EnvironmentVariableScope;
|
|
411
405
|
(function (EnvironmentVariableScope) {
|
|
412
406
|
EnvironmentVariableScope["Project"] = "PROJECT";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../../build/utils/environment';
|
|
1
2
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
-
import {
|
|
3
|
+
import { EnvironmentVariableFragment } from '../generated';
|
|
3
4
|
type EnvironmentVariableWithLinkedEnvironments = EnvironmentVariableFragment & {
|
|
4
5
|
linkedEnvironments?: EnvironmentVariableEnvironment[] | null;
|
|
5
6
|
};
|
package/build/utils/prompts.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../build/utils/environment';
|
|
2
|
+
import { EnvironmentSecretType, EnvironmentVariableVisibility } from '../graphql/generated';
|
|
2
3
|
import { RequestedPlatform } from '../platform';
|
|
3
4
|
export declare function promptVariableTypeAsync(nonInteractive: boolean, initialType?: EnvironmentSecretType): Promise<EnvironmentSecretType>;
|
|
4
5
|
export declare function parseVisibility(stringVisibility: 'plaintext' | 'sensitive' | 'secret'): EnvironmentVariableVisibility;
|
package/build/utils/prompts.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.promptPlatformAsync = exports.promptVariableNameAsync = exports.promptVariableValueAsync = exports.promptVariableEnvironmentAsync = exports.promptVariableVisibilityAsync = exports.parseVisibility = exports.promptVariableTypeAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
+
const environment_1 = require("../build/utils/environment");
|
|
6
7
|
const generated_1 = require("../graphql/generated");
|
|
7
8
|
const platform_1 = require("../platform");
|
|
8
9
|
const prompts_1 = require("../prompts");
|
|
@@ -66,7 +67,7 @@ async function promptVariableEnvironmentAsync({ nonInteractive, selectedEnvironm
|
|
|
66
67
|
throw new Error('The `--environment` flag must be set when running in `--non-interactive` mode.');
|
|
67
68
|
}
|
|
68
69
|
if (!multiple) {
|
|
69
|
-
return await (0, prompts_1.selectAsync)('Select environment:', (availableEnvironments ?? Object.values(
|
|
70
|
+
return await (0, prompts_1.selectAsync)('Select environment:', (availableEnvironments ?? Object.values(environment_1.EnvironmentVariableEnvironment)).map(environment => ({
|
|
70
71
|
title: environment.toLocaleLowerCase(),
|
|
71
72
|
value: environment,
|
|
72
73
|
})));
|
|
@@ -75,7 +76,7 @@ async function promptVariableEnvironmentAsync({ nonInteractive, selectedEnvironm
|
|
|
75
76
|
message: 'Select environment:',
|
|
76
77
|
name: 'environments',
|
|
77
78
|
type: 'multiselect',
|
|
78
|
-
choices: Object.values(
|
|
79
|
+
choices: Object.values(environment_1.EnvironmentVariableEnvironment).map(environment => ({
|
|
79
80
|
title: environment.toLocaleLowerCase(),
|
|
80
81
|
value: environment,
|
|
81
82
|
selected: selectedEnvironments?.includes(environment),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { EnvironmentVariableEnvironment
|
|
1
|
+
import { EnvironmentVariableEnvironment } from '../build/utils/environment';
|
|
2
|
+
import { EnvironmentVariableFragment } from '../graphql/generated';
|
|
2
3
|
import { EnvironmentVariableWithFileContent } from '../graphql/queries/EnvironmentVariablesQuery';
|
|
3
4
|
export declare function isEnvironment(environment: string): environment is EnvironmentVariableEnvironment;
|
|
4
5
|
export declare function formatVariableName(variable: EnvironmentVariableFragment): string;
|
|
@@ -4,9 +4,10 @@ exports.formatVariable = exports.performForEnvironmentsAsync = exports.formatVar
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const dateformat_1 = tslib_1.__importDefault(require("dateformat"));
|
|
6
6
|
const formatFields_1 = tslib_1.__importDefault(require("./formatFields"));
|
|
7
|
+
const environment_1 = require("../build/utils/environment");
|
|
7
8
|
const generated_1 = require("../graphql/generated");
|
|
8
9
|
function isEnvironment(environment) {
|
|
9
|
-
return Object.values(
|
|
10
|
+
return Object.values(environment_1.EnvironmentVariableEnvironment).includes(environment);
|
|
10
11
|
}
|
|
11
12
|
exports.isEnvironment = isEnvironment;
|
|
12
13
|
function formatVariableName(variable) {
|
package/build/worker/assets.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { GzipOptions } from 'minizlib';
|
|
3
|
+
import { EnvironmentVariableEnvironment } from '../build/utils/environment';
|
|
3
4
|
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
4
|
-
import { EnvironmentVariableEnvironment } from '../graphql/generated';
|
|
5
5
|
interface AssetMapOptions {
|
|
6
6
|
maxFileSize: number;
|
|
7
7
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eas-cli",
|
|
3
3
|
"description": "EAS command line tool",
|
|
4
|
-
"version": "16.20.
|
|
4
|
+
"version": "16.20.2",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eas": "./bin/run"
|
|
@@ -241,5 +241,5 @@
|
|
|
241
241
|
"node": "20.11.0",
|
|
242
242
|
"yarn": "1.22.21"
|
|
243
243
|
},
|
|
244
|
-
"gitHead": "
|
|
244
|
+
"gitHead": "f093197dea016783e6060942dd58312ba1a51fc8"
|
|
245
245
|
}
|