@spotify/backstage-plugin-soundcheck 0.14.0 → 0.14.2
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 +34 -8
- package/alpha/package.json +1 -1
- 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/sidebar-item.esm.js +1 -1
- package/dist/alpha.d.ts +150 -1
- package/dist/api.esm.js +1 -1
- package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignOwnerField.esm.js +1 -1
- package/dist/components/CampaignsPage/CampaignListPage/CampaignListPage.esm.js +1 -1
- package/dist/components/CertificationSidebar/Check.esm.js +1 -1
- package/dist/components/CertificationSidebar/CheckResultSummaryList.esm.js +1 -1
- package/dist/components/CheckDetails/CheckDetails.esm.js +1 -1
- package/dist/components/CheckDetails/CollapseRow.esm.js +2 -0
- package/dist/components/CheckDetails/FixMeDialog.esm.js +2 -0
- package/dist/components/CheckDetails/OngoingTaskComponent.esm.js +2 -0
- package/dist/components/CheckDetails/ResultStateBox.esm.js +1 -1
- package/dist/components/CheckDetails/ReviewStateComponent.esm.js +2 -0
- package/dist/components/CheckDryRun/CheckDryRunDetails.esm.js +1 -1
- package/dist/components/CheckForm/CheckForm.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/RuleInput/Expressions/ExpressionTypeToggle.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/TeamDetailsInput/TeamDetailsInput.esm.js +1 -1
- package/dist/components/CheckPage/CheckEntitiesTable/CheckEntitiesTable.esm.js +1 -1
- package/dist/components/CheckPage/CheckInsightsPage.esm.js +1 -1
- package/dist/components/CheckPage/CheckStatusHistoryChart.esm.js +1 -1
- package/dist/components/CheckPage/FilterBar/FilterBar.esm.js +1 -1
- package/dist/components/CheckTemplatesPage/CheckTemplatesPage.esm.js +1 -1
- package/dist/components/CheckTemplatesPage/TemplateCategory.esm.js +1 -1
- package/dist/components/ChecksPage/CheckListPage/CheckListPage.esm.js +1 -1
- package/dist/components/ChecksPage/CheckListPage/CheckSummaryCard.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Configurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Github/GithubConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Gitlab/GitlabConfigurator.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/Gitlab/utils.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/NewRelic/NewRelicConfigurator.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/NewRelic/utils.esm.js +2 -0
- package/dist/components/CollectorsPage/CollectorListPage/CollectorLogo.esm.js +1 -1
- package/dist/components/CollectorsPage/CollectorListPage/CollectorSummaryCard.esm.js +1 -1
- package/dist/components/EntityContent/EntityContent.esm.js +1 -1
- package/dist/components/FactExplorer/FactExplorer.esm.js +1 -1
- package/dist/components/FactExplorer/FactExplorerContext.esm.js +1 -1
- package/dist/components/FactExplorer/FactExplorerDialog.esm.js +1 -1
- package/dist/components/FormControlledAutocomplete/ControlledAutocomplete.esm.js +1 -1
- package/dist/components/FormFieldLabel/FormFieldLabel.esm.js +1 -1
- package/dist/components/GroupSelector/GroupSelector.esm.js +1 -1
- package/dist/components/OverviewPage/CampaignBanner/CampaignArea.esm.js +2 -0
- package/dist/components/OverviewPage/OverviewPage.esm.js +1 -1
- package/dist/components/OverviewPage/OverviewPageContent.esm.js +1 -1
- package/dist/components/OverviewPage/OverviewPageHeader.esm.js +2 -0
- package/dist/components/OverviewPage/index.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/CheckCellTooltip.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/CheckLabelCell.esm.js +2 -0
- package/dist/components/OverviewTable/Cell/EntityRefCell.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/HighestLevelBadge.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/TrackLevelHeaderCell.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/cellRenderer.esm.js +1 -1
- package/dist/components/OverviewTable/OverviewTable.esm.js +1 -1
- package/dist/components/OverviewTable/ResultsTable.esm.js +1 -1
- package/dist/components/OverviewTable/ResultsTableRow.esm.js +1 -1
- package/dist/components/Router.esm.js +1 -1
- package/dist/components/RoutingPage/RoutingPage.esm.js +1 -1
- package/dist/components/SoundcheckHeader/SoundcheckHeader.esm.js +1 -1
- package/dist/components/SoundcheckHeader/SoundcheckHeaderContext.esm.js +1 -1
- package/dist/components/SoundcheckHeader/headerUtil.esm.js +1 -1
- package/dist/components/SoundcheckHeader/useHeader.esm.js +1 -1
- package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackOwnerSelect/TrackOwnerSelect.esm.js +1 -1
- package/dist/components/TrackPage/FilterBar/FilterBar.esm.js +1 -1
- package/dist/components/TrackPage/TrackPage.esm.js +1 -1
- package/dist/components/TracksPage/TrackListPage/TrackListPage.esm.js +1 -1
- package/dist/contexts/UserProvider.esm.js +1 -1
- package/dist/graphql/generated/index.esm.js +39 -30
- package/dist/hooks/aggregations/useAggregatedTrackPassRateTrend.esm.js +1 -1
- package/dist/hooks/catalog/useGetEntityRefs.esm.js +1 -1
- package/dist/hooks/certifications/useProgramOverviewForOwner.esm.js +1 -1
- package/dist/hooks/checks/useCreateCheck.esm.js +1 -1
- package/dist/hooks/checks/useDeleteCheck.esm.js +1 -1
- package/dist/hooks/checks/useExecutableChecks.esm.js +2 -0
- package/dist/hooks/checks/useGetChecks.esm.js +1 -1
- package/dist/hooks/checks/useUpdateCheck.esm.js +1 -1
- package/dist/hooks/graphqlKeys.esm.js +1 -1
- package/dist/hooks/groups/useGroupOptions.esm.js +2 -0
- package/dist/images/new-relic-rgb.svg +1 -0
- package/dist/images/new-relic-white.svg +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/utils/filters.esm.js +1 -1
- package/package.json +24 -20
- package/dist/components/GroupSelector/useOptions.esm.js +0 -2
- package/dist/components/OverviewPage/OverviewTabs.esm.js +0 -2
- package/dist/components/OverviewPage/OverviewTabsSkeleton.esm.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 819 158.97"><defs><style>.cls-1{fill:#00ac69;}.cls-2{fill:#1ce783;}.cls-3{fill:#1d252c;}</style></defs><polygon class="cls-1" points="111.19 55.03 111.19 103.94 68.84 128.4 68.84 158.97 137.68 119.23 137.68 39.74 111.19 55.03"/><polygon class="cls-2" points="68.84 30.58 111.19 55.03 137.68 39.74 137.68 39.74 68.84 0 0 39.74 0 39.74 26.48 55.03 68.84 30.58"/><polygon class="cls-3" points="42.36 94.78 42.36 143.69 68.84 158.97 68.84 79.49 0 39.74 0 70.32 42.36 94.78"/><path class="cls-3" d="M242.17,50.14c-14.82,0-21.84,9.36-21.84,9.36h-.78L218,51.7H200.05v79.56h19.5v-46c0-10.14,7-17.16,17.16-17.16s17.16,7,17.16,17.16v46h19.5V83.68C273.37,63.4,260.11,50.14,242.17,50.14Z" transform="translate(-10 -10.51)"/><polygon class="cls-3" points="442.47 93.45 441.35 93.45 428.09 41.19 408.25 41.19 394.99 93.45 393.88 93.45 380.61 41.19 360.33 41.19 380.61 120.75 404.36 120.75 417.61 69.27 418.73 69.27 431.99 120.75 455.73 120.75 476.01 41.19 455.73 41.19 442.47 93.45"/><path class="cls-3" d="M545.72,58.72h-.78l-1.56-7H527v79.55h19.5v-46c0-10.14,4.68-14.82,14.82-14.82h10V51.71h-11.6A17.56,17.56,0,0,0,545.72,58.72Z" transform="translate(-10 -10.51)"/><path class="cls-3" d="M614.47,50.14c-23.39,0-40.55,17.16-40.55,41.34s16.19,41.34,40.55,41.34c19.73,0,31.61-11.61,36.56-20.15l-17.9-6.38c-1.77,3.24-8.91,9.47-18.66,9.47-11.37,0-19.49-7.12-21.05-18h59.27a35.38,35.38,0,0,0,.78-7.8C653.47,67.3,636.31,50.14,614.47,50.14ZM593.42,84.46c2.34-10.14,9.36-17.94,21.05-17.94,10.93,0,17.94,7.8,19.5,17.94Z" transform="translate(-10 -10.51)"/><path class="cls-3" d="M326.4,50.14c-23.4,0-40.56,17.16-40.56,41.34S302,132.82,326.4,132.82c19.73,0,31.6-11.61,36.55-20.15l-17.9-6.38c-1.77,3.24-8.9,9.47-18.65,9.47-11.37,0-19.5-7.12-21.06-18h59.28a35.38,35.38,0,0,0,.78-7.8C365.4,67.3,348.24,50.14,326.4,50.14ZM305.34,84.46c2.34-10.14,9.36-17.94,21.06-17.94,10.92,0,17.94,7.8,19.5,17.94Z" transform="translate(-10 -10.51)"/><rect class="cls-3" x="692.14" y="9.78" width="19.5" height="19.5"/><path class="cls-3" d="M775.45,114.88c-11.7,0-21.06-9.36-21.06-23.4s9.36-23.4,21.06-23.4,16.38,7.8,17.94,12.48l17.66-6.28c-4.28-11.11-14.78-24.14-35.6-24.14-23.4,0-40.56,17.16-40.56,41.34s17.16,41.34,40.56,41.34c21,0,31.5-13.24,35.7-24.88l-17.76-6.32C791.83,107.08,787.15,114.88,775.45,114.88Z" transform="translate(-10 -10.51)"/><polygon class="cls-3" points="645.63 27.11 656.7 27.11 656.7 120.75 676.2 120.75 676.2 9.78 645.63 9.78 645.63 27.11"/><rect class="cls-3" x="692.14" y="41.19" width="19.5" height="79.56"/><path class="cls-3" d="M821.59,116a7.52,7.52,0,1,0,7.41,7.52A7.28,7.28,0,0,0,821.59,116Zm0,13.89a6.37,6.37,0,1,1,6.26-6.37A6.12,6.12,0,0,1,821.59,129.85Z" transform="translate(-10 -10.51)"/><path class="cls-3" d="M824.82,122.13a2.64,2.64,0,0,0-2.82-2.62h-3.34v7.84h1.15v-2.72h1.05l2.71,2.72H825l-2.71-2.72A2.53,2.53,0,0,0,824.82,122.13Zm-5,1.35v-2.82H822a1.5,1.5,0,0,1,1.68,1.47c0,.83-.53,1.35-1.68,1.35Z" transform="translate(-10 -10.51)"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 819 158.97"><defs><style>.cls-1{fill:#fff;}</style></defs><path class="cls-1" d="M242.17,50.14c-14.82,0-21.84,9.36-21.84,9.36h-.78L218,51.7H200.05v79.56h19.5v-46c0-10.14,7-17.16,17.16-17.16s17.16,7,17.16,17.16v46h19.5V83.68C273.37,63.4,260.11,50.14,242.17,50.14Z" transform="translate(-10 -10.51)"/><polygon class="cls-1" points="442.47 93.45 441.35 93.45 428.09 41.19 408.25 41.19 394.99 93.45 393.88 93.45 380.61 41.19 360.33 41.19 380.61 120.75 404.36 120.75 417.61 69.27 418.73 69.27 431.99 120.75 455.73 120.75 476.01 41.19 455.73 41.19 442.47 93.45"/><path class="cls-1" d="M545.72,58.72h-.78l-1.56-7H527v79.55h19.5v-46c0-10.14,4.68-14.82,14.82-14.82h10V51.71h-11.6A17.56,17.56,0,0,0,545.72,58.72Z" transform="translate(-10 -10.51)"/><path class="cls-1" d="M614.47,50.14c-23.39,0-40.55,17.16-40.55,41.34s16.19,41.34,40.55,41.34c19.73,0,31.61-11.61,36.56-20.15l-17.9-6.38c-1.77,3.24-8.91,9.47-18.66,9.47-11.37,0-19.49-7.12-21.05-18h59.27a35.38,35.38,0,0,0,.78-7.8C653.47,67.3,636.31,50.14,614.47,50.14ZM593.42,84.46c2.34-10.14,9.36-17.94,21.05-17.94,10.93,0,17.94,7.8,19.5,17.94Z" transform="translate(-10 -10.51)"/><path class="cls-1" d="M326.4,50.14c-23.4,0-40.56,17.16-40.56,41.34S302,132.82,326.4,132.82c19.73,0,31.6-11.61,36.55-20.15l-17.9-6.38c-1.77,3.24-8.9,9.47-18.65,9.47-11.37,0-19.5-7.12-21.06-18h59.28a35.38,35.38,0,0,0,.78-7.8C365.4,67.3,348.24,50.14,326.4,50.14ZM305.34,84.46c2.34-10.14,9.36-17.94,21.06-17.94,10.92,0,17.94,7.8,19.5,17.94Z" transform="translate(-10 -10.51)"/><rect class="cls-1" x="692.14" y="9.78" width="19.5" height="19.5"/><path class="cls-1" d="M775.45,114.88c-11.7,0-21.06-9.36-21.06-23.4s9.36-23.4,21.06-23.4,16.38,7.8,17.94,12.48l17.66-6.28c-4.28-11.11-14.78-24.14-35.6-24.14-23.4,0-40.56,17.16-40.56,41.34s17.16,41.34,40.56,41.34c21,0,31.5-13.24,35.7-24.88l-17.76-6.32C791.83,107.08,787.15,114.88,775.45,114.88Z" transform="translate(-10 -10.51)"/><polygon class="cls-1" points="645.63 27.11 656.7 27.11 656.7 120.75 676.2 120.75 676.2 9.78 645.63 9.78 645.63 27.11"/><rect class="cls-1" x="692.14" y="41.19" width="19.5" height="79.56"/><path class="cls-1" d="M821.59,116a7.52,7.52,0,1,0,7.41,7.52A7.28,7.28,0,0,0,821.59,116Zm0,13.89a6.37,6.37,0,1,1,6.26-6.37A6.12,6.12,0,0,1,821.59,129.85Z" transform="translate(-10 -10.51)"/><path class="cls-1" d="M824.82,122.13a2.64,2.64,0,0,0-2.82-2.62h-3.34v7.84h1.15v-2.72h1.05l2.71,2.72H825l-2.71-2.72A2.53,2.53,0,0,0,824.82,122.13Zm-5,1.35v-2.82H822a1.5,1.5,0,0,1,1.68,1.47c0,.83-.53,1.35-1.68,1.35Z" transform="translate(-10 -10.51)"/><polygon class="cls-1" points="68.84 0 8.05 35.09 34.53 50.38 68.84 30.58 111.19 55.03 111.19 103.94 76.89 123.75 76.89 154.33 137.68 119.23 137.68 39.74 68.84 0"/><polygon class="cls-1" points="42.36 94.78 42.36 143.69 68.84 158.97 68.84 79.49 0 39.74 0 70.32 42.36 94.78"/></svg>
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react from 'react';
|
|
3
3
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -39,21 +39,21 @@ declare const soundcheckPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
|
39
39
|
* Provides an EntityPage tab containing Soundcheck content relevant for the
|
|
40
40
|
* current entity. Expected to be used within {@link @backstage/plugin-catalog#EntityLayout}.
|
|
41
41
|
*/
|
|
42
|
-
declare const EntitySoundcheckContent: () =>
|
|
42
|
+
declare const EntitySoundcheckContent: () => react.JSX.Element;
|
|
43
43
|
/**
|
|
44
44
|
* @public
|
|
45
45
|
*
|
|
46
46
|
* Provides Card to be used on the EntityPage inside the Catalog Plugin.
|
|
47
47
|
* Must be used within {@link @backstage/plugin-catalog#EntityLayout}.
|
|
48
48
|
*/
|
|
49
|
-
declare const EntitySoundcheckCard: ({ title }: EntitySoundcheckCardProps) =>
|
|
49
|
+
declare const EntitySoundcheckCard: ({ title }: EntitySoundcheckCardProps) => react.JSX.Element;
|
|
50
50
|
/**
|
|
51
51
|
* @public
|
|
52
52
|
*
|
|
53
53
|
* Provides an GroupPage tab containing Soundcheck content relevant for the
|
|
54
54
|
* current group. Expected to be used within {@link @backstage/plugin-catalog#GroupLayout}.
|
|
55
55
|
*/
|
|
56
|
-
declare const GroupSoundcheckContent: () =>
|
|
56
|
+
declare const GroupSoundcheckContent: () => react.JSX.Element;
|
|
57
57
|
/**
|
|
58
58
|
* @public
|
|
59
59
|
*
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
1
|
+
var t=(a=>(a.Alpha="ascending",a.Owner="all",a.Status="active",a))(t||{});const e=12;export{t as FilterDefault,e as RESULTS_PER_PAGE};
|
|
2
2
|
//# sourceMappingURL=filters.esm.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotify/backstage-plugin-soundcheck",
|
|
3
3
|
"description": "Ensure quality, reliability and alignment of software development with codified checks and guidance.",
|
|
4
|
-
"version": "0.14.
|
|
4
|
+
"version": "0.14.2",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"homepage": "https://backstage.spotify.com",
|
|
7
7
|
"main": "./dist/index.esm.js",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"default": "./dist/index.esm.js"
|
|
26
26
|
},
|
|
27
27
|
"./alpha": {
|
|
28
|
+
"backstage": "@backstage/FrontendPlugin",
|
|
28
29
|
"import": "./dist/alpha.esm.js",
|
|
29
30
|
"types": "./dist/alpha.d.ts",
|
|
30
31
|
"default": "./dist/alpha.esm.js"
|
|
@@ -44,14 +45,15 @@
|
|
|
44
45
|
"prepare": "yarn generate"
|
|
45
46
|
},
|
|
46
47
|
"dependencies": {
|
|
47
|
-
"@backstage/catalog-client": "^1.
|
|
48
|
-
"@backstage/catalog-model": "^1.
|
|
49
|
-
"@backstage/core-compat-api": "^0.
|
|
50
|
-
"@backstage/core-components": "^0.
|
|
51
|
-
"@backstage/core-plugin-api": "^1.
|
|
52
|
-
"@backstage/frontend-plugin-api": "^0.
|
|
53
|
-
"@backstage/plugin-catalog-react": "^1.
|
|
54
|
-
"@backstage/plugin-permission-react": "^0.4.
|
|
48
|
+
"@backstage/catalog-client": "^1.7.1",
|
|
49
|
+
"@backstage/catalog-model": "^1.7.0",
|
|
50
|
+
"@backstage/core-compat-api": "^0.3.1",
|
|
51
|
+
"@backstage/core-components": "^0.15.1",
|
|
52
|
+
"@backstage/core-plugin-api": "^1.10.0",
|
|
53
|
+
"@backstage/frontend-plugin-api": "^0.9.0",
|
|
54
|
+
"@backstage/plugin-catalog-react": "^1.14.0",
|
|
55
|
+
"@backstage/plugin-permission-react": "^0.4.27",
|
|
56
|
+
"@backstage/plugin-scaffolder-react": "^1.13.0",
|
|
55
57
|
"@backstage/types": "^1.1.1",
|
|
56
58
|
"@date-io/luxon": "^1.0.0",
|
|
57
59
|
"@hookform/resolvers": "^3.3.2",
|
|
@@ -59,9 +61,9 @@
|
|
|
59
61
|
"@material-ui/icons": "^4.9.1",
|
|
60
62
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
61
63
|
"@material-ui/pickers": "3.3.11",
|
|
62
|
-
"@mui/
|
|
63
|
-
"@spotify/backstage-plugin-core": "^0.8.
|
|
64
|
-
"@spotify/backstage-plugin-soundcheck-common": "^0.14.
|
|
64
|
+
"@mui/styles": "^5.14.7",
|
|
65
|
+
"@spotify/backstage-plugin-core": "^0.8.2",
|
|
66
|
+
"@spotify/backstage-plugin-soundcheck-common": "^0.14.2",
|
|
65
67
|
"@tanstack/react-query": "^4.6.1",
|
|
66
68
|
"@types/react-csv": "^1.1.6",
|
|
67
69
|
"@uiw/react-md-editor": "3.20.10",
|
|
@@ -69,6 +71,7 @@
|
|
|
69
71
|
"cron-validate": "^1.4.5",
|
|
70
72
|
"cronstrue": "^2.28.0",
|
|
71
73
|
"framer-motion": "^6.0.0",
|
|
74
|
+
"git-url-parse": "^15.0.0",
|
|
72
75
|
"graphql-request": "6.1.0",
|
|
73
76
|
"js-yaml": "^4.1.0",
|
|
74
77
|
"lodash": "^4.17.21",
|
|
@@ -93,23 +96,24 @@
|
|
|
93
96
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
94
97
|
},
|
|
95
98
|
"devDependencies": {
|
|
96
|
-
"@backstage/cli": "^0.
|
|
97
|
-
"@backstage/core-app-api": "^1.
|
|
98
|
-
"@backstage/dev-utils": "^1.
|
|
99
|
+
"@backstage/cli": "^0.28.0",
|
|
100
|
+
"@backstage/core-app-api": "^1.15.1",
|
|
101
|
+
"@backstage/dev-utils": "^1.1.2",
|
|
99
102
|
"@backstage/e2e-test-utils": "^0.1.1",
|
|
100
|
-
"@backstage/frontend-test-utils": "^0.1
|
|
101
|
-
"@backstage/test-utils": "^1.
|
|
103
|
+
"@backstage/frontend-test-utils": "^0.2.1",
|
|
104
|
+
"@backstage/test-utils": "^1.7.0",
|
|
102
105
|
"@graphql-codegen/cli": "^5.0.0",
|
|
103
106
|
"@graphql-codegen/typescript": "^4.0.0",
|
|
104
107
|
"@graphql-codegen/typescript-graphql-request": "^6.0.0",
|
|
105
108
|
"@graphql-codegen/typescript-operations": "^4.0.0",
|
|
106
109
|
"@playwright/test": "^1.32.3",
|
|
107
|
-
"@sp4b-dev/test-utils": "^0.0.
|
|
108
|
-
"@spotify/backstage-plugin-core-common": "^0.6.
|
|
109
|
-
"@spotify/backstage-plugin-soundcheck-node": "^0.8.
|
|
110
|
+
"@sp4b-dev/test-utils": "^0.0.8",
|
|
111
|
+
"@spotify/backstage-plugin-core-common": "^0.6.2",
|
|
112
|
+
"@spotify/backstage-plugin-soundcheck-node": "^0.8.3",
|
|
110
113
|
"@testing-library/jest-dom": "^6.0.0",
|
|
111
114
|
"@testing-library/react": "^14.0.0",
|
|
112
115
|
"@testing-library/user-event": "^14.0.0",
|
|
116
|
+
"@types/git-url-parse": "^9.0.0",
|
|
113
117
|
"@types/jest": "^29.4.0",
|
|
114
118
|
"@types/luxon": "^3.0.1",
|
|
115
119
|
"@types/node": "^20.0.0",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{useMemo as u}from"react";import"@backstage/catalog-model";import"@backstage/core-plugin-api";import"@tanstack/react-query";import"../../api.esm.js";import"../../hooks/graphqlKeys.esm.js";import{useAllGroups as f}from"../../hooks/groups/useAllGroups.esm.js";import{useUsersGroupClaims as l}from"../../hooks/groups/useUsersGroupClaims.esm.js";import"../../hooks/useSoundcheckAlert.esm.js";import"../../hooks/useConfirmationModal.esm.js";import"react-router-dom";const c=()=>{const{data:s,isLoading:i,isError:p}=l(),{data:t,isLoading:m,isError:a}=f();return{options:u(()=>{const o=new Map;return s&&s.forEach(({name:e,ref:r,type:n})=>{o.set(`${r}`,{name:e,ref:r,type:n,key:"My Groups"})}),t&&t.forEach(({name:e,ref:r})=>{o.has(`${r}`)||o.set(`${r}`,{name:e,ref:r,key:"All Groups"})}),[...o.values()]},[s,t]),isLoading:i||m,isError:p||a}};export{c as useOptions};
|
|
2
|
-
//# sourceMappingURL=useOptions.esm.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{makeStyles as b,Tabs as k,Tab as $}from"@material-ui/core";import r,{useCallback as v,useEffect as T,useMemo as h}from"react";import{RefetchingIndicator as x}from"../RefetchingIndicator/RefetchingIndicator.esm.js";const E=b(p=>({root:{borderTop:`1px solid ${p.palette.divider}`,borderBottom:`1px solid ${p.palette.divider}`},tab:{textTransform:"uppercase",paddingTop:p.spacing(2),paddingBottom:p.spacing(2)}})),C=({unfilteredFacets:p,onChange:o,kind:s,type:a})=>{const u=E(),n={types:p?.types.filter(({count:e})=>e>0)??[]},f=v((e,t)=>{o(n?.types[t].kind??"",n?.types[t].type)},[n?.types,o]);T(()=>{const e=n?.types&&n.types.length>=0,t=!s&&e,i=s&&e&&!n?.types.find(({kind:y,type:m})=>s===y&&(!a&&!m||a===m));(t||i)&&o(n?.types[0]?.kind??"",n?.types[0]?.type,!0)},[s,a,n?.types,o]);const l=h(()=>n?.types.reduce((e,t)=>(t.type&&(e[t.type]=e[t.type]?e[t.type]+1:1),e),{}),[n?.types]),g=e=>e?!!l[e]&&l[e]>1:!1,d=n?.types.map(({kind:e,type:t,count:i})=>{const y=`${e}|${t??""}`;return{key:y,label:`${g(t)?`${e} - ${t}`:t??e} (${i>50?"50+":i})`,id:y,className:u.tab}})??[];if(!d.length)return null;const c=n?.types.findIndex(e=>e.kind===s&&(!e.type&&!a||e.type===a))??-1;return r.createElement(r.Fragment,null,r.createElement(x,null),r.createElement(k,{onChange:f,indicatorColor:"primary",variant:"scrollable",value:c>-1?c:!1},d.map(e=>r.createElement($,{...e}))))};export{C as OverviewTabs};
|
|
2
|
-
//# sourceMappingURL=OverviewTabs.esm.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{HeaderTabs as r}from"@backstage/core-components";import o from"react";const n=e=>({key:`skeleton${e}`,label:"",id:`skeleton${e}`}),s=()=>{const e=Array.from({length:4},(a,t)=>n(t));return o.createElement(r,{tabs:e})};export{s as OverviewTabsSkeleton};
|
|
2
|
-
//# sourceMappingURL=OverviewTabsSkeleton.esm.js.map
|