@forge/cli-shared 6.4.0-next.11 → 6.4.0-next.12
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 +127 -25
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +2 -8
- package/out/service/statsig-service.d.ts +1 -1
- package/out/service/statsig-service.d.ts.map +1 -1
- package/out/service/statsig-service.js +9 -5
- package/package.json +1 -1
|
@@ -18,8 +18,8 @@ exports.MarketplaceConsoleDevSpaceProgram = exports.MarketplaceConsoleAppSoftwar
|
|
|
18
18
|
exports.MercuryProviderWorkTargetDateType = exports.MercuryProviderWorkStatusColor = exports.MercuryProviderWorkErrorType = exports.MercuryProviderConfigurationStatus = exports.MercuryProjectTargetDateType = exports.MercuryProjectStatusColor = exports.MercuryFocusAreaTeamAllocationAggregationSortField = exports.MercuryFocusAreaSortField = exports.MercuryFocusAreaHierarchySortField = exports.MercuryFocusAreaHealthColor = exports.MercuryEventType = exports.MercuryEntityType = exports.MercuryAggregatedHeadcountSortField = exports.MembershipState = exports.MembershipSetting = exports.MembershipRole = exports.MarketplaceStoreReviewsSorting = exports.MarketplaceStorePricingCurrency = exports.MarketplaceStorePartnerSupportAvailabilityDay = exports.MarketplaceStorePartnerEnrollmentProgramValue = exports.MarketplaceStorePartnerEnrollmentProgram = exports.MarketplaceStoreInstallationTargetProduct = exports.MarketplaceStoreInstallAppStatus = exports.MarketplaceStoreHomePageHighlightedSectionVariation = exports.MarketplaceStoreEditionType = exports.MarketplaceStoreDeveloperSpaceStatus = exports.MarketplaceStoreBillingSystem = exports.MarketplaceStoreAtlassianProductHostingType = exports.MarketplaceProgramStatus = exports.MarketplacePricingTierType = exports.MarketplacePricingTierPolicy = exports.MarketplacePricingTierMode = exports.MarketplacePricingPlanStatus = exports.MarketplacePartnerType = exports.MarketplacePartnerTierType = exports.MarketplacePartnerSupportHolidayFrequency = exports.MarketplaceLocation = exports.MarketplaceListingStatus = exports.MarketplaceEntityStatus = exports.MarketplaceConsolePricingPlanStatus = exports.MarketplaceConsolePricingCurrency = exports.MarketplaceConsolePluginFrameworkType = exports.MarketplaceConsolePaymentModel = exports.MarketplaceConsoleParentSoftwareState = exports.MarketplaceConsoleLegacyMongoStatus = exports.MarketplaceConsoleLegacyMongoPluginHiddenIn = exports.MarketplaceConsoleHosting = exports.MarketplaceConsoleEditionsActivationStatus = exports.MarketplaceConsoleEditionType = exports.MarketplaceConsoleDevSpaceTier = void 0;
|
|
19
19
|
exports.SandboxEventResult = exports.RoadmapVersionStatus = exports.RoadmapTimelineMode = exports.RoadmapSprintState = exports.RoadmapRankPosition = exports.RoadmapPaletteColor = exports.RoadmapLevelOneView = exports.RoadmapEpicView = exports.RoadmapChildIssuePlanningMode = exports.RateLimitingCurrency = exports.RadarStatusAppearance = exports.RadarFilterPlurality = exports.RadarFilterOperators = exports.RadarFilterInputType = exports.RadarFieldType = exports.RadarEntityType = 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.NlpGetKeywordsTextFormat = exports.NlpErrorState = exports.NlpDisclaimer = exports.NadelHydrationTemplate = exports.MigrationEventType = exports.MigrationEventStatus = exports.MercuryTeamSortField = exports.MercuryTeamFocusAreaAllocationSortField = exports.MercuryTargetDateType = void 0;
|
|
20
20
|
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.ShepherdSearchOrigin = exports.ShepherdRemediationActionType = exports.ShepherdRedactionStatus = exports.ShepherdRedactedContentStatus = exports.ShepherdRateThresholdValue = exports.ShepherdQueryErrorType = exports.ShepherdMutationErrorType = exports.ShepherdLoginDeviceType = exports.ShepherdDetectionScanningFrequency = exports.ShepherdCustomScanningMatchType = exports.ShepherdClassificationStatus = exports.ShepherdClassificationLevelColor = exports.ShepherdAtlassianProduct = exports.ShepherdAlertTemplateType = exports.ShepherdAlertStatus = exports.ShepherdAlertSnippetRedactionStatus = exports.ShepherdAlertDetectionCategory = exports.ShepherdAlertAction = exports.ShepherdActorOrgStatus = exports.ShepherdActionType = exports.SearchThirdPartyRangeField = exports.SearchSortOrder = exports.SearchResultType = exports.SearchProjectType = exports.SearchIssueStatusCategory = exports.SearchContainerStatus = exports.SearchConfluenceRangeField = exports.SearchConfluenceDocumentStatus = exports.SearchBoardProductType = exports.Scope = exports.SandboxEventType = exports.SandboxEventStatus = exports.SandboxEventSource = void 0;
|
|
21
|
-
exports.WorkSuggestionsApprovalStatus = exports.WorkSuggestionsAction = exports.VirtualAgentIntentTemplateType = exports.VirtualAgentConversationState = exports.VirtualAgentConversationCsatOptionType = exports.VirtualAgentConversationChannel = exports.VirtualAgentConversationActionType = exports.UserInstallationRuleValue = exports.UnifiedPrimaryAccountType = exports.TrelloWorkspaceTier = exports.TrelloWorkspaceMembershipType = exports.TrelloSupportedPlannerProviders = exports.TrelloPowerUpDataScope = exports.TrelloPowerUpDataAccess = exports.TrelloPlannerCalendarEventVisibility = exports.TrelloPlannerCalendarEventStatus = exports.TrelloPlannerCalendarColor = exports.TrelloCardRole = exports.TrelloCardExternalSource = exports.TrelloCardCoverSize = exports.TrelloCardCoverColor = exports.TrelloCardCoverBrightness = exports.TrelloBoardMembershipType = exports.TownsquareUnshardedCapabilityContainer = exports.TownsquareUnshardedAccessControlCapability = exports.TownsquareTargetDateType = exports.TownsquareProjectStateValue = exports.TownsquareProjectSortEnum = exports.TownsquareGoalTypeState = exports.TownsquareGoalStateValue = exports.TownsquareGoalSortEnum = exports.TownsquareGoalIconKey = exports.TownsquareGoalIconAppearance = exports.TownsquareCapabilityContainer = exports.TownsquareAccessControlCapability = exports.ToolchainWorkspaceConnectionErrorCode = exports.
|
|
22
|
-
exports.SourceBillingType = exports.WorkSuggestionsVulnerabilityStatus = exports.WorkSuggestionsUserPersona = exports.WorkSuggestionsTargetAudience = exports.WorkSuggestionsEnvironmentType =
|
|
21
|
+
exports.WorkSuggestionsAutoDevJobState = exports.WorkSuggestionsApprovalStatus = exports.WorkSuggestionsAction = exports.VirtualAgentIntentTemplateType = exports.VirtualAgentConversationState = exports.VirtualAgentConversationCsatOptionType = exports.VirtualAgentConversationChannel = exports.VirtualAgentConversationActionType = exports.UserInstallationRuleValue = exports.UnifiedPrimaryAccountType = exports.TrelloWorkspaceTier = exports.TrelloWorkspaceMembershipType = exports.TrelloSupportedPlannerProviders = exports.TrelloPowerUpDataScope = exports.TrelloPowerUpDataAccess = exports.TrelloPlannerCalendarEventVisibility = exports.TrelloPlannerCalendarEventStatus = exports.TrelloPlannerCalendarColor = exports.TrelloCardRole = exports.TrelloCardExternalSource = exports.TrelloCardCoverSize = exports.TrelloCardCoverColor = exports.TrelloCardCoverBrightness = exports.TrelloBoardMembershipType = exports.TownsquareUnshardedCapabilityContainer = exports.TownsquareUnshardedAccessControlCapability = exports.TownsquareTargetDateType = exports.TownsquareProjectStateValue = exports.TownsquareProjectSortEnum = exports.TownsquareGoalTypeState = exports.TownsquareGoalStateValue = exports.TownsquareGoalSortEnum = exports.TownsquareGoalIconKey = exports.TownsquareGoalIconAppearance = exports.TownsquareCapabilityContainer = exports.TownsquareAccessControlCapability = exports.ToolchainWorkspaceConnectionErrorCode = exports.ToolchainProviderType = exports.ToolchainDisassociateEntitiesErrorCode = exports.ToolchainCreateContainerErrorCode = exports.ToolchainCheckAuthErrorCode = exports.ToolchainAssociateEntitiesErrorCode = exports.TeamStateV2 = exports.TeamState = exports.TeamSortOrder = exports.TeamSortField = exports.TeamSearchField = exports.TeamRole = exports.TeamMembershipState = exports.TeamMembershipSettings = void 0;
|
|
22
|
+
exports.SourceBillingType = exports.WorkSuggestionsVulnerabilityStatus = exports.WorkSuggestionsUserPersona = exports.WorkSuggestionsTargetAudience = exports.WorkSuggestionsEnvironmentType = void 0;
|
|
23
23
|
var AcceptableResponse;
|
|
24
24
|
(function (AcceptableResponse) {
|
|
25
25
|
AcceptableResponse["False"] = "FALSE";
|
|
@@ -7291,12 +7291,6 @@ var ToolchainProviderType;
|
|
|
7291
7291
|
ToolchainProviderType["RemoteLinks"] = "REMOTE_LINKS";
|
|
7292
7292
|
ToolchainProviderType["Security"] = "SECURITY";
|
|
7293
7293
|
})(ToolchainProviderType = exports.ToolchainProviderType || (exports.ToolchainProviderType = {}));
|
|
7294
|
-
var ToolchainSyncState;
|
|
7295
|
-
(function (ToolchainSyncState) {
|
|
7296
|
-
ToolchainSyncState["Complete"] = "COMPLETE";
|
|
7297
|
-
ToolchainSyncState["Error"] = "ERROR";
|
|
7298
|
-
ToolchainSyncState["InProgress"] = "IN_PROGRESS";
|
|
7299
|
-
})(ToolchainSyncState = exports.ToolchainSyncState || (exports.ToolchainSyncState = {}));
|
|
7300
7294
|
var ToolchainWorkspaceConnectionErrorCode;
|
|
7301
7295
|
(function (ToolchainWorkspaceConnectionErrorCode) {
|
|
7302
7296
|
ToolchainWorkspaceConnectionErrorCode["ProviderActionError"] = "PROVIDER_ACTION_ERROR";
|
|
@@ -10,10 +10,10 @@ export declare abstract class StatsigReader {
|
|
|
10
10
|
abstract checkGate<F extends FeatureGate>(flag: F, customAttributes?: Record<string, string>): Promise<boolean | null>;
|
|
11
11
|
abstract getDynamicConfig<F extends DynamicConfigKey>(flag: F, metadata?: Record<string, string>): Promise<DynamicConfig[F] | null>;
|
|
12
12
|
testForgeCliTestGate(): Promise<boolean>;
|
|
13
|
-
testForgeCliBundleRuntimeLoaderGate(): Promise<boolean>;
|
|
14
13
|
getForgeCliTestDynamicConfig(): Promise<any>;
|
|
15
14
|
isLogsV2ApiEnabled(): Promise<boolean>;
|
|
16
15
|
isAtlasProductSupported(): Promise<boolean>;
|
|
16
|
+
testForgeCliBundleRuntimeLoaderGate(): Promise<boolean>;
|
|
17
17
|
}
|
|
18
18
|
export declare function cacheStatsigResult<C, T>(getter: (this: C, ...args: any[]) => Promise<T>): (this: C, ...args: any[]) => Promise<T>;
|
|
19
19
|
export declare class StatsigService extends StatsigReader {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statsig-service.d.ts","sourceRoot":"","sources":["../../src/service/statsig-service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EAEpB,MAAM,EACP,MAAM,UAAU,CAAC;AAElB,oBAAY,WAAW,GACnB,qBAAqB,GACrB,yBAAyB,GACzB,iCAAiC,GACjC,wCAAwC,CAAC;AAE7C,oBAAY,aAAa,GAAG;IAC1B,gCAAgC,EAAE;QAAE,KAAK,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;CACvD,CAAC;AAEF,oBAAY,gBAAgB,GAAG,MAAM,aAAa,CAAC;AAEnD,8BAAsB,aAAa;IACjC,QAAQ,CAAC,SAAS,CAAC,CAAC,SAAS,WAAW,EACtC,IAAI,EAAE,CAAC,EACP,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACxC,OAAO,CAA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AAC,EAChB,QAAQ,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GACpC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;CAapC"}
|
|
@@ -6,9 +6,6 @@ class StatsigReader {
|
|
|
6
6
|
async testForgeCliTestGate() {
|
|
7
7
|
return (await this.checkGate('forge-cli-test-gate')) ?? false;
|
|
8
8
|
}
|
|
9
|
-
async testForgeCliBundleRuntimeLoaderGate() {
|
|
10
|
-
return (await this.checkGate('forge-cli-bundle-runtime-loader')) ?? false;
|
|
11
|
-
}
|
|
12
9
|
async getForgeCliTestDynamicConfig() {
|
|
13
10
|
return (await this.getDynamicConfig('forge-cli-test-dynamic-configs')) ?? { value: [] };
|
|
14
11
|
}
|
|
@@ -18,6 +15,9 @@ class StatsigReader {
|
|
|
18
15
|
async isAtlasProductSupported() {
|
|
19
16
|
return (await this.checkGate('forge-cli-enable-atlas-product-support')) ?? false;
|
|
20
17
|
}
|
|
18
|
+
async testForgeCliBundleRuntimeLoaderGate() {
|
|
19
|
+
return (await this.checkGate('forge-cli-bundle-runtime-loader')) ?? false;
|
|
20
|
+
}
|
|
21
21
|
}
|
|
22
22
|
exports.StatsigReader = StatsigReader;
|
|
23
23
|
var STATSIG_API_KEYS;
|
|
@@ -108,7 +108,9 @@ class StatsigService extends StatsigReader {
|
|
|
108
108
|
},
|
|
109
109
|
customAttributes: {
|
|
110
110
|
appId: context.appId,
|
|
111
|
-
version: context.version
|
|
111
|
+
version: context.version,
|
|
112
|
+
atlassianAccountId: context.accountId,
|
|
113
|
+
...customAttributes
|
|
112
114
|
},
|
|
113
115
|
targetApp: 'forge_cli'
|
|
114
116
|
})
|
|
@@ -137,7 +139,9 @@ class StatsigService extends StatsigReader {
|
|
|
137
139
|
},
|
|
138
140
|
metadata: {
|
|
139
141
|
appId: context.appId,
|
|
140
|
-
version: context.version
|
|
142
|
+
version: context.version,
|
|
143
|
+
atlassianAccountId: context.accountId,
|
|
144
|
+
...metadata
|
|
141
145
|
},
|
|
142
146
|
namespace: 'forge_cli'
|
|
143
147
|
})
|