@forge/cli-shared 3.23.1-next.0 → 3.23.1-next.1
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 +6 -0
- package/out/graphql/graphql-types.d.ts +282 -68
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +25 -11
- package/out/ui/text.d.ts +0 -1
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +53 -52
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.SourceBillingType = exports.VirtualAgentIntentTemplateType = exports.UserInstallationRuleValue = exports.TrelloWorkspaceTier = exports.TrelloWorkspaceMembershipType = exports.TrelloPowerUpDataScope = exports.TrelloPowerUpDataAccess = exports.TrelloCardRole = exports.TrelloCardCoverSize = exports.TrelloCardCoverColor = exports.TrelloCardCoverBrightness = exports.TrelloBoardMembershipType = exports.TownsquareTargetDateType = exports.TownsquareProjectStateValue = exports.TownsquareProjectSortEnum = exports.TownsquareGoalStateValue = exports.TownsquareGoalSortEnum = exports.ToolchainSyncState = exports.ToolchainProviderType = exports.TeamStateV2 = void 0;
|
|
3
|
+
exports.CcpEntitlementStatus = exports.CcpEntitlementPreDunningStatus = exports.CcpDuration = exports.CcpCurrency = exports.CcpChargeType = exports.CcpBillingInterval = exports.CcpActivationReason = 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.AdminWorkspacePlan = exports.AdminUiProductType = exports.AdminSortOrder = exports.AdminSandboxTypes = exports.AdminReleaseTrackTracks = exports.AdminRealmTypes = exports.AdminProductOfflineReason = exports.AdminPolicyType = exports.AdminFeatureType = exports.AdminCheckWorkflowStatusResult = exports.AdminAuditLogEventTypes = exports.ActivityProduct = exports.ActivityObjectType = exports.ActivityEventType = exports.ActivitiesObjectType = exports.ActivitiesFilterType = exports.ActivitiesContainerType = exports.ActionsAuthType = exports.AccountStatus = exports.AcceptableResponse = void 0;
|
|
4
|
+
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.CompassScorecardScoreHistoryPeriodicity = exports.CompassScorecardQuerySortOrder = exports.CompassScorecardImportance = exports.CompassRelationshipType = exports.CompassRelationshipDirection = exports.CompassQuerySortOrder = exports.CompassMetricDefinitionType = 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.CcpTiersMode = exports.CcpSupportedBillingSystems = exports.CcpSubscriptionStatus = exports.CcpSubscriptionScheduleAction = exports.CcpRelationshipPricingType = exports.CcpProrateOnUsageChange = exports.CcpPricingType = exports.CcpPricingPlanStatus = exports.CcpOfferingType = exports.CcpOfferingStatus = exports.CcpOfferingHostingType = void 0;
|
|
5
|
+
exports.ForgeMetricsApiRequestGroupByDimensions = exports.ForgeAuditLogsActionType = exports.ForgeAlertsStatus = exports.ForgeAlertsActivityType = exports.ExtensionContextsFilterType = exports.EstimationType = exports.EcosystemAppsInstalledInContextsSortKey = exports.EcosystemAppsInstalledInContextsFilterType = exports.EcosystemAppNetworkPermissionType = exports.DevStatusActivity = exports.DevOpsToolSortOrder = exports.DevOpsToolIntegrationType = exports.DevOpsServiceRelationshipType = exports.DevOpsServiceAndRepositoryRelationshipSortBy = exports.DevOpsServiceAndJiraProjectRelationshipType = 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.DevOpsDesignType = exports.DevOpsDesignStatus = exports.DevOpsBuildState = exports.DeploymentState = exports.DataResidencyResponse = exports.DataClassificationPolicyDecisionStatus = exports.CustomerServiceNoteEntity = exports.CustomerServiceLinkEntityType = exports.CustomerServiceCustomDetailsEntityType = exports.CustomerServiceCustomDetailTypeName = exports.CustomerServiceContextType = exports.CustomerServiceAttributeTypeName = exports.CustomEntityStatus = exports.CustomEntityIndexStatus = exports.CustomEntityAttributeType = exports.ContentPlatformSearchTypes = exports.ContentPlatformOperators = exports.ContentPlatformFieldNames = exports.ContentPlatformBooleanOperators = exports.ConfluenceUserType = exports.ConfluenceSpaceType = void 0;
|
|
6
|
+
exports.GraphStoreCreateVulnerabilityAssociatedIssueVulnerabilityStatusInput = exports.GraphStoreCreateVulnerabilityAssociatedIssueVulnerabilitySeverityInput = exports.GraphQueryMetadataSprintAssociatedVulnerabilityInputToVulnerabilityStatusEnum = exports.GraphQueryMetadataSprintAssociatedVulnerabilityInputToVulnerabilitySeverityEnum = exports.GraphQueryMetadataSprintAssociatedVulnerabilityInputRelationshipStatusCategoryEnum = exports.GraphQueryMetadataSprintAssociatedPrInputToReviewermatchTypeEnum = exports.GraphQueryMetadataSprintAssociatedPrInputToReviewerReviewerStatusEnum = exports.GraphQueryMetadataSprintAssociatedPrInputToPullRequestStatusEnum = exports.GraphQueryMetadataSprintAssociatedDeploymentInputToEnvironmentTypeEnum = exports.GraphQueryMetadataSprintAssociatedDeploymentInputToDeploymentStateEnum = exports.GraphQueryMetadataSprintAssociatedBuildInputToBuildStateEnum = exports.GraphQueryMetadataSortEnum = exports.GraphQueryMetadataServiceLinkedIncidentInputToJiraServiceManagementIncidentPriorityEnum = exports.GraphQueryMetadataSecurityContainerAssociatedToVulnerabilityInputToVulnerabilityTypeEnum = exports.GraphQueryMetadataSecurityContainerAssociatedToVulnerabilityInputToVulnerabilityStatusEnum = exports.GraphQueryMetadataSecurityContainerAssociatedToVulnerabilityInputToVulnerabilitySeverityEnum = exports.GraphQueryMetadataProjectAssociatedVulnerabilityInputToVulnerabilityTypeEnum = exports.GraphQueryMetadataProjectAssociatedVulnerabilityInputToVulnerabilityStatusEnum = exports.GraphQueryMetadataProjectAssociatedVulnerabilityInputToVulnerabilitySeverityEnum = exports.GraphQueryMetadataProjectAssociatedPrInputToReviewermatchTypeEnum = exports.GraphQueryMetadataProjectAssociatedPrInputToReviewerReviewerStatusEnum = exports.GraphQueryMetadataProjectAssociatedPrInputToPullRequestStatusEnum = exports.GraphQueryMetadataProjectAssociatedDeploymentInputToEnvironmentTypeEnum = exports.GraphQueryMetadataProjectAssociatedDeploymentInputToDeploymentStateEnum = exports.GraphQueryMetadataProjectAssociatedBuildInputToBuildStateEnum = exports.GraphCreateMetadataSprintAssociatedVulnerabilityJiraVulnerabilityOutputVulnerabilityStatusEnum = exports.GraphCreateMetadataSprintAssociatedVulnerabilityJiraVulnerabilityOutputVulnerabilitySeverityEnum = exports.GraphCreateMetadataSprintAssociatedPrJiraPullRequestOutputReviewerReviewerStatusEnum = exports.GraphCreateMetadataSprintAssociatedPrJiraPullRequestOutputPullRequestStatusEnum = exports.GraphCreateMetadataSprintAssociatedDeploymentJiraDeploymentOutputDeploymentStateEnum = exports.GraphCreateMetadataSprintAssociatedBuildJiraBuildOutputBuildStateEnum = exports.GraphCreateMetadataProjectAssociatedVulnerabilityJiraVulnerabilityOutputVulnerabilityTypeEnum = exports.GraphCreateMetadataProjectAssociatedVulnerabilityJiraVulnerabilityOutputVulnerabilityStatusEnum = exports.GraphCreateMetadataProjectAssociatedVulnerabilityJiraVulnerabilityOutputVulnerabilitySeverityEnum = exports.GraphCreateMetadataProjectAssociatedPrJiraPullRequestOutputReviewerReviewerStatusEnum = exports.GraphCreateMetadataProjectAssociatedPrJiraPullRequestOutputPullRequestStatusEnum = exports.GraphCreateMetadataProjectAssociatedDeploymentJiraDeploymentOutputEnvironmentTypeEnum = exports.GraphCreateMetadataProjectAssociatedDeploymentJiraDeploymentOutputDeploymentStateEnum = exports.GraphCreateMetadataProjectAssociatedBuildJiraBuildOutputBuildStateEnum = exports.GrantCheckProduct = exports.FunctionTriggerType = exports.FortifiedMetricsResolutionUnit = exports.FormStatus = exports.ForgeMetricsSiteFilterCategory = exports.ForgeMetricsResolutionUnit = exports.ForgeMetricsLabels = exports.ForgeMetricsGroupByDimensions = exports.ForgeMetricsDataType = exports.ForgeMetricsApiRequestType = exports.ForgeMetricsApiRequestStatus = void 0;
|
|
7
|
+
exports.GraphStoreSprintAssociatedPrPullRequestStatus = exports.GraphStoreSprintAssociatedDeploymentEnvironmentType = exports.GraphStoreSprintAssociatedDeploymentDeploymentState = exports.GraphStoreSprintAssociatedBuildBuildState = exports.GraphStoreServiceLinkedIncidentJiraServiceManagementIncidentStatus = exports.GraphStoreServiceLinkedIncidentJiraServiceManagementIncidentPriority = exports.GraphStoreProjectAssociatedVulnerabilityVulnerabilityType = exports.GraphStoreProjectAssociatedVulnerabilityVulnerabilityStatus = exports.GraphStoreProjectAssociatedVulnerabilityVulnerabilitySeverity = exports.GraphStoreProjectAssociatedPrReviewerReviewerStatus = exports.GraphStoreProjectAssociatedPrPullRequestStatus = exports.GraphStoreProjectAssociatedDeploymentEnvironmentType = exports.GraphStoreProjectAssociatedDeploymentDeploymentState = exports.GraphStoreProjectAssociatedBuildBuildState = exports.GraphStoreFullVulnerabilityAssociatedIssueVulnerabilityTypeOutput = exports.GraphStoreFullVulnerabilityAssociatedIssueVulnerabilityStatusOutput = exports.GraphStoreFullVulnerabilityAssociatedIssueVulnerabilitySeverityOutput = exports.GraphStoreFullSprintContainsIssueStatusCategoryOutput = exports.GraphStoreFullSprintAssociatedVulnerabilityVulnerabilityStatusOutput = exports.GraphStoreFullSprintAssociatedVulnerabilityVulnerabilitySeverityOutput = exports.GraphStoreFullSprintAssociatedVulnerabilityStatusCategoryOutput = exports.GraphStoreFullSprintAssociatedPrReviewerReviewerStatusOutput = exports.GraphStoreFullSprintAssociatedPrPullRequestStatusOutput = exports.GraphStoreFullSprintAssociatedDeploymentEnvironmentTypeOutput = exports.GraphStoreFullSprintAssociatedDeploymentDeploymentStateOutput = exports.GraphStoreFullSprintAssociatedBuildBuildStateOutput = exports.GraphStoreFullServiceLinkedIncidentJiraServiceManagementIncidentStatusOutput = exports.GraphStoreFullServiceLinkedIncidentJiraServiceManagementIncidentPriorityOutput = exports.GraphStoreFullSecurityContainerAssociatedToVulnerabilityVulnerabilityTypeOutput = exports.GraphStoreFullSecurityContainerAssociatedToVulnerabilityVulnerabilityStatusOutput = exports.GraphStoreFullSecurityContainerAssociatedToVulnerabilityVulnerabilitySeverityOutput = exports.GraphStoreFullProjectAssociatedVulnerabilityVulnerabilityTypeOutput = exports.GraphStoreFullProjectAssociatedVulnerabilityVulnerabilityStatusOutput = exports.GraphStoreFullProjectAssociatedVulnerabilityVulnerabilitySeverityOutput = exports.GraphStoreFullProjectAssociatedPrReviewerReviewerStatusOutput = exports.GraphStoreFullProjectAssociatedPrPullRequestStatusOutput = exports.GraphStoreFullProjectAssociatedDeploymentEnvironmentTypeOutput = exports.GraphStoreFullProjectAssociatedDeploymentDeploymentStateOutput = exports.GraphStoreFullProjectAssociatedBuildBuildStateOutput = exports.GraphStoreFullParentDocumentHasChildDocumentCategoryOutput = exports.GraphStoreFullJswProjectAssociatedIncidentJiraServiceManagementIncidentStatusOutput = exports.GraphStoreFullJswProjectAssociatedIncidentJiraServiceManagementIncidentPriorityOutput = exports.GraphStoreFullIssueAssociatedPrReviewerReviewerStatusOutput = exports.GraphStoreFullIssueAssociatedPrPullRequestStatusOutput = exports.GraphStoreFullIssueAssociatedDesignDesignTypeOutput = exports.GraphStoreFullIssueAssociatedDesignDesignStatusOutput = exports.GraphStoreFullIssueAssociatedDeploymentEnvironmentTypeOutput = exports.GraphStoreFullIssueAssociatedDeploymentDeploymentStateOutput = exports.GraphStoreFullIssueAssociatedBuildBuildStateOutput = exports.GraphStoreCreateVulnerabilityAssociatedIssueVulnerabilityTypeInput = void 0;
|
|
8
|
+
exports.JiraDevOpsCapability = exports.JiraDevInfoConfigErrorType = exports.JiraDeploymentsFeaturePrecondition = exports.JiraCustomIssueSearchErrorType = exports.JiraContactOrgAdminToEnableAtlassianIntelligenceState = exports.JiraConfigStateProviderType = exports.JiraConfigStateConfigurationStatus = exports.JiraColorSchemeThemeSetting = exports.JiraCmdbAttributeType = exports.JiraCascadingSelectOptionType = exports.JiraCannedResponseSortOrder = exports.JiraCannedResponseScope = exports.JiraBulkOperationType = exports.JiraBulkEditMultiSelectFieldOptions = exports.JiraBitbucketWorkspaceApprovalState = exports.JiraAttachmentsPermissions = exports.JiraAtlassianIntelligenceFeatureEnum = exports.JiraApprovalDecision = exports.JiraAnnouncementBannerVisibility = exports.JiraActionType = exports.JsmMajorIncident = exports.JsmIncidentLinkDirection = exports.IssueDevOpsPullRequestStatus = exports.IssueDevOpsDeploymentState = exports.IssueDevOpsDeploymentEnvironmentType = exports.IssueDevOpsCommitChangeType = exports.InsightsVulnerabilityStatus = exports.InsightsTaskType = exports.InsightsEnvironmentType = exports.InfluentsNotificationReadState = exports.InfluentsNotificationCategory = exports.InfluentsNotificationAppearance = exports.HelpObjectStoreSearchableEntityType = exports.HelpObjectStoreSearchEntityType = exports.HelpObjectStoreJsmEntityType = exports.HelpObjectStoreHelpObjectType = exports.HelpLayoutVerticalAlignment = exports.HelpLayoutHorizontalAlignment = exports.HelpLayoutHeadingType = exports.HelpLayoutElementKey = exports.HelpLayoutElementCategory = exports.HelpLayoutCompositeElementKey = exports.HelpLayoutAtomicElementKey = exports.HelpExternalResourceLinkResourceType = exports.HelpCenterType = exports.HelpCenterConversationFailureMessageType = exports.GraphStoreSprintAssociatedVulnerabilityVulnerabilityStatus = exports.GraphStoreSprintAssociatedVulnerabilityVulnerabilitySeverity = exports.GraphStoreSprintAssociatedVulnerabilityStatusCategory = exports.GraphStoreSprintAssociatedPrReviewerReviewerStatus = void 0;
|
|
9
|
+
exports.JiraProjectRoleActorUserStatus = exports.JiraProjectRoleActorRecommendationAction = exports.JiraProjectPermissionCategoryEnum = exports.JiraProjectNotificationConfigurationState = exports.JiraProjectListRightPanelState = exports.JiraProjectDateTimeFormat = exports.JiraProjectAndRepositoryRelationshipSortBy = exports.JiraProjectActionType = exports.JiraProductEnum = exports.JiraPermissionType = exports.JiraPermissionTagEnum = exports.JiraPermissionMessageTypeEnum = exports.JiraOrganizationApprovalLocation = exports.JiraNotificationType = exports.JiraNotificationChannelType = exports.JiraMultiValueFieldOperations = exports.JiraLongRunningTaskStatus = exports.JiraLinkIssuesToIncidentIssueLinkTypeName = 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 = exports.JiraIncidentPriority = exports.JiraHomePageType = exports.JiraGroupsContext = exports.JiraGrantTypeKeyEnum = exports.JiraGlobalIssueCreateView = exports.JiraFieldOptionIdsFilterOperation = exports.JiraFavouriteType = exports.JiraEmailMimeType = exports.JiraDevOpsIssuePanelState = exports.JiraDevOpsIssuePanelBannerType = exports.JiraDevOpsInContextConfigPromptLocation = void 0;
|
|
10
|
+
exports.MarketplaceBillingCycle = exports.MarketplaceAppVersionVisibility = exports.MarketplaceAppPermission = exports.MarketplaceAppPaymentModel = exports.LifecycleStage = exports.LicenseOverrideState = exports.JiraWorkManagementUserLicenseSeatEdition = exports.JiraWatchesOperations = exports.JiraVotesOperations = exports.JiraVersionWarningConfigState = exports.JiraVersionWarningCategories = exports.JiraVersionStatus = exports.JiraVersionSortField = 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 = exports.JiraSoftwareIssueSearchCustomInputContext = exports.JiraSingleValueFieldOperations = exports.JiraShareableEntityGrant = exports.JiraServiceManagementRendererType = exports.JiraServiceManagementPractice = exports.JiraServiceManagementMajorIncident = exports.JiraServiceManagementCreateRequestTypeFromTemplateWorkflowInputType = exports.JiraServiceManagementCreateRequestTypeFromTemplateWorkflowAction = exports.JiraServiceManagementCreateRequestTypeFromTemplateRequestFormInputType = exports.JiraServiceManagementCommentVisibility = exports.JiraServiceManagementApprovalState = exports.JiraServiceManagementApprovalDecisionResponseType = exports.JiraReviewState = exports.JiraResourceUsageRecommendationStatus = exports.JiraResourceUsageCustomFieldRecommendationAction = exports.JiraReleasesIssueReleaseStatusFilter = exports.JiraReleasesEpicReleaseStatusFilter = exports.JiraReleaseNotesIssueKeyConfig = exports.JiraPullRequestState = exports.JiraProjectType = exports.JiraProjectStyle = exports.JiraProjectStatus = exports.JiraProjectSortField = exports.JiraProjectShortcutType = void 0;
|
|
11
|
+
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 = exports.PolarisPlayKind = exports.PolarisFieldType = exports.PolarisCommentKind = exports.PlanModeDestination = exports.PartnerInvoiceJsonCurrency = exports.PartnerCurrency = exports.PartnerCloudLicenseType = exports.PartnerBtfLicenseType = exports.PeapProgramStatus = exports.NlpSearchResultType = exports.NlpSearchResultFormat = exports.NlpErrorState = exports.NlpDisclaimer = exports.NadelHydrationTemplate = exports.MembershipState = exports.MembershipSetting = exports.MembershipRole = exports.MarketplaceStoreTilesVariation = exports.MarketplaceStoreInstallationTargetProduct = exports.MarketplaceStoreInstallAppStatus = exports.MarketplaceStoreHomePageHighlightedSectionVariation = exports.MarketplaceProgramStatus = exports.MarketplacePricingTierType = exports.MarketplacePricingTierPolicy = exports.MarketplacePricingTierMode = exports.MarketplacePricingPlanStatus = exports.MarketplacePartnerType = exports.MarketplacePartnerTierType = exports.MarketplacePartnerSupportHolidayFrequency = exports.MarketplaceLocation = exports.MarketplaceListingStatus = exports.MarketplaceEntityStatus = exports.MarketplaceCloudFortifiedStatus = void 0;
|
|
12
|
+
exports.TeamRole = exports.TeamMembershipState = exports.TeamMembershipSettings = exports.TeamMembershipRole = exports.SwimlaneStrategy = exports.SupportRequestUserType = exports.SupportRequestStatusCategory = exports.SupportRequestQueryStatusCategory = exports.SupportRequestQueryOwnership = exports.SupportRequestNamedContactOperation = exports.SupportRequestFieldDataType = exports.SprintState = exports.SprintReportsEstimationStatisticType = exports.SortOrder = exports.SortDirection = exports.SoftwareCardsDestinationEnum = exports.ShepherdWebhookType = exports.ShepherdWebhookDestinationType = exports.ShepherdVortexModeStatus = exports.ShepherdSubscriptionStatus = exports.ShepherdRateThresholdValue = exports.ShepherdQueryErrorType = exports.ShepherdMutationErrorType = exports.ShepherdLoginDeviceType = exports.ShepherdDetectionScanningFrequency = exports.ShepherdCustomScanningMatchType = exports.ShepherdAtlassianProduct = exports.ShepherdAlertTemplateType = exports.ShepherdAlertStatus = exports.ShepherdAlertDetectionCategory = exports.ShepherdActorOrgStatus = exports.ShepherdActionType = exports.SearchResultType = exports.SearchProjectType = exports.SearchIssueStatusCategory = exports.SearchContainerStatus = exports.SearchConfluenceRangeField = exports.SearchConfluenceDocumentStatus = exports.SearchBoardProductType = exports.Scope = exports.SandboxEventType = exports.SandboxEventStatus = exports.SandboxEventSource = exports.SandboxEventResult = exports.RoadmapVersionStatus = exports.RoadmapTimelineMode = exports.RoadmapSprintState = exports.RoadmapRankPosition = exports.RoadmapPaletteColor = exports.RoadmapLevelOneView = void 0;
|
|
13
|
+
exports.SourceBillingType = exports.VirtualAgentIntentTemplateType = exports.UserInstallationRuleValue = exports.TrelloWorkspaceTier = exports.TrelloWorkspaceMembershipType = exports.TrelloPowerUpDataScope = exports.TrelloPowerUpDataAccess = exports.TrelloCardRole = exports.TrelloCardCoverSize = exports.TrelloCardCoverColor = exports.TrelloCardCoverBrightness = exports.TrelloBoardMembershipType = exports.TownsquareTargetDateType = exports.TownsquareProjectStateValue = exports.TownsquareProjectSortEnum = exports.TownsquareGoalStateValue = exports.TownsquareGoalSortEnum = exports.ToolchainSyncState = exports.ToolchainProviderType = exports.TeamStateV2 = exports.TeamState = exports.TeamSortOrder = exports.TeamSortField = void 0;
|
|
14
14
|
var AcceptableResponse;
|
|
15
15
|
(function (AcceptableResponse) {
|
|
16
16
|
AcceptableResponse["False"] = "FALSE";
|
|
@@ -23,6 +23,11 @@ var AccountStatus;
|
|
|
23
23
|
AccountStatus["Closed"] = "closed";
|
|
24
24
|
AccountStatus["Inactive"] = "inactive";
|
|
25
25
|
})(AccountStatus = exports.AccountStatus || (exports.AccountStatus = {}));
|
|
26
|
+
var ActionsAuthType;
|
|
27
|
+
(function (ActionsAuthType) {
|
|
28
|
+
ActionsAuthType["ThreeLegged"] = "THREE_LEGGED";
|
|
29
|
+
ActionsAuthType["TwoLegged"] = "TWO_LEGGED";
|
|
30
|
+
})(ActionsAuthType = exports.ActionsAuthType || (exports.ActionsAuthType = {}));
|
|
26
31
|
var ActivitiesContainerType;
|
|
27
32
|
(function (ActivitiesContainerType) {
|
|
28
33
|
ActivitiesContainerType["Project"] = "PROJECT";
|
|
@@ -3025,6 +3030,10 @@ var MarketplaceProgramStatus;
|
|
|
3025
3030
|
MarketplaceProgramStatus["NotAParticipant"] = "NOT_A_PARTICIPANT";
|
|
3026
3031
|
MarketplaceProgramStatus["Rejected"] = "REJECTED";
|
|
3027
3032
|
})(MarketplaceProgramStatus = exports.MarketplaceProgramStatus || (exports.MarketplaceProgramStatus = {}));
|
|
3033
|
+
var MarketplaceStoreHomePageHighlightedSectionVariation;
|
|
3034
|
+
(function (MarketplaceStoreHomePageHighlightedSectionVariation) {
|
|
3035
|
+
MarketplaceStoreHomePageHighlightedSectionVariation["Prominent"] = "PROMINENT";
|
|
3036
|
+
})(MarketplaceStoreHomePageHighlightedSectionVariation = exports.MarketplaceStoreHomePageHighlightedSectionVariation || (exports.MarketplaceStoreHomePageHighlightedSectionVariation = {}));
|
|
3028
3037
|
var MarketplaceStoreInstallAppStatus;
|
|
3029
3038
|
(function (MarketplaceStoreInstallAppStatus) {
|
|
3030
3039
|
MarketplaceStoreInstallAppStatus["InProgress"] = "IN_PROGRESS";
|
|
@@ -3038,6 +3047,11 @@ var MarketplaceStoreInstallationTargetProduct;
|
|
|
3038
3047
|
MarketplaceStoreInstallationTargetProduct["Confluence"] = "CONFLUENCE";
|
|
3039
3048
|
MarketplaceStoreInstallationTargetProduct["Jira"] = "JIRA";
|
|
3040
3049
|
})(MarketplaceStoreInstallationTargetProduct = exports.MarketplaceStoreInstallationTargetProduct || (exports.MarketplaceStoreInstallationTargetProduct = {}));
|
|
3050
|
+
var MarketplaceStoreTilesVariation;
|
|
3051
|
+
(function (MarketplaceStoreTilesVariation) {
|
|
3052
|
+
MarketplaceStoreTilesVariation["Large"] = "LARGE";
|
|
3053
|
+
MarketplaceStoreTilesVariation["Small"] = "SMALL";
|
|
3054
|
+
})(MarketplaceStoreTilesVariation = exports.MarketplaceStoreTilesVariation || (exports.MarketplaceStoreTilesVariation = {}));
|
|
3041
3055
|
var MembershipRole;
|
|
3042
3056
|
(function (MembershipRole) {
|
|
3043
3057
|
MembershipRole["Admin"] = "ADMIN";
|
package/out/ui/text.d.ts
CHANGED
|
@@ -413,7 +413,6 @@ export declare const Text: {
|
|
|
413
413
|
optionUpgrade: string;
|
|
414
414
|
listScopes: (scopes: AddedScope[]) => string;
|
|
415
415
|
listEgressAddresses: (egressAddresses: string[]) => string;
|
|
416
|
-
permissionMismatchCommandSuggestion: (environment: string) => string;
|
|
417
416
|
permissionsMismatch: (environment: string) => string;
|
|
418
417
|
multiProductScopesDetected: (productsToInstall: string[], productsToUpgrade: string[], site: string, environment: string) => string;
|
|
419
418
|
promptForPermissionsConfirmation: (permissionsMismatchInDevelopment: boolean) => 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":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAI9D,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC;AA2BD,eAAO,MAAM,UAAU,SAAU,MAAM,KAAG,MAAsD,CAAC;AAoDjG,eAAO,MAAM,IAAI;;;;;6BAiBM,MAAM;2BACR,MAAM;6BAGJ,MAAM;+BAEJ,MAAM;;wCAIK,MAAM,UAAU,MAAM;qDAOT,MAAM,sBAAsB,MAAM;;;;;6CAa1C,MAAM,YAAY,MAAM,YAAY,MAAM;;;qCAQlD,GAAG,WAAW,QAAQ,GAAG,CAAC;kDAEb,MAAM,EAAE;gDAKV,MAAM,aAAa,MAAM;8CAG3B,MAAM,aAAa,MAAM;;iCAKtC,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ui/text.js
CHANGED
|
@@ -8,15 +8,21 @@ const case_1 = require("case");
|
|
|
8
8
|
const log_symbols_1 = tslib_1.__importDefault(require("./log-symbols"));
|
|
9
9
|
const log_color_1 = require("./log-color");
|
|
10
10
|
const graphql_types_1 = require("../graphql/graphql-types");
|
|
11
|
+
const cli_details_1 = require("../shared/cli-details");
|
|
11
12
|
const environment_1 = require("../shared/environment");
|
|
12
13
|
const ctrlC = 'Press Ctrl+C to cancel.';
|
|
13
14
|
const gettingStartedDACLink = 'https://go.atlassian.com/dac/platform/forge/getting-started/#log-in-with-an-atlassian-api-token';
|
|
14
15
|
const encryptedValue = '****';
|
|
15
16
|
const greenTick = `${chalk_1.default.bold(chalk_1.default.green('✔'))}`;
|
|
16
17
|
const buildTerminalLink = (text) => (0, terminal_link_1.default)(chalk_1.default.bold(text), text, { fallback: () => chalk_1.default.underline.bold(text) });
|
|
18
|
+
const command = (...args) => chalk_1.default.bold(args.join(' '));
|
|
19
|
+
const forge = (...args) => command('forge', ...args);
|
|
17
20
|
const autoSpaceSentences = (...sentences) => sentences
|
|
18
21
|
.filter((sentence) => sentence.length > 0)
|
|
19
22
|
.join(' ');
|
|
23
|
+
function itemList(items) {
|
|
24
|
+
return items.map((item) => ` - ${item}`).join('\n');
|
|
25
|
+
}
|
|
20
26
|
const fatalError = (message) => chalk_1.default.bold(chalk_1.default.red(message));
|
|
21
27
|
const keytarAccessErrorBase = (message) => `Keytar error detected: ${message}`;
|
|
22
28
|
const capitalise = (word) => word.charAt(0).toUpperCase() + word.slice(1);
|
|
@@ -42,7 +48,7 @@ const platformKeytarRecommendations = () => {
|
|
|
42
48
|
exports.Text = {
|
|
43
49
|
error: {
|
|
44
50
|
noKeytar: autoSpaceSentences(`The CLI couldn't securely store your login credentials in a local keychain.`, platformKeytarRecommendations(), `If a local keychain is not available, use environment variables before trying again. See ${buildTerminalLink(gettingStartedDACLink)} for more.`),
|
|
45
|
-
noTokenStored: `Not logged in. If a local keychain is available, run ${
|
|
51
|
+
noTokenStored: `Not logged in. If a local keychain is available, run ${forge('login')}, otherwise set environment variables before trying again. See ${buildTerminalLink(gettingStartedDACLink)} for more.`,
|
|
46
52
|
keytarAccessError: {
|
|
47
53
|
other: (message) => keytarAccessErrorBase(message),
|
|
48
54
|
mac: (message) => keytarAccessErrorBase(message) +
|
|
@@ -51,20 +57,20 @@ exports.Text = {
|
|
|
51
57
|
windows: (message) => keytarAccessErrorBase(message) + `\nSomething went wrong while accessing Credentials Vault.`
|
|
52
58
|
},
|
|
53
59
|
outdatedCLIVersion: (installed, latest) => `Warning: Your version of Forge CLI is out of date. We recommend you update to the latest version to get the latest features and bug fixes.` +
|
|
54
|
-
`\nRun ${
|
|
60
|
+
`\nRun ${command('npm', 'install', '-g', `${cli_details_1.FORGE_CLI_PACKAGE}@latest`)} to update from version ${chalk_1.default.bold(installed)} to ${chalk_1.default.bold(latest)}.` +
|
|
55
61
|
`\n`,
|
|
56
62
|
outdatedNodeVersion: (compatibleNodeVersion, currentNodeVersion) => fatalError(`Unsupported Node.js version. The CLI requires Node.js ${compatibleNodeVersion}, but you're using Node.js ${currentNodeVersion}.`),
|
|
57
63
|
invalidProduct: 'Invalid product. Rerun the command with a valid product.',
|
|
58
64
|
invalidSite: 'The site you entered is not an Atlassian site. Rerun the command with the URL to an Atlassian site to install the app.',
|
|
59
65
|
invalidWorkspace: 'The workspace you entered is not a valid workspace. Rerun the command with the URL to a valid workspace to install the app.',
|
|
60
|
-
invalidTokenInKeytar: `Your API token is no longer valid. Run ${
|
|
66
|
+
invalidTokenInKeytar: `Your API token is no longer valid. Run ${forge('login')} to reset your login credentials.`,
|
|
61
67
|
invalidTokenInEnv: (instructionsUrl, emailVar, tokenVar) => `The API token on your machine is no longer valid.` +
|
|
62
68
|
`\n 1) Get a new API token: ${instructionsUrl}` +
|
|
63
69
|
`\n 2) Set your email and the token to ${emailVar} and ${tokenVar} environment variables.`,
|
|
64
70
|
promptInputRequired: 'Your response is needed to continue.',
|
|
65
71
|
noExecutableFile: "Couldn't find the main executable file",
|
|
66
72
|
unhandledRejection: (reason, promise) => `Error at ${promise}, reason: ${reason}`,
|
|
67
|
-
resourceDefinitionMissing: (resourceKeys) => `The following resources are declared but are improperly defined in the manifest.yml file
|
|
73
|
+
resourceDefinitionMissing: (resourceKeys) => `The following resources are declared but are improperly defined in the manifest.yml file:${itemList(resourceKeys)}`,
|
|
68
74
|
resourceDirectoryMissing: (resourceKey, directory) => `Resource ${resourceKey} at: ${directory} not found`,
|
|
69
75
|
resourceDirectoryEmpty: (resourceKey, directory) => `Resource ${resourceKey} at: ${directory} is an empty directory`,
|
|
70
76
|
templateFetchFailed: 'Failed to fetch templates, try running the command again.',
|
|
@@ -94,7 +100,7 @@ exports.Text = {
|
|
|
94
100
|
optionVerbose: 'enable verbose mode',
|
|
95
101
|
optionJson: 'output results in JSON format',
|
|
96
102
|
invalidCmd: (command) => `’${command}’ is not a Forge command.`,
|
|
97
|
-
invalidCmdHelp: `Run ${
|
|
103
|
+
invalidCmdHelp: `Run ${forge('--help')} to see the full list of available commands.`,
|
|
98
104
|
rerunningWithVerbose: 'Rerunning the command with --verbose may give more details.',
|
|
99
105
|
ctrlC,
|
|
100
106
|
graphQL: {
|
|
@@ -102,7 +108,7 @@ exports.Text = {
|
|
|
102
108
|
response: (result, requestId) => `◀️ GraphQL\nRequest ID: ${requestId || 'unknown'}\nResult: ${result}`,
|
|
103
109
|
error: 'Server error',
|
|
104
110
|
outdatedClientVersion: `Your version of Forge CLI is no longer supported.` +
|
|
105
|
-
`\nRun ${
|
|
111
|
+
`\nRun ${command('npm', 'uninstall', '-g', cli_details_1.FORGE_CLI_PACKAGE)} followed by ${command('npm', 'install', '-g', cli_details_1.FORGE_CLI_PACKAGE)} to update to the latest version.` +
|
|
106
112
|
`\n`
|
|
107
113
|
},
|
|
108
114
|
snapshot: {
|
|
@@ -125,8 +131,8 @@ exports.Text = {
|
|
|
125
131
|
warnings: (warnings) => `Bundling warnings: ${warnings.join(', ')}`
|
|
126
132
|
},
|
|
127
133
|
config: {
|
|
128
|
-
missing: `Your app details are missing from the manifest.yml file. Register your app by running ${
|
|
129
|
-
invalid: `Invalid app details in the manifest.yml file. Register your app by running ${
|
|
134
|
+
missing: `Your app details are missing from the manifest.yml file. Register your app by running ${forge('register')}.`,
|
|
135
|
+
invalid: `Invalid app details in the manifest.yml file. Register your app by running ${forge('register')}.`,
|
|
130
136
|
manifest: {
|
|
131
137
|
invalid: 'Command failed due to validation error.',
|
|
132
138
|
error: (errorMessage, additionalInfo) => `Manifest validation failed: ${errorMessage}` +
|
|
@@ -140,7 +146,7 @@ exports.Text = {
|
|
|
140
146
|
confirmInstalling: "This appends a line to your shell's config file. Would you like to continue?",
|
|
141
147
|
installing: 'Installing autocomplete. Restart your shell when installation is completed.',
|
|
142
148
|
uninstalling: 'Uninstalling autocomplete.',
|
|
143
|
-
postinstall: `\n${chalk_1.default.cyan('ℹ')} To install autocompletion for Forge, run '
|
|
149
|
+
postinstall: `\n${chalk_1.default.cyan('ℹ')} To install autocompletion for Forge, run ${forge('autocomplete', 'install')}.\n`,
|
|
144
150
|
error: {
|
|
145
151
|
badArg: (arg) => `${arg ? `Invalid argument detected: "${arg}"` : 'Missing argument'}. Expected: "install" or "uninstall".`,
|
|
146
152
|
unsupportedShell: 'Unsupported shell detected. Autocomplete functionality is only available on bash, fish, and zsh shells.',
|
|
@@ -156,7 +162,7 @@ exports.Text = {
|
|
|
156
162
|
url: (link) => `Next, enter your Atlassian API token. If you don't have a token, visit this URL to create one:\n${buildTerminalLink(link)}`,
|
|
157
163
|
promptToken: 'Enter your Atlassian API token:',
|
|
158
164
|
checking: 'Logging you in...',
|
|
159
|
-
nextStep: `Now try ${
|
|
165
|
+
nextStep: `Now try ${forge('create')} to start a new app.`,
|
|
160
166
|
success: (name) => `Logged in as ${name}.`,
|
|
161
167
|
error: "We couldn't log you in with those credentials. Check your email address and token before rerunning the command."
|
|
162
168
|
},
|
|
@@ -172,7 +178,7 @@ exports.Text = {
|
|
|
172
178
|
},
|
|
173
179
|
error: {
|
|
174
180
|
personalCredentialsEnv: (emailKey, apiTokenKey) => `We couldn't get your Atlassian account information. Check the ${emailKey} and ${apiTokenKey} environment variables.`,
|
|
175
|
-
personalCredentialsKeytar: `We couldn't get your Atlassian account information. You may need to run ${
|
|
181
|
+
personalCredentialsKeytar: `We couldn't get your Atlassian account information. You may need to run ${forge('login')} to log in again.`
|
|
176
182
|
}
|
|
177
183
|
},
|
|
178
184
|
feedback: {
|
|
@@ -228,19 +234,19 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
228
234
|
creation: "Your app couldn't be created. Try again."
|
|
229
235
|
},
|
|
230
236
|
directory: {
|
|
231
|
-
exists: (path) => `The directory ${path} already exists. Run ${
|
|
237
|
+
exists: (path) => `The directory ${path} already exists. Run ${forge('create')} using a different app name.`
|
|
232
238
|
},
|
|
233
239
|
name: {
|
|
234
|
-
tooLong: () => `The app name exceeds 50 characters. Run ${
|
|
240
|
+
tooLong: () => `The app name exceeds 50 characters. Run ${forge('create')} using a shorter app name.`
|
|
235
241
|
},
|
|
236
242
|
template: {
|
|
237
|
-
download: (template) => `Failed to download the ${template} template. Run ${
|
|
238
|
-
notFound: (template) => `The template ${template} doesn't exist. Run ${
|
|
243
|
+
download: (template) => `Failed to download the ${template} template. Run ${forge('create')} again.`,
|
|
244
|
+
notFound: (template) => `The template ${template} doesn't exist. Run ${forge('create')} using a different template.`,
|
|
239
245
|
noTemplates: 'There are no templates to choose from.',
|
|
240
246
|
unexpectedArchiveFormat: 'Unexpected template format.'
|
|
241
247
|
},
|
|
242
248
|
packages: {
|
|
243
|
-
installFail: `Something went wrong while installing app dependencies. Try running ${
|
|
249
|
+
installFail: `Something went wrong while installing app dependencies. Try running ${forge('create')} again.'
|
|
244
250
|
)} to try again.`
|
|
245
251
|
}
|
|
246
252
|
}
|
|
@@ -253,12 +259,12 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
253
259
|
success: (appName) => `Registered ${appName}`,
|
|
254
260
|
successDetails: (validEnvironmentOptions) => `\nYour app is ready to work on, deploy, and install. We created ${validEnvironmentOptions.length} environments you can deploy to: ${validEnvironmentOptions
|
|
255
261
|
.map(environment_1.environmentToOption)
|
|
256
|
-
.join(', ')}.\n\nUse ${
|
|
262
|
+
.join(', ')}.\n\nUse ${forge('deploy')} to deploy your app to an environment.`
|
|
257
263
|
},
|
|
258
264
|
confirmQuestion: 'Are you sure you want to overwrite the existing app details?'
|
|
259
265
|
},
|
|
260
266
|
env: {
|
|
261
|
-
option: `specify the environment (see your default environment by running forge
|
|
267
|
+
option: `specify the environment (see your default environment by running ${forge('settings', 'list')})`,
|
|
262
268
|
invalid: 'Invalid environment name',
|
|
263
269
|
developmentOnly: (envKey) => `${(0, environment_1.environmentToOption)(envKey)} cannot be set as default environment. Only development environments can be used.`,
|
|
264
270
|
error: {
|
|
@@ -286,7 +292,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
286
292
|
confirm: 'Do you want to continue?',
|
|
287
293
|
setSuccess: (envKey, envType) => `${exports.Text.env.displayEnvironment(envKey, envType)} has been set as your default development environment`,
|
|
288
294
|
createAndSetSuccess: (envKey, envType) => `${exports.Text.env.displayEnvironment(envKey, envType)} has been created and set as your default development environment`,
|
|
289
|
-
settingsInfo: `You can change your default development environment later by running ${
|
|
295
|
+
settingsInfo: `You can change your default development environment later by running ${forge('settings', 'set')}.`
|
|
290
296
|
},
|
|
291
297
|
varsSet: {
|
|
292
298
|
cmd: {
|
|
@@ -312,9 +318,9 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
312
318
|
}
|
|
313
319
|
},
|
|
314
320
|
varsList: {
|
|
315
|
-
hint: `\nRun ${
|
|
321
|
+
hint: `\nRun ${forge('variables', 'list')} to see your environment variables.\n`,
|
|
316
322
|
cmd: 'list the environment variables',
|
|
317
|
-
empty: (environment, envType) => `There are no variables in the ${exports.Text.env.displayEnvironment(environment, envType)} environment.\n\nUse ${
|
|
323
|
+
empty: (environment, envType) => `There are no variables in the ${exports.Text.env.displayEnvironment(environment, envType)} environment.\n\nUse ${forge('variables', 'set')} to create a variable.\n`,
|
|
318
324
|
encryptedValue,
|
|
319
325
|
overview: (environment, envType) => `Showing variables from the ${exports.Text.env.displayEnvironment(environment, envType)} environment:\n`,
|
|
320
326
|
postfix: `\nNote, the values of encrypted variables are shown as ${encryptedValue}.\n`
|
|
@@ -370,7 +376,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
370
376
|
optionEnvironmentKey: 'specify the environment to delete',
|
|
371
377
|
warningMessage: `${chalk_1.default.bold('Warning:')} When deleting a development environment, you may impact in progress deployments or tunnels.`,
|
|
372
378
|
noEnvironmentMessage: 'There are no development environments to delete.',
|
|
373
|
-
hasInstallationError: (envKey) => `${(0, environment_1.environmentToOption)(envKey)} cannot be deleted because the environment is installed on a site. You can show all the current installations of your app by running ${
|
|
379
|
+
hasInstallationError: (envKey) => `${(0, environment_1.environmentToOption)(envKey)} cannot be deleted because the environment is installed on a site. You can show all the current installations of your app by running ${forge('install', 'list')}.`
|
|
374
380
|
},
|
|
375
381
|
storage: {
|
|
376
382
|
cmd: {
|
|
@@ -413,15 +419,15 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
413
419
|
start2: (appName, envKey, envType) => `Deploying ${appName} to ${exports.Text.env.displayEnvironment(envKey, envType)}...`,
|
|
414
420
|
success: 'Deployed\n',
|
|
415
421
|
successDetails: (appName, envKey, envType) => `Deployed ${appName} to the ${exports.Text.env.displayEnvironment(envKey, envType)} environment.`,
|
|
416
|
-
distributePageLink: (appId) => `To install on a site that you're an admin of, run ${
|
|
422
|
+
distributePageLink: (appId) => `To install on a site that you're an admin of, run ${forge('install')}.\n` +
|
|
417
423
|
'To install on any other site, generate an installation link in the developer console and share it with the site admin: ' +
|
|
418
424
|
`https://developer.atlassian.com/console/myapps/${appId}/distribution`
|
|
419
425
|
},
|
|
420
426
|
taskLint: {
|
|
421
|
-
lintError: log_color_1.LogColor.error(`Error: The deploy failed due to errors in the app code. Fix the errors before rerunning forge
|
|
427
|
+
lintError: log_color_1.LogColor.error(`Error: The deploy failed due to errors in the app code. Fix the errors before rerunning ${forge('deploy')}, or run ${forge('deploy', '--no-verify')} to skip the linter.\n`),
|
|
422
428
|
lintWarning: (numWarnings) => {
|
|
423
429
|
const { pluralCheckedTotal } = checkLintTotalPlurals(0, numWarnings, 0, 0);
|
|
424
|
-
return log_color_1.LogColor.warn(`${pluralCheckedTotal} found. Run ${
|
|
430
|
+
return log_color_1.LogColor.warn(`${pluralCheckedTotal} found. Run ${forge('lint')} to review the warnings.`);
|
|
425
431
|
}
|
|
426
432
|
},
|
|
427
433
|
taskListInstallation: {
|
|
@@ -458,11 +464,8 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
458
464
|
notFound: "Couldn't find app deployment"
|
|
459
465
|
},
|
|
460
466
|
outdatedInstallations: `We've detected new scopes or egress URLs in your app.\n` +
|
|
461
|
-
`Run ${
|
|
462
|
-
listIndexes: (environment) => {
|
|
463
|
-
const indexCommand = chalk_1.default.bold(`forge storage entities indexes list -e ${(0, environment_1.environmentToOption)(environment)}`);
|
|
464
|
-
return (`Run ${indexCommand} to check the status of the indexes.`);
|
|
465
|
-
},
|
|
467
|
+
`Run ${forge('install', '--upgrade')} and restart your tunnel to put them into effect.`,
|
|
468
|
+
listIndexes: (environment) => `Run ${forge('storage', 'entities', 'indexes', 'list', '-e', (0, environment_1.environmentToOption)(environment))} to check the status of the indexes.`,
|
|
466
469
|
reindexingInProgress: {
|
|
467
470
|
continueDeployment: 'Reindexing is currently in progress. Are you sure you want to deploy?',
|
|
468
471
|
successfulDeployment: 'Deployment successful. Please note - indexing currently in progress.'
|
|
@@ -523,13 +526,11 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
523
526
|
.map(({ name, requiresInteractiveConsent }) => `- ${name}${requiresInteractiveConsent ? ' (requires user consent)' : ''}`)
|
|
524
527
|
.join('\n')}\n`,
|
|
525
528
|
listEgressAddresses: (egressAddresses) => `Your app will exchange data with the following urls:\n${egressAddresses.map((url) => `- ${url}`).join('\n')}\n`,
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
.map((product) =>
|
|
530
|
-
|
|
531
|
-
.map((product) => `- forge install -p ${(0, case_1.capital)(product)} -s ${site} -e ${(0, environment_1.environmentToOption)(environment)}`)
|
|
532
|
-
.join('\n')}`,
|
|
529
|
+
permissionsMismatch: (environment) => `The scopes or egress URLs in the manifest are different from the scopes in your most recent deployment to ${(0, environment_1.environmentToOption)(environment)}. Try running ${forge('deploy', '-e', (0, environment_1.environmentToOption)(environment))} before installing.\n`,
|
|
530
|
+
multiProductScopesDetected: (productsToInstall, productsToUpgrade, site, environment) => `\nWe detected your app requires scopes across multiple products.\nRun ${forge('install')} for each of the following:\n${itemList([
|
|
531
|
+
...productsToUpgrade.map((product) => forge('install', '--upgrade', '-p', (0, case_1.capital)(product), '-s', site, '-e', (0, environment_1.environmentToOption)(environment))),
|
|
532
|
+
...productsToInstall.map((product) => forge('install', '-p', (0, case_1.capital)(product), '-s', site, '-e', (0, environment_1.environmentToOption)(environment)))
|
|
533
|
+
])}`,
|
|
533
534
|
promptForPermissionsConfirmation: (permissionsMismatchInDevelopment) => permissionsMismatchInDevelopment
|
|
534
535
|
? 'Are you sure you want to continue installing the app?'
|
|
535
536
|
: 'Do you want to continue?',
|
|
@@ -545,9 +546,9 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
545
546
|
`\n\nRun the command using a different URL.`,
|
|
546
547
|
url: (url) => `Site URL is invalid: ${url}`,
|
|
547
548
|
site: (url) => `Site is invalid: ${url}`,
|
|
548
|
-
alreadyInstalledError: `Installation error: App is already installed.\nIf you're trying to upgrade your app, use the ${
|
|
549
|
+
alreadyInstalledError: `Installation error: App is already installed.\nIf you're trying to upgrade your app, use the ${forge('install', '--upgrade')} command.`,
|
|
549
550
|
serverSideInstallationError: (message) => `Installation error: ${message}`,
|
|
550
|
-
noDeploymentFound: (environment) => `Forge apps must be deployed before installation. Deploy your app by running ${
|
|
551
|
+
noDeploymentFound: (environment) => `Forge apps must be deployed before installation. Deploy your app by running ${forge('deploy', '-e', (0, environment_1.environmentToOption)(environment))}.`,
|
|
551
552
|
permissionsDeniedInstructions: (requestId, appId) => `Insufficient permissions to install app (requestId: ${requestId})` +
|
|
552
553
|
'\n\nTo install the app on this site, generate an installation link ' +
|
|
553
554
|
'in the developer console and share it with the site admin: ' +
|
|
@@ -592,7 +593,7 @@ ${buildTerminalLink(link)}\n`,
|
|
|
592
593
|
.map(({ name, requiresInteractiveConsent }) => `- ${name}${requiresInteractiveConsent ? ' (requires user consent)' : ''}`)
|
|
593
594
|
.join('\n')}\n`,
|
|
594
595
|
listEgressAddresses: (egressAddresses) => `Your app will exchange data with the following urls:\n${egressAddresses.map((url) => `- ${url}`).join('\n')}\n`,
|
|
595
|
-
permissionsMismatch: (environment) => `The scopes or egress URLs in the manifest are different from the scopes in your most recent deployment to ${(0, environment_1.environmentToOption)(environment)}. Try running ${
|
|
596
|
+
permissionsMismatch: (environment) => `The scopes or egress URLs in the manifest are different from the scopes in your most recent deployment to ${(0, environment_1.environmentToOption)(environment)}. Try running ${forge('deploy', '-e', (0, environment_1.environmentToOption)(environment))} before upgrading.\n`,
|
|
596
597
|
promptForPermissionsConfirmation: (permissionsMismatchInDevelopment) => permissionsMismatchInDevelopment
|
|
597
598
|
? 'Are you sure you want to continue upgrading the app?'
|
|
598
599
|
: 'Do you want to continue?',
|
|
@@ -612,7 +613,7 @@ ${buildTerminalLink(link)}\n`,
|
|
|
612
613
|
cmd: 'list app installations',
|
|
613
614
|
banner: `\nShowing all the current installations of your app:`,
|
|
614
615
|
noResourceId: 'Unknown site with no resource ID',
|
|
615
|
-
noInstallations: `The app is not installed anywhere.\nRun ${
|
|
616
|
+
noInstallations: `The app is not installed anywhere.\nRun ${forge('install')} to install your app on an Atlassian site.\n`
|
|
616
617
|
},
|
|
617
618
|
tunnel: {
|
|
618
619
|
cmd: 'start a tunnel to connect your local code with the app running in the development environment',
|
|
@@ -654,7 +655,7 @@ Debugging in Google Chrome:
|
|
|
654
655
|
create: (message) => `Couldn't create tunnel, message: ${message}`,
|
|
655
656
|
delete: (message) => `Couldn't delete tunnel, message: ${message}`,
|
|
656
657
|
ngrok: `Failed to start tunnel, could not establish a connection.`,
|
|
657
|
-
noNgrokConfig: `Usage of tunnel requires an ngrok account. Set a path to ngrok config file using ${
|
|
658
|
+
noNgrokConfig: `Usage of tunnel requires an ngrok account. Set a path to ngrok config file using ${forge('settings', 'set', 'ngrok-config-path', '<value>')}. Learn more at ${buildTerminalLink('https://go.atlassian.com/forge-tunnel-ngrok')}.`,
|
|
658
659
|
handler: {
|
|
659
660
|
notFound: (handler) => `Function with handler "${handler}" was not found`
|
|
660
661
|
},
|
|
@@ -673,7 +674,7 @@ Debugging in Google Chrome:
|
|
|
673
674
|
installationId: {
|
|
674
675
|
prompt: "Enter the app's installation ID:",
|
|
675
676
|
errors: {
|
|
676
|
-
invalid: `Invalid installation ID. Run ${
|
|
677
|
+
invalid: `Invalid installation ID. Run ${forge('install', 'list')} to see the installation IDs for the app.`,
|
|
677
678
|
notFound: (installationId) => `No installation found for installation ID: ${installationId}.`
|
|
678
679
|
}
|
|
679
680
|
},
|
|
@@ -719,17 +720,17 @@ Debugging in Google Chrome:
|
|
|
719
720
|
lint: {
|
|
720
721
|
blurb: "The linter checks the app code for known errors. Warnings are issues you should fix, but they won't stop the app code from building.\nPress Ctrl+C to cancel.\n",
|
|
721
722
|
cmd: 'check the source files for common errors',
|
|
722
|
-
running: `Running ${
|
|
723
|
+
running: `Running ${forge('lint')}...`,
|
|
723
724
|
noProblems: 'No issues found.',
|
|
724
|
-
noFixableProblem: chalk_1.default.red(
|
|
725
|
-
noFixableProblems: chalk_1.default.red(
|
|
725
|
+
noFixableProblem: chalk_1.default.red(` Issue found is not automatically fixable with ${forge('lint')}.`),
|
|
726
|
+
noFixableProblems: chalk_1.default.red(` Issues found are not automatically fixable with ${forge('lint')}.`),
|
|
726
727
|
filename: chalk_1.default.underline,
|
|
727
728
|
linterFailed: (linterClass, failure) => chalk_1.default.yellow(`${chalk_1.default.bold('Warning:')} Could not perform some linting actions for ${chalk_1.default.bold(linterClass)} due to unhandled error "${failure}".\n`),
|
|
728
729
|
fixed: (numFixableErrors, numFixableWarnings) => {
|
|
729
730
|
const { pluralCheckedFixableErrors, pluralCheckedFixableWarnings } = checkLintTotalPlurals(0, 0, numFixableErrors, numFixableWarnings);
|
|
730
731
|
return `${greenTick} Fixed ${pluralCheckedFixableErrors} and ${pluralCheckedFixableWarnings}`;
|
|
731
732
|
},
|
|
732
|
-
fixFollowUp: `Run ${
|
|
733
|
+
fixFollowUp: `Run ${forge('lint')} to review outstanding errors and warnings`,
|
|
733
734
|
error: (line, column, message, reference) => getLintMessage(line, column, message, 'error', log_color_1.LogColor.error, reference),
|
|
734
735
|
summary: (numErrors, numWarnings, numFixableErrors, numFixableWarnings) => {
|
|
735
736
|
const { pluralCheckedErrors, pluralCheckedWarnings, pluralCheckedTotal } = checkLintTotalPlurals(numErrors, numWarnings, numFixableErrors, numFixableWarnings);
|
|
@@ -740,12 +741,12 @@ Debugging in Google Chrome:
|
|
|
740
741
|
fixSummary: (numErrors, numFixableErrors, numFixableWarnings) => {
|
|
741
742
|
const { pluralCheckedFixableErrors, pluralCheckedFixableWarnings } = checkLintTotalPlurals(0, 0, numFixableErrors, numFixableWarnings);
|
|
742
743
|
const colourFunction = numErrors ? log_color_1.LogColor.error : log_color_1.LogColor.warn;
|
|
743
|
-
return colourFunction(` Run ${
|
|
744
|
+
return colourFunction(` Run ${forge('lint', '--fix')} to automatically fix ${pluralCheckedFixableErrors} and ${pluralCheckedFixableWarnings}.\n`);
|
|
744
745
|
},
|
|
745
746
|
warning: (line, column, message, reference) => getLintMessage(line, column, message, 'warning', log_color_1.LogColor.warn, reference)
|
|
746
747
|
},
|
|
747
748
|
stub: {
|
|
748
|
-
error: (newName, oldName) => `The ${
|
|
749
|
+
error: (newName, oldName) => `The ${forge(oldName)} command has been deprecated and replaced by ${forge(newName)}.`
|
|
749
750
|
},
|
|
750
751
|
customPrompts: {
|
|
751
752
|
table: {
|
|
@@ -763,7 +764,7 @@ Debugging in Google Chrome:
|
|
|
763
764
|
settings: {
|
|
764
765
|
description: 'manage Forge CLI settings',
|
|
765
766
|
analytics: {
|
|
766
|
-
banner: `We are continuously working to improve the developer experience in Forge. CLI usage helps us do just that. Select ${chalk_1.default.bold('yes')} below to agree to our collection of analytics data through our tools. You can use ${
|
|
767
|
+
banner: `We are continuously working to improve the developer experience in Forge. CLI usage helps us do just that. Select ${chalk_1.default.bold('yes')} below to agree to our collection of analytics data through our tools. You can use ${forge('settings')} to manage your settings at any time.`,
|
|
767
768
|
promptMessage: 'Allow Forge to collect CLI usage and error reporting information?'
|
|
768
769
|
},
|
|
769
770
|
set: {
|
|
@@ -780,7 +781,7 @@ Debugging in Google Chrome:
|
|
|
780
781
|
},
|
|
781
782
|
defaultEnvironment: {
|
|
782
783
|
description: 'Change your default development environment',
|
|
783
|
-
info: `To view all environments for this app, run ${
|
|
784
|
+
info: `To view all environments for this app, run ${forge('environments', 'list')}.`
|
|
784
785
|
},
|
|
785
786
|
ngrokConfig: {
|
|
786
787
|
description: 'Path to the ngrok configuration file with authtoken'
|
|
@@ -790,7 +791,7 @@ Debugging in Google Chrome:
|
|
|
790
791
|
description: 'run the command without input prompts',
|
|
791
792
|
error: {
|
|
792
793
|
missingRequiredOption: (command, requiredOptions) => `${command} --non-interactive requires ${requiredOptions.join(' ')}`,
|
|
793
|
-
missingAnalyticsPreferences: `--non-interactive requires an analytics setting. Use ${
|
|
794
|
+
missingAnalyticsPreferences: `--non-interactive requires an analytics setting. Use ${forge('settings', 'set', 'usage-analytics', '<value>')}.`
|
|
794
795
|
}
|
|
795
796
|
}
|
|
796
797
|
};
|