@forge/cli-shared 3.16.0-next.6 → 3.16.0-next.9
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/CHANGELOG.md +24 -0
- package/out/config/config-file.d.ts +4 -1
- package/out/config/config-file.d.ts.map +1 -1
- package/out/config/config-file.js +9 -3
- package/out/graphql/graphql-types.d.ts +103 -2
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +10 -5
- package/out/graphql/minimal-graphql-runner.d.ts +6 -0
- package/out/graphql/minimal-graphql-runner.d.ts.map +1 -1
- package/out/graphql/minimal-graphql-runner.js +14 -1
- package/out/service/feature-flag-service.d.ts +0 -4
- package/out/service/feature-flag-service.d.ts.map +1 -1
- package/out/service/feature-flag-service.js +0 -7
- package/out/shared/error-handling.d.ts +4 -0
- package/out/shared/error-handling.d.ts.map +1 -1
- package/out/shared/error-handling.js +8 -1
- package/out/ui/text.d.ts +1 -0
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +5 -2
- package/package.json +2 -2
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CompassLinkType = exports.CompassLifecycleEventStage = exports.CompassIncidentEventState = exports.CompassIncidentEventSeverityLevel = exports.CompassFieldType = exports.CompassEventType = exports.CompassDeploymentEventState = exports.CompassDeploymentEventEnvironmentCategory = exports.CompassCustomEventIcon = exports.CompassCriteriaTextComparatorOptions = exports.CompassCriteriaNumberComparatorOptions = exports.CompassCriteriaBooleanComparatorOptions = exports.CompassComponentType = exports.CompassBuildEventState = exports.Classification = exports.CcpSubscriptionStatus = exports.CcpSubscriptionScheduleAction = exports.CcpEntitlementStatus = exports.CcpDuration = exports.CardHierarchyLevelEnumType = exports.BuiltinPolarisIdeaField = exports.BoardFeatureToggleStatus = exports.BoardFeatureStatus = exports.BitbucketPermission = exports.AtlassianProductHostingType = exports.AriGraphRelationshipsSortDirection = exports.AppTrustInformationState = exports.AppTaskState = exports.AppStoredEntityCondition = exports.AppStoredCustomEntityRangeCondition = exports.AppStoredCustomEntityFilterCondition = exports.AppSecurityPoliciesPermissionTypeExtension = exports.AppSecurityPoliciesPermissionType = exports.AppNetworkPermissionTypeExtension = exports.AppNetworkPermissionType = exports.AppEnvironmentType = exports.AppDeploymentStepStatus = exports.AppDeploymentStatus = exports.AppDeploymentEventLogLevel = exports.AppContributorRole = exports.ApiGroup = exports.ApiContext = exports.ActivityProduct = exports.ActivityObjectType = exports.ActivityEventType = exports.ActivitiesObjectType = exports.ActivitiesFilterType = exports.ActivitiesContainerType = exports.AccountStatus = exports.AcceptableResponse = void 0;
|
|
4
4
|
exports.DevOpsSecurityVulnerabilityStatus = exports.DevOpsSecurityVulnerabilitySeverity = exports.DevOpsRepositoryHostingProviderFilter = exports.DevOpsRelationshipCertaintyFilter = exports.DevOpsRelationshipCertainty = exports.DevOpsPullRequestStatus = exports.DevOpsPullRequestApprovalStatus = exports.DevOpsProviderType = exports.DevOpsMetricsRollupOption = exports.DevOpsMetricsResolutionUnit = exports.DevOpsMetricsCycleTimePhase = exports.DevOpsJiraProjectType = exports.DevOpsEnvironmentCategory = exports.DevOpsDocumentCategory = exports.DevOpsBuildState = exports.DeploymentState = exports.DataResidencyResponse = exports.DataClassificationPolicyDecisionStatus = exports.CustomEntityStatus = exports.CustomEntityIndexStatus = exports.CustomEntityAttributeType = exports.ContentPlatformSearchTypes = exports.ContentPlatformOperators = exports.ContentPlatformFieldNames = exports.ContentPlatformBooleanOperators = exports.ConfluenceUserType = exports.ConfluenceSpaceType = exports.ConfluenceSpaceStatus = exports.ConfluenceSpaceSettingEditorVersion = exports.ConfluencePageStatus = exports.ConfluenceOperationTarget = exports.ConfluenceOperationName = exports.ConfluenceMutationContentStatus = exports.ConfluenceInlineTaskStatus = exports.ConfluenceInlineCommentResolutionStatus = exports.ConfluenceContributionStatus = exports.ConfluenceContentType = exports.ConfluenceContentRepresentation = exports.ConfluenceCommentType = exports.ConfluenceCommentStatus = exports.ConfluenceCollaborativeEditingService = exports.ConfluenceBodyRepresentation = exports.ConfluenceBlogPostStatus = exports.ComponentSyncEventStatus = exports.CompassScorecardQuerySortOrder = exports.CompassScorecardImportance = exports.CompassRelationshipType = exports.CompassRelationshipDirection = exports.CompassQuerySortOrder = exports.CompassMetricDefinitionType = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.SourceBillingType = exports.VirtualAgentIntentTemplateType = exports.UserInstallationRuleValue = exports.TrelloPluginDataScope = exports.TrelloPluginDataAccess = exports.TrelloCardRole = exports.TrelloCardCoverSize = exports.TrelloCardCoverColor = exports.TrelloCardCoverBrightness = exports.TownsquareTargetDateType = exports.TownsquareProjectStateValue = exports.TownsquareProjectSortEnum = exports.TownsquareGoalStateValue = exports.TownsquareGoalSortEnum = exports.ToolchainSyncState = exports.TeamStateV2 = exports.TeamState = exports.TeamSortOrder = exports.TeamSortField = exports.TeamMembershipState = exports.TeamMembershipSetting = exports.TeamMembershipRole = exports.SwimlaneStrategy = exports.SupportRequestUserType = exports.SupportRequestStatusCategory = exports.SupportRequestQueryStatusCategory = exports.SupportRequestQueryOwnership = void 0;
|
|
5
|
+
exports.JiraHomePageType = exports.JiraGrantTypeKeyEnum = exports.JiraFavouriteType = exports.JiraDevOpsIssuePanelState = exports.JiraDevOpsIssuePanelBannerType = exports.JiraDevOpsCapability = exports.JiraDevInfoConfigErrorType = exports.JiraDeploymentsFeaturePrecondition = exports.JiraCmdbAttributeType = exports.JiraCascadingSelectOptionType = exports.JiraCannedResponseSortOrder = exports.JiraCannedResponseScope = exports.JiraBulkEditMultiSelectFieldOptions = exports.JiraAttachmentsPermissions = exports.JiraApprovalDecision = exports.JiraActionType = exports.IssueDevOpsPullRequestStatus = exports.IssueDevOpsDeploymentState = exports.IssueDevOpsDeploymentEnvironmentType = exports.IssueDevOpsCommitChangeType = exports.HelpObjectStoreJsmEntityType = exports.HelpObjectStoreHelpObjectType = exports.HelpLayoutHeadingType = exports.HelpLayoutElementKey = exports.HelpLayoutElementCategory = exports.HelpLayoutCompositeElementKey = exports.HelpLayoutAtomicElementKey = exports.HelpCenterType = exports.GrantCheckProduct = exports.FunctionTriggerType = exports.FortifiedMetricsResolutionUnit = exports.FormStatus = exports.ForgeMetricsSiteFilterCategory = exports.ForgeMetricsResolutionUnit = exports.ForgeMetricsLabels = exports.ForgeMetricsGroupByDimensions = exports.ForgeMetricsDataType = exports.ForgeAuditLogsActionType = exports.ForgeAlertsStatus = exports.ForgeAlertsActivityType = exports.ExtensionContextsFilterType = exports.EventMatchingStrategies = exports.EventKnownAvIs = exports.EstimationType = exports.DevStatusActivity = exports.DevOpsToolSortOrder = exports.DevOpsToolIntegrationType = exports.DevOpsServiceRelationshipType = exports.DevOpsServiceAndRepositoryRelationshipSortBy = exports.DevOpsServiceAndJiraProjectRelationshipType = void 0;
|
|
6
|
+
exports.JiraSingleValueFieldOperations = exports.JiraShareableEntityGrant = exports.JiraServiceManagementPractice = exports.JiraServiceManagementMajorIncident = exports.JiraServiceManagementCreateRequestTypeFromTemplateWorkflowInputType = exports.JiraServiceManagementCreateRequestTypeFromTemplateWorkflowAction = exports.JiraServiceManagementCreateRequestTypeFromTemplateRequestFormInputType = exports.JiraServiceManagementCommentVisibility = exports.JiraServiceManagementApprovalState = exports.JiraServiceManagementApprovalDecisionResponseType = exports.JiraReviewState = exports.JiraReleasesIssueReleaseStatusFilter = exports.JiraReleasesEpicReleaseStatusFilter = exports.JiraReleaseNotesIssueKeyConfig = exports.JiraPullRequestState = exports.JiraProjectType = exports.JiraProjectStyle = exports.JiraProjectStatus = exports.JiraProjectSortField = exports.JiraProjectShortcutType = exports.JiraProjectPermissionCategoryEnum = exports.JiraProjectDateTimeFormat = exports.JiraProjectAndRepositoryRelationshipSortBy = exports.JiraProjectActionType = exports.JiraPermissionType = exports.JiraPermissionTagEnum = exports.JiraPermissionMessageTypeEnum = exports.JiraMultiValueFieldOperations = exports.JiraLongRunningTaskStatus = exports.JiraJqlViewContext = exports.JiraJqlSyntaxError = exports.JiraJqlOperator = exports.JiraJqlFunctionStatus = exports.JiraJqlClauseType = exports.JiraJqlBuilderMode = exports.JiraJqlAutocompleteType = exports.JiraJqlBuilderSearchMode = exports.JiraIteration = exports.JiraIssueViewTimestampDisplayMode = exports.JiraIssueViewAttachmentPanelViewMode = exports.JiraIssueViewActivityFeedSortOrder = exports.JiraIssueTransitionLayoutMessageType = exports.JiraIssueSearchFieldSetSelectedState = exports.JiraIssueNavigatorSearchLayout = exports.JiraIssueLinkDirection = exports.JiraIssueLifecycleState = exports.JiraIssueItemSystemContainerType = exports.JiraIssueItemLayoutItemLocationRuleType = exports.JiraIssueDeploymentEnvironmentState = exports.JiraInstallDeploymentsBannerPrecondition = void 0;
|
|
7
|
+
exports.PolarisPlayKind = exports.PolarisFieldType = exports.PolarisCommentKind = exports.PlanModeDestination = exports.PartnerCurrency = exports.PartnerCloudLicenseType = exports.PartnerBtfLicenseType = exports.NlpSearchResultType = exports.NlpErrorState = exports.NlpDisclaimer = exports.NadelHydrationTemplate = exports.MembershipState = exports.MembershipSetting = exports.MembershipRole = exports.MarketplaceProgramStatus = exports.MarketplacePricingTierType = exports.MarketplacePricingTierPolicy = exports.MarketplacePricingTierMode = exports.MarketplacePricingPlanStatus = exports.MarketplacePartnerType = exports.MarketplacePartnerTierType = exports.MarketplacePartnerSupportHolidayFrequency = exports.MarketplaceLocation = exports.MarketplaceListingStatus = exports.MarketplaceEntityStatus = exports.MarketplaceCloudFortifiedStatus = exports.MarketplaceBillingCycle = exports.MarketplaceAppVersionVisibility = exports.MarketplaceAppPermission = exports.MarketplaceAppPaymentModel = exports.LifecycleStage = exports.LicenseOverrideState = exports.JiraWatchesOperations = exports.JiraVotesOperations = exports.JiraVersionWarningConfigState = exports.JiraVersionWarningCategories = exports.JiraVersionStatus = exports.JiraVersionReleaseNotesType = exports.JiraVersionRelatedWorkType = exports.JiraVersionIssuesStatusCategories = exports.JiraVersionIssuesSortField = exports.JiraVersionIssuesFilter = exports.JiraVersionIssueTableColumn = exports.JiraVersionDetailsCollapsedUi = exports.JiraVersionApproverStatus = exports.JiraTransitionSortOption = exports.JiraTimeUnit = exports.JiraTimeFormat = exports.JiraStatusCategoryColor = exports.JiraSprintState = void 0;
|
|
8
|
+
exports.SupportRequestFieldDataType = exports.SubscriptionEventSources = exports.SprintState = exports.SprintReportsEstimationStatisticType = exports.SortOrder = exports.SortDirection = exports.SoftwareCardsDestinationEnum = exports.ShepherdWebhookType = exports.ShepherdWebhookDestinationType = exports.ShepherdSubscriptionStatus = exports.ShepherdRateThresholdValue = exports.ShepherdQueryErrorType = exports.ShepherdMutationErrorType = exports.ShepherdLoginDeviceType = exports.ShepherdDetectionScanningFrequency = exports.ShepherdAtlassianProduct = exports.ShepherdAlertTemplateType = exports.ShepherdAlertStatus = exports.ShepherdActionType = exports.SearchResultType = exports.SearchProjectType = exports.SearchIssueStatusCategory = exports.SearchContainerStatus = exports.SearchConfluenceRangeField = exports.SearchConfluenceDocumentStatus = exports.SearchBoardProductType = exports.Scope = exports.RoadmapVersionStatus = exports.RoadmapTimelineMode = exports.RoadmapSprintState = exports.RoadmapRankPosition = exports.RoadmapPaletteColor = exports.RoadmapLevelOneView = exports.RoadmapEpicView = exports.RoadmapChildIssuePlanningMode = exports.RateLimitingCurrency = exports.PrincipalType = exports.PolarisVisualizationType = exports.PolarisViewSortMode = exports.PolarisViewSetType = exports.PolarisViewLayoutType = exports.PolarisViewFilterOperator = exports.PolarisViewFilterKind = exports.PolarisViewFieldRollupType = exports.PolarisValueOperator = exports.PolarisTimelineMode = exports.PolarisSortOrder = exports.PolarisSnippetPropertyKind = exports.PolarisResolvedObjectAuthType = exports.PolarisRefreshError = void 0;
|
|
9
|
+
exports.SourceBillingType = exports.VirtualAgentIntentTemplateType = exports.UserInstallationRuleValue = exports.TrelloPluginDataScope = exports.TrelloPluginDataAccess = exports.TrelloCardRole = exports.TrelloCardCoverSize = exports.TrelloCardCoverColor = exports.TrelloCardCoverBrightness = exports.TownsquareTargetDateType = exports.TownsquareProjectStateValue = exports.TownsquareProjectSortEnum = exports.TownsquareGoalStateValue = exports.TownsquareGoalSortEnum = exports.ToolchainSyncState = exports.TeamStateV2 = exports.TeamState = exports.TeamSortOrder = exports.TeamSortField = exports.TeamMembershipState = exports.TeamMembershipSetting = exports.TeamMembershipRole = exports.SwimlaneStrategy = exports.SupportRequestUserType = exports.SupportRequestStatusCategory = exports.SupportRequestQueryStatusCategory = exports.SupportRequestQueryOwnership = exports.SupportRequestNamedContactOperation = void 0;
|
|
10
10
|
var AcceptableResponse;
|
|
11
11
|
(function (AcceptableResponse) {
|
|
12
12
|
AcceptableResponse["NotApplicable"] = "NOT_APPLICABLE";
|
|
@@ -986,6 +986,11 @@ var JiraActionType;
|
|
|
986
986
|
JiraActionType["CreateCompanyManagedProject"] = "CREATE_COMPANY_MANAGED_PROJECT";
|
|
987
987
|
JiraActionType["CreateTeamManagedProject"] = "CREATE_TEAM_MANAGED_PROJECT";
|
|
988
988
|
})(JiraActionType = exports.JiraActionType || (exports.JiraActionType = {}));
|
|
989
|
+
var JiraApprovalDecision;
|
|
990
|
+
(function (JiraApprovalDecision) {
|
|
991
|
+
JiraApprovalDecision["Approved"] = "APPROVED";
|
|
992
|
+
JiraApprovalDecision["Rejected"] = "REJECTED";
|
|
993
|
+
})(JiraApprovalDecision = exports.JiraApprovalDecision || (exports.JiraApprovalDecision = {}));
|
|
989
994
|
var JiraAttachmentsPermissions;
|
|
990
995
|
(function (JiraAttachmentsPermissions) {
|
|
991
996
|
JiraAttachmentsPermissions["CreateAttachments"] = "CREATE_ATTACHMENTS";
|
|
@@ -11,7 +11,13 @@ export declare class OutdatedClientVersionError extends UserError {
|
|
|
11
11
|
}
|
|
12
12
|
export declare class GraphQLProviderServiceError extends BaseError {
|
|
13
13
|
private readonly userError;
|
|
14
|
+
private readonly code;
|
|
15
|
+
private readonly statusCode;
|
|
16
|
+
readonly requestId: string | undefined;
|
|
14
17
|
constructor(userError: boolean, requestId: string | undefined, errors: GraphQLError[]);
|
|
18
|
+
getCode: () => string | undefined;
|
|
19
|
+
getStatusCode: () => number | undefined;
|
|
20
|
+
getRequestId: () => string | undefined;
|
|
15
21
|
isUserError(): boolean;
|
|
16
22
|
}
|
|
17
23
|
export declare class GraphqlError extends Error {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minimal-graphql-runner.d.ts","sourceRoot":"","sources":["../../src/graphql/minimal-graphql-runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1D,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,UAAU,EAA+B,MAAM,UAAU,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAIjD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQjD,qBAAa,0BAA2B,SAAQ,SAAS;CAAG;AAI5D,qBAAa,0BAA2B,SAAQ,SAAS;;CAIxD;AAED,qBAAa,2BAA4B,SAAQ,SAAS;
|
|
1
|
+
{"version":3,"file":"minimal-graphql-runner.d.ts","sourceRoot":"","sources":["../../src/graphql/minimal-graphql-runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1D,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,UAAU,EAA+B,MAAM,UAAU,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAIjD,OAAO,EAAE,aAAa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YAIV,4BAA4B;IAgB1C,OAAO,CAAC,YAAY;CAUrB"}
|
|
@@ -17,8 +17,21 @@ class OutdatedClientVersionError extends shared_1.UserError {
|
|
|
17
17
|
exports.OutdatedClientVersionError = OutdatedClientVersionError;
|
|
18
18
|
class GraphQLProviderServiceError extends shared_1.BaseError {
|
|
19
19
|
constructor(userError, requestId, errors) {
|
|
20
|
-
|
|
20
|
+
const { message, code, statusCode } = (0, index_1.getError)(errors);
|
|
21
|
+
super(requestId, `${message} (requestId: ${requestId || 'unknown'})`);
|
|
21
22
|
this.userError = userError;
|
|
23
|
+
this.getCode = () => {
|
|
24
|
+
return this.code;
|
|
25
|
+
};
|
|
26
|
+
this.getStatusCode = () => {
|
|
27
|
+
return this.statusCode;
|
|
28
|
+
};
|
|
29
|
+
this.getRequestId = () => {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
};
|
|
32
|
+
this.code = code;
|
|
33
|
+
this.statusCode = statusCode;
|
|
34
|
+
this.requestId = requestId;
|
|
22
35
|
}
|
|
23
36
|
isUserError() {
|
|
24
37
|
return this.userError;
|
|
@@ -7,9 +7,7 @@ import { Logger } from '../ui';
|
|
|
7
7
|
declare type FeatureFlagType = {
|
|
8
8
|
'forge-cli-test-flag': 'apple' | 'banana' | 'orange' | 'watermelon';
|
|
9
9
|
'forge-cli-startup-warning': string;
|
|
10
|
-
'forge-cli-enable-muao': boolean;
|
|
11
10
|
'xls-do-not-automatically-add-read-me-scope': boolean;
|
|
12
|
-
'forge-cli-enable-concurrent-development': boolean;
|
|
13
11
|
'xis-allow-automatic-user-consent': boolean;
|
|
14
12
|
'forge-cli-enable-csuik': boolean;
|
|
15
13
|
};
|
|
@@ -18,8 +16,6 @@ export declare abstract class FeatureFlagReader {
|
|
|
18
16
|
abstract readFlag<F extends FeatureFlag>(flag: F): Promise<FeatureFlagType[F] | null>;
|
|
19
17
|
readMeScopeAddedByXLS(): Promise<boolean>;
|
|
20
18
|
isAutoConsentAllowed(): Promise<boolean>;
|
|
21
|
-
isMUAOEnabled(): Promise<boolean>;
|
|
22
|
-
isConcurrentDevEnabled(): Promise<boolean>;
|
|
23
19
|
}
|
|
24
20
|
declare type ILaunchDarkly = Pick<LDClient, 'variation' | 'waitUntilReady'>;
|
|
25
21
|
declare type LaunchDarklyInitialize = (envKey: string, user: LDUser, options?: LDOptions) => ILaunchDarkly;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-flag-service.d.ts","sourceRoot":"","sources":["../../src/service/feature-flag-service.ts"],"names":[],"mappings":"AAAA,OAAqB,EAAe,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAKtG,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAqB,MAAM,WAAW,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAyB/B,aAAK,eAAe,GAAG;IACrB,qBAAqB,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,YAAY,CAAC;IACpE,2BAA2B,EAAE,MAAM,CAAC;IACpC,
|
|
1
|
+
{"version":3,"file":"feature-flag-service.d.ts","sourceRoot":"","sources":["../../src/service/feature-flag-service.ts"],"names":[],"mappings":"AAAA,OAAqB,EAAe,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAKtG,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAqB,MAAM,WAAW,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAyB/B,aAAK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,CAAC,UAAU,EAAE,SAAS,CAAC,GAAG,SAAS,EACnD,eAAe,EAAE,gBAAgB,EACjC,eAAe,EAAE,mBAAmB,CAAC;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,EACpD,gBAAgB,GAAE,OAAO,cAA+B,EACxD,YAAY,GAAE,sBAAgD;IASjF,OAAO,CAAC,KAAK,CAOV;IAMH,OAAO,CAAC,IAAI,CAmBT;IAEH,OAAO,CAAC,MAAM,CAUX;IAEG,QAAQ,CAAC,CAAC,SAAS,WAAW,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;CAUnF;AAED,qBAAa,qBAAsB,SAAQ,iBAAiB;IAC9C,OAAO,CAAC,YAAY;gBAAZ,YAAY,GAAE;SAAG,GAAG,IAAI,WAAW,GAAG,GAAG;KAAE,GAAG,SAAqB;IAIjF,QAAQ,CAAC,CAAC,SAAS,MAAM,eAAe,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;CAG7F"}
|
|
@@ -18,13 +18,6 @@ class FeatureFlagReader {
|
|
|
18
18
|
var _a;
|
|
19
19
|
return (_a = (await this.readFlag('xis-allow-automatic-user-consent'))) !== null && _a !== void 0 ? _a : false;
|
|
20
20
|
}
|
|
21
|
-
async isMUAOEnabled() {
|
|
22
|
-
return (await this.readFlag('forge-cli-enable-muao')) || process.env.ENABLE_MUAO === 'true';
|
|
23
|
-
}
|
|
24
|
-
async isConcurrentDevEnabled() {
|
|
25
|
-
return ((await this.readFlag('forge-cli-enable-concurrent-development')) ||
|
|
26
|
-
process.env.ENABLE_CONCURRENT_DEVELOPMENT === 'true');
|
|
27
|
-
}
|
|
28
21
|
}
|
|
29
22
|
exports.FeatureFlagReader = FeatureFlagReader;
|
|
30
23
|
var CLIENT_SIDE_ID;
|
|
@@ -37,4 +37,8 @@ export declare class UIPromptError extends BaseError {
|
|
|
37
37
|
constructor(message?: string, isTtyError?: boolean);
|
|
38
38
|
isUserError(): boolean;
|
|
39
39
|
}
|
|
40
|
+
export declare const APP_NOT_IN_EAP = "APP_NOT_IN_EAP";
|
|
41
|
+
export declare class AppNotInMUAOEAPError extends BaseError {
|
|
42
|
+
constructor(requestId?: string);
|
|
43
|
+
}
|
|
40
44
|
//# sourceMappingURL=error-handling.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-handling.d.ts","sourceRoot":"","sources":["../../src/shared/error-handling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAI/B,qBAAa,SAAU,SAAQ,KAAM,YAAW,kBAAkB;IACpD,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC;gBAAV,SAAS,CAAC,oBAAoB,EAAE,OAAO,CAAC,EAAE,MAAM;IAIxE,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAMpC,WAAW,IAAI,OAAO;CAG9B;AAED,qBAAa,SAAU,SAAQ,SAAS;gBAC1B,OAAO,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS;IAIrD,WAAW,IAAI,OAAO;CAG9B;AAED,qBAAa,WAAY,SAAQ,SAAS;gBAC5B,OAAO,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS;CAG7D;AAgBD,eAAO,MAAM,WAAW,WAAkB,MAAM,UAAU,KAAK,SAAS,MAAM,GAAG,IAAI,KAAG,QAAQ,KAAK,CAsBpG,CAAC;AAOF,eAAO,MAAM,SAAS,UAAW,OAAO,KAAG,KAK1C,CAAC;AAMF,eAAO,MAAM,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,KAAK,IAAI,KAIhE,CAAC;AAKF,MAAM,WAAW,kBAAkB;IACjC,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAA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,SAAS;CAG7D;AAgBD,eAAO,MAAM,WAAW,WAAkB,MAAM,UAAU,KAAK,SAAS,MAAM,GAAG,IAAI,KAAG,QAAQ,KAAK,CAsBpG,CAAC;AAOF,eAAO,MAAM,SAAS,UAAW,OAAO,KAAG,KAK1C,CAAC;AAMF,eAAO,MAAM,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,KAAK,IAAI,KAIhE,CAAC;AAKF,MAAM,WAAW,kBAAkB;IACjC,aAAa,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,OAAO,CAAC,CAAC;CAClE;AAED,eAAO,MAAM,oBAAoB,MAAO,GAAG,4BAE1C,CAAC;AAEF,qBAAa,eAAgB,SAAQ,SAAS;CAAG;AAEjD,qBAAa,cAAe,SAAQ,SAAS;CAAG;AAEhD,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,IAAI,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,OAAO,CAAC,CAAC;CACzD;AAED,qBAAa,uBAAwB,SAAQ,SAAS;IACxC,QAAQ,CAAC,KAAK,EAAE,KAAK;gBAAZ,KAAK,EAAE,KAAK;CAGlC;AAED,qBAAa,aAAc,SAAQ,SAAS;IACZ,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAA7C,OAAO,CAAC,EAAE,MAAM,EAAmB,UAAU,GAAE,OAAe;IAInE,WAAW;CAGnB;AAED,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,SAAS,CAAC,EAAE,MAAM;CAG/B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UIPromptError = exports.ApplicationCompileError = exports.BundlerTSError = exports.ValidationError = exports.isErrorWithAnalytics = exports.assertIsError = exports.wrapError = exports.exitOnError = exports.HiddenError = exports.UserError = exports.BaseError = void 0;
|
|
3
|
+
exports.AppNotInMUAOEAPError = exports.APP_NOT_IN_EAP = exports.UIPromptError = exports.ApplicationCompileError = exports.BundlerTSError = exports.ValidationError = exports.isErrorWithAnalytics = exports.assertIsError = exports.wrapError = exports.exitOnError = exports.HiddenError = exports.UserError = exports.BaseError = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const ui_1 = require("../ui");
|
|
6
6
|
const Sentry = tslib_1.__importStar(require("@sentry/node"));
|
|
@@ -100,3 +100,10 @@ class UIPromptError extends BaseError {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
exports.UIPromptError = UIPromptError;
|
|
103
|
+
exports.APP_NOT_IN_EAP = 'APP_NOT_IN_EAP';
|
|
104
|
+
class AppNotInMUAOEAPError extends BaseError {
|
|
105
|
+
constructor(requestId) {
|
|
106
|
+
super(requestId, ui_1.Text.error.appNotInMUAOEAP(requestId));
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.AppNotInMUAOEAPError = AppNotInMUAOEAPError;
|
package/out/ui/text.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare const Text: {
|
|
|
29
29
|
resourceDirectoryEmpty: (resourceKey: string, directory: string) => string;
|
|
30
30
|
templateFetchFailed: string;
|
|
31
31
|
handlerFormat: (handler: string) => string;
|
|
32
|
+
appNotInMUAOEAP: (requestId?: string) => string;
|
|
32
33
|
};
|
|
33
34
|
warning: {
|
|
34
35
|
plaintextCredentialsFound: (url: string) => string;
|
package/out/ui/text.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BA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Text = {
|
|
|
67
67
|
resourceDirectoryMissing: (resourceKey, directory) => `Resource ${resourceKey} at: ${directory} not found`,
|
|
68
68
|
resourceDirectoryEmpty: (resourceKey, directory) => `Resource ${resourceKey} at: ${directory} is an empty directory`,
|
|
69
69
|
templateFetchFailed: 'Failed to fetch templates, try running the command again.',
|
|
70
|
-
handlerFormat: (handler) => `Function handler "${handler}" must be in format <module>.<function>, example: index.run
|
|
70
|
+
handlerFormat: (handler) => `Function handler "${handler}" must be in format <module>.<function>, example: index.run`,
|
|
71
|
+
appNotInMUAOEAP: (requestId) => `This feature is only available in the Early Access Program. (requestId: ${requestId || 'unknown'})\n\n` +
|
|
72
|
+
'Learn more about the Multi User App Ownership EAP:\n' +
|
|
73
|
+
`${chalk_1.default.bold.underline('https://developer.atlassian.com/platform/forge/contributors/')}`
|
|
71
74
|
},
|
|
72
75
|
warning: {
|
|
73
76
|
plaintextCredentialsFound: (url) => `Your credentials were stored in plaintext by a previous version of the Forge CLI. For additional security, revoke your existing API token by visting this URL ${buildTerminalLink(url)}.`,
|
|
@@ -253,7 +256,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
253
256
|
confirmQuestion: 'Are you sure you want to overwrite the existing app details?'
|
|
254
257
|
},
|
|
255
258
|
env: {
|
|
256
|
-
option:
|
|
259
|
+
option: `specify the environment (see your default environment by running forge settings list)`,
|
|
257
260
|
invalid: 'Invalid environment name',
|
|
258
261
|
developmentOnly: (envKey) => `${(0, environment_1.environmentToOption)(envKey)} cannot be set as default environment. Only development environments can be used.`,
|
|
259
262
|
error: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli-shared",
|
|
3
|
-
"version": "3.16.0-next.
|
|
3
|
+
"version": "3.16.0-next.9",
|
|
4
4
|
"description": "Common functionality for Forge CLI",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"fp-ts": "^2.0.1",
|
|
29
29
|
"fs-extra": "^8.1.0",
|
|
30
30
|
"get-folder-size": "^2.0.1",
|
|
31
|
-
"glob": "^7.
|
|
31
|
+
"glob": "^7.2.3",
|
|
32
32
|
"graphql": "^15.8.0",
|
|
33
33
|
"graphql-request": "3.4.0",
|
|
34
34
|
"ignore-walk": "^3.0.4",
|