eas-cli 12.5.3 → 12.6.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 +131 -60
- package/build/channel/queries.js +12 -3
- package/build/commandUtils/context/DynamicProjectConfigContextField.d.ts +1 -1
- package/build/commandUtils/context/OptionalPrivateProjectConfigContextField.d.ts +1 -1
- package/build/commandUtils/context/PrivateProjectConfigContextField.d.ts +1 -1
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.d.ts +1 -1
- package/build/commandUtils/flags.d.ts +2 -2
- package/build/commandUtils/flags.js +1 -6
- package/build/commands/channel/pause.d.ts +22 -0
- package/build/commands/channel/pause.js +90 -0
- package/build/commands/channel/resume.d.ts +22 -0
- package/build/commands/channel/resume.js +90 -0
- package/build/commands/env/create.d.ts +2 -2
- package/build/commands/env/create.js +13 -4
- package/build/commands/env/get.js +7 -11
- package/build/commands/env/link.js +3 -0
- package/build/commands/env/list.js +5 -1
- package/build/commands/env/pull.js +1 -1
- package/build/commands/env/push.d.ts +1 -2
- package/build/commands/env/push.js +86 -80
- package/build/commands/env/update.d.ts +2 -2
- package/build/commands/env/update.js +11 -7
- package/build/commands/update/edit.d.ts +2 -2
- package/build/commands/update/edit.js +41 -4
- package/build/eas-update/utils.d.ts +1 -1
- package/build/graphql/generated.d.ts +147 -19
- package/build/graphql/generated.js +19 -2
- package/build/graphql/mutations/EnvironmentVariableMutation.d.ts +1 -1
- package/build/graphql/queries/ChannelQuery.js +2 -0
- package/build/metadata/download.d.ts +1 -1
- package/build/metadata/upload.d.ts +1 -1
- package/build/update/configure.d.ts +1 -1
- package/build/utils/expoCli.d.ts +1 -1
- package/build/utils/prompts.d.ts +3 -1
- package/build/utils/prompts.js +36 -12
- package/oclif.manifest.json +103 -12
- package/package.json +3 -4
|
@@ -683,7 +683,8 @@ export type ActivityTimelineProjectActivity = {
|
|
|
683
683
|
export declare enum ActivityTimelineProjectActivityType {
|
|
684
684
|
Build = "BUILD",
|
|
685
685
|
Submission = "SUBMISSION",
|
|
686
|
-
Update = "UPDATE"
|
|
686
|
+
Update = "UPDATE",
|
|
687
|
+
Worker = "WORKER"
|
|
687
688
|
}
|
|
688
689
|
/** A regular user, SSO user, or robot that can authenticate with Expo services and be a member of accounts. */
|
|
689
690
|
export type Actor = {
|
|
@@ -1224,6 +1225,7 @@ export type App = Project & {
|
|
|
1224
1225
|
workerDeploymentsCrashes?: Maybe<WorkerDeploymentCrashes>;
|
|
1225
1226
|
workerDeploymentsRequest: WorkerDeploymentRequestEdge;
|
|
1226
1227
|
workerDeploymentsRequests?: Maybe<WorkerDeploymentRequests>;
|
|
1228
|
+
workflows: Array<Workflow>;
|
|
1227
1229
|
};
|
|
1228
1230
|
/** Represents an Exponent App (or Experience in legacy terms) */
|
|
1229
1231
|
export type AppActivityTimelineProjectActivitiesArgs = {
|
|
@@ -2140,15 +2142,11 @@ export type AuditLogMutationExportAuditLogsArgs = {
|
|
|
2140
2142
|
};
|
|
2141
2143
|
export type AuditLogQuery = {
|
|
2142
2144
|
__typename?: 'AuditLogQuery';
|
|
2143
|
-
/**
|
|
2144
|
-
|
|
2145
|
+
/** Audit logs for account */
|
|
2146
|
+
byId: AuditLog;
|
|
2145
2147
|
};
|
|
2146
|
-
export type
|
|
2147
|
-
|
|
2148
|
-
limit: Scalars['Int']['input'];
|
|
2149
|
-
offset: Scalars['Int']['input'];
|
|
2150
|
-
targetEntityMutationType?: InputMaybe<Array<TargetEntityMutationType>>;
|
|
2151
|
-
targetEntityTypeName?: InputMaybe<Array<EntityTypeName>>;
|
|
2148
|
+
export type AuditLogQueryByIdArgs = {
|
|
2149
|
+
auditLogId: Scalars['ID']['input'];
|
|
2152
2150
|
};
|
|
2153
2151
|
export declare enum AuditLogsExportFormat {
|
|
2154
2152
|
Csv = "CSV",
|
|
@@ -3274,7 +3272,9 @@ export declare enum EntityTypeName {
|
|
|
3274
3272
|
GoogleServiceAccountKey = "GoogleServiceAccountKey",
|
|
3275
3273
|
IosAppCredentials = "IosAppCredentials",
|
|
3276
3274
|
UserInvitation = "UserInvitation",
|
|
3277
|
-
UserPermission = "UserPermission"
|
|
3275
|
+
UserPermission = "UserPermission",
|
|
3276
|
+
Workflow = "Workflow",
|
|
3277
|
+
WorkflowRevision = "WorkflowRevision"
|
|
3278
3278
|
}
|
|
3279
3279
|
export type EnvironmentSecret = {
|
|
3280
3280
|
__typename?: 'EnvironmentSecret';
|
|
@@ -4575,6 +4575,22 @@ export type RequestsFilters = {
|
|
|
4575
4575
|
status?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
4576
4576
|
statusType?: InputMaybe<Array<ResponseStatusType>>;
|
|
4577
4577
|
};
|
|
4578
|
+
export type RequestsOrderBy = {
|
|
4579
|
+
direction?: InputMaybe<RequestsOrderByDirection>;
|
|
4580
|
+
field: RequestsOrderByField;
|
|
4581
|
+
};
|
|
4582
|
+
export declare enum RequestsOrderByDirection {
|
|
4583
|
+
Asc = "ASC",
|
|
4584
|
+
Desc = "DESC"
|
|
4585
|
+
}
|
|
4586
|
+
export declare enum RequestsOrderByField {
|
|
4587
|
+
AssetsSum = "ASSETS_SUM",
|
|
4588
|
+
CacheHitRatio = "CACHE_HIT_RATIO",
|
|
4589
|
+
CachePassRatio = "CACHE_PASS_RATIO",
|
|
4590
|
+
CrashesSum = "CRASHES_SUM",
|
|
4591
|
+
Duration = "DURATION",
|
|
4592
|
+
RequestsSum = "REQUESTS_SUM"
|
|
4593
|
+
}
|
|
4578
4594
|
export type RescindUserInvitationResult = {
|
|
4579
4595
|
__typename?: 'RescindUserInvitationResult';
|
|
4580
4596
|
id: Scalars['ID']['output'];
|
|
@@ -4887,6 +4903,8 @@ export type RootQuery = {
|
|
|
4887
4903
|
/** Top-level query object for querying Webhooks. */
|
|
4888
4904
|
webhook: WebhookQuery;
|
|
4889
4905
|
workerDeployment: WorkerDeploymentQuery;
|
|
4906
|
+
workflowRevisions: WorkflowRevisionQuery;
|
|
4907
|
+
workflows: WorkflowQuery;
|
|
4890
4908
|
};
|
|
4891
4909
|
export type RootQueryAllPublicAppsArgs = {
|
|
4892
4910
|
filter: AppsFilter;
|
|
@@ -6040,17 +6058,12 @@ export type UserAuditLogMutationExportUserAuditLogsArgs = {
|
|
|
6040
6058
|
};
|
|
6041
6059
|
export type UserAuditLogQuery = {
|
|
6042
6060
|
__typename?: 'UserAuditLogQuery';
|
|
6043
|
-
/** Query User Audit Logs by user ID */
|
|
6044
|
-
byUserId: Array<UserAuditLog>;
|
|
6045
6061
|
/** Audit logs for user */
|
|
6062
|
+
byId: UserAuditLog;
|
|
6046
6063
|
byUserIdPaginated: UserAuditLogConnection;
|
|
6047
6064
|
};
|
|
6048
|
-
export type
|
|
6049
|
-
|
|
6050
|
-
offset: Scalars['Int']['input'];
|
|
6051
|
-
targetEntityMutationType?: InputMaybe<Array<TargetEntityMutationType>>;
|
|
6052
|
-
targetEntityTypeName?: InputMaybe<Array<UserEntityTypeName>>;
|
|
6053
|
-
userId: Scalars['ID']['input'];
|
|
6065
|
+
export type UserAuditLogQueryByIdArgs = {
|
|
6066
|
+
auditLogId: Scalars['ID']['input'];
|
|
6054
6067
|
};
|
|
6055
6068
|
export type UserAuditLogQueryByUserIdPaginatedArgs = {
|
|
6056
6069
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6325,8 +6338,10 @@ export type WorkerCustomDomain = {
|
|
|
6325
6338
|
updatedAt: Scalars['DateTime']['output'];
|
|
6326
6339
|
verificationRecord?: Maybe<CustomDomainDnsRecord>;
|
|
6327
6340
|
};
|
|
6328
|
-
export type WorkerDeployment = {
|
|
6341
|
+
export type WorkerDeployment = ActivityTimelineProjectActivity & {
|
|
6329
6342
|
__typename?: 'WorkerDeployment';
|
|
6343
|
+
activityTimestamp: Scalars['DateTime']['output'];
|
|
6344
|
+
actor?: Maybe<Actor>;
|
|
6330
6345
|
aliases?: Maybe<Array<WorkerDeploymentAlias>>;
|
|
6331
6346
|
crashes?: Maybe<WorkerDeploymentCrashes>;
|
|
6332
6347
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -6501,8 +6516,10 @@ export type WorkerDeploymentRequests = {
|
|
|
6501
6516
|
byBrowser: Array<WorkerDeploymentRequestsBrowserEdge>;
|
|
6502
6517
|
byCacheStatus: Array<WorkerDeploymentRequestsCacheStatusEdge>;
|
|
6503
6518
|
byContinent: Array<WorkerDeploymentRequestsContinentEdge>;
|
|
6519
|
+
byCountry: Array<WorkerDeploymentRequestsCountryEdge>;
|
|
6504
6520
|
byMethod: Array<WorkerDeploymentRequestsMethodEdge>;
|
|
6505
6521
|
byOS: Array<WorkerDeploymentRequestsOperatingSystemEdge>;
|
|
6522
|
+
byResponseType: Array<WorkerDeploymentRequestsResponseTypeEdge>;
|
|
6506
6523
|
byStatusType: Array<WorkerDeploymentRequestsStatusTypeEdge>;
|
|
6507
6524
|
interval: Scalars['Int']['output'];
|
|
6508
6525
|
minRowsWithoutLimit: Scalars['Int']['output'];
|
|
@@ -6510,6 +6527,38 @@ export type WorkerDeploymentRequests = {
|
|
|
6510
6527
|
summary: WorkerDeploymentRequestsAggregationNode;
|
|
6511
6528
|
timeseries: Array<WorkerDeploymentRequestsTimeseriesEdge>;
|
|
6512
6529
|
};
|
|
6530
|
+
export type WorkerDeploymentRequestsByBrowserArgs = {
|
|
6531
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6532
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6533
|
+
};
|
|
6534
|
+
export type WorkerDeploymentRequestsByCacheStatusArgs = {
|
|
6535
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6536
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6537
|
+
};
|
|
6538
|
+
export type WorkerDeploymentRequestsByContinentArgs = {
|
|
6539
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6540
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6541
|
+
};
|
|
6542
|
+
export type WorkerDeploymentRequestsByCountryArgs = {
|
|
6543
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6544
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6545
|
+
};
|
|
6546
|
+
export type WorkerDeploymentRequestsByMethodArgs = {
|
|
6547
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6548
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6549
|
+
};
|
|
6550
|
+
export type WorkerDeploymentRequestsByOsArgs = {
|
|
6551
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6552
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6553
|
+
};
|
|
6554
|
+
export type WorkerDeploymentRequestsByResponseTypeArgs = {
|
|
6555
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6556
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6557
|
+
};
|
|
6558
|
+
export type WorkerDeploymentRequestsByStatusTypeArgs = {
|
|
6559
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6560
|
+
orderBy?: InputMaybe<RequestsOrderBy>;
|
|
6561
|
+
};
|
|
6513
6562
|
export type WorkerDeploymentRequestsAggregationNode = {
|
|
6514
6563
|
__typename?: 'WorkerDeploymentRequestsAggregationNode';
|
|
6515
6564
|
assetsPerMs?: Maybe<Scalars['Float']['output']>;
|
|
@@ -6565,6 +6614,11 @@ export type WorkerDeploymentRequestsContinentEdge = {
|
|
|
6565
6614
|
continent: ContinentCode;
|
|
6566
6615
|
node: WorkerDeploymentRequestsAggregationNode;
|
|
6567
6616
|
};
|
|
6617
|
+
export type WorkerDeploymentRequestsCountryEdge = {
|
|
6618
|
+
__typename?: 'WorkerDeploymentRequestsCountryEdge';
|
|
6619
|
+
country?: Maybe<Scalars['String']['output']>;
|
|
6620
|
+
node: WorkerDeploymentRequestsAggregationNode;
|
|
6621
|
+
};
|
|
6568
6622
|
export type WorkerDeploymentRequestsMethodEdge = {
|
|
6569
6623
|
__typename?: 'WorkerDeploymentRequestsMethodEdge';
|
|
6570
6624
|
method: Scalars['String']['output'];
|
|
@@ -6575,6 +6629,11 @@ export type WorkerDeploymentRequestsOperatingSystemEdge = {
|
|
|
6575
6629
|
node: WorkerDeploymentRequestsAggregationNode;
|
|
6576
6630
|
os?: Maybe<UserAgentOs>;
|
|
6577
6631
|
};
|
|
6632
|
+
export type WorkerDeploymentRequestsResponseTypeEdge = {
|
|
6633
|
+
__typename?: 'WorkerDeploymentRequestsResponseTypeEdge';
|
|
6634
|
+
node: WorkerDeploymentRequestsAggregationNode;
|
|
6635
|
+
responseType: ResponseType;
|
|
6636
|
+
};
|
|
6578
6637
|
export type WorkerDeploymentRequestsStatusTypeEdge = {
|
|
6579
6638
|
__typename?: 'WorkerDeploymentRequestsStatusTypeEdge';
|
|
6580
6639
|
node: WorkerDeploymentRequestsAggregationNode;
|
|
@@ -6585,8 +6644,10 @@ export type WorkerDeploymentRequestsTimeseriesEdge = {
|
|
|
6585
6644
|
byBrowser: Array<WorkerDeploymentRequestsBrowserEdge>;
|
|
6586
6645
|
byCacheStatus: Array<WorkerDeploymentRequestsCacheStatusEdge>;
|
|
6587
6646
|
byContinent: Array<WorkerDeploymentRequestsContinentEdge>;
|
|
6647
|
+
byCountry: Array<WorkerDeploymentRequestsCountryEdge>;
|
|
6588
6648
|
byMethod: Array<WorkerDeploymentRequestsMethodEdge>;
|
|
6589
6649
|
byOS: Array<WorkerDeploymentRequestsOperatingSystemEdge>;
|
|
6650
|
+
byResponseType: Array<WorkerDeploymentRequestsResponseTypeEdge>;
|
|
6590
6651
|
byStatusType: Array<WorkerDeploymentRequestsStatusTypeEdge>;
|
|
6591
6652
|
node?: Maybe<WorkerDeploymentRequestsAggregationNode>;
|
|
6592
6653
|
timestamp: Scalars['DateTime']['output'];
|
|
@@ -6604,6 +6665,16 @@ export declare enum WorkerLoggerLevel {
|
|
|
6604
6665
|
Trace = "TRACE",
|
|
6605
6666
|
Warn = "WARN"
|
|
6606
6667
|
}
|
|
6668
|
+
export type Workflow = {
|
|
6669
|
+
__typename?: 'Workflow';
|
|
6670
|
+
app: App;
|
|
6671
|
+
createdAt: Scalars['DateTime']['output'];
|
|
6672
|
+
fileName: Scalars['String']['output'];
|
|
6673
|
+
id: Scalars['ID']['output'];
|
|
6674
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
6675
|
+
revisions: Array<WorkflowRevision>;
|
|
6676
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
6677
|
+
};
|
|
6607
6678
|
export type WorkflowJobMutation = {
|
|
6608
6679
|
__typename?: 'WorkflowJobMutation';
|
|
6609
6680
|
approveWorkflowJob: Scalars['ID']['output'];
|
|
@@ -6611,6 +6682,31 @@ export type WorkflowJobMutation = {
|
|
|
6611
6682
|
export type WorkflowJobMutationApproveWorkflowJobArgs = {
|
|
6612
6683
|
workflowJobId: Scalars['ID']['input'];
|
|
6613
6684
|
};
|
|
6685
|
+
/** Look up Workflow by ID */
|
|
6686
|
+
export type WorkflowQuery = {
|
|
6687
|
+
__typename?: 'WorkflowQuery';
|
|
6688
|
+
byId: Workflow;
|
|
6689
|
+
};
|
|
6690
|
+
/** Look up Workflow by ID */
|
|
6691
|
+
export type WorkflowQueryByIdArgs = {
|
|
6692
|
+
workflowId: Scalars['ID']['input'];
|
|
6693
|
+
};
|
|
6694
|
+
export type WorkflowRevision = {
|
|
6695
|
+
__typename?: 'WorkflowRevision';
|
|
6696
|
+
blobSha: Scalars['String']['output'];
|
|
6697
|
+
commitSha: Scalars['String']['output'];
|
|
6698
|
+
createdAt: Scalars['DateTime']['output'];
|
|
6699
|
+
id: Scalars['ID']['output'];
|
|
6700
|
+
workflow: Workflow;
|
|
6701
|
+
yamlConfig: Scalars['String']['output'];
|
|
6702
|
+
};
|
|
6703
|
+
export type WorkflowRevisionQuery = {
|
|
6704
|
+
__typename?: 'WorkflowRevisionQuery';
|
|
6705
|
+
byId: WorkflowRevision;
|
|
6706
|
+
};
|
|
6707
|
+
export type WorkflowRevisionQueryByIdArgs = {
|
|
6708
|
+
workflowRevisionId: Scalars['ID']['input'];
|
|
6709
|
+
};
|
|
6614
6710
|
export type DeleteAndroidAppBuildCredentialsResult = {
|
|
6615
6711
|
__typename?: 'deleteAndroidAppBuildCredentialsResult';
|
|
6616
6712
|
id: Scalars['ID']['output'];
|
|
@@ -6761,6 +6857,36 @@ export type UpdateChannelBranchMappingMutation = {
|
|
|
6761
6857
|
};
|
|
6762
6858
|
};
|
|
6763
6859
|
};
|
|
6860
|
+
export type PauseUpdateChannelMutationVariables = Exact<{
|
|
6861
|
+
channelId: Scalars['ID']['input'];
|
|
6862
|
+
}>;
|
|
6863
|
+
export type PauseUpdateChannelMutation = {
|
|
6864
|
+
__typename?: 'RootMutation';
|
|
6865
|
+
updateChannel: {
|
|
6866
|
+
__typename?: 'UpdateChannelMutation';
|
|
6867
|
+
pauseUpdateChannel: {
|
|
6868
|
+
__typename?: 'UpdateChannel';
|
|
6869
|
+
id: string;
|
|
6870
|
+
name: string;
|
|
6871
|
+
branchMapping: string;
|
|
6872
|
+
};
|
|
6873
|
+
};
|
|
6874
|
+
};
|
|
6875
|
+
export type ResumeUpdateChannelMutationVariables = Exact<{
|
|
6876
|
+
channelId: Scalars['ID']['input'];
|
|
6877
|
+
}>;
|
|
6878
|
+
export type ResumeUpdateChannelMutation = {
|
|
6879
|
+
__typename?: 'RootMutation';
|
|
6880
|
+
updateChannel: {
|
|
6881
|
+
__typename?: 'UpdateChannelMutation';
|
|
6882
|
+
resumeUpdateChannel: {
|
|
6883
|
+
__typename?: 'UpdateChannel';
|
|
6884
|
+
id: string;
|
|
6885
|
+
name: string;
|
|
6886
|
+
branchMapping: string;
|
|
6887
|
+
};
|
|
6888
|
+
};
|
|
6889
|
+
};
|
|
6764
6890
|
export type AppInfoQueryVariables = Exact<{
|
|
6765
6891
|
appId: Scalars['String']['input'];
|
|
6766
6892
|
}>;
|
|
@@ -11908,6 +12034,7 @@ export type ViewUpdateChannelOnAppQuery = {
|
|
|
11908
12034
|
updateChannelByName?: {
|
|
11909
12035
|
__typename?: 'UpdateChannel';
|
|
11910
12036
|
id: string;
|
|
12037
|
+
isPaused: boolean;
|
|
11911
12038
|
name: string;
|
|
11912
12039
|
updatedAt: any;
|
|
11913
12040
|
createdAt: any;
|
|
@@ -11978,6 +12105,7 @@ export type ViewUpdateChannelsOnAppQuery = {
|
|
|
11978
12105
|
updateChannels: Array<{
|
|
11979
12106
|
__typename?: 'UpdateChannel';
|
|
11980
12107
|
id: string;
|
|
12108
|
+
isPaused: boolean;
|
|
11981
12109
|
name: string;
|
|
11982
12110
|
updatedAt: any;
|
|
11983
12111
|
createdAt: any;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.GitHubAppEnvironment = exports.FingerprintSourceType = 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.AppStoreConnectUserRole = exports.AppSort = exports.AppPrivacy = exports.AppPlatform = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountAppsSortByField = void 0;
|
|
10
|
-
exports.
|
|
11
|
-
exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WebhookType = void 0;
|
|
10
|
+
exports.UserAgentBrowser = exports.UsageMetricsGranularity = 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 = void 0;
|
|
11
|
+
exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WebhookType = exports.UserEntityTypeName = exports.UserAgentOs = void 0;
|
|
12
12
|
var AccountAppsSortByField;
|
|
13
13
|
(function (AccountAppsSortByField) {
|
|
14
14
|
AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
|
|
@@ -23,6 +23,7 @@ var ActivityTimelineProjectActivityType;
|
|
|
23
23
|
ActivityTimelineProjectActivityType["Build"] = "BUILD";
|
|
24
24
|
ActivityTimelineProjectActivityType["Submission"] = "SUBMISSION";
|
|
25
25
|
ActivityTimelineProjectActivityType["Update"] = "UPDATE";
|
|
26
|
+
ActivityTimelineProjectActivityType["Worker"] = "WORKER";
|
|
26
27
|
})(ActivityTimelineProjectActivityType || (exports.ActivityTimelineProjectActivityType = ActivityTimelineProjectActivityType = {}));
|
|
27
28
|
var AndroidBuildType;
|
|
28
29
|
(function (AndroidBuildType) {
|
|
@@ -356,6 +357,8 @@ var EntityTypeName;
|
|
|
356
357
|
EntityTypeName["IosAppCredentials"] = "IosAppCredentials";
|
|
357
358
|
EntityTypeName["UserInvitation"] = "UserInvitation";
|
|
358
359
|
EntityTypeName["UserPermission"] = "UserPermission";
|
|
360
|
+
EntityTypeName["Workflow"] = "Workflow";
|
|
361
|
+
EntityTypeName["WorkflowRevision"] = "WorkflowRevision";
|
|
359
362
|
})(EntityTypeName || (exports.EntityTypeName = EntityTypeName = {}));
|
|
360
363
|
var EnvironmentSecretType;
|
|
361
364
|
(function (EnvironmentSecretType) {
|
|
@@ -564,6 +567,20 @@ var RequestMethod;
|
|
|
564
567
|
RequestMethod["Post"] = "POST";
|
|
565
568
|
RequestMethod["Put"] = "PUT";
|
|
566
569
|
})(RequestMethod || (exports.RequestMethod = RequestMethod = {}));
|
|
570
|
+
var RequestsOrderByDirection;
|
|
571
|
+
(function (RequestsOrderByDirection) {
|
|
572
|
+
RequestsOrderByDirection["Asc"] = "ASC";
|
|
573
|
+
RequestsOrderByDirection["Desc"] = "DESC";
|
|
574
|
+
})(RequestsOrderByDirection || (exports.RequestsOrderByDirection = RequestsOrderByDirection = {}));
|
|
575
|
+
var RequestsOrderByField;
|
|
576
|
+
(function (RequestsOrderByField) {
|
|
577
|
+
RequestsOrderByField["AssetsSum"] = "ASSETS_SUM";
|
|
578
|
+
RequestsOrderByField["CacheHitRatio"] = "CACHE_HIT_RATIO";
|
|
579
|
+
RequestsOrderByField["CachePassRatio"] = "CACHE_PASS_RATIO";
|
|
580
|
+
RequestsOrderByField["CrashesSum"] = "CRASHES_SUM";
|
|
581
|
+
RequestsOrderByField["Duration"] = "DURATION";
|
|
582
|
+
RequestsOrderByField["RequestsSum"] = "REQUESTS_SUM";
|
|
583
|
+
})(RequestsOrderByField || (exports.RequestsOrderByField = RequestsOrderByField = {}));
|
|
567
584
|
var ResourceClassExperiment;
|
|
568
585
|
(function (ResourceClassExperiment) {
|
|
569
586
|
ResourceClassExperiment["C3D"] = "C3D";
|
|
@@ -10,7 +10,7 @@ type CreateVariableArgs = {
|
|
|
10
10
|
export type EnvironmentVariablePushInput = {
|
|
11
11
|
name: string;
|
|
12
12
|
value: string;
|
|
13
|
-
|
|
13
|
+
environments: EnvironmentVariableEnvironment[];
|
|
14
14
|
visibility: EnvironmentVariableVisibility;
|
|
15
15
|
overwrite?: boolean;
|
|
16
16
|
};
|
|
@@ -29,6 +29,7 @@ exports.ChannelQuery = {
|
|
|
29
29
|
id
|
|
30
30
|
updateChannelByName(name: $channelName) {
|
|
31
31
|
id
|
|
32
|
+
isPaused
|
|
32
33
|
name
|
|
33
34
|
updatedAt
|
|
34
35
|
createdAt
|
|
@@ -63,6 +64,7 @@ exports.ChannelQuery = {
|
|
|
63
64
|
id
|
|
64
65
|
updateChannels(offset: $offset, limit: $limit) {
|
|
65
66
|
id
|
|
67
|
+
isPaused
|
|
66
68
|
name
|
|
67
69
|
updatedAt
|
|
68
70
|
createdAt
|
package/build/utils/expoCli.d.ts
CHANGED
package/build/utils/prompts.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EnvironmentSecretType, EnvironmentVariableEnvironment, EnvironmentVariableVisibility } from '../graphql/generated';
|
|
2
2
|
export declare function promptVariableTypeAsync(nonInteractive: boolean, initialType?: EnvironmentSecretType): Promise<EnvironmentSecretType>;
|
|
3
|
+
export declare function parseVisibility(stringVisibility: 'plaintext' | 'sensitive' | 'encrypted'): EnvironmentVariableVisibility;
|
|
3
4
|
export declare function promptVariableVisibilityAsync(nonInteractive: boolean, selectedVisibility?: EnvironmentVariableVisibility | null): Promise<EnvironmentVariableVisibility>;
|
|
4
5
|
type EnvironmentPromptArgs = {
|
|
5
6
|
nonInteractive: boolean;
|
|
@@ -12,10 +13,11 @@ export declare function promptVariableEnvironmentAsync(input: EnvironmentPromptA
|
|
|
12
13
|
export declare function promptVariableEnvironmentAsync(input: EnvironmentPromptArgs & {
|
|
13
14
|
multiple?: false;
|
|
14
15
|
}): Promise<EnvironmentVariableEnvironment>;
|
|
15
|
-
export declare function promptVariableValueAsync({ nonInteractive, required, hidden, initial, }: {
|
|
16
|
+
export declare function promptVariableValueAsync({ nonInteractive, required, hidden, filePath, initial, }: {
|
|
16
17
|
nonInteractive: boolean;
|
|
17
18
|
required?: boolean;
|
|
18
19
|
initial?: string | null;
|
|
20
|
+
filePath?: boolean;
|
|
19
21
|
hidden?: boolean;
|
|
20
22
|
}): Promise<string>;
|
|
21
23
|
export declare function promptVariableNameAsync(nonInteractive: boolean, initialValue?: string): Promise<string>;
|
package/build/utils/prompts.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.promptVariableNameAsync = exports.promptVariableValueAsync = exports.promptVariableEnvironmentAsync = exports.promptVariableVisibilityAsync = exports.promptVariableTypeAsync = void 0;
|
|
3
|
+
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 capitalize_1 = tslib_1.__importDefault(require("./expodash/capitalize"));
|
|
7
6
|
const generated_1 = require("../graphql/generated");
|
|
8
7
|
const prompts_1 = require("../prompts");
|
|
9
8
|
async function promptVariableTypeAsync(nonInteractive, initialType) {
|
|
@@ -25,15 +24,40 @@ async function promptVariableTypeAsync(nonInteractive, initialType) {
|
|
|
25
24
|
});
|
|
26
25
|
}
|
|
27
26
|
exports.promptVariableTypeAsync = promptVariableTypeAsync;
|
|
27
|
+
function parseVisibility(stringVisibility) {
|
|
28
|
+
switch (stringVisibility) {
|
|
29
|
+
case 'plaintext':
|
|
30
|
+
return generated_1.EnvironmentVariableVisibility.Public;
|
|
31
|
+
case 'sensitive':
|
|
32
|
+
return generated_1.EnvironmentVariableVisibility.Sensitive;
|
|
33
|
+
case 'encrypted':
|
|
34
|
+
return generated_1.EnvironmentVariableVisibility.Secret;
|
|
35
|
+
default:
|
|
36
|
+
throw new Error(`Invalid visibility: ${stringVisibility}`);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.parseVisibility = parseVisibility;
|
|
28
40
|
async function promptVariableVisibilityAsync(nonInteractive, selectedVisibility) {
|
|
29
41
|
if (nonInteractive) {
|
|
30
42
|
throw new Error('The `--visibility` flag must be set when running in `--non-interactive` mode.');
|
|
31
43
|
}
|
|
32
|
-
return await (0, prompts_1.selectAsync)('Select visibility:',
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
44
|
+
return await (0, prompts_1.selectAsync)('Select visibility:', [
|
|
45
|
+
{
|
|
46
|
+
title: 'Plain text',
|
|
47
|
+
value: generated_1.EnvironmentVariableVisibility.Public,
|
|
48
|
+
selected: selectedVisibility === generated_1.EnvironmentVariableVisibility.Public,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
title: 'Sensitive',
|
|
52
|
+
value: generated_1.EnvironmentVariableVisibility.Sensitive,
|
|
53
|
+
selected: selectedVisibility === generated_1.EnvironmentVariableVisibility.Sensitive,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
title: 'Encrypted',
|
|
57
|
+
value: generated_1.EnvironmentVariableVisibility.Secret,
|
|
58
|
+
selected: selectedVisibility === generated_1.EnvironmentVariableVisibility.Secret,
|
|
59
|
+
},
|
|
60
|
+
]);
|
|
37
61
|
}
|
|
38
62
|
exports.promptVariableVisibilityAsync = promptVariableVisibilityAsync;
|
|
39
63
|
async function promptVariableEnvironmentAsync({ nonInteractive, selectedEnvironments, multiple = false, availableEnvironments, }) {
|
|
@@ -42,7 +66,7 @@ async function promptVariableEnvironmentAsync({ nonInteractive, selectedEnvironm
|
|
|
42
66
|
}
|
|
43
67
|
if (!multiple) {
|
|
44
68
|
return await (0, prompts_1.selectAsync)('Select environment:', (availableEnvironments ?? Object.values(generated_1.EnvironmentVariableEnvironment)).map(environment => ({
|
|
45
|
-
title: environment,
|
|
69
|
+
title: environment.toLocaleLowerCase(),
|
|
46
70
|
value: environment,
|
|
47
71
|
})));
|
|
48
72
|
}
|
|
@@ -51,7 +75,7 @@ async function promptVariableEnvironmentAsync({ nonInteractive, selectedEnvironm
|
|
|
51
75
|
name: 'environments',
|
|
52
76
|
type: 'multiselect',
|
|
53
77
|
choices: Object.values(generated_1.EnvironmentVariableEnvironment).map(environment => ({
|
|
54
|
-
title: environment,
|
|
78
|
+
title: environment.toLocaleLowerCase(),
|
|
55
79
|
value: environment,
|
|
56
80
|
selected: selectedEnvironments?.includes(environment),
|
|
57
81
|
})),
|
|
@@ -59,14 +83,14 @@ async function promptVariableEnvironmentAsync({ nonInteractive, selectedEnvironm
|
|
|
59
83
|
return environments;
|
|
60
84
|
}
|
|
61
85
|
exports.promptVariableEnvironmentAsync = promptVariableEnvironmentAsync;
|
|
62
|
-
async function promptVariableValueAsync({ nonInteractive, required = true, hidden = false, initial, }) {
|
|
86
|
+
async function promptVariableValueAsync({ nonInteractive, required = true, hidden = false, filePath = false, initial, }) {
|
|
63
87
|
if (nonInteractive && required) {
|
|
64
88
|
throw new Error(`Environment variable needs 'value' to be specified when running in non-interactive mode. Run the command with ${chalk_1.default.bold('--value VARIABLE_VALUE')} flag to fix the issue`);
|
|
65
89
|
}
|
|
66
90
|
const { variableValue } = await (0, prompts_1.promptAsync)({
|
|
67
|
-
type: hidden ? 'password' : 'text',
|
|
91
|
+
type: hidden && !filePath ? 'password' : 'text',
|
|
68
92
|
name: 'variableValue',
|
|
69
|
-
message: 'Variable value:',
|
|
93
|
+
message: filePath ? 'File path:' : 'Variable value:',
|
|
70
94
|
initial: initial ?? '',
|
|
71
95
|
validate: variableValue => {
|
|
72
96
|
if (!required) {
|