@northern.tech/store 0.32.0 → 0.33.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/dist/actions.d.cts +3 -1
- package/dist/actions.d.ts +3 -1
- package/dist/appSlice/selectors.d.cts +2 -2
- package/dist/appSlice/selectors.d.ts +2 -2
- package/dist/appSlice/thunks.d.cts +1 -1
- package/dist/appSlice/thunks.d.ts +1 -1
- package/dist/commonSelectors.d.cts +2 -2
- package/dist/commonSelectors.d.ts +2 -2
- package/dist/deploymentsSlice/selectors.d.cts +2 -2
- package/dist/deploymentsSlice/selectors.d.ts +2 -2
- package/dist/deploymentsSlice/thunks.d.cts +1 -1
- package/dist/deploymentsSlice/thunks.d.ts +1 -1
- package/dist/devicesSlice/selectors.d.cts +2 -2
- package/dist/devicesSlice/selectors.d.ts +2 -2
- package/dist/devicesSlice/thunks.d.cts +1 -1
- package/dist/devicesSlice/thunks.d.ts +1 -1
- package/dist/{index-C-q632wO.d.cts → index-SwHfGav1.d.cts} +20 -4
- package/dist/{index-CyokFK2e.d.ts → index-uxdvFzzE.d.ts} +20 -4
- package/dist/monitorSlice/selectors.d.cts +1 -1
- package/dist/monitorSlice/selectors.d.ts +1 -1
- package/dist/monitorSlice/thunks.d.cts +1 -1
- package/dist/monitorSlice/thunks.d.ts +1 -1
- package/dist/onboardingSlice/selectors.d.cts +1 -1
- package/dist/onboardingSlice/selectors.d.ts +1 -1
- package/dist/onboardingSlice/thunks.d.cts +1 -1
- package/dist/onboardingSlice/thunks.d.ts +1 -1
- package/dist/organizationSlice/selectors.d.cts +2 -2
- package/dist/organizationSlice/selectors.d.ts +2 -2
- package/dist/organizationSlice/thunks.d.cts +1 -1
- package/dist/organizationSlice/thunks.d.ts +1 -1
- package/dist/releasesSlice/index.cjs +19 -0
- package/dist/releasesSlice/index.cjs.map +1 -1
- package/dist/releasesSlice/index.d.cts +2 -2
- package/dist/releasesSlice/index.d.ts +2 -2
- package/dist/releasesSlice/index.js +19 -0
- package/dist/releasesSlice/index.js.map +1 -1
- package/dist/releasesSlice/mocks.cjs +28 -0
- package/dist/releasesSlice/mocks.cjs.map +1 -1
- package/dist/releasesSlice/mocks.d.cts +29 -0
- package/dist/releasesSlice/mocks.d.ts +29 -0
- package/dist/releasesSlice/mocks.js +28 -0
- package/dist/releasesSlice/mocks.js.map +1 -1
- package/dist/releasesSlice/selectors.cjs +17 -2
- package/dist/releasesSlice/selectors.cjs.map +1 -1
- package/dist/releasesSlice/selectors.d.cts +74 -12
- package/dist/releasesSlice/selectors.d.ts +74 -12
- package/dist/releasesSlice/selectors.js +14 -3
- package/dist/releasesSlice/selectors.js.map +1 -1
- package/dist/releasesSlice/thunks.cjs +93 -18
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.d.cts +40 -5
- package/dist/releasesSlice/thunks.d.ts +40 -5
- package/dist/releasesSlice/thunks.js +93 -21
- package/dist/releasesSlice/thunks.js.map +1 -1
- package/dist/selectors.cjs +4 -0
- package/dist/selectors.d.cts +2 -2
- package/dist/selectors.d.ts +2 -2
- package/dist/selectors.js +2 -2
- package/dist/{store-b5cF2WB5.d.cts → store-BC3rDsIH.d.cts} +2 -2
- package/dist/{store-D-xvZXiY.d.ts → store-BjVukDvt.d.ts} +2 -2
- package/dist/store.d.cts +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/storehooks.d.cts +1 -1
- package/dist/storehooks.d.ts +1 -1
- package/dist/thunks.cjs +3 -0
- package/dist/thunks.d.cts +2 -2
- package/dist/thunks.d.ts +2 -2
- package/dist/thunks.js +2 -2
- package/dist/usersSlice/selectors.d.cts +2 -2
- package/dist/usersSlice/selectors.d.ts +2 -2
- package/dist/usersSlice/thunks.d.cts +1 -1
- package/dist/usersSlice/thunks.d.ts +1 -1
- package/package.json +2 -2
package/dist/actions.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { lt as AlertChannelKey, mt as DeviceAuthState } from "./constants-BrGIx40B.cjs";
|
|
2
2
|
import { i as ReadState } from "./constants-G3wymKIl.cjs";
|
|
3
3
|
import { a as UserSettings, i as UserSession, n as GlobalSettings, r as User, t as CustomColumn } from "./index-BFlHWzjv.cjs";
|
|
4
|
-
import { n as ManifestsList, r as Release } from "./index-
|
|
4
|
+
import { n as ManifestsList, r as Release, s as SoftwareList } from "./index-SwHfGav1.cjs";
|
|
5
5
|
import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "./types-COdPU2QQ.cjs";
|
|
6
6
|
import { n as OnboardingSliceType, t as OnboardingApproach } from "./index-UPc3wvVd.cjs";
|
|
7
7
|
import { i as DeploymentConfig, l as SelectionState, r as DeploymentByStatusKey, t as Deployment } from "./index-BP0uAq36.cjs";
|
|
@@ -59,6 +59,8 @@ declare const _default: {
|
|
|
59
59
|
removeManifests: _$_reduxjs_toolkit0.ActionCreatorWithPayload<string[], "releases/removeManifests">;
|
|
60
60
|
selectedManifest: _$_reduxjs_toolkit0.ActionCreatorWithPayload<string | null, "releases/selectedManifest">;
|
|
61
61
|
setManifestsListState: _$_reduxjs_toolkit0.ActionCreatorWithPayload<ManifestsList, "releases/setManifestsListState">;
|
|
62
|
+
receiveSoftwareItems: _$_reduxjs_toolkit0.ActionCreatorWithPayload<Record<string, _$_northern_tech_types_types_gen0.Software>, "releases/receiveSoftwareItems">;
|
|
63
|
+
setSoftwareListState: _$_reduxjs_toolkit0.ActionCreatorWithPayload<SoftwareList, "releases/setSoftwareListState">;
|
|
62
64
|
receiveAuditLogs: _$_reduxjs_toolkit0.ActionCreatorWithPayload<{
|
|
63
65
|
events: _$_northern_tech_types_types_gen0.AuditLog[];
|
|
64
66
|
total: number;
|
package/dist/actions.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { lt as AlertChannelKey, mt as DeviceAuthState } from "./constants-CjO3_FOH.js";
|
|
2
2
|
import { i as ReadState } from "./constants-Cpgyuy_r.js";
|
|
3
3
|
import { a as UserSettings, i as UserSession, n as GlobalSettings, r as User, t as CustomColumn } from "./index-ez3oxfRo.js";
|
|
4
|
-
import { n as ManifestsList, r as Release } from "./index-
|
|
4
|
+
import { n as ManifestsList, r as Release, s as SoftwareList } from "./index-uxdvFzzE.js";
|
|
5
5
|
import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "./types-BPyM8Inu.js";
|
|
6
6
|
import { n as OnboardingSliceType, t as OnboardingApproach } from "./index-CJkrL0oA.js";
|
|
7
7
|
import { i as DeploymentConfig, l as SelectionState, r as DeploymentByStatusKey, t as Deployment } from "./index-CkwVnIqd.js";
|
|
@@ -59,6 +59,8 @@ declare const _default: {
|
|
|
59
59
|
removeManifests: _$_reduxjs_toolkit0.ActionCreatorWithPayload<string[], "releases/removeManifests">;
|
|
60
60
|
selectedManifest: _$_reduxjs_toolkit0.ActionCreatorWithPayload<string | null, "releases/selectedManifest">;
|
|
61
61
|
setManifestsListState: _$_reduxjs_toolkit0.ActionCreatorWithPayload<ManifestsList, "releases/setManifestsListState">;
|
|
62
|
+
receiveSoftwareItems: _$_reduxjs_toolkit0.ActionCreatorWithPayload<Record<string, _$_northern_tech_types_types_gen0.Software>, "releases/receiveSoftwareItems">;
|
|
63
|
+
setSoftwareListState: _$_reduxjs_toolkit0.ActionCreatorWithPayload<SoftwareList, "releases/setSoftwareListState">;
|
|
62
64
|
receiveAuditLogs: _$_reduxjs_toolkit0.ActionCreatorWithPayload<{
|
|
63
65
|
events: _$_northern_tech_types_types_gen0.AuditLog[];
|
|
64
66
|
total: number;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { o as UserSliceType } from "../index-BFlHWzjv.cjs";
|
|
2
|
-
import { i as ReleaseSliceType } from "../index-
|
|
2
|
+
import { i as ReleaseSliceType } from "../index-SwHfGav1.cjs";
|
|
3
3
|
import { n as OnboardingSliceType } from "../index-UPc3wvVd.cjs";
|
|
4
4
|
import { o as DeploymentsSliceType } from "../index-BP0uAq36.cjs";
|
|
5
5
|
import { s as DeviceSliceType } from "../index-B64X5ozM.cjs";
|
|
6
6
|
import { a as SearchState, l as Upload, o as SentryConfig, s as SnackbarContent, t as AppSliceType } from "../index-DwACbyUg.cjs";
|
|
7
7
|
import { t as MonitorSliceType } from "../index-CT5hgXm9.cjs";
|
|
8
8
|
import { t as OrganizationSliceType } from "../index-BbaS7MzW.cjs";
|
|
9
|
-
import { r as RootState } from "../store-
|
|
9
|
+
import { r as RootState } from "../store-BC3rDsIH.cjs";
|
|
10
10
|
import * as _$reselect from "reselect";
|
|
11
11
|
|
|
12
12
|
//#region src/appSlice/selectors.d.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { o as UserSliceType } from "../index-ez3oxfRo.js";
|
|
2
|
-
import { i as ReleaseSliceType } from "../index-
|
|
2
|
+
import { i as ReleaseSliceType } from "../index-uxdvFzzE.js";
|
|
3
3
|
import { n as OnboardingSliceType } from "../index-CJkrL0oA.js";
|
|
4
4
|
import { o as DeploymentsSliceType } from "../index-CkwVnIqd.js";
|
|
5
5
|
import { s as DeviceSliceType } from "../index-BI9O8JWe.js";
|
|
6
6
|
import { a as SearchState, l as Upload, o as SentryConfig, s as SnackbarContent, t as AppSliceType } from "../index-Bp1WpATs.js";
|
|
7
7
|
import { t as MonitorSliceType } from "../index-DUvrw_Ed.js";
|
|
8
8
|
import { t as OrganizationSliceType } from "../index-C6wNUfiV.js";
|
|
9
|
-
import { r as RootState } from "../store-
|
|
9
|
+
import { r as RootState } from "../store-BjVukDvt.js";
|
|
10
10
|
import * as _$reselect from "reselect";
|
|
11
11
|
|
|
12
12
|
//#region src/appSlice/selectors.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as SearchState } from "../index-DwACbyUg.cjs";
|
|
2
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
2
|
+
import { r as RootState, t as AppDispatch } from "../store-BC3rDsIH.cjs";
|
|
3
3
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
4
4
|
|
|
5
5
|
//#region src/appSlice/thunks.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as SearchState } from "../index-Bp1WpATs.js";
|
|
2
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
2
|
+
import { r as RootState, t as AppDispatch } from "../store-BjVukDvt.js";
|
|
3
3
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
4
4
|
|
|
5
5
|
//#region src/appSlice/thunks.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as AvailablePlans } from "./constants-BFTS6mge.cjs";
|
|
2
2
|
import { S as Role } from "./constants-BrGIx40B.cjs";
|
|
3
3
|
import { a as UserSettings, n as GlobalSettings, o as UserSliceType, r as User } from "./index-BFlHWzjv.cjs";
|
|
4
|
-
import { i as ReleaseSliceType, r as Release } from "./index-
|
|
4
|
+
import { i as ReleaseSliceType, r as Release } from "./index-SwHfGav1.cjs";
|
|
5
5
|
import { i as Organization, n as AuditLogSelectionState } from "./types-COdPU2QQ.cjs";
|
|
6
6
|
import { n as OnboardingSliceType, t as OnboardingApproach } from "./index-UPc3wvVd.cjs";
|
|
7
7
|
import { l as SelectionState, o as DeploymentsSliceType, s as DeviceDeployment, t as Deployment } from "./index-BP0uAq36.cjs";
|
|
@@ -9,7 +9,7 @@ import { c as InventoryAttributes, r as DeviceGroup, s as DeviceSliceType, t as
|
|
|
9
9
|
import { t as AppSliceType } from "./index-DwACbyUg.cjs";
|
|
10
10
|
import { t as MonitorSliceType } from "./index-CT5hgXm9.cjs";
|
|
11
11
|
import { t as OrganizationSliceType } from "./index-BbaS7MzW.cjs";
|
|
12
|
-
import { r as RootState } from "./store-
|
|
12
|
+
import { r as RootState } from "./store-BC3rDsIH.cjs";
|
|
13
13
|
import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
|
|
14
14
|
import { AuditLog } from "@northern.tech/types/types.gen";
|
|
15
15
|
import * as _$reselect from "reselect";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as AvailablePlans } from "./constants-BIIEMVoG.js";
|
|
2
2
|
import { S as Role } from "./constants-CjO3_FOH.js";
|
|
3
3
|
import { a as UserSettings, n as GlobalSettings, o as UserSliceType, r as User } from "./index-ez3oxfRo.js";
|
|
4
|
-
import { i as ReleaseSliceType, r as Release } from "./index-
|
|
4
|
+
import { i as ReleaseSliceType, r as Release } from "./index-uxdvFzzE.js";
|
|
5
5
|
import { i as Organization, n as AuditLogSelectionState } from "./types-BPyM8Inu.js";
|
|
6
6
|
import { n as OnboardingSliceType, t as OnboardingApproach } from "./index-CJkrL0oA.js";
|
|
7
7
|
import { l as SelectionState, o as DeploymentsSliceType, s as DeviceDeployment, t as Deployment } from "./index-CkwVnIqd.js";
|
|
@@ -9,7 +9,7 @@ import { c as InventoryAttributes, r as DeviceGroup, s as DeviceSliceType, t as
|
|
|
9
9
|
import { t as AppSliceType } from "./index-Bp1WpATs.js";
|
|
10
10
|
import { t as MonitorSliceType } from "./index-DUvrw_Ed.js";
|
|
11
11
|
import { t as OrganizationSliceType } from "./index-C6wNUfiV.js";
|
|
12
|
-
import { r as RootState } from "./store-
|
|
12
|
+
import { r as RootState } from "./store-BjVukDvt.js";
|
|
13
13
|
import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
|
|
14
14
|
import { AuditLog } from "@northern.tech/types/types.gen";
|
|
15
15
|
import * as _$reselect from "reselect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { o as UserSliceType } from "../index-BFlHWzjv.cjs";
|
|
2
|
-
import { i as ReleaseSliceType } from "../index-
|
|
2
|
+
import { i as ReleaseSliceType } from "../index-SwHfGav1.cjs";
|
|
3
3
|
import { n as OnboardingSliceType } from "../index-UPc3wvVd.cjs";
|
|
4
4
|
import { l as SelectionState, n as DeploymentByStatus, o as DeploymentsSliceType, t as Deployment } from "../index-BP0uAq36.cjs";
|
|
5
5
|
import { s as DeviceSliceType } from "../index-B64X5ozM.cjs";
|
|
6
6
|
import { t as AppSliceType } from "../index-DwACbyUg.cjs";
|
|
7
7
|
import { t as MonitorSliceType } from "../index-CT5hgXm9.cjs";
|
|
8
8
|
import { t as OrganizationSliceType } from "../index-BbaS7MzW.cjs";
|
|
9
|
-
import { r as RootState } from "../store-
|
|
9
|
+
import { r as RootState } from "../store-BC3rDsIH.cjs";
|
|
10
10
|
import * as _$reselect from "reselect";
|
|
11
11
|
|
|
12
12
|
//#region src/deploymentsSlice/selectors.d.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { o as UserSliceType } from "../index-ez3oxfRo.js";
|
|
2
|
-
import { i as ReleaseSliceType } from "../index-
|
|
2
|
+
import { i as ReleaseSliceType } from "../index-uxdvFzzE.js";
|
|
3
3
|
import { n as OnboardingSliceType } from "../index-CJkrL0oA.js";
|
|
4
4
|
import { l as SelectionState, n as DeploymentByStatus, o as DeploymentsSliceType, t as Deployment } from "../index-CkwVnIqd.js";
|
|
5
5
|
import { s as DeviceSliceType } from "../index-BI9O8JWe.js";
|
|
6
6
|
import { t as AppSliceType } from "../index-Bp1WpATs.js";
|
|
7
7
|
import { t as MonitorSliceType } from "../index-DUvrw_Ed.js";
|
|
8
8
|
import { t as OrganizationSliceType } from "../index-C6wNUfiV.js";
|
|
9
|
-
import { r as RootState } from "../store-
|
|
9
|
+
import { r as RootState } from "../store-BjVukDvt.js";
|
|
10
10
|
import * as _$reselect from "reselect";
|
|
11
11
|
|
|
12
12
|
//#region src/deploymentsSlice/selectors.d.ts
|
|
@@ -2,7 +2,7 @@ import { T as SortOptions } from "../constants-BrGIx40B.cjs";
|
|
|
2
2
|
import { c as SelectionListState, i as DeploymentConfig, l as SelectionState, r as DeploymentByStatusKey, t as Deployment } from "../index-BP0uAq36.cjs";
|
|
3
3
|
import { t as Device$1 } from "../index-B64X5ozM.cjs";
|
|
4
4
|
import { s as SnackbarContent } from "../index-DwACbyUg.cjs";
|
|
5
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
5
|
+
import { r as RootState, t as AppDispatch } from "../store-BC3rDsIH.cjs";
|
|
6
6
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
7
7
|
import { DeploymentV1, NewDeploymentForGroup, NewDeploymentTypeManagement, NewDeploymentV2TypeManagement } from "@northern.tech/types/MenderTypes";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { T as SortOptions } from "../constants-CjO3_FOH.js";
|
|
|
2
2
|
import { c as SelectionListState, i as DeploymentConfig, l as SelectionState, r as DeploymentByStatusKey, t as Deployment } from "../index-CkwVnIqd.js";
|
|
3
3
|
import { t as Device$1 } from "../index-BI9O8JWe.js";
|
|
4
4
|
import { s as SnackbarContent } from "../index-Bp1WpATs.js";
|
|
5
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
5
|
+
import { r as RootState, t as AppDispatch } from "../store-BjVukDvt.js";
|
|
6
6
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
7
7
|
import { DeploymentV1, NewDeploymentForGroup, NewDeploymentTypeManagement, NewDeploymentV2TypeManagement } from "@northern.tech/types/MenderTypes";
|
|
8
8
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { o as UserSliceType } from "../index-BFlHWzjv.cjs";
|
|
2
|
-
import { i as ReleaseSliceType } from "../index-
|
|
2
|
+
import { i as ReleaseSliceType } from "../index-SwHfGav1.cjs";
|
|
3
3
|
import { n as OnboardingSliceType } from "../index-UPc3wvVd.cjs";
|
|
4
4
|
import { o as DeploymentsSliceType } from "../index-BP0uAq36.cjs";
|
|
5
5
|
import { a as DeviceListState, n as DeviceFilter, r as DeviceGroup, s as DeviceSliceType, t as Device } from "../index-B64X5ozM.cjs";
|
|
6
6
|
import { t as AppSliceType } from "../index-DwACbyUg.cjs";
|
|
7
7
|
import { t as MonitorSliceType } from "../index-CT5hgXm9.cjs";
|
|
8
8
|
import { t as OrganizationSliceType } from "../index-BbaS7MzW.cjs";
|
|
9
|
-
import { r as RootState } from "../store-
|
|
9
|
+
import { r as RootState } from "../store-BC3rDsIH.cjs";
|
|
10
10
|
import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
|
|
11
11
|
import * as _$reselect from "reselect";
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { o as UserSliceType } from "../index-ez3oxfRo.js";
|
|
2
|
-
import { i as ReleaseSliceType } from "../index-
|
|
2
|
+
import { i as ReleaseSliceType } from "../index-uxdvFzzE.js";
|
|
3
3
|
import { n as OnboardingSliceType } from "../index-CJkrL0oA.js";
|
|
4
4
|
import { o as DeploymentsSliceType } from "../index-CkwVnIqd.js";
|
|
5
5
|
import { a as DeviceListState, n as DeviceFilter, r as DeviceGroup, s as DeviceSliceType, t as Device } from "../index-BI9O8JWe.js";
|
|
6
6
|
import { t as AppSliceType } from "../index-Bp1WpATs.js";
|
|
7
7
|
import { t as MonitorSliceType } from "../index-DUvrw_Ed.js";
|
|
8
8
|
import { t as OrganizationSliceType } from "../index-C6wNUfiV.js";
|
|
9
|
-
import { r as RootState } from "../store-
|
|
9
|
+
import { r as RootState } from "../store-BjVukDvt.js";
|
|
10
10
|
import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
|
|
11
11
|
import * as _$reselect from "reselect";
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as DeviceIssueOptionKey, mt as DeviceAuthState } from "../constants-BrGIx40B.cjs";
|
|
2
2
|
import { a as DeviceListState, n as DeviceFilter, o as DeviceSelectedAttribute, r as DeviceGroup, t as Device$1 } from "../index-B64X5ozM.cjs";
|
|
3
3
|
import { a as SearchState, s as SnackbarContent } from "../index-DwACbyUg.cjs";
|
|
4
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
4
|
+
import { r as RootState, t as AppDispatch } from "../store-BC3rDsIH.cjs";
|
|
5
5
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
6
6
|
import { ConnectionState, Device, DeviceConfiguration, DeviceInventory, DeviceTierLimits, DeviceWithImage, Filter, Integration, ManagementApiConfiguration, NewConfigurationDeployment, PreAuthSet, SortCriteria, Status } from "@northern.tech/types/MenderTypes";
|
|
7
7
|
import * as _$axios from "axios";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as DeviceIssueOptionKey, mt as DeviceAuthState } from "../constants-CjO3_FOH.js";
|
|
2
2
|
import { a as DeviceListState, n as DeviceFilter, o as DeviceSelectedAttribute, r as DeviceGroup, t as Device$1 } from "../index-BI9O8JWe.js";
|
|
3
3
|
import { a as SearchState, s as SnackbarContent } from "../index-Bp1WpATs.js";
|
|
4
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
4
|
+
import { r as RootState, t as AppDispatch } from "../store-BjVukDvt.js";
|
|
5
5
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
6
6
|
import * as _$axios from "axios";
|
|
7
7
|
import { ConnectionState, Device, DeviceConfiguration, DeviceInventory, DeviceTierLimits, DeviceWithImage, Filter, Integration, ManagementApiConfiguration, NewConfigurationDeployment, PreAuthSet, SortCriteria, Status } from "@northern.tech/types/MenderTypes";
|
|
@@ -3,7 +3,7 @@ import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
|
3
3
|
import { PayloadAction } from "@reduxjs/toolkit";
|
|
4
4
|
import * as _$immer from "immer";
|
|
5
5
|
import * as _$redux from "redux";
|
|
6
|
-
import { ArtifactV1, ArtifactV2, DeltaJobDetailsItem, DeltaJobsListItem, Manifest, ReleaseV1, ReleaseV2, Tags, Update } from "@northern.tech/types/MenderTypes";
|
|
6
|
+
import { ArtifactV1, ArtifactV2, DeltaJobDetailsItem, DeltaJobsListItem, Manifest, ReleaseV1, ReleaseV2, Software, Tags, Update } from "@northern.tech/types/MenderTypes";
|
|
7
7
|
|
|
8
8
|
//#region src/releasesSlice/index.d.ts
|
|
9
9
|
type Update$1 = Omit<Update, 'meta_data'>;
|
|
@@ -17,7 +17,7 @@ type Release = ReleaseV1 & ReleaseV2 & {
|
|
|
17
17
|
device_types_compatible: string[];
|
|
18
18
|
name: string;
|
|
19
19
|
};
|
|
20
|
-
type SoftwareKind = '
|
|
20
|
+
type SoftwareKind = Software['kind'];
|
|
21
21
|
declare const sliceName = "releases";
|
|
22
22
|
type EnhancedJobDetailsItem = DeltaJobDetailsItem & DeltaJobsListItem;
|
|
23
23
|
type ReleasesList = {
|
|
@@ -46,6 +46,16 @@ type ManifestsList = {
|
|
|
46
46
|
sort?: SortOptions;
|
|
47
47
|
total: number;
|
|
48
48
|
};
|
|
49
|
+
type SoftwareList = {
|
|
50
|
+
isLoading?: boolean;
|
|
51
|
+
page: number;
|
|
52
|
+
perPage: number;
|
|
53
|
+
searchTerm: string;
|
|
54
|
+
searchTotal: number;
|
|
55
|
+
softwareIds: string[];
|
|
56
|
+
sort?: SortOptions;
|
|
57
|
+
total: number;
|
|
58
|
+
};
|
|
49
59
|
type ReleaseSliceType = {
|
|
50
60
|
artifacts: never[];
|
|
51
61
|
byId: Record<string, Release>;
|
|
@@ -63,6 +73,8 @@ type ReleaseSliceType = {
|
|
|
63
73
|
selectedJob: string | null;
|
|
64
74
|
selectedManifest: string | null;
|
|
65
75
|
selectedRelease: string | null;
|
|
76
|
+
softwareById: Record<string, Software>;
|
|
77
|
+
softwareList: SoftwareList;
|
|
66
78
|
tab?: 'releases' | 'delta' | 'manifests';
|
|
67
79
|
tags: Record<'releases' | 'manifests' | 'software', Tags>;
|
|
68
80
|
updateTypes: string[];
|
|
@@ -104,6 +116,8 @@ declare const releaseSlice: _$_reduxjs_toolkit0.Slice<ReleaseSliceType, {
|
|
|
104
116
|
removeManifests: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<string[]>) => void;
|
|
105
117
|
selectedManifest: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<string | null>) => void;
|
|
106
118
|
setManifestsListState: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<ManifestsList>) => void;
|
|
119
|
+
receiveSoftwareItems: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<Record<string, Software>>) => void;
|
|
120
|
+
setSoftwareListState: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<SoftwareList>) => void;
|
|
107
121
|
}, "releases", "releases", _$_reduxjs_toolkit0.SliceSelectors<ReleaseSliceType>>;
|
|
108
122
|
declare const actions: _$_reduxjs_toolkit0.CaseReducerActions<{
|
|
109
123
|
receiveRelease: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<Release>) => void;
|
|
@@ -141,8 +155,10 @@ declare const actions: _$_reduxjs_toolkit0.CaseReducerActions<{
|
|
|
141
155
|
removeManifests: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<string[]>) => void;
|
|
142
156
|
selectedManifest: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<string | null>) => void;
|
|
143
157
|
setManifestsListState: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<ManifestsList>) => void;
|
|
158
|
+
receiveSoftwareItems: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<Record<string, Software>>) => void;
|
|
159
|
+
setSoftwareListState: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<SoftwareList>) => void;
|
|
144
160
|
}, "releases">;
|
|
145
161
|
declare const _default: _$redux.Reducer<ReleaseSliceType>;
|
|
146
162
|
//#endregion
|
|
147
|
-
export { ReleasesList as a,
|
|
148
|
-
//# sourceMappingURL=index-
|
|
163
|
+
export { ReleasesList as a, _default as c, releaseSlice as d, sliceName as f, ReleaseSliceType as i, actions as l, ManifestsList as n, SoftwareKind as o, Release as r, SoftwareList as s, Artifact as t, initialState as u };
|
|
164
|
+
//# sourceMappingURL=index-SwHfGav1.d.cts.map
|
|
@@ -3,7 +3,7 @@ import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
|
3
3
|
import { PayloadAction } from "@reduxjs/toolkit";
|
|
4
4
|
import * as _$immer from "immer";
|
|
5
5
|
import * as _$redux from "redux";
|
|
6
|
-
import { ArtifactV1, ArtifactV2, DeltaJobDetailsItem, DeltaJobsListItem, Manifest, ReleaseV1, ReleaseV2, Tags, Update } from "@northern.tech/types/MenderTypes";
|
|
6
|
+
import { ArtifactV1, ArtifactV2, DeltaJobDetailsItem, DeltaJobsListItem, Manifest, ReleaseV1, ReleaseV2, Software, Tags, Update } from "@northern.tech/types/MenderTypes";
|
|
7
7
|
|
|
8
8
|
//#region src/releasesSlice/index.d.ts
|
|
9
9
|
type Update$1 = Omit<Update, 'meta_data'>;
|
|
@@ -17,7 +17,7 @@ type Release = ReleaseV1 & ReleaseV2 & {
|
|
|
17
17
|
device_types_compatible: string[];
|
|
18
18
|
name: string;
|
|
19
19
|
};
|
|
20
|
-
type SoftwareKind = '
|
|
20
|
+
type SoftwareKind = Software['kind'];
|
|
21
21
|
declare const sliceName = "releases";
|
|
22
22
|
type EnhancedJobDetailsItem = DeltaJobDetailsItem & DeltaJobsListItem;
|
|
23
23
|
type ReleasesList = {
|
|
@@ -46,6 +46,16 @@ type ManifestsList = {
|
|
|
46
46
|
sort?: SortOptions;
|
|
47
47
|
total: number;
|
|
48
48
|
};
|
|
49
|
+
type SoftwareList = {
|
|
50
|
+
isLoading?: boolean;
|
|
51
|
+
page: number;
|
|
52
|
+
perPage: number;
|
|
53
|
+
searchTerm: string;
|
|
54
|
+
searchTotal: number;
|
|
55
|
+
softwareIds: string[];
|
|
56
|
+
sort?: SortOptions;
|
|
57
|
+
total: number;
|
|
58
|
+
};
|
|
49
59
|
type ReleaseSliceType = {
|
|
50
60
|
artifacts: never[];
|
|
51
61
|
byId: Record<string, Release>;
|
|
@@ -63,6 +73,8 @@ type ReleaseSliceType = {
|
|
|
63
73
|
selectedJob: string | null;
|
|
64
74
|
selectedManifest: string | null;
|
|
65
75
|
selectedRelease: string | null;
|
|
76
|
+
softwareById: Record<string, Software>;
|
|
77
|
+
softwareList: SoftwareList;
|
|
66
78
|
tab?: 'releases' | 'delta' | 'manifests';
|
|
67
79
|
tags: Record<'releases' | 'manifests' | 'software', Tags>;
|
|
68
80
|
updateTypes: string[];
|
|
@@ -104,6 +116,8 @@ declare const releaseSlice: _$_reduxjs_toolkit0.Slice<ReleaseSliceType, {
|
|
|
104
116
|
removeManifests: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<string[]>) => void;
|
|
105
117
|
selectedManifest: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<string | null>) => void;
|
|
106
118
|
setManifestsListState: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<ManifestsList>) => void;
|
|
119
|
+
receiveSoftwareItems: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<Record<string, Software>>) => void;
|
|
120
|
+
setSoftwareListState: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<SoftwareList>) => void;
|
|
107
121
|
}, "releases", "releases", _$_reduxjs_toolkit0.SliceSelectors<ReleaseSliceType>>;
|
|
108
122
|
declare const actions: _$_reduxjs_toolkit0.CaseReducerActions<{
|
|
109
123
|
receiveRelease: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<Release>) => void;
|
|
@@ -141,8 +155,10 @@ declare const actions: _$_reduxjs_toolkit0.CaseReducerActions<{
|
|
|
141
155
|
removeManifests: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<string[]>) => void;
|
|
142
156
|
selectedManifest: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<string | null>) => void;
|
|
143
157
|
setManifestsListState: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<ManifestsList>) => void;
|
|
158
|
+
receiveSoftwareItems: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<Record<string, Software>>) => void;
|
|
159
|
+
setSoftwareListState: (state: _$immer.WritableDraft<ReleaseSliceType>, action: PayloadAction<SoftwareList>) => void;
|
|
144
160
|
}, "releases">;
|
|
145
161
|
declare const _default: _$redux.Reducer<ReleaseSliceType>;
|
|
146
162
|
//#endregion
|
|
147
|
-
export { ReleasesList as a,
|
|
148
|
-
//# sourceMappingURL=index-
|
|
163
|
+
export { ReleasesList as a, _default as c, releaseSlice as d, sliceName as f, ReleaseSliceType as i, actions as l, ManifestsList as n, SoftwareKind as o, Release as r, SoftwareList as s, Artifact as t, initialState as u };
|
|
164
|
+
//# sourceMappingURL=index-uxdvFzzE.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { lt as AlertChannelKey, m as DeviceIssueOptionKey } from "../constants-BrGIx40B.cjs";
|
|
2
2
|
import { n as DeviceFilter, t as Device$1 } from "../index-B64X5ozM.cjs";
|
|
3
3
|
import { s as SnackbarContent } from "../index-DwACbyUg.cjs";
|
|
4
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
4
|
+
import { r as RootState, t as AppDispatch } from "../store-BC3rDsIH.cjs";
|
|
5
5
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
6
6
|
import { Alert } from "@northern.tech/types/MenderTypes";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { lt as AlertChannelKey, m as DeviceIssueOptionKey } from "../constants-CjO3_FOH.js";
|
|
2
2
|
import { n as DeviceFilter, t as Device$1 } from "../index-BI9O8JWe.js";
|
|
3
3
|
import { s as SnackbarContent } from "../index-Bp1WpATs.js";
|
|
4
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
4
|
+
import { r as RootState, t as AppDispatch } from "../store-BjVukDvt.js";
|
|
5
5
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
6
6
|
import { Alert } from "@northern.tech/types/MenderTypes";
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as OnboardingSliceType } from "../index-UPc3wvVd.cjs";
|
|
2
|
-
import { r as RootState } from "../store-
|
|
2
|
+
import { r as RootState } from "../store-BC3rDsIH.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/onboardingSlice/selectors.d.ts
|
|
5
5
|
declare const getOnboarding: (state: RootState) => OnboardingSliceType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as OnboardingSliceType } from "../index-CJkrL0oA.js";
|
|
2
|
-
import { r as RootState } from "../store-
|
|
2
|
+
import { r as RootState } from "../store-BjVukDvt.js";
|
|
3
3
|
|
|
4
4
|
//#region src/onboardingSlice/selectors.d.ts
|
|
5
5
|
declare const getOnboarding: (state: RootState) => OnboardingSliceType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as OnboardingStep } from "../constants-DK7fI3Rh.cjs";
|
|
2
2
|
import { a as UserSettings } from "../index-BFlHWzjv.cjs";
|
|
3
3
|
import { n as OnboardingSliceType, t as OnboardingApproach } from "../index-UPc3wvVd.cjs";
|
|
4
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
4
|
+
import { r as RootState, t as AppDispatch } from "../store-BC3rDsIH.cjs";
|
|
5
5
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
6
6
|
|
|
7
7
|
//#region src/onboardingSlice/thunks.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as OnboardingStep } from "../constants-BWEsNG5c.js";
|
|
2
2
|
import { a as UserSettings } from "../index-ez3oxfRo.js";
|
|
3
3
|
import { n as OnboardingSliceType, t as OnboardingApproach } from "../index-CJkrL0oA.js";
|
|
4
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
4
|
+
import { r as RootState, t as AppDispatch } from "../store-BjVukDvt.js";
|
|
5
5
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
6
6
|
|
|
7
7
|
//#region src/onboardingSlice/thunks.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as UserSliceType } from "../index-BFlHWzjv.cjs";
|
|
2
|
-
import { i as ReleaseSliceType } from "../index-
|
|
2
|
+
import { i as ReleaseSliceType } from "../index-SwHfGav1.cjs";
|
|
3
3
|
import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card, u as Tenant } from "../types-COdPU2QQ.cjs";
|
|
4
4
|
import { n as OnboardingSliceType } from "../index-UPc3wvVd.cjs";
|
|
5
5
|
import { o as DeploymentsSliceType } from "../index-BP0uAq36.cjs";
|
|
@@ -7,7 +7,7 @@ import { s as DeviceSliceType } from "../index-B64X5ozM.cjs";
|
|
|
7
7
|
import { t as AppSliceType } from "../index-DwACbyUg.cjs";
|
|
8
8
|
import { t as MonitorSliceType } from "../index-CT5hgXm9.cjs";
|
|
9
9
|
import { t as OrganizationSliceType } from "../index-BbaS7MzW.cjs";
|
|
10
|
-
import { r as RootState } from "../store-
|
|
10
|
+
import { r as RootState } from "../store-BC3rDsIH.cjs";
|
|
11
11
|
import * as _$_northern_tech_utils_constants0 from "@northern.tech/utils/constants";
|
|
12
12
|
import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
|
|
13
13
|
import * as _$reselect from "reselect";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as UserSliceType } from "../index-ez3oxfRo.js";
|
|
2
|
-
import { i as ReleaseSliceType } from "../index-
|
|
2
|
+
import { i as ReleaseSliceType } from "../index-uxdvFzzE.js";
|
|
3
3
|
import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card, u as Tenant } from "../types-BPyM8Inu.js";
|
|
4
4
|
import { n as OnboardingSliceType } from "../index-CJkrL0oA.js";
|
|
5
5
|
import { o as DeploymentsSliceType } from "../index-CkwVnIqd.js";
|
|
@@ -7,7 +7,7 @@ import { s as DeviceSliceType } from "../index-BI9O8JWe.js";
|
|
|
7
7
|
import { t as AppSliceType } from "../index-Bp1WpATs.js";
|
|
8
8
|
import { t as MonitorSliceType } from "../index-DUvrw_Ed.js";
|
|
9
9
|
import { t as OrganizationSliceType } from "../index-C6wNUfiV.js";
|
|
10
|
-
import { r as RootState } from "../store-
|
|
10
|
+
import { r as RootState } from "../store-BjVukDvt.js";
|
|
11
11
|
import * as _$_northern_tech_utils_constants0 from "@northern.tech/utils/constants";
|
|
12
12
|
import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
|
|
13
13
|
import * as _$reselect from "reselect";
|
|
@@ -3,7 +3,7 @@ import { T as SortOptions, g as PaginationOptions } from "../constants-BrGIx40B.
|
|
|
3
3
|
import { n as ContentType } from "../constants-CNhpIMME.cjs";
|
|
4
4
|
import { d as TenantList, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "../types-COdPU2QQ.cjs";
|
|
5
5
|
import { s as SnackbarContent } from "../index-DwACbyUg.cjs";
|
|
6
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
6
|
+
import { r as RootState, t as AppDispatch } from "../store-BC3rDsIH.cjs";
|
|
7
7
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
8
8
|
import * as _$redux from "redux";
|
|
9
9
|
import { BillingProfile, Integration, NewTenantTypeManagement, PreviewRequest, Product, ProductInfo, Subscription, SupportRequest, UpdateChildTenant } from "@northern.tech/types/MenderTypes";
|
|
@@ -3,7 +3,7 @@ import { T as SortOptions, g as PaginationOptions } from "../constants-CjO3_FOH.
|
|
|
3
3
|
import { n as ContentType } from "../constants-y2XVLQWf.js";
|
|
4
4
|
import { d as TenantList, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "../types-BPyM8Inu.js";
|
|
5
5
|
import { s as SnackbarContent } from "../index-Bp1WpATs.js";
|
|
6
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
6
|
+
import { r as RootState, t as AppDispatch } from "../store-BjVukDvt.js";
|
|
7
7
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
8
8
|
import * as _$redux from "redux";
|
|
9
9
|
import { BillingProfile, Integration, NewTenantTypeManagement, PreviewRequest, Product, ProductInfo, Subscription, SupportRequest, UpdateChildTenant } from "@northern.tech/types/MenderTypes";
|
|
@@ -50,6 +50,19 @@ const initialState = {
|
|
|
50
50
|
searchTotal: 0,
|
|
51
51
|
total: 0
|
|
52
52
|
},
|
|
53
|
+
softwareById: {},
|
|
54
|
+
softwareList: {
|
|
55
|
+
..._northern_tech_utils_constants.DEVICE_LIST_DEFAULTS,
|
|
56
|
+
softwareIds: [],
|
|
57
|
+
sort: {
|
|
58
|
+
direction: _northern_tech_utils_constants.SORTING_OPTIONS.desc,
|
|
59
|
+
key: "modified"
|
|
60
|
+
},
|
|
61
|
+
isLoading: void 0,
|
|
62
|
+
searchTerm: "",
|
|
63
|
+
searchTotal: 0,
|
|
64
|
+
total: 0
|
|
65
|
+
},
|
|
53
66
|
tab: "releases",
|
|
54
67
|
tags: {
|
|
55
68
|
manifests: [],
|
|
@@ -157,6 +170,12 @@ const releaseSlice = (0, _reduxjs_toolkit.createSlice)({
|
|
|
157
170
|
},
|
|
158
171
|
setManifestsListState: (state, action) => {
|
|
159
172
|
state.manifestsList = action.payload;
|
|
173
|
+
},
|
|
174
|
+
receiveSoftwareItems: (state, action) => {
|
|
175
|
+
state.softwareById = action.payload;
|
|
176
|
+
},
|
|
177
|
+
setSoftwareListState: (state, action) => {
|
|
178
|
+
state.softwareList = action.payload;
|
|
160
179
|
}
|
|
161
180
|
}
|
|
162
181
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["DEVICE_LIST_DEFAULTS","SORTING_OPTIONS"],"sources":["../../src/releasesSlice/index.ts"],"sourcesContent":["// Copyright 2023 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport type {\n ArtifactV1 as BackendArtifactV1,\n ArtifactV2 as BackendArtifactV2,\n ReleaseV1 as BackendReleaseV1,\n ReleaseV2 as BackendReleaseV2,\n Update as BackendUpdate,\n DeltaJobDetailsItem,\n DeltaJobsListItem,\n Manifest,\n Tags\n} from '@northern.tech/types/MenderTypes';\nimport type { PayloadAction } from '@reduxjs/toolkit';\nimport { createSlice } from '@reduxjs/toolkit';\n\nimport { DEVICE_LIST_DEFAULTS, SORTING_OPTIONS } from '../constants';\nimport type { SortOptions } from '../constants';\n\ntype Update = Omit<BackendUpdate, 'meta_data'>;\nexport type Artifact = Omit<BackendArtifactV1, 'updates'> &\n Omit<BackendArtifactV2, 'updates'> & { installCount?: number; updates?: Array<Update>; url?: string };\nexport type Release = BackendReleaseV1 & BackendReleaseV2 & { artifacts: Artifact[]; device_types_compatible: string[]; name: string };\n\nexport type SoftwareKind = 'release' | 'manifest';\n\nexport const sliceName = 'releases';\n\ntype EnhancedJobDetailsItem = DeltaJobDetailsItem & DeltaJobsListItem;\n\nexport type ReleasesList = {\n isLoading?: boolean;\n page: number;\n perPage: number;\n releaseIds: string[];\n searchedIds: string[];\n searchOnly?: boolean;\n searchTerm: string;\n searchTotal: number;\n selectedTags: string[];\n selection: number[];\n sort?: SortOptions;\n total: number;\n type: string;\n};\n\nexport type ManifestsList = {\n isLoading?: boolean;\n manifestIds: string[];\n page: number;\n perPage: number;\n searchTerm: string;\n searchTotal: number;\n selection: number[];\n sort?: SortOptions;\n total: number;\n};\n\nexport type ReleaseSliceType = {\n artifacts: never[];\n byId: Record<string, Release>;\n deltaJobs: Record<string, EnhancedJobDetailsItem>;\n deltaJobsList: {\n jobIds: string[];\n page: number;\n perPage: number;\n sort?: SortOptions;\n total: 0;\n };\n manifestsById: Record<string, Manifest>;\n manifestsList: ManifestsList;\n releasesList: ReleasesList;\n selectedJob: string | null;\n selectedManifest: string | null;\n selectedRelease: string | null;\n tab?: 'releases' | 'delta' | 'manifests';\n tags: Record<'releases' | 'manifests' | 'software', Tags>;\n updateTypes: string[];\n};\n\nexport const initialState: ReleaseSliceType = {\n /*\n * Return list of saved artifacts objects\n */\n /*\n * return list of artifacts where duplicate names are collated with device compatibility lists combined\n */\n // artifacts: AppStore.getCollatedArtifacts(AppStore.getArtifactsRepo()),\n artifacts: [],\n /*\n * Return list of saved release objects\n */\n byId: {\n /*\n [releaseName]: {\n artifacts: [\n {\n id: '',\n name: '',\n description: '',\n device_types_compatible: [],\n ...\n updates: [{\n files: [\n { size: 123, name: '' }\n ],\n type_info: { type: '' }\n }],\n url: '' // optional\n }\n ],\n modified: ''\n device_types_compatible,\n name: '',\n tags: ['something'],\n notes: ''\n }\n */\n },\n deltaJobs: {\n /*\n [jobId]: {\n id: '',\n ...\n }\n */\n },\n deltaJobsList: {\n ...DEVICE_LIST_DEFAULTS,\n jobIds: [],\n total: 0,\n sort: {\n direction: SORTING_OPTIONS.desc,\n key: 'started'\n }\n },\n releasesList: {\n ...DEVICE_LIST_DEFAULTS,\n searchedIds: [],\n releaseIds: [],\n selection: [],\n sort: {\n direction: SORTING_OPTIONS.desc,\n key: 'modified'\n },\n isLoading: undefined,\n searchTerm: '',\n searchTotal: 0,\n selectedTags: [],\n total: 0,\n type: ''\n },\n /*\n * Return list of saved manifest objects\n */\n manifestsById: {\n /*\n [manifestName]: {\n name: '',\n modified: '',\n artifact: { ... },\n manifest: {\n name: '',\n system_types_compatible: [],\n component_types: { ... }\n ...\n },\n tags: ['something'],\n notes: ''\n }\n */\n },\n manifestsList: {\n ...DEVICE_LIST_DEFAULTS,\n manifestIds: [],\n selection: [],\n sort: {\n direction: SORTING_OPTIONS.desc,\n key: 'modified'\n },\n isLoading: undefined,\n searchTerm: '',\n searchTotal: 0,\n total: 0\n },\n tab: 'releases',\n tags: {\n manifests: [],\n releases: [],\n software: []\n },\n updateTypes: [],\n selectedJob: null,\n /*\n * Return single manifest\n */\n selectedManifest: null,\n /*\n * Return single release with corresponding Artifacts\n */\n selectedRelease: null\n};\n\nexport const releaseSlice = createSlice({\n name: sliceName,\n initialState,\n reducers: {\n receiveRelease: (state, action: PayloadAction<Release>) => {\n const { name } = action.payload;\n state.byId[name] = action.payload;\n },\n receiveReleases: (state, action: PayloadAction<Record<string, Release>>) => {\n state.byId = action.payload;\n },\n receiveSoftwareTags: (state, action: PayloadAction<Tags>) => {\n state.tags.software = action.payload;\n },\n receiveReleaseTags: (state, action: PayloadAction<Tags>) => {\n state.tags.releases = action.payload;\n },\n receiveReleaseTypes: (state, action: PayloadAction<string[]>) => {\n state.updateTypes = action.payload;\n },\n removeRelease: (state, action: PayloadAction<string>) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { [action.payload]: toBeRemoved, ...byId } = state.byId;\n state.byId = byId;\n state.selectedRelease = action.payload === state.selectedRelease ? null : state.selectedRelease;\n },\n selectedRelease: (state, action: PayloadAction<string | null>) => {\n state.selectedRelease = action.payload;\n },\n setReleaseListState: (state, action) => {\n state.releasesList = action.payload;\n },\n receivedDeltaJobs: (state, action) => {\n const { jobs, total } = action.payload;\n state.deltaJobs = jobs.reduce(\n (accu, job) => {\n accu[job.id] = {\n ...accu[job.id],\n ...job\n };\n return accu;\n },\n { ...state.deltaJobs }\n );\n state.deltaJobsList.jobIds = jobs.map(job => job.id);\n state.deltaJobsList.total = total;\n },\n receivedDeltaJobDetails: (state, action) => {\n const job: DeltaJobDetailsItem & { id: string } = action.payload;\n state.deltaJobs[job.id] = {\n ...state.deltaJobs[job.id],\n ...job\n };\n },\n setDeltaJobsListState: (state, action) => {\n state.deltaJobsList = { ...state.deltaJobsList, ...action.payload };\n },\n setSelectedJob: (state, action) => {\n state.selectedJob = action.payload;\n },\n setActiveTab: (state, action: PayloadAction<'releases' | 'delta' | 'manifests'>) => {\n state.tab = action.payload;\n },\n receiveManifest: (state, action: PayloadAction<Manifest>) => {\n const { name } = action.payload;\n state.manifestsById[name] = action.payload;\n },\n receiveManifests: (state, action: PayloadAction<Record<string, Manifest>>) => {\n state.manifestsById = action.payload;\n },\n receiveManifestTags: (state, action: PayloadAction<Tags>) => {\n state.tags.manifests = action.payload;\n },\n removeManifest: (state, action: PayloadAction<string>) => {\n const { [action.payload]: _toBeRemoved, ...manifestsById } = state.manifestsById;\n state.manifestsById = manifestsById;\n state.selectedManifest = action.payload === state.selectedManifest ? null : state.selectedManifest;\n },\n removeManifests: (state, action: PayloadAction<string[]>) => {\n const { manifestsById, selectedManifest } = action.payload.reduce(\n (accu, key) => {\n const { [key]: _toBeRemoved, ...manifestsById } = accu.manifestsById;\n\n return { manifestsById, selectedManifest: key === accu.selectedManifest ? null : accu.selectedManifest };\n },\n { manifestsById: { ...state.manifestsById }, selectedManifest: state.selectedManifest }\n );\n state.manifestsById = manifestsById;\n state.selectedManifest = selectedManifest;\n },\n selectedManifest: (state, action: PayloadAction<string | null>) => {\n state.selectedManifest = action.payload;\n },\n setManifestsListState: (state, action: PayloadAction<ManifestsList>) => {\n state.manifestsList = action.payload;\n }\n }\n});\n\nexport const actions = releaseSlice.actions;\nexport default releaseSlice.reducer;\n"],"mappings":";;;;;;;;AAqCA,MAAa,YAAY;AAsDzB,MAAa,eAAiC;CAQ5C,WAAW,EAAE;CAIb,MAAM,EA0BL;CACD,WAAW,EAOV;CACD,eAAe;EACb,GAAGA,+BAAAA;EACH,QAAQ,EAAE;EACV,OAAO;EACP,MAAM;GACJ,WAAWC,+BAAAA,gBAAgB;GAC3B,KAAK;GACN;EACF;CACD,cAAc;EACZ,GAAGD,+BAAAA;EACH,aAAa,EAAE;EACf,YAAY,EAAE;EACd,WAAW,EAAE;EACb,MAAM;GACJ,WAAWC,+BAAAA,gBAAgB;GAC3B,KAAK;GACN;EACD,WAAW,KAAA;EACX,YAAY;EACZ,aAAa;EACb,cAAc,EAAE;EAChB,OAA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;EAEhC;CACF,CAAC;AAEF,MAAa,UAAU,aAAa;AACpC,IAAA,wBAAe,aAAa"}
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["DEVICE_LIST_DEFAULTS","SORTING_OPTIONS"],"sources":["../../src/releasesSlice/index.ts"],"sourcesContent":["// Copyright 2023 Northern.tech AS\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nimport type {\n ArtifactV1 as BackendArtifactV1,\n ArtifactV2 as BackendArtifactV2,\n ReleaseV1 as BackendReleaseV1,\n ReleaseV2 as BackendReleaseV2,\n Update as BackendUpdate,\n DeltaJobDetailsItem,\n DeltaJobsListItem,\n Manifest,\n Software,\n Tags\n} from '@northern.tech/types/MenderTypes';\nimport type { PayloadAction } from '@reduxjs/toolkit';\nimport { createSlice } from '@reduxjs/toolkit';\n\nimport { DEVICE_LIST_DEFAULTS, SORTING_OPTIONS } from '../constants';\nimport type { SortOptions } from '../constants';\n\ntype Update = Omit<BackendUpdate, 'meta_data'>;\nexport type Artifact = Omit<BackendArtifactV1, 'updates'> &\n Omit<BackendArtifactV2, 'updates'> & { installCount?: number; updates?: Array<Update>; url?: string };\nexport type Release = BackendReleaseV1 & BackendReleaseV2 & { artifacts: Artifact[]; device_types_compatible: string[]; name: string };\n\nexport type SoftwareKind = Software['kind'];\n\nexport const sliceName = 'releases';\n\ntype EnhancedJobDetailsItem = DeltaJobDetailsItem & DeltaJobsListItem;\n\nexport type ReleasesList = {\n isLoading?: boolean;\n page: number;\n perPage: number;\n releaseIds: string[];\n searchedIds: string[];\n searchOnly?: boolean;\n searchTerm: string;\n searchTotal: number;\n selectedTags: string[];\n selection: number[];\n sort?: SortOptions;\n total: number;\n type: string;\n};\n\nexport type ManifestsList = {\n isLoading?: boolean;\n manifestIds: string[];\n page: number;\n perPage: number;\n searchTerm: string;\n searchTotal: number;\n selection: number[];\n sort?: SortOptions;\n total: number;\n};\n\nexport type SoftwareList = {\n isLoading?: boolean;\n page: number;\n perPage: number;\n searchTerm: string;\n searchTotal: number;\n softwareIds: string[];\n sort?: SortOptions;\n total: number;\n};\n\nexport type ReleaseSliceType = {\n artifacts: never[];\n byId: Record<string, Release>;\n deltaJobs: Record<string, EnhancedJobDetailsItem>;\n deltaJobsList: {\n jobIds: string[];\n page: number;\n perPage: number;\n sort?: SortOptions;\n total: 0;\n };\n manifestsById: Record<string, Manifest>;\n manifestsList: ManifestsList;\n releasesList: ReleasesList;\n selectedJob: string | null;\n selectedManifest: string | null;\n selectedRelease: string | null;\n softwareById: Record<string, Software>;\n softwareList: SoftwareList;\n tab?: 'releases' | 'delta' | 'manifests';\n tags: Record<'releases' | 'manifests' | 'software', Tags>;\n updateTypes: string[];\n};\n\nexport const initialState: ReleaseSliceType = {\n /*\n * Return list of saved artifacts objects\n */\n /*\n * return list of artifacts where duplicate names are collated with device compatibility lists combined\n */\n // artifacts: AppStore.getCollatedArtifacts(AppStore.getArtifactsRepo()),\n artifacts: [],\n /*\n * Return list of saved release objects\n */\n byId: {\n /*\n [releaseName]: {\n artifacts: [\n {\n id: '',\n name: '',\n description: '',\n device_types_compatible: [],\n ...\n updates: [{\n files: [\n { size: 123, name: '' }\n ],\n type_info: { type: '' }\n }],\n url: '' // optional\n }\n ],\n modified: ''\n device_types_compatible,\n name: '',\n tags: ['something'],\n notes: ''\n }\n */\n },\n deltaJobs: {\n /*\n [jobId]: {\n id: '',\n ...\n }\n */\n },\n deltaJobsList: {\n ...DEVICE_LIST_DEFAULTS,\n jobIds: [],\n total: 0,\n sort: {\n direction: SORTING_OPTIONS.desc,\n key: 'started'\n }\n },\n releasesList: {\n ...DEVICE_LIST_DEFAULTS,\n searchedIds: [],\n releaseIds: [],\n selection: [],\n sort: {\n direction: SORTING_OPTIONS.desc,\n key: 'modified'\n },\n isLoading: undefined,\n searchTerm: '',\n searchTotal: 0,\n selectedTags: [],\n total: 0,\n type: ''\n },\n /*\n * Return list of saved manifest objects\n */\n manifestsById: {\n /*\n [manifestName]: {\n name: '',\n modified: '',\n artifact: { ... },\n manifest: {\n name: '',\n system_types_compatible: [],\n component_types: { ... }\n ...\n },\n tags: ['something'],\n notes: ''\n }\n */\n },\n manifestsList: {\n ...DEVICE_LIST_DEFAULTS,\n manifestIds: [],\n selection: [],\n sort: {\n direction: SORTING_OPTIONS.desc,\n key: 'modified'\n },\n isLoading: undefined,\n searchTerm: '',\n searchTotal: 0,\n total: 0\n },\n softwareById: {},\n softwareList: {\n ...DEVICE_LIST_DEFAULTS,\n softwareIds: [],\n sort: {\n direction: SORTING_OPTIONS.desc,\n key: 'modified'\n },\n isLoading: undefined,\n searchTerm: '',\n searchTotal: 0,\n total: 0\n },\n tab: 'releases',\n tags: {\n manifests: [],\n releases: [],\n software: []\n },\n updateTypes: [],\n selectedJob: null,\n /*\n * Return single manifest\n */\n selectedManifest: null,\n /*\n * Return single release with corresponding Artifacts\n */\n selectedRelease: null\n};\n\nexport const releaseSlice = createSlice({\n name: sliceName,\n initialState,\n reducers: {\n receiveRelease: (state, action: PayloadAction<Release>) => {\n const { name } = action.payload;\n state.byId[name] = action.payload;\n },\n receiveReleases: (state, action: PayloadAction<Record<string, Release>>) => {\n state.byId = action.payload;\n },\n receiveSoftwareTags: (state, action: PayloadAction<Tags>) => {\n state.tags.software = action.payload;\n },\n receiveReleaseTags: (state, action: PayloadAction<Tags>) => {\n state.tags.releases = action.payload;\n },\n receiveReleaseTypes: (state, action: PayloadAction<string[]>) => {\n state.updateTypes = action.payload;\n },\n removeRelease: (state, action: PayloadAction<string>) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { [action.payload]: toBeRemoved, ...byId } = state.byId;\n state.byId = byId;\n state.selectedRelease = action.payload === state.selectedRelease ? null : state.selectedRelease;\n },\n selectedRelease: (state, action: PayloadAction<string | null>) => {\n state.selectedRelease = action.payload;\n },\n setReleaseListState: (state, action) => {\n state.releasesList = action.payload;\n },\n receivedDeltaJobs: (state, action) => {\n const { jobs, total } = action.payload;\n state.deltaJobs = jobs.reduce(\n (accu, job) => {\n accu[job.id] = {\n ...accu[job.id],\n ...job\n };\n return accu;\n },\n { ...state.deltaJobs }\n );\n state.deltaJobsList.jobIds = jobs.map(job => job.id);\n state.deltaJobsList.total = total;\n },\n receivedDeltaJobDetails: (state, action) => {\n const job: DeltaJobDetailsItem & { id: string } = action.payload;\n state.deltaJobs[job.id] = {\n ...state.deltaJobs[job.id],\n ...job\n };\n },\n setDeltaJobsListState: (state, action) => {\n state.deltaJobsList = { ...state.deltaJobsList, ...action.payload };\n },\n setSelectedJob: (state, action) => {\n state.selectedJob = action.payload;\n },\n setActiveTab: (state, action: PayloadAction<'releases' | 'delta' | 'manifests'>) => {\n state.tab = action.payload;\n },\n receiveManifest: (state, action: PayloadAction<Manifest>) => {\n const { name } = action.payload;\n state.manifestsById[name] = action.payload;\n },\n receiveManifests: (state, action: PayloadAction<Record<string, Manifest>>) => {\n state.manifestsById = action.payload;\n },\n receiveManifestTags: (state, action: PayloadAction<Tags>) => {\n state.tags.manifests = action.payload;\n },\n removeManifest: (state, action: PayloadAction<string>) => {\n const { [action.payload]: _toBeRemoved, ...manifestsById } = state.manifestsById;\n state.manifestsById = manifestsById;\n state.selectedManifest = action.payload === state.selectedManifest ? null : state.selectedManifest;\n },\n removeManifests: (state, action: PayloadAction<string[]>) => {\n const { manifestsById, selectedManifest } = action.payload.reduce(\n (accu, key) => {\n const { [key]: _toBeRemoved, ...manifestsById } = accu.manifestsById;\n\n return { manifestsById, selectedManifest: key === accu.selectedManifest ? null : accu.selectedManifest };\n },\n { manifestsById: { ...state.manifestsById }, selectedManifest: state.selectedManifest }\n );\n state.manifestsById = manifestsById;\n state.selectedManifest = selectedManifest;\n },\n selectedManifest: (state, action: PayloadAction<string | null>) => {\n state.selectedManifest = action.payload;\n },\n setManifestsListState: (state, action: PayloadAction<ManifestsList>) => {\n state.manifestsList = action.payload;\n },\n receiveSoftwareItems: (state, action: PayloadAction<Record<string, Software>>) => {\n state.softwareById = action.payload;\n },\n setSoftwareListState: (state, action: PayloadAction<SoftwareList>) => {\n state.softwareList = action.payload;\n }\n }\n});\n\nexport const actions = releaseSlice.actions;\nexport default releaseSlice.reducer;\n"],"mappings":";;;;;;;;AAsCA,MAAa,YAAY;AAmEzB,MAAa,eAAiC;CAQ5C,WAAW,EAAE;CAIb,MAAM,EA0BL;CACD,WAAW,EAOV;CACD,eAAe;EACb,GAAGA,+BAAAA;EACH,QAAQ,EAAE;EACV,OAAO;EACP,MAAM;GACJ,WAAWC,+BAAAA,gBAAgB;GAC3B,KAAK;GACN;EACF;CACD,cAAc;EACZ,GAAGD,+BAAAA;EACH,aAAa,EAAE;EACf,YAAY,EAAE;EACd,WAAW,EAAE;EACb,MAAM;GACJ,WAAWC,+BAAAA,gBAAgB;GAC3B,KAAK;GACN;EACD,WAAW,KAAA;EACX,YAAY;EACZ,aAAa;EACb,cAAc,EAAE;EAChB,OAAO;EACP,MAAM;EACP;CAID,eAAe,EAgBd;CACD,eAAe;EACb,GAAGD,+BAAAA;EACH,aAAa,EAAE;EACf,WAAW,EAAE;EACb,MAAM;GACJ,WAAWC,+BAAAA,gBAAgB;GAC3B,KAAK;GACN;EACD,WAAW,KAAA;EACX,YAAY;EACZ,aAAa;EACb,OAAO;EACR;CACD,cAAc,EAAE;CAChB,cAAc;EACZ,GAAGD,+BAAAA;EACH,aAAa,EAAE;EACf,MAAM;GACJ,WAAWC,+BAAAA,gBAAgB;GAC3B,KAAK;GACN;EACD,WAAW,KAAA;EACX,YAAY;EACZ,aAAa;EACb,OAAO;EACR;CACD,KAAK;CACL,MAAM;EACJ,WAAW,EAAE;EACb,UAAU,EAAE;EACZ,UAAU,EAAE;EACb;CACD,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, _default as default, initialState, releaseSlice, sliceName };
|
|
1
|
+
import { a as ReleasesList, c as _default, d as releaseSlice, f as sliceName, i as ReleaseSliceType, l as actions, n as ManifestsList, o as SoftwareKind, r as Release, s as SoftwareList, t as Artifact, u as initialState } from "../index-SwHfGav1.cjs";
|
|
2
|
+
export { Artifact, ManifestsList, Release, ReleaseSliceType, ReleasesList, SoftwareKind, SoftwareList, actions, _default as default, initialState, releaseSlice, sliceName };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ReleasesList, c as
|
|
2
|
-
export { Artifact, ManifestsList, Release, ReleaseSliceType, ReleasesList, SoftwareKind, actions, _default as default, initialState, releaseSlice, sliceName };
|
|
1
|
+
import { a as ReleasesList, c as _default, d as releaseSlice, f as sliceName, i as ReleaseSliceType, l as actions, n as ManifestsList, o as SoftwareKind, r as Release, s as SoftwareList, t as Artifact, u as initialState } from "../index-uxdvFzzE.js";
|
|
2
|
+
export { Artifact, ManifestsList, Release, ReleaseSliceType, ReleasesList, SoftwareKind, SoftwareList, actions, _default as default, initialState, releaseSlice, sliceName };
|