@spotify/backstage-plugin-soundcheck 0.18.1 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/config.d.ts +21 -0
- package/dist/alpha/apis.esm.js +1 -1
- package/dist/alpha/entity-content.esm.js +1 -1
- package/dist/alpha/pages.esm.js +1 -1
- package/dist/alpha/plugin.esm.js +1 -1
- package/dist/alpha.d.ts +83 -77
- package/dist/api.esm.js +1 -1
- package/dist/components/Badges/CampaignBadge.esm.js +1 -1
- package/dist/components/Badges/StatusBadge.esm.js +1 -1
- package/dist/components/CacheConfig/CacheConfigComponent.esm.js +1 -1
- package/dist/components/CampaignForm/CampaignForm.esm.js +1 -1
- package/dist/components/CampaignForm/Steps/CampaignTrackStepNew.esm.js +1 -1
- package/dist/components/CampaignForm/hooks/utils.esm.js +1 -1
- package/dist/components/CampaignForm/utils/campaignFormUtils.esm.js +2 -2
- package/dist/components/CampaignForm/utils/validation.esm.js +1 -1
- package/dist/components/CampaignInsightsPage/CampaignInsightsPage.esm.js +1 -1
- package/dist/components/CampaignInsightsPage/CampaignStatusHistoryTile.esm.js +1 -1
- package/dist/components/CampaignInsightsPage/CampaignStatusTile.esm.js +1 -1
- package/dist/components/CampaignInsightsPage/DaysRemainingTile.esm.js +1 -1
- package/dist/components/CampaignsPage/CampaignListPage/CampaignListPage.esm.js +1 -1
- package/dist/components/CampaignsPage/CampaignsPage.esm.js +1 -1
- package/dist/components/CategoryBar/CategoryBar.esm.js +1 -1
- package/dist/components/CertificationSidebar/Check.esm.js +1 -1
- package/dist/components/CertificationsPage/CertificationTabs.esm.js +1 -1
- package/dist/components/CheckDetails/FixMeDialog.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/RuleInput/AddMenuButton.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/RuleInput/Conditions/RuleConditionInput.esm.js +1 -1
- package/dist/components/CheckForm/utils/checkFormUtils.esm.js +2 -2
- package/dist/components/CheckIcon/CheckIcon.esm.js +1 -1
- package/dist/components/CheckPage/CheckEntitiesTable/CheckEntitiesTable.esm.js +1 -1
- package/dist/components/CheckPage/CheckEntitiesTable/columns.esm.js +1 -1
- package/dist/components/CheckPage/CheckInsightsPage.esm.js +1 -1
- package/dist/components/CheckPage/CheckStatusTable.esm.js +1 -1
- package/dist/components/CheckTemplatesPage/CheckTemplatesPage.esm.js +1 -1
- package/dist/components/ChecksPage/CheckListPage/CheckListPage.esm.js +1 -1
- package/dist/components/ChecksPage/ChecksPage.esm.js +1 -1
- package/dist/components/CollapsablePanel/CollapsablePanel.esm.js +1 -1
- package/dist/components/CollectorPage/CollectorDetailsPage.esm.js +1 -1
- package/dist/components/CollectorPage/CollectorPage.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/AzureDevOps/AzureDevOpsConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/AzureDevOps/NumberOfWorkItemsComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/BigQuery/BigQueryConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/BigQuery/QueryFactDetailsComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Catalog/CatalogConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Common/CollectorConfigAlert.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/Common/PortalConfigAlert.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/Common/utils.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/DataDog/DataDogConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/DataRegistry/DataRegistryConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Github/GithubConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Gitlab/GitlabConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/HTTP/HttpConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/HTTP/HttpRequestComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/HTTP/HttpStatusesInput.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Jira/JiraConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Kubernetes/KubernetesConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/NewRelic/NewRelicConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/PagerDuty/PagerDutyConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SCM/ScmConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SonarQube/SonarQubeConfigurator.esm.js +1 -1
- package/dist/components/CollectorsPage/CollectorsPage.esm.js +1 -1
- package/dist/components/ColorChip/ColorChip.esm.js +1 -1
- package/dist/components/EmptyState/EmptyState.esm.js +1 -1
- package/dist/components/EntitiesAutocompletePicker/EntitiesAutocompletePicker.esm.js +1 -1
- package/dist/components/ExpandableSection/ExpandableSection.esm.js +1 -1
- package/dist/components/FactExplorer/FactExplorer.esm.js +1 -1
- package/dist/components/Filter/EntityAutocompletePicker.esm.js +1 -1
- package/dist/components/FilterSidebar/StateFilter.esm.js +1 -1
- package/dist/components/FilterSidebar/useTrackFilterSidebar.esm.js +2 -0
- package/dist/components/Frequency/FrequencyComponent.esm.js +1 -1
- package/dist/components/Frequency/util.esm.js +1 -1
- package/dist/components/GroupHierarchySelector/GroupHierarchyChip.esm.js +1 -1
- package/dist/components/GroupHierarchySelector/GroupHierarchyGroupInfo.esm.js +1 -1
- package/dist/components/GroupHierarchySelector/GroupHierarchySelector.esm.js +1 -1
- package/dist/components/GroupHierarchySelector/GroupHierarchySelectorDialog.esm.js +1 -1
- package/dist/components/GroupHierarchySelector/getAllOwnedEntityCount.esm.js +2 -0
- package/dist/components/{TechInsights → HierarchicalTechInsightsPage}/ColorLegend.esm.js +1 -1
- package/dist/components/HierarchicalTechInsightsPage/HierarchicalTechInsightsPage.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/HierarchyTable.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/LowestPerformingTeams.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/SelectedNodeSidebar.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/TeamPerformanceCard.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/TopPerformingTeams.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/getLeafNodes.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/visualizations/LoadingOverlay.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/visualizations/NivoCirclePacking.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/visualizations/NivoHeatmap.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/visualizations/NivoIcicle.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/visualizations/NivoSunburst.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/visualizations/NivoTreemap.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/visualizations/VisualizationBreadcrumb.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/visualizations/findNodePath.esm.js +2 -0
- package/dist/components/HierarchicalTechInsightsPage/visualizations/hierarchyToNivo.esm.js +2 -0
- package/dist/components/ImportExportPanel/ImportExportPanel.esm.js +1 -1
- package/dist/components/LevelsTable/LevelsTable.esm.js +1 -1
- package/dist/components/OverviewPage/OverviewPage.esm.js +1 -1
- package/dist/components/OverviewPage/OverviewPageContent.esm.js +1 -1
- package/dist/components/PassRateGrid/PassRateMetadata.esm.js +1 -1
- package/dist/components/QuickstartPage/QuickstartPage.esm.js +2 -2
- package/dist/components/QuickstartPage/styles.esm.js +1 -1
- package/dist/components/RoutingPage/NewFeatureTab.esm.js +2 -0
- package/dist/components/RoutingPage/RoutingPage.esm.js +1 -1
- package/dist/components/SearchBar/SearchBar.esm.js +1 -1
- package/dist/components/SoundcheckEntityLink/SoundcheckEntityLink.esm.js +2 -0
- package/dist/components/SoundcheckHeader/headerUtil.esm.js +1 -1
- package/dist/components/TechHealth/Filters/FacetFilter.esm.js +1 -1
- package/dist/components/TechHealth/TechHealth.esm.js +1 -1
- package/dist/components/TechHealthTabs/PassRateTabHeader.esm.js +1 -1
- package/dist/components/TechInsights/FilterControls.esm.js +1 -1
- package/dist/components/TechInsights/SummaryTiles.esm.js +1 -1
- package/dist/components/TechInsights/TechInsightsCardsView.esm.js +1 -1
- package/dist/components/TechInsights/TechInsightsPage.esm.js +2 -0
- package/dist/components/TechInsights/TechInsightsTableView.esm.js +1 -1
- package/dist/components/TechInsights/TrackStatusCard.esm.js +2 -0
- package/dist/components/TechInsights/ViewModeControls.esm.js +1 -1
- package/dist/components/TechInsights/convertToCommonTrackStatus.esm.js +2 -0
- package/dist/components/TopFailingChecksTable/TopFailingChecksTable.esm.js +1 -1
- package/dist/components/TrackPage/TrackEntitiesTable/TrackEntitiesTable.esm.js +1 -1
- package/dist/components/TrackPage/TrackEntitiesTable/columns.esm.js +1 -1
- package/dist/components/TrackPage/TrackHistoryChart.esm.js +1 -1
- package/dist/components/TrackPage/TrackPage.esm.js +1 -1
- package/dist/components/TrackPage/TrackStatusBar.esm.js +1 -1
- package/dist/components/TrackPage/TrackStatusTable.esm.js +1 -1
- package/dist/components/TrackSelection/TrackSelection.esm.js +1 -1
- package/dist/components/TracksPage/TrackListPage/TrackListPage.esm.js +1 -1
- package/dist/components/TracksPage/TracksPage.esm.js +1 -1
- package/dist/graphql/generated/index.esm.js +113 -115
- package/dist/hooks/campaigns/useCreateCampaign.esm.js +1 -1
- package/dist/hooks/campaigns/useGetCampaigns.esm.js +1 -1
- package/dist/hooks/catalog/useGetLimitedEntityRefs.esm.js +2 -0
- package/dist/hooks/collectors/useDeleteCollectorConfig.esm.js +2 -0
- package/dist/hooks/graphqlKeys.esm.js +1 -1
- package/dist/hooks/heirarchy/useBatchedHierarchicalTrackStatuses.esm.js +1 -1
- package/dist/hooks/heirarchy/useGroupHierarchy.esm.js +1 -1
- package/dist/hooks/heirarchy/useGroupTypeHierarchy.esm.js +1 -1
- package/dist/hooks/heirarchy/useHierarchicalTrackStatus.esm.js +1 -1
- package/dist/hooks/tracks/useCreateTrack.esm.js +1 -1
- package/dist/hooks/tracks/useGetAllTracks.esm.js +1 -1
- package/dist/hooks/useFeatureFlag.esm.js +1 -1
- package/dist/hooks/useLCPReporting.esm.js +2 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.esm.js +1 -1
- package/dist/utils/colors.esm.js +1 -1
- package/dist/utils/lcpReporting.esm.js +2 -0
- package/package.json +17 -15
- package/dist/components/CheckCard/CheckCard.esm.js +0 -2
- package/dist/components/CheckCard/CheckHistoryChart.esm.js +0 -2
- package/dist/components/CheckCard/utils.esm.js +0 -2
- package/dist/components/MultiSelectFilter/MultiSelectFilter.esm.js +0 -2
- package/dist/components/QuickstartPage/WelcomeModal.esm.js +0 -2
- package/dist/components/TechInsights/ColorSchemeSelector.esm.js +0 -2
- package/dist/components/TechInsights/HierarchicalTechInsightsPage.esm.js +0 -2
- package/dist/components/TechInsights/HierarchyTable.esm.js +0 -2
- package/dist/components/TechInsights/LoadingOverlay.esm.js +0 -2
- package/dist/components/TechInsights/LowestPerformingTeams.esm.js +0 -2
- package/dist/components/TechInsights/NivoCirclePacking.esm.js +0 -2
- package/dist/components/TechInsights/NivoIcicle.esm.js +0 -2
- package/dist/components/TechInsights/NivoSunburst.esm.js +0 -2
- package/dist/components/TechInsights/NivoTreemap.esm.js +0 -2
- package/dist/components/TechInsights/SelectedNodeSidebar.esm.js +0 -2
- package/dist/components/TechInsights/TeamComparison/FailingComponentsTable.esm.js +0 -2
- package/dist/components/TechInsights/TeamComparison/MultiCheckStatusHistoryChart.esm.js +0 -2
- package/dist/components/TechInsights/TeamPerformanceCard.esm.js +0 -2
- package/dist/components/TechInsights/TechInsightsChartView.esm.js +0 -2
- package/dist/components/TechInsights/TechInsightsPage2.esm.js +0 -2
- package/dist/components/TechInsights/TechInsightsViewSelector.esm.js +0 -2
- package/dist/components/TechInsights/Tiles/TileUtils.esm.js +0 -2
- package/dist/components/TechInsights/Tiles/TrackStatusCard.esm.js +0 -2
- package/dist/components/TechInsights/TopPerformingTeams.esm.js +0 -2
- package/dist/components/TechInsights/VisualizationBreadcrumb.esm.js +0 -2
- package/dist/components/TechInsights/colorContrast.esm.js +0 -2
- package/dist/components/TechInsights/findNodePath.esm.js +0 -2
- package/dist/components/TechInsights/hierarchy/GroupNode.esm.js +0 -2
- package/dist/components/TechInsights/hierarchy/Hierarchy.esm.js +0 -2
- package/dist/components/TechInsights/hierarchyToNivo.esm.js +0 -2
- package/dist/components/TechInsights/persistence/FavoriteViews.esm.js +0 -2
- package/dist/components/TechInsights/styles.esm.js +0 -2
- package/dist/components/TrackPage/FilterBar/FilterBar.esm.js +0 -2
- package/dist/hooks/aggregations/useCheckStatusHistories.esm.js +0 -2
- package/dist/hooks/heirarchy/useGetDescendentsOfGroups.esm.js +0 -2
- /package/dist/components/{TrackPage/FilterBar → FilterSidebar}/util.esm.js +0 -0
- /package/dist/components/{TechInsights → HierarchicalTechInsightsPage}/TeamPerformanceListCard.esm.js +0 -0
- /package/dist/components/{TechInsights → TeamStatusBar}/TeamStatusBar.esm.js +0 -0
- /package/dist/components/{TechInsights → TechInsightsGroupSelector}/TechInsightsGroupSelector.esm.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @spotify/backstage-plugin-soundcheck
|
|
2
2
|
|
|
3
|
+
## 0.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Updated campaign milestones to make descriptions optional.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependency `backstage` to `1.42.0`.
|
|
12
|
+
- Resolved an issue that could prevent newly created tracks and campaigns from being shown in the UI immediately.
|
|
13
|
+
- Increased how many entities can be seen in the fact explorer dropdown.
|
|
14
|
+
- Resolved an issue with track history charts that could cause them to exceed 100%.
|
|
15
|
+
- Fixed display issue on campaign form with long list of checks selected.
|
|
16
|
+
- Checks page is now reset to the first page when an owner filter is applied.
|
|
17
|
+
- Added a banner to show a warning when a collector is missing required/recommended configurations.
|
|
18
|
+
|
|
19
|
+
Portal Only: Banner will show if additional config options are available in config manager and link to config manager.
|
|
20
|
+
|
|
21
|
+
- Removed the Graph views from the Tech Insights page
|
|
22
|
+
- Updated campaign insights page to match layout and display same information as the track insights page.
|
|
23
|
+
- Removed modal on soundcheck quickstart page.
|
|
24
|
+
- Fixed import / export icons for checks and tracks.
|
|
25
|
+
- Minor styling updates for Tech Insights page.
|
|
26
|
+
- Updated default time units from hours to days in Checks and Integrations' No-Code UI.
|
|
27
|
+
- Adds LCP recording to Soundcheck pages.
|
|
28
|
+
- Entity links on the Campaign, Track, and Check Insight pages now navigate to the Soundcheck tab with the appropriate Campaign/Track/Check selected when possible.
|
|
29
|
+
- Added Error state as as filter in check insights.
|
|
30
|
+
- Soundcheck - Performance update for TI.
|
|
31
|
+
- Added button to remove UI configs for integrations from the database.
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
- Updated dependencies
|
|
35
|
+
- Updated dependencies
|
|
36
|
+
- Updated dependencies
|
|
37
|
+
- Updated dependencies
|
|
38
|
+
- Updated dependencies
|
|
39
|
+
- Updated dependencies
|
|
40
|
+
- @spotify/backstage-plugin-core@0.8.10
|
|
41
|
+
- @spotify/backstage-plugin-soundcheck-common@0.19.0
|
|
42
|
+
|
|
3
43
|
## 0.18.1
|
|
4
44
|
|
|
5
45
|
### Patch Changes
|
package/config.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface Config {
|
|
|
12
12
|
*/
|
|
13
13
|
defaultSelectedGroupType?: string;
|
|
14
14
|
};
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
* A list of feature flags that can be enabled for the Soundcheck UI.
|
|
17
18
|
* @visibility frontend
|
|
@@ -45,5 +46,25 @@ export interface Config {
|
|
|
45
46
|
*/
|
|
46
47
|
enabled?: boolean;
|
|
47
48
|
};
|
|
49
|
+
/**
|
|
50
|
+
* Settings to enable or disable Tech Insights page for your org.
|
|
51
|
+
*
|
|
52
|
+
* @visibility frontend
|
|
53
|
+
*/
|
|
54
|
+
techInsights?: {
|
|
55
|
+
/**
|
|
56
|
+
* Enable of disable Tech Insights page. The page is disabled by default.
|
|
57
|
+
*
|
|
58
|
+
* @visibility frontend
|
|
59
|
+
*/
|
|
60
|
+
enabled?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Show or hide experimental visualizations on Tech Insights page.
|
|
63
|
+
* Experimental visualizations are hidden by default.
|
|
64
|
+
*
|
|
65
|
+
* @visibility frontend
|
|
66
|
+
*/
|
|
67
|
+
showExperimentalVisualizations?: boolean;
|
|
68
|
+
};
|
|
48
69
|
};
|
|
49
70
|
}
|
package/dist/alpha/apis.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ApiBlueprint as
|
|
1
|
+
import{ApiBlueprint as i,discoveryApiRef as c,fetchApiRef as o}from"@backstage/frontend-plugin-api";import{soundcheckApiRef as r,SoundcheckApi as f}from"../api.esm.js";const t=i.make({params:e=>e({api:r,deps:{discoveryApi:c,fetchApi:o},factory:p=>new f(p)})});export{t as soundcheckApi};
|
|
2
2
|
//# sourceMappingURL=apis.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{convertLegacyRouteRef as n,compatWrapper as o}from"@backstage/core-compat-api";import{EntityContentBlueprint as
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{convertLegacyRouteRef as n,compatWrapper as o}from"@backstage/core-compat-api";import{EntityContentBlueprint as r,EntityCardBlueprint as a}from"@backstage/plugin-catalog-react/alpha";import{entityRootRouteRef as c,groupRootRouteRef as p}from"../routes.esm.js";const i=r.make({name:"entity",params:{path:"soundcheck",title:"Soundcheck",routeRef:n(c),loader:()=>import("../components/EntitySoundcheckContent.esm.js").then(t=>o(e(t.EntitySoundcheckContent,{})))}}),u=a.make({name:"card",params:{loader:()=>import("../components/EntitySoundcheckCard/index.esm.js").then(t=>o(e(t.EntitySoundcheckCard,{})))}}),m=r.make({name:"group",attachTo:{id:"page:catalog/group-details",input:"contents"},params:{path:"soundcheck",title:"Soundcheck",routeRef:n(p),loader:()=>import("../components/OverviewPage/index.esm.js").then(t=>o(e(t.FixedGroupOverviewPage,{})))}});export{u as entitySoundcheckCard,i as entitySoundcheckContent,m as groupSoundcheckContent};
|
|
2
2
|
//# sourceMappingURL=entity-content.esm.js.map
|
package/dist/alpha/pages.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{convertLegacyRouteRef as n,compatWrapper as
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{convertLegacyRouteRef as n,compatWrapper as i}from"@backstage/core-compat-api";import{PageBlueprint as a,createExtensionInput as s,coreExtensionData as t}from"@backstage/frontend-plugin-api";import{integrationIdExtensionDataRef as u}from"../blueprints/IntegrationPageBlueprint.esm.js";import{rootRouteRef as c}from"../routes.esm.js";const f=a.makeWithOverrides({name:"SoundcheckRoutingPage",inputs:{integrations:s([t.routePath,t.reactElement,t.routeRef.optional(),u])},config:{schema:{title:e=>e.string().optional()}},factory(e,{config:g,inputs:m}){return e({routeRef:n(c),path:"/soundcheck",loader:()=>import("../components/RoutingPage/index.esm.js").then(p=>i(r(p.RoutingPage,{title:g.title,integrations:m.integrations.map(o=>({integrationId:o.get(u),routePath:o.get(t.routePath),routeRef:o.get(t.routeRef)}))})))})}}),h=a.make({name:"overview",params:{routeRef:n(c),path:"/soundcheck",loader:()=>import("../components/OverviewPage/index.esm.js").then(e=>i(r(e.OverviewPage,{})))}});export{h as soundcheckOverviewPage,f as soundcheckRoutingPage};
|
|
2
2
|
//# sourceMappingURL=pages.esm.js.map
|
package/dist/alpha/plugin.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createFrontendPlugin as t}from"@backstage/frontend-plugin-api";import{soundcheckApi as n}from"./apis.esm.js";import{entitySoundcheckContent as e,entitySoundcheckCard as o,groupSoundcheckContent as r}from"./entity-content.esm.js";import{azureIntegration as i,bigqueryIntegration as a,catalogIntegration as g,datadogIntegration as c,dataRegistryIntegration as u,githubIntegration as d,gitlabIntegration as I,httpIntegration as m,jiraIntegration as p,kubernetesIntegration as s,newrelicIntegration as h,pagerdutyIntegration as k,scmIntegration as f,sonarqubeIntegration as
|
|
1
|
+
import{createFrontendPlugin as t}from"@backstage/frontend-plugin-api";import{soundcheckApi as n}from"./apis.esm.js";import{entitySoundcheckContent as e,entitySoundcheckCard as o,groupSoundcheckContent as r}from"./entity-content.esm.js";import{azureIntegration as i,bigqueryIntegration as a,catalogIntegration as g,datadogIntegration as c,dataRegistryIntegration as u,githubIntegration as d,gitlabIntegration as I,httpIntegration as m,jiraIntegration as p,kubernetesIntegration as s,newrelicIntegration as h,pagerdutyIntegration as k,scmIntegration as f,sonarqubeIntegration as l}from"./integrations.esm.js";import{soundcheckRoutingPage as b,soundcheckOverviewPage as y}from"./pages.esm.js";import{soundcheckSidebarItem as S}from"./sidebar-item.esm.js";var v=t({pluginId:"soundcheck",extensions:[b,y,n,e,o,r,S,i,a,g,c,u,d,I,m,p,s,h,k,f,l]});export{v as default};
|
|
2
2
|
//# sourceMappingURL=plugin.esm.js.map
|
package/dist/alpha.d.ts
CHANGED
|
@@ -9,19 +9,17 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
|
9
9
|
**
|
|
10
10
|
* The Soundcheck plugin for use within Backstage´s new frontend system
|
|
11
11
|
*/
|
|
12
|
-
declare const _default: _backstage_frontend_plugin_api.
|
|
13
|
-
|
|
12
|
+
declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{}, {}, {
|
|
13
|
+
"api:soundcheck": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
14
14
|
kind: "api";
|
|
15
15
|
name: undefined;
|
|
16
16
|
config: {};
|
|
17
17
|
configInput: {};
|
|
18
|
-
output: _backstage_frontend_plugin_api.
|
|
18
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
19
19
|
inputs: {};
|
|
20
|
-
params: {
|
|
21
|
-
factory: _backstage_core_plugin_api.AnyApiFactory;
|
|
22
|
-
};
|
|
20
|
+
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
|
|
23
21
|
}>;
|
|
24
|
-
|
|
22
|
+
"entity-card:soundcheck/card": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
25
23
|
kind: "entity-card";
|
|
26
24
|
name: "card";
|
|
27
25
|
config: {
|
|
@@ -32,11 +30,11 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
32
30
|
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
33
31
|
type?: "content" | "summary" | "info" | undefined;
|
|
34
32
|
};
|
|
35
|
-
output: _backstage_frontend_plugin_api.
|
|
33
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
36
34
|
optional: true;
|
|
37
|
-
}> | _backstage_frontend_plugin_api.
|
|
35
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
38
36
|
optional: true;
|
|
39
|
-
}> | _backstage_frontend_plugin_api.
|
|
37
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
40
38
|
optional: true;
|
|
41
39
|
}>;
|
|
42
40
|
inputs: {};
|
|
@@ -46,7 +44,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
46
44
|
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
47
45
|
};
|
|
48
46
|
}>;
|
|
49
|
-
|
|
47
|
+
"entity-content:soundcheck/entity": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
50
48
|
kind: "entity-content";
|
|
51
49
|
name: "entity";
|
|
52
50
|
config: {
|
|
@@ -61,26 +59,29 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
61
59
|
path?: string | undefined;
|
|
62
60
|
group?: string | false | undefined;
|
|
63
61
|
};
|
|
64
|
-
output: _backstage_frontend_plugin_api.
|
|
62
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
65
63
|
optional: true;
|
|
66
|
-
}> | _backstage_frontend_plugin_api.
|
|
64
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
67
65
|
optional: true;
|
|
68
|
-
}> | _backstage_frontend_plugin_api.
|
|
66
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
69
67
|
optional: true;
|
|
70
|
-
}> | _backstage_frontend_plugin_api.
|
|
68
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
71
69
|
optional: true;
|
|
72
70
|
}>;
|
|
73
71
|
inputs: {};
|
|
74
72
|
params: {
|
|
73
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
74
|
+
path: string;
|
|
75
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
76
|
+
title: string;
|
|
77
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
78
|
+
group?: ("operation" | "development" | "documentation" | "deployment" | "overview" | "observability") | (string & {});
|
|
75
79
|
loader: () => Promise<JSX.Element>;
|
|
76
|
-
defaultPath: string;
|
|
77
|
-
defaultTitle: string;
|
|
78
|
-
defaultGroup?: ("operation" | "development" | "documentation" | "deployment" | "overview" | "observability") | (string & {});
|
|
79
80
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
80
81
|
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
|
|
81
82
|
};
|
|
82
83
|
}>;
|
|
83
|
-
|
|
84
|
+
"entity-content:soundcheck/group": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
84
85
|
kind: "entity-content";
|
|
85
86
|
name: "group";
|
|
86
87
|
config: {
|
|
@@ -95,33 +96,36 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
95
96
|
path?: string | undefined;
|
|
96
97
|
group?: string | false | undefined;
|
|
97
98
|
};
|
|
98
|
-
output: _backstage_frontend_plugin_api.
|
|
99
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
99
100
|
optional: true;
|
|
100
|
-
}> | _backstage_frontend_plugin_api.
|
|
101
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
101
102
|
optional: true;
|
|
102
|
-
}> | _backstage_frontend_plugin_api.
|
|
103
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
103
104
|
optional: true;
|
|
104
|
-
}> | _backstage_frontend_plugin_api.
|
|
105
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
105
106
|
optional: true;
|
|
106
107
|
}>;
|
|
107
108
|
inputs: {};
|
|
108
109
|
params: {
|
|
110
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
111
|
+
path: string;
|
|
112
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
113
|
+
title: string;
|
|
114
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
115
|
+
group?: ("operation" | "development" | "documentation" | "deployment" | "overview" | "observability") | (string & {});
|
|
109
116
|
loader: () => Promise<JSX.Element>;
|
|
110
|
-
defaultPath: string;
|
|
111
|
-
defaultTitle: string;
|
|
112
|
-
defaultGroup?: ("operation" | "development" | "documentation" | "deployment" | "overview" | "observability") | (string & {});
|
|
113
117
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
114
118
|
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
|
|
115
119
|
};
|
|
116
120
|
}>;
|
|
117
|
-
|
|
121
|
+
"integration:soundcheck/azure": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
118
122
|
kind: "integration";
|
|
119
123
|
name: "azure";
|
|
120
124
|
config: {};
|
|
121
125
|
configInput: {};
|
|
122
|
-
output: _backstage_frontend_plugin_api.
|
|
126
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
123
127
|
optional: true;
|
|
124
|
-
}>;
|
|
128
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
125
129
|
inputs: {};
|
|
126
130
|
params: {
|
|
127
131
|
integrationId: string;
|
|
@@ -130,14 +134,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
130
134
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
131
135
|
};
|
|
132
136
|
}>;
|
|
133
|
-
|
|
137
|
+
"integration:soundcheck/bigquery": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
134
138
|
kind: "integration";
|
|
135
139
|
name: "bigquery";
|
|
136
140
|
config: {};
|
|
137
141
|
configInput: {};
|
|
138
|
-
output: _backstage_frontend_plugin_api.
|
|
142
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
139
143
|
optional: true;
|
|
140
|
-
}>;
|
|
144
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
141
145
|
inputs: {};
|
|
142
146
|
params: {
|
|
143
147
|
integrationId: string;
|
|
@@ -146,14 +150,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
146
150
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
147
151
|
};
|
|
148
152
|
}>;
|
|
149
|
-
|
|
153
|
+
"integration:soundcheck/catalog": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
150
154
|
kind: "integration";
|
|
151
155
|
name: "catalog";
|
|
152
156
|
config: {};
|
|
153
157
|
configInput: {};
|
|
154
|
-
output: _backstage_frontend_plugin_api.
|
|
158
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
155
159
|
optional: true;
|
|
156
|
-
}>;
|
|
160
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
157
161
|
inputs: {};
|
|
158
162
|
params: {
|
|
159
163
|
integrationId: string;
|
|
@@ -162,14 +166,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
162
166
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
163
167
|
};
|
|
164
168
|
}>;
|
|
165
|
-
|
|
169
|
+
"integration:soundcheck/datadog": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
166
170
|
kind: "integration";
|
|
167
171
|
name: "datadog";
|
|
168
172
|
config: {};
|
|
169
173
|
configInput: {};
|
|
170
|
-
output: _backstage_frontend_plugin_api.
|
|
174
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
171
175
|
optional: true;
|
|
172
|
-
}>;
|
|
176
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
173
177
|
inputs: {};
|
|
174
178
|
params: {
|
|
175
179
|
integrationId: string;
|
|
@@ -178,14 +182,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
178
182
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
179
183
|
};
|
|
180
184
|
}>;
|
|
181
|
-
|
|
185
|
+
"integration:soundcheck/data-registry": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
182
186
|
kind: "integration";
|
|
183
187
|
name: "data-registry";
|
|
184
188
|
config: {};
|
|
185
189
|
configInput: {};
|
|
186
|
-
output: _backstage_frontend_plugin_api.
|
|
190
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
187
191
|
optional: true;
|
|
188
|
-
}>;
|
|
192
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
189
193
|
inputs: {};
|
|
190
194
|
params: {
|
|
191
195
|
integrationId: string;
|
|
@@ -194,14 +198,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
194
198
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
195
199
|
};
|
|
196
200
|
}>;
|
|
197
|
-
|
|
201
|
+
"integration:soundcheck/github": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
198
202
|
kind: "integration";
|
|
199
203
|
name: "github";
|
|
200
204
|
config: {};
|
|
201
205
|
configInput: {};
|
|
202
|
-
output: _backstage_frontend_plugin_api.
|
|
206
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
203
207
|
optional: true;
|
|
204
|
-
}>;
|
|
208
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
205
209
|
inputs: {};
|
|
206
210
|
params: {
|
|
207
211
|
integrationId: string;
|
|
@@ -210,14 +214,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
210
214
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
211
215
|
};
|
|
212
216
|
}>;
|
|
213
|
-
|
|
217
|
+
"integration:soundcheck/gitlab": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
214
218
|
kind: "integration";
|
|
215
219
|
name: "gitlab";
|
|
216
220
|
config: {};
|
|
217
221
|
configInput: {};
|
|
218
|
-
output: _backstage_frontend_plugin_api.
|
|
222
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
219
223
|
optional: true;
|
|
220
|
-
}>;
|
|
224
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
221
225
|
inputs: {};
|
|
222
226
|
params: {
|
|
223
227
|
integrationId: string;
|
|
@@ -226,14 +230,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
226
230
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
227
231
|
};
|
|
228
232
|
}>;
|
|
229
|
-
|
|
233
|
+
"integration:soundcheck/http": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
230
234
|
kind: "integration";
|
|
231
235
|
name: "http";
|
|
232
236
|
config: {};
|
|
233
237
|
configInput: {};
|
|
234
|
-
output: _backstage_frontend_plugin_api.
|
|
238
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
235
239
|
optional: true;
|
|
236
|
-
}>;
|
|
240
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
237
241
|
inputs: {};
|
|
238
242
|
params: {
|
|
239
243
|
integrationId: string;
|
|
@@ -242,14 +246,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
242
246
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
243
247
|
};
|
|
244
248
|
}>;
|
|
245
|
-
|
|
249
|
+
"integration:soundcheck/jira": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
246
250
|
kind: "integration";
|
|
247
251
|
name: "jira";
|
|
248
252
|
config: {};
|
|
249
253
|
configInput: {};
|
|
250
|
-
output: _backstage_frontend_plugin_api.
|
|
254
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
251
255
|
optional: true;
|
|
252
|
-
}>;
|
|
256
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
253
257
|
inputs: {};
|
|
254
258
|
params: {
|
|
255
259
|
integrationId: string;
|
|
@@ -258,14 +262,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
258
262
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
259
263
|
};
|
|
260
264
|
}>;
|
|
261
|
-
|
|
265
|
+
"integration:soundcheck/kubernetes": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
262
266
|
kind: "integration";
|
|
263
267
|
name: "kubernetes";
|
|
264
268
|
config: {};
|
|
265
269
|
configInput: {};
|
|
266
|
-
output: _backstage_frontend_plugin_api.
|
|
270
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
267
271
|
optional: true;
|
|
268
|
-
}>;
|
|
272
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
269
273
|
inputs: {};
|
|
270
274
|
params: {
|
|
271
275
|
integrationId: string;
|
|
@@ -274,14 +278,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
274
278
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
275
279
|
};
|
|
276
280
|
}>;
|
|
277
|
-
|
|
281
|
+
"integration:soundcheck/newrelic": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
278
282
|
kind: "integration";
|
|
279
283
|
name: "newrelic";
|
|
280
284
|
config: {};
|
|
281
285
|
configInput: {};
|
|
282
|
-
output: _backstage_frontend_plugin_api.
|
|
286
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
283
287
|
optional: true;
|
|
284
|
-
}>;
|
|
288
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
285
289
|
inputs: {};
|
|
286
290
|
params: {
|
|
287
291
|
integrationId: string;
|
|
@@ -290,14 +294,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
290
294
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
291
295
|
};
|
|
292
296
|
}>;
|
|
293
|
-
|
|
297
|
+
"integration:soundcheck/pagerduty": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
294
298
|
kind: "integration";
|
|
295
299
|
name: "pagerduty";
|
|
296
300
|
config: {};
|
|
297
301
|
configInput: {};
|
|
298
|
-
output: _backstage_frontend_plugin_api.
|
|
302
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
299
303
|
optional: true;
|
|
300
|
-
}>;
|
|
304
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
301
305
|
inputs: {};
|
|
302
306
|
params: {
|
|
303
307
|
integrationId: string;
|
|
@@ -306,14 +310,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
306
310
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
307
311
|
};
|
|
308
312
|
}>;
|
|
309
|
-
|
|
313
|
+
"integration:soundcheck/scm": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
310
314
|
kind: "integration";
|
|
311
315
|
name: "scm";
|
|
312
316
|
config: {};
|
|
313
317
|
configInput: {};
|
|
314
|
-
output: _backstage_frontend_plugin_api.
|
|
318
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
315
319
|
optional: true;
|
|
316
|
-
}>;
|
|
320
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
317
321
|
inputs: {};
|
|
318
322
|
params: {
|
|
319
323
|
integrationId: string;
|
|
@@ -322,14 +326,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
322
326
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
323
327
|
};
|
|
324
328
|
}>;
|
|
325
|
-
|
|
329
|
+
"integration:soundcheck/sonarqube": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
326
330
|
kind: "integration";
|
|
327
331
|
name: "sonarqube";
|
|
328
332
|
config: {};
|
|
329
333
|
configInput: {};
|
|
330
|
-
output: _backstage_frontend_plugin_api.
|
|
334
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
331
335
|
optional: true;
|
|
332
|
-
}>;
|
|
336
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "soundcheck.integrationId", {}>;
|
|
333
337
|
inputs: {};
|
|
334
338
|
params: {
|
|
335
339
|
integrationId: string;
|
|
@@ -338,12 +342,12 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
338
342
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
339
343
|
};
|
|
340
344
|
}>;
|
|
341
|
-
|
|
345
|
+
"nav-item:soundcheck": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
342
346
|
kind: "nav-item";
|
|
343
347
|
name: undefined;
|
|
344
348
|
config: {};
|
|
345
349
|
configInput: {};
|
|
346
|
-
output: _backstage_frontend_plugin_api.
|
|
350
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<{
|
|
347
351
|
title: string;
|
|
348
352
|
icon: _backstage_core_plugin_api.IconComponent;
|
|
349
353
|
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
@@ -355,7 +359,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
355
359
|
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
356
360
|
};
|
|
357
361
|
}>;
|
|
358
|
-
|
|
362
|
+
"page:soundcheck/SoundcheckRoutingPage": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
359
363
|
config: {
|
|
360
364
|
title: string | undefined;
|
|
361
365
|
} & {
|
|
@@ -366,11 +370,11 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
366
370
|
} & {
|
|
367
371
|
path?: string | undefined;
|
|
368
372
|
};
|
|
369
|
-
output: _backstage_frontend_plugin_api.
|
|
373
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
370
374
|
optional: true;
|
|
371
375
|
}>;
|
|
372
376
|
inputs: {
|
|
373
|
-
integrations: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<
|
|
377
|
+
integrations: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "soundcheck.integrationId", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
374
378
|
optional: true;
|
|
375
379
|
}>, {
|
|
376
380
|
singleton: false;
|
|
@@ -380,12 +384,13 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
380
384
|
kind: "page";
|
|
381
385
|
name: "SoundcheckRoutingPage";
|
|
382
386
|
params: {
|
|
383
|
-
defaultPath:
|
|
387
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
388
|
+
path: string;
|
|
384
389
|
loader: () => Promise<JSX.Element>;
|
|
385
390
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
386
391
|
};
|
|
387
392
|
}>;
|
|
388
|
-
|
|
393
|
+
"page:soundcheck/overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
389
394
|
kind: "page";
|
|
390
395
|
name: "overview";
|
|
391
396
|
config: {
|
|
@@ -394,12 +399,13 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
394
399
|
configInput: {
|
|
395
400
|
path?: string | undefined;
|
|
396
401
|
};
|
|
397
|
-
output: _backstage_frontend_plugin_api.
|
|
402
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
398
403
|
optional: true;
|
|
399
404
|
}>;
|
|
400
405
|
inputs: {};
|
|
401
406
|
params: {
|
|
402
|
-
defaultPath:
|
|
407
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
408
|
+
path: string;
|
|
403
409
|
loader: () => Promise<JSX.Element>;
|
|
404
410
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
405
411
|
};
|
package/dist/api.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createApiRef as c}from"@backstage/core-plugin-api";import{GraphQLClient as u}from"graphql-request";import{getSdk as h}from"./graphql/generated/index.esm.js";const y=c({id:"plugin.soundcheck"}),o=r=>"response"in r&&"errors"in r.response,g=r=>"response"in r&&"message"in r.response;class p{#s;#a;#t;constructor(t){this.#s=t.fetchApi,this.#a=t.discoveryApi;const e=new u("/graphql",{fetch:async(s,a)=>{const i=`${await this.#a.getBaseUrl("soundcheck")}${s}`;return this.#s.fetch(i,a)}});this.#t=h(e)}#r=t=>o(t)?t.response?.errors?.[0].message??`${t}`:g(t)?t.response.message:`${t}`;#e=async t=>{try{return await t()}catch(e){throw new Error(`Error from Soundcheck backend: ${this.#r(e)}`)}};async getMultipleTrackStatuses(t){return this.#e(async()=>{const{multipleTrackStatuses:e}=await this.#t.getMultipleTrackStatuses({input:t});return e})}async getAllCertifications(t,e=!1,s=!1){return this.#e(async()=>{const{certifications:a}=await this.#t.getAllCertifications({entityRef:t,includeFilteredChecks:e,includeDraftTracks:s});return a})}async getCertificationDetails(t,e=!1,s=!1){return this.#e(async()=>{const{certifications:a}=await this.#t.getCertificationDetails({entityRef:t,includeFilteredChecks:e,includeDraftTracks:s});return a})}async getCertificationDetailsForTrack(t,e,s){return this.#e(async()=>{const{trackCertification:a}=await this.#t.getCertificationDetailsForTrack({entityRef:t,trackId:e,includeFilteredChecks:s});return a})}async getCheckResultDetails(t,e,s){return this.#e(async()=>{const{checkResult:a}=await this.#t.getCheckResultDetails({entityRef:t,trackId:e,checkId:s});return a})}async getFacetsForOwner(t){return this.#e(async()=>{const{facetsForOwner:e}=await this.#t.getFacetsForOwner({ownerEntityRef:t});return e})}async getTrackOverviewForOwner(t,e,s,a,i){return this.#e(async()=>{const{trackOverviewForOwner:n}=await this.#t.getTrackOverviewForOwner({ownerEntityRef:t,facet:e,first:s,after:a,entitySearch:i});return n})}async getTracks(t){return this.#e(async()=>{const{tracks:e}=await this.#t.getTracks({filter:t});return e})}async getTracksApplicableEntityCount(t,e){return this.#e(async()=>{const{tracks:s}=await this.#t.getTracksApplicableEntityCount({filter:t,groupRef:e});return s?.edges?.map(({node:a})=>({id:a.id,applicableEntityCount:a.applicableEntityCount??0}))})}async getTrack(t){return this.#e(async()=>{const{track:e}=await this.#t.getTrack({id:t});return e})}async createTrack(t){return this.#e(async()=>{const{track:e}=await this.#t.createTrack({input:t});return e})}async updateTrack(t){return this.#e(async()=>{const{track:e}=await this.#t.updateTrack({input:t});return e})}async deleteTrack(t){return this.#e(async()=>{const{trackDeleted:e}=await this.#t.deleteTrack({trackId:t});return e})}async importTracks(t){return this.#e(async()=>{const{status:e}=await this.#t.importTracks({tracks:t});return e})}async getPlaylists(t){return this.#e(async()=>{const{playlists:e}=await this.#t.getPlaylists({entityRef:t});return e})}async getOperators(){return this.#e(async()=>{const{operators:t}=await this.#t.getOperators();return t})}async getCheck(t){return this.#e(async()=>(await this.#t.getCheck({id:t})).check)}async getChecks(t){return this.#e(async()=>{const{checkers:e}=await this.#t.getCheckers({filter:t});return e})}async getExecutableChecks(){return this.#e(async()=>{const{executableChecks:t}=await this.#t.getExecutableChecks();return t})}async createCheck(t){return this.#e(async()=>{const{check:e}=await this.#t.createCheck({input:t});return e})}async updateCheck(t){return this.#e(async()=>{const{check:e}=await this.#t.updateCheck({input:t});return e})}async deleteCheck(t){return this.#e(async()=>await this.#t.deleteChecker({checkerId:t}))}async executeCheck(t){return this.#e(async()=>{const{result:e}=await this.#t.executeCheck({input:t});return e})}async importChecks(t){return this.#e(async()=>{const{status:e}=await this.#t.importCheckers({checkers:t});return e})}async setEntityExempt(t){return this.#e(async()=>{const{setEntityExempt:e}=await this.#t.setEntityExempt({input:t});return e})}async setManualCheckResult(t){return this.#e(async()=>await this.#t.setManualCheckResult({input:t}))}async deleteExemption(t,e){return this.#e(async()=>await this.#t.deleteExemption({checkId:t,entityRef:e}))}async getExemption(t,e){return this.#e(async()=>await this.#t.getExemption({checkId:t,entityRef:e}))}async getExemptions(t,e,s,a,i){return this.#e(async()=>await this.#t.getExemptions({checkId:t,first:e,after:s,last:a,before:i}))}async getExemptCheckIds(t,e){return this.#e(async()=>await this.#t.getExemptCheckIds({entityRef:t,trackId:e}))}async getCollectors(t){return this.#e(async()=>{const{collectors:e}=await this.#t.getCollectors({ids:t});return e})}async getFactSchema(t,e){if(!(!t||!e))return this.#e(async()=>{const{factSchema:s}=await this.#t.getFactSchemas({collectorId:t,factName:e});return s})}async updateCollectorConfig(t){return this.#e(async()=>{const{collector:e}=await this.#t.updateCollectorConfig({input:t});return e})}async getOverallCheckPassRates(t){return this.#e(async()=>await this.#t.getOverallCheckPassRates({filter:t}))}async getIndividualCheckPassRates(t){return this.#e(async()=>await this.#t.getIndividualCheckPassRates({filter:t}))}async getOverallTrackPassRate(t){return this.#e(async()=>await this.#t.getOverallTrackPassRate({filter:t}))}async getIndividualTrackPassRate(t){return this.#e(async()=>await this.#t.getIndividualTrackPassRate({filter:t}))}async getOverallEntityPassRates(t){return this.#e(async()=>await this.#t.getOverallEntityPassRates({filter:t}))}async getIndividualEntityPassRates(t){return this.#e(async()=>await this.#t.getIndividualEntityPassRates({input:t}))}async getOverallGroupPassRates(t){return this.#e(async()=>await this.#t.getOverallGroupPassRates({input:t}))}async getIndividualGroupPassRates(t){return this.#e(async()=>await this.#t.getIndividualGroupPassRates({input:t}))}async getEntityRefsForTechHealthFilter(t){return this.#e(async()=>await this.#t.getEntityRefsForTechHealthFilter({ownerEntityRef:t}))}async getTrackEntities(t){return this.#e(async()=>await this.#t.getTrackEntities({input:t}))}async getCampaigns(t,e){return this.#e(async()=>{const{campaigns:s}=await this.#t.getCampaigns({filter:t,byTrackIds:e});return s})}async createCampaign(t){return this.#e(async()=>{const{campaign:e}=await this.#t.createCampaign({input:t});return e})}async updateCampaign(t){return this.#e(async()=>{const{campaign:e}=await this.#t.updateCampaign({input:t});return e})}async deleteCampaign(t){return this.#e(async()=>{const{campaignDeleted:e}=await this.#t.deleteCampaign({campaignId:t});return e})}async sendCampaignNotification(t){return this.#e(async()=>{const{sendCampaignNotification:e}=await this.#t.sendCampaignNotification({input:t});return e})}async archiveCampaign(t){return this.#e(async()=>{const{campaignArchived:e}=await this.#t.archiveCampaign({campaignId:t});return e})}async getCampaignOwners(){return this.#e(async()=>{const{campaignOwners:t}=await this.#t.getCampaignOwners();return t})}async getCheckOwners(){return this.#e(async()=>{const{checkOwners:t}=await this.#t.getCheckOwners();return t})}async getTrackOwners(){return this.#e(async()=>{const{trackOwners:t}=await this.#t.getTrackOwners();return t})}async getCertificationStatus(t){return this.#e(async()=>this.#t.getCertificationStatus({input:t}))}async getCertificationStatusHistory(t){return this.#e(async()=>this.#t.getCertificationStatusHistory({input:t}))}async getTrackStatusHistory(t){return this.#e(async()=>(await this.#t.getTrackStatusHistory({input:t})).trackStatusHistory)}async getTrackStatusHistories(t){return this.#e(async()=>(await this.#t.getTrackStatusHistories({input:t})).trackStatusHistories)}async getCheckStatus(t){return this.#e(async()=>(await this.#t.getCheckStatus({input:t})).checkStatus)}async getCheckStatuses(t){return this.#e(async()=>(await this.#t.getCheckStatuses({input:t})).checkStatuses)}async getCheckStatusHistory(t){return this.#e(async()=>(await this.#t.getCheckStatusHistory({input:t})).checkStatusHistory)}async getCheckStatusHistories(t){return this.#e(async()=>(await this.#t.getCheckStatusHistories({input:t})).checkStatusHistories)}async getCheckEntities(t){return this.#e(async()=>await this.#t.getCheckEntities({input:t}))}async getSavedViews(t){return this.#e(async()=>await this.#t.getSavedViews({input:t}))}async saveView(t){return this.#e(async()=>{const{saveView:e}=await this.#t.saveView({input:t});return e})}async deleteView(t){return this.#e(async()=>{const{deleteView:e}=await this.#t.deleteView({input:t});return e})}async getPathResolvers(){return this.#e(async()=>{const{pathResolvers:t}=await this.#t.getPathResolvers();return t})}async getCheckTemplates(){return this.#e(async()=>{const{checkerTemplates:t}=await this.#t.getCheckTemplates();return t})}async getFact(t){return this.#e(async()=>{const{fact:e}=await this.#t.getFact(t);return e})}async getRootGroups(){return this.#e(async()=>{const{rootGroups:t}=await this.#t.rootGroups();return t})}async getDescendantsOfGroups(t){return this.#e(async()=>{const{getDescendantsOfGroups:e}=await this.#t.getDescendentsOfGroups({ids:t});return e})}async getAncestorsOfGroups(t){return this.#e(async()=>{const{getAncestorsOfGroups:e}=await this.#t.getAncestorsOfGroups({ids:t});return e})}async getGroupTypeHierarchy(){return this.#e(async()=>{const{groupTypeHierarchy:t}=await this.#t.getGroupTypeHierarchy();return t})}async getGroupHierarchy(t,e,s){return this.#e(async()=>{const{groupHierarchy:a}=await this.#t.getGroupHierarchy({groupRef:t,ownedEntitiesFilter:e,includeParent:s});return a})}async getHierarchicalTrackStatus(t,e){return this.#e(async()=>{const{hierarchicalTrackStatus:s}=await this.#t.getHierarchicalTrackStatus({trackId:t,groupRef:e});return s})}async getHierarchicalTrackStatuses(t,e){return this.#e(async()=>{const{hierarchicalTrackStatuses:s}=await this.#t.getHierarchicalTrackStatuses({trackIds:t,groupRef:e});return s})}}export{p as SoundcheckApi,y as soundcheckApiRef};
|
|
1
|
+
import{createApiRef as c}from"@backstage/core-plugin-api";import{GraphQLClient as h}from"graphql-request";import{getSdk as u}from"./graphql/generated/index.esm.js";const y=c({id:"plugin.soundcheck"}),o=i=>"response"in i&&"errors"in i.response,l=i=>"response"in i&&"message"in i.response;class g{#a;#s;#t;constructor(t){this.#a=t.fetchApi,this.#s=t.discoveryApi;const e=new h("/graphql",{fetch:async(a,s)=>{const r=`${await this.#s.getBaseUrl("soundcheck")}${a}`;return this.#a.fetch(r,s)}});this.#t=u(e)}#i=t=>o(t)?t.response?.errors?.[0].message??`${t}`:l(t)?t.response.message:`${t}`;#e=async t=>{try{return await t()}catch(e){throw new Error(`Error from Soundcheck backend: ${this.#i(e)}`)}};async getMultipleTrackStatuses(t){return this.#e(async()=>{const{multipleTrackStatuses:e}=await this.#t.getMultipleTrackStatuses({input:t});return e})}async getAllCertifications(t,e=!1,a=!1){return this.#e(async()=>{const{certifications:s}=await this.#t.getAllCertifications({entityRef:t,includeFilteredChecks:e,includeDraftTracks:a});return s})}async getCertificationDetails(t,e=!1,a=!1){return this.#e(async()=>{const{certifications:s}=await this.#t.getCertificationDetails({entityRef:t,includeFilteredChecks:e,includeDraftTracks:a});return s})}async getCertificationDetailsForTrack(t,e,a){return this.#e(async()=>{const{trackCertification:s}=await this.#t.getCertificationDetailsForTrack({entityRef:t,trackId:e,includeFilteredChecks:a});return s})}async getCheckResultDetails(t,e,a){return this.#e(async()=>{const{checkResult:s}=await this.#t.getCheckResultDetails({entityRef:t,trackId:e,checkId:a});return s})}async getFacetsForOwner(t){return this.#e(async()=>{const{facetsForOwner:e}=await this.#t.getFacetsForOwner({ownerEntityRef:t});return e})}async getTrackOverviewForOwner(t,e,a,s,r){return this.#e(async()=>{const{trackOverviewForOwner:n}=await this.#t.getTrackOverviewForOwner({ownerEntityRef:t,facet:e,first:a,after:s,entitySearch:r});return n})}async getTracks(t){return this.#e(async()=>{const{tracks:e}=await this.#t.getTracks({filter:t});return e})}async getTracksApplicableEntityCount(t,e){return this.#e(async()=>{const{tracks:a}=await this.#t.getTracksApplicableEntityCount({filter:t,groupRef:e});return a?.edges?.map(({node:s})=>({id:s.id,applicableEntityCount:s.applicableEntityCount??0}))})}async getTrack(t){return this.#e(async()=>{const{track:e}=await this.#t.getTrack({id:t});return e})}async createTrack(t){return this.#e(async()=>{const{track:e}=await this.#t.createTrack({input:t});return e})}async updateTrack(t){return this.#e(async()=>{const{track:e}=await this.#t.updateTrack({input:t});return e})}async deleteTrack(t){return this.#e(async()=>{const{trackDeleted:e}=await this.#t.deleteTrack({trackId:t});return e})}async importTracks(t){return this.#e(async()=>{const{status:e}=await this.#t.importTracks({tracks:t});return e})}async getPlaylists(t){return this.#e(async()=>{const{playlists:e}=await this.#t.getPlaylists({entityRef:t});return e})}async getOperators(){return this.#e(async()=>{const{operators:t}=await this.#t.getOperators();return t})}async getCheck(t){return this.#e(async()=>(await this.#t.getCheck({id:t})).check)}async getChecks(t){return this.#e(async()=>{const{checkers:e}=await this.#t.getCheckers({filter:t});return e})}async getExecutableChecks(){return this.#e(async()=>{const{executableChecks:t}=await this.#t.getExecutableChecks();return t})}async createCheck(t){return this.#e(async()=>{const{check:e}=await this.#t.createCheck({input:t});return e})}async updateCheck(t){return this.#e(async()=>{const{check:e}=await this.#t.updateCheck({input:t});return e})}async deleteCheck(t){return this.#e(async()=>await this.#t.deleteChecker({checkerId:t}))}async executeCheck(t){return this.#e(async()=>{const{result:e}=await this.#t.executeCheck({input:t});return e})}async importChecks(t){return this.#e(async()=>{const{status:e}=await this.#t.importCheckers({checkers:t});return e})}async setEntityExempt(t){return this.#e(async()=>{const{setEntityExempt:e}=await this.#t.setEntityExempt({input:t});return e})}async setManualCheckResult(t){return this.#e(async()=>await this.#t.setManualCheckResult({input:t}))}async deleteExemption(t,e){return this.#e(async()=>await this.#t.deleteExemption({checkId:t,entityRef:e}))}async getExemption(t,e){return this.#e(async()=>await this.#t.getExemption({checkId:t,entityRef:e}))}async getExemptions(t,e,a,s,r){return this.#e(async()=>await this.#t.getExemptions({checkId:t,first:e,after:a,last:s,before:r}))}async getExemptCheckIds(t,e){return this.#e(async()=>await this.#t.getExemptCheckIds({entityRef:t,trackId:e}))}async getCollectors(t){return this.#e(async()=>{const{collectors:e}=await this.#t.getCollectors({ids:t});return e})}async getFactSchema(t,e){if(!(!t||!e))return this.#e(async()=>{const{factSchema:a}=await this.#t.getFactSchemas({collectorId:t,factName:e});return a})}async updateCollectorConfig(t){return this.#e(async()=>{const{collector:e}=await this.#t.updateCollectorConfig({input:t});return e})}async deleteCollectorConfig(t){return this.#e(async()=>await this.#t.deleteCollectorConfig({collectorId:t}))}async getOverallCheckPassRates(t){return this.#e(async()=>await this.#t.getOverallCheckPassRates({filter:t}))}async getIndividualCheckPassRates(t){return this.#e(async()=>await this.#t.getIndividualCheckPassRates({filter:t}))}async getOverallTrackPassRate(t){return this.#e(async()=>await this.#t.getOverallTrackPassRate({filter:t}))}async getIndividualTrackPassRate(t){return this.#e(async()=>await this.#t.getIndividualTrackPassRate({filter:t}))}async getOverallEntityPassRates(t){return this.#e(async()=>await this.#t.getOverallEntityPassRates({filter:t}))}async getIndividualEntityPassRates(t){return this.#e(async()=>await this.#t.getIndividualEntityPassRates({input:t}))}async getOverallGroupPassRates(t){return this.#e(async()=>await this.#t.getOverallGroupPassRates({input:t}))}async getIndividualGroupPassRates(t){return this.#e(async()=>await this.#t.getIndividualGroupPassRates({input:t}))}async getEntityRefsForTechHealthFilter(t){return this.#e(async()=>await this.#t.getEntityRefsForTechHealthFilter({ownerEntityRef:t}))}async getTrackEntities(t){return this.#e(async()=>await this.#t.getTrackEntities({input:t}))}async getCampaigns(t,e){return this.#e(async()=>{const{campaigns:a}=await this.#t.getCampaigns({filter:t,byTrackIds:e});return a})}async createCampaign(t){return this.#e(async()=>{const{campaign:e}=await this.#t.createCampaign({input:t});return e})}async updateCampaign(t){return this.#e(async()=>{const{campaign:e}=await this.#t.updateCampaign({input:t});return e})}async deleteCampaign(t){return this.#e(async()=>{const{campaignDeleted:e}=await this.#t.deleteCampaign({campaignId:t});return e})}async sendCampaignNotification(t){return this.#e(async()=>{const{sendCampaignNotification:e}=await this.#t.sendCampaignNotification({input:t});return e})}async archiveCampaign(t){return this.#e(async()=>{const{campaignArchived:e}=await this.#t.archiveCampaign({campaignId:t});return e})}async getCampaignOwners(){return this.#e(async()=>{const{campaignOwners:t}=await this.#t.getCampaignOwners();return t})}async getCheckOwners(){return this.#e(async()=>{const{checkOwners:t}=await this.#t.getCheckOwners();return t})}async getTrackOwners(){return this.#e(async()=>{const{trackOwners:t}=await this.#t.getTrackOwners();return t})}async getCertificationStatus(t){return this.#e(async()=>this.#t.getCertificationStatus({input:t}))}async getCertificationStatusHistory(t){return this.#e(async()=>this.#t.getCertificationStatusHistory({input:t}))}async getTrackStatusHistory(t){return this.#e(async()=>(await this.#t.getTrackStatusHistory({input:t})).trackStatusHistory)}async getTrackStatusHistories(t){return this.#e(async()=>(await this.#t.getTrackStatusHistories({input:t})).trackStatusHistories)}async getCheckStatus(t){return this.#e(async()=>(await this.#t.getCheckStatus({input:t})).checkStatus)}async getCheckStatuses(t){return this.#e(async()=>(await this.#t.getCheckStatuses({input:t})).checkStatuses)}async getCheckStatusHistory(t){return this.#e(async()=>(await this.#t.getCheckStatusHistory({input:t})).checkStatusHistory)}async getCheckStatusHistoriesMultiFilter(t){return this.#e(async()=>(await this.#t.getCheckStatusHistoriesMultiFilter({input:t})).checkStatusHistoriesMultiFilter)}async getCheckStatusHistories(t){return this.#e(async()=>(await this.#t.getCheckStatusHistories({input:t})).checkStatusHistories)}async getCheckEntities(t){return this.#e(async()=>await this.#t.getCheckEntities({input:t}))}async getSavedViews(t){return this.#e(async()=>await this.#t.getSavedViews({input:t}))}async saveView(t){return this.#e(async()=>{const{saveView:e}=await this.#t.saveView({input:t});return e})}async deleteView(t){return this.#e(async()=>{const{deleteView:e}=await this.#t.deleteView({input:t});return e})}async getPathResolvers(){return this.#e(async()=>{const{pathResolvers:t}=await this.#t.getPathResolvers();return t})}async getCheckTemplates(){return this.#e(async()=>{const{checkerTemplates:t}=await this.#t.getCheckTemplates();return t})}async getFact(t){return this.#e(async()=>{const{fact:e}=await this.#t.getFact(t);return e})}async getGroupTypeHierarchy(){return this.#e(async()=>{const{groupTypeHierarchy:t}=await this.#t.getGroupTypeHierarchy();return t})}async getGroupHierarchy(t,e,a){return this.#e(async()=>{const{groupHierarchy:s}=await this.#t.getGroupHierarchy({groupRef:t,ownedEntitiesFilter:e,includeParent:a});return s})}async getHierarchicalTrackStatus(t,e){return this.#e(async()=>{const{hierarchicalTrackStatus:a}=await this.#t.getHierarchicalTrackStatus({trackId:t,groupRef:e});return a})}async getHierarchicalTrackStatuses(t,e){return this.#e(async()=>{const{hierarchicalTrackStatuses:a}=await this.#t.getHierarchicalTrackStatuses({trackIds:t,groupRef:e});return a})}async recordLoadTime(t){return this.#e(async()=>await this.#t.recordLoadTime({input:{routeName:t.routeName,loadTimeMs:t.loadTimeMs,additionalAttributes:t.additionalAttributes}}))}}export{g as SoundcheckApi,y as soundcheckApiRef};
|
|
2
2
|
//# sourceMappingURL=api.esm.js.map
|