@northern.tech/store 0.35.0 → 0.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/actions.d.cts +1 -1
  2. package/dist/actions.d.ts +1 -1
  3. package/dist/appSlice/selectors.d.cts +2 -2
  4. package/dist/appSlice/selectors.d.ts +2 -2
  5. package/dist/appSlice/thunks.d.cts +1 -1
  6. package/dist/appSlice/thunks.d.ts +1 -1
  7. package/dist/commonSelectors.d.cts +6 -6
  8. package/dist/commonSelectors.d.ts +6 -6
  9. package/dist/deploymentsSlice/selectors.d.cts +2 -2
  10. package/dist/deploymentsSlice/selectors.d.ts +2 -2
  11. package/dist/deploymentsSlice/thunks.d.cts +1 -1
  12. package/dist/deploymentsSlice/thunks.d.ts +1 -1
  13. package/dist/devicesSlice/selectors.d.cts +2 -2
  14. package/dist/devicesSlice/selectors.d.ts +2 -2
  15. package/dist/devicesSlice/thunks.d.cts +1 -1
  16. package/dist/devicesSlice/thunks.d.ts +1 -1
  17. package/dist/{index-D6J838hD.d.cts → index-B3IF6ur9.d.cts} +4 -1
  18. package/dist/{index-KZBwih6D.d.ts → index-DaD3yorF.d.ts} +4 -1
  19. package/dist/monitorSlice/selectors.d.cts +1 -1
  20. package/dist/monitorSlice/selectors.d.ts +1 -1
  21. package/dist/monitorSlice/thunks.d.cts +1 -1
  22. package/dist/monitorSlice/thunks.d.ts +1 -1
  23. package/dist/onboardingSlice/selectors.d.cts +1 -1
  24. package/dist/onboardingSlice/selectors.d.ts +1 -1
  25. package/dist/onboardingSlice/thunks.d.cts +1 -1
  26. package/dist/onboardingSlice/thunks.d.ts +1 -1
  27. package/dist/organizationSlice/selectors.d.cts +2 -2
  28. package/dist/organizationSlice/selectors.d.ts +2 -2
  29. package/dist/organizationSlice/thunks.d.cts +1 -1
  30. package/dist/organizationSlice/thunks.d.ts +1 -1
  31. package/dist/releasesSlice/index.cjs +4 -1
  32. package/dist/releasesSlice/index.cjs.map +1 -1
  33. package/dist/releasesSlice/index.d.cts +1 -1
  34. package/dist/releasesSlice/index.d.ts +1 -1
  35. package/dist/releasesSlice/index.js +4 -1
  36. package/dist/releasesSlice/index.js.map +1 -1
  37. package/dist/releasesSlice/selectors.d.cts +2 -2
  38. package/dist/releasesSlice/selectors.d.ts +2 -2
  39. package/dist/releasesSlice/thunks.cjs +28 -10
  40. package/dist/releasesSlice/thunks.cjs.map +1 -1
  41. package/dist/releasesSlice/thunks.d.cts +13 -3
  42. package/dist/releasesSlice/thunks.d.ts +13 -3
  43. package/dist/releasesSlice/thunks.js +28 -11
  44. package/dist/releasesSlice/thunks.js.map +1 -1
  45. package/dist/{store-BW01FNkb.d.ts → store-BZo47jc-.d.ts} +2 -2
  46. package/dist/{store-BkLukXiT.d.cts → store-BhRxVhtL.d.cts} +2 -2
  47. package/dist/store.d.cts +1 -1
  48. package/dist/store.d.ts +1 -1
  49. package/dist/storehooks.d.cts +1 -1
  50. package/dist/storehooks.d.ts +1 -1
  51. package/dist/thunks.cjs +1 -0
  52. package/dist/thunks.d.cts +2 -2
  53. package/dist/thunks.d.ts +2 -2
  54. package/dist/thunks.js +2 -2
  55. package/dist/usersSlice/selectors.d.cts +2 -2
  56. package/dist/usersSlice/selectors.d.ts +2 -2
  57. package/dist/usersSlice/thunks.d.cts +1 -1
  58. package/dist/usersSlice/thunks.d.ts +1 -1
  59. package/package.json +1 -1
@@ -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, s as SoftwareList } from "./index-D6J838hD.cjs";
4
+ import { n as ManifestsList, r as Release, s as SoftwareList } from "./index-B3IF6ur9.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";
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, s as SoftwareList } from "./index-KZBwih6D.js";
4
+ import { n as ManifestsList, r as Release, s as SoftwareList } from "./index-DaD3yorF.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";
@@ -1,12 +1,12 @@
1
1
  import { o as UserSliceType } from "../index-BFlHWzjv.cjs";
2
- import { i as ReleaseSliceType } from "../index-D6J838hD.cjs";
2
+ import { i as ReleaseSliceType } from "../index-B3IF6ur9.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-BkLukXiT.cjs";
9
+ import { r as RootState } from "../store-BhRxVhtL.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-KZBwih6D.js";
2
+ import { i as ReleaseSliceType } from "../index-DaD3yorF.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-BW01FNkb.js";
9
+ import { r as RootState } from "../store-BZo47jc-.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-BkLukXiT.cjs";
2
+ import { r as RootState, t as AppDispatch } from "../store-BhRxVhtL.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-BW01FNkb.js";
2
+ import { r as RootState, t as AppDispatch } from "../store-BZo47jc-.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-D6J838hD.cjs";
4
+ import { i as ReleaseSliceType, r as Release } from "./index-B3IF6ur9.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-BkLukXiT.cjs";
12
+ import { r as RootState } from "./store-BhRxVhtL.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";
@@ -1430,7 +1430,7 @@ declare const getAuditlogDevice: ((state: {
1430
1430
  }) => {
1431
1431
  id?: string;
1432
1432
  identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
1433
- status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1433
+ status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1434
1434
  created_ts?: string;
1435
1435
  updated_ts?: string;
1436
1436
  check_in_time?: string;
@@ -1467,7 +1467,7 @@ declare const getAuditlogDevice: ((state: {
1467
1467
  resultFunc: (resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
1468
1468
  id?: string;
1469
1469
  identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
1470
- status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1470
+ status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1471
1471
  created_ts?: string;
1472
1472
  updated_ts?: string;
1473
1473
  check_in_time?: string;
@@ -1500,7 +1500,7 @@ declare const getAuditlogDevice: ((state: {
1500
1500
  memoizedResultFunc: ((resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
1501
1501
  id?: string;
1502
1502
  identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
1503
- status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1503
+ status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1504
1504
  created_ts?: string;
1505
1505
  updated_ts?: string;
1506
1506
  check_in_time?: string;
@@ -1537,7 +1537,7 @@ declare const getAuditlogDevice: ((state: {
1537
1537
  lastResult: () => {
1538
1538
  id?: string;
1539
1539
  identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
1540
- status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1540
+ status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1541
1541
  created_ts?: string;
1542
1542
  updated_ts?: string;
1543
1543
  check_in_time?: string;
@@ -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-KZBwih6D.js";
4
+ import { i as ReleaseSliceType, r as Release } from "./index-DaD3yorF.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-BW01FNkb.js";
12
+ import { r as RootState } from "./store-BZo47jc-.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";
@@ -1430,7 +1430,7 @@ declare const getAuditlogDevice: ((state: {
1430
1430
  }) => {
1431
1431
  id?: string;
1432
1432
  identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
1433
- status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1433
+ status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1434
1434
  created_ts?: string;
1435
1435
  updated_ts?: string;
1436
1436
  check_in_time?: string;
@@ -1467,7 +1467,7 @@ declare const getAuditlogDevice: ((state: {
1467
1467
  resultFunc: (resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
1468
1468
  id?: string;
1469
1469
  identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
1470
- status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1470
+ status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1471
1471
  created_ts?: string;
1472
1472
  updated_ts?: string;
1473
1473
  check_in_time?: string;
@@ -1500,7 +1500,7 @@ declare const getAuditlogDevice: ((state: {
1500
1500
  memoizedResultFunc: ((resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
1501
1501
  id?: string;
1502
1502
  identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
1503
- status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1503
+ status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1504
1504
  created_ts?: string;
1505
1505
  updated_ts?: string;
1506
1506
  check_in_time?: string;
@@ -1537,7 +1537,7 @@ declare const getAuditlogDevice: ((state: {
1537
1537
  lastResult: () => {
1538
1538
  id?: string;
1539
1539
  identity_data?: _$_northern_tech_types_types_gen0.IdentityData;
1540
- status?: (("pending" | "accepted" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1540
+ status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & _$_northern_tech_types_types_gen0.Status) | undefined;
1541
1541
  created_ts?: string;
1542
1542
  updated_ts?: string;
1543
1543
  check_in_time?: string;
@@ -1,12 +1,12 @@
1
1
  import { o as UserSliceType } from "../index-BFlHWzjv.cjs";
2
- import { i as ReleaseSliceType } from "../index-D6J838hD.cjs";
2
+ import { i as ReleaseSliceType } from "../index-B3IF6ur9.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-BkLukXiT.cjs";
9
+ import { r as RootState } from "../store-BhRxVhtL.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-KZBwih6D.js";
2
+ import { i as ReleaseSliceType } from "../index-DaD3yorF.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-BW01FNkb.js";
9
+ import { r as RootState } from "../store-BZo47jc-.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-BkLukXiT.cjs";
5
+ import { r as RootState, t as AppDispatch } from "../store-BhRxVhtL.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-BW01FNkb.js";
5
+ import { r as RootState, t as AppDispatch } from "../store-BZo47jc-.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-D6J838hD.cjs";
2
+ import { i as ReleaseSliceType } from "../index-B3IF6ur9.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-BkLukXiT.cjs";
9
+ import { r as RootState } from "../store-BhRxVhtL.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-KZBwih6D.js";
2
+ import { i as ReleaseSliceType } from "../index-DaD3yorF.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-BW01FNkb.js";
9
+ import { r as RootState } from "../store-BZo47jc-.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-BkLukXiT.cjs";
4
+ import { r as RootState, t as AppDispatch } from "../store-BhRxVhtL.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-BW01FNkb.js";
4
+ import { r as RootState, t as AppDispatch } from "../store-BZo47jc-.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";
@@ -49,13 +49,16 @@ type ManifestsList = {
49
49
  };
50
50
  type SoftwareList = {
51
51
  isLoading?: boolean;
52
+ kind: SoftwareKind | undefined;
52
53
  page: number;
53
54
  perPage: number;
54
55
  searchTerm: string;
55
56
  searchTotal: number;
57
+ selectedTags: string[];
56
58
  softwareIds: string[];
57
59
  sort?: SortOptions;
58
60
  total: number;
61
+ type: string;
59
62
  };
60
63
  type ReleaseSliceType = {
61
64
  artifacts: never[];
@@ -162,4 +165,4 @@ declare const actions: _$_reduxjs_toolkit0.CaseReducerActions<{
162
165
  declare const _default: _$redux.Reducer<ReleaseSliceType>;
163
166
  //#endregion
164
167
  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 };
165
- //# sourceMappingURL=index-D6J838hD.d.cts.map
168
+ //# sourceMappingURL=index-B3IF6ur9.d.cts.map
@@ -49,13 +49,16 @@ type ManifestsList = {
49
49
  };
50
50
  type SoftwareList = {
51
51
  isLoading?: boolean;
52
+ kind: SoftwareKind | undefined;
52
53
  page: number;
53
54
  perPage: number;
54
55
  searchTerm: string;
55
56
  searchTotal: number;
57
+ selectedTags: string[];
56
58
  softwareIds: string[];
57
59
  sort?: SortOptions;
58
60
  total: number;
61
+ type: string;
59
62
  };
60
63
  type ReleaseSliceType = {
61
64
  artifacts: never[];
@@ -162,4 +165,4 @@ declare const actions: _$_reduxjs_toolkit0.CaseReducerActions<{
162
165
  declare const _default: _$redux.Reducer<ReleaseSliceType>;
163
166
  //#endregion
164
167
  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 };
165
- //# sourceMappingURL=index-KZBwih6D.d.ts.map
168
+ //# sourceMappingURL=index-DaD3yorF.d.ts.map
@@ -1,4 +1,4 @@
1
- import { r as RootState } from "../store-BkLukXiT.cjs";
1
+ import { r as RootState } from "../store-BhRxVhtL.cjs";
2
2
 
3
3
  //#region src/monitorSlice/selectors.d.ts
4
4
  declare const getIssueCountsByType: (state: RootState) => {
@@ -1,4 +1,4 @@
1
- import { r as RootState } from "../store-BW01FNkb.js";
1
+ import { r as RootState } from "../store-BZo47jc-.js";
2
2
 
3
3
  //#region src/monitorSlice/selectors.d.ts
4
4
  declare const getIssueCountsByType: (state: RootState) => {
@@ -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 } from "../index-B64X5ozM.cjs";
3
3
  import { s as SnackbarContent } from "../index-DwACbyUg.cjs";
4
- import { r as RootState, t as AppDispatch } from "../store-BkLukXiT.cjs";
4
+ import { r as RootState, t as AppDispatch } from "../store-BhRxVhtL.cjs";
5
5
  import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
6
6
  import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
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 } from "../index-BI9O8JWe.js";
3
3
  import { s as SnackbarContent } from "../index-Bp1WpATs.js";
4
- import { r as RootState, t as AppDispatch } from "../store-BW01FNkb.js";
4
+ import { r as RootState, t as AppDispatch } from "../store-BZo47jc-.js";
5
5
  import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
6
6
  import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
7
7
 
@@ -1,5 +1,5 @@
1
1
  import { n as OnboardingSliceType } from "../index-UPc3wvVd.cjs";
2
- import { r as RootState } from "../store-BkLukXiT.cjs";
2
+ import { r as RootState } from "../store-BhRxVhtL.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-BW01FNkb.js";
2
+ import { r as RootState } from "../store-BZo47jc-.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-BkLukXiT.cjs";
4
+ import { r as RootState, t as AppDispatch } from "../store-BhRxVhtL.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-BW01FNkb.js";
4
+ import { r as RootState, t as AppDispatch } from "../store-BZo47jc-.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-D6J838hD.cjs";
2
+ import { i as ReleaseSliceType } from "../index-B3IF6ur9.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-BkLukXiT.cjs";
10
+ import { r as RootState } from "../store-BhRxVhtL.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-KZBwih6D.js";
2
+ import { i as ReleaseSliceType } from "../index-DaD3yorF.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-BW01FNkb.js";
10
+ import { r as RootState } from "../store-BZo47jc-.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-BkLukXiT.cjs";
6
+ import { r as RootState, t as AppDispatch } from "../store-BhRxVhtL.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-BW01FNkb.js";
6
+ import { r as RootState, t as AppDispatch } from "../store-BZo47jc-.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";
@@ -60,9 +60,12 @@ const initialState = {
60
60
  key: "modified"
61
61
  },
62
62
  isLoading: void 0,
63
+ kind: void 0,
63
64
  searchTerm: "",
64
65
  searchTotal: 0,
65
- total: 0
66
+ selectedTags: [],
67
+ total: 0,
68
+ type: ""
66
69
  },
67
70
  tab: "releases",
68
71
  tags: {
@@ -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 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 selectedTags: string[];\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 selectedTags: [],\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":"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"}
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 selectedTags: string[];\n selection: number[];\n sort?: SortOptions;\n total: number;\n};\n\nexport type SoftwareList = {\n isLoading?: boolean;\n kind: SoftwareKind | undefined;\n page: number;\n perPage: number;\n searchTerm: string;\n searchTotal: number;\n selectedTags: string[];\n softwareIds: string[];\n sort?: SortOptions;\n total: number;\n type: string;\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 selectedTags: [],\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 kind: undefined,\n searchTerm: '',\n searchTotal: 0,\n selectedTags: [],\n total: 0,\n type: ''\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;AAuEzB,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,cAAc,EAAE;EAChB,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,MAAM,KAAA;EACN,YAAY;EACZ,aAAa;EACb,cAAc,EAAE;EAChB,OAAO;EACP,MAAM;EACP;CACD,KAAK;CACL,MAAM;EACJ,WAAW,EAAE;EACb,UAAU,EAAE;EACZ,UAAU,EAAE;EACb;CACD,aAAa,EAAE;CACf,aAAa;CAIb,kBAAkB;CAIlB,iBAAiB;CAClB;AAED,MAAa,gBAAA,GAAA,iBAAA,aAA2B;CACtC,MAAM;CACN;CACA,UAAU;EACR,iBAAiB,OAAO,WAAmC;GACzD,MAAM,EAAE,SAAS,OAAO;GACxB,MAAM,KAAK,QAAQ,OAAO;;EAE5B,kBAAkB,OAAO,WAAmD;GAC1E,MAAM,OAAO,OAAO;;EAEtB,sBAAsB,OAAO,WAAgC;GAC3D,MAAM,KAAK,WAAW,OAAO;;EAE/B,qBAAqB,OAAO,WAAgC;GAC1D,MAAM,KAAK,WAAW,OAAO;;EAE/B,sBAAsB,OAAO,WAAoC;GAC/D,MAAM,cAAc,OAAO;;EAE7B,gBAAgB,OAAO,WAAkC;GAEvD,MAAM,GAAG,OAAO,UAAU,aAAa,GAAG,SAAS,MAAM;GACzD,MAAM,OAAO;GACb,MAAM,kBAAkB,OAAO,YAAY,MAAM,kBAAkB,OAAO,MAAM;;EAElF,kBAAkB,OAAO,WAAyC;GAChE,MAAM,kBAAkB,OAAO;;EAEjC,sBAAsB,OAAO,WAAW;GACtC,MAAM,eAAe,OAAO;;EAE9B,oBAAoB,OAAO,WAAW;GACpC,MAAM,EAAE,MAAM,UAAU,OAAO;GAC/B,MAAM,YAAY,KAAK,QACpB,MAAM,QAAQ;IACb,KAAK,IAAI,MAAM;KACb,GAAG,KAAK,IAAI;KACZ,GAAG;KACJ;IACD,OAAO;MAET,EAAE,GAAG,MAAM,WAAW,CACvB;GACD,MAAM,cAAc,SAAS,KAAK,KAAI,QAAO,IAAI,GAAG;GACpD,MAAM,cAAc,QAAQ;;EAE9B,0BAA0B,OAAO,WAAW;GAC1C,MAAM,MAA4C,OAAO;GACzD,MAAM,UAAU,IAAI,MAAM;IACxB,GAAG,MAAM,UAAU,IAAI;IACvB,GAAG;IACJ;;EAEH,wBAAwB,OAAO,WAAW;GACxC,MAAM,gBAAgB;IAAE,GAAG,MAAM;IAAe,GAAG,OAAO;IAAS;;EAErE,iBAAiB,OAAO,WAAW;GACjC,MAAM,cAAc,OAAO;;EAE7B,eAAe,OAAO,WAA8D;GAClF,MAAM,MAAM,OAAO;;EAErB,kBAAkB,OAAO,WAAoC;GAC3D,MAAM,EAAE,SAAS,OAAO;GACxB,MAAM,cAAc,QAAQ,OAAO;;EAErC,mBAAmB,OAAO,WAAoD;GAC5E,MAAM,gBAAgB,OAAO;;EAE/B,sBAAsB,OAAO,WAAgC;GAC3D,MAAM,KAAK,YAAY,OAAO;;EAEhC,iBAAiB,OAAO,WAAkC;GACxD,MAAM,GAAG,OAAO,UAAU,cAAc,GAAG,kBAAkB,MAAM;GACnE,MAAM,gBAAgB;GACtB,MAAM,mBAAmB,OAAO,YAAY,MAAM,mBAAmB,OAAO,MAAM;;EAEpF,kBAAkB,OAAO,WAAoC;GAC3D,MAAM,EAAE,eAAe,qBAAqB,OAAO,QAAQ,QACxD,MAAM,QAAQ;IACb,MAAM,GAAG,MAAM,cAAc,GAAG,kBAAkB,KAAK;IAEvD,OAAO;KAAE;KAAe,kBAAkB,QAAQ,KAAK,mBAAmB,OAAO,KAAK;KAAkB;MAE1G;IAAE,eAAe,EAAE,GAAG,MAAM,eAAe;IAAE,kBAAkB,MAAM;IAAkB,CACxF;GACD,MAAM,gBAAgB;GACtB,MAAM,mBAAmB;;EAE3B,mBAAmB,OAAO,WAAyC;GACjE,MAAM,mBAAmB,OAAO;;EAElC,wBAAwB,OAAO,WAAyC;GACtE,MAAM,gBAAgB,OAAO;;EAE/B,uBAAuB,OAAO,WAAoD;GAChF,MAAM,eAAe,OAAO;;EAE9B,uBAAuB,OAAO,WAAwC;GACpE,MAAM,eAAe,OAAO;;EAE/B;CACF,CAAC;AAEF,MAAa,UAAU,aAAa;AACpC,IAAA,wBAAe,aAAa"}
@@ -1,2 +1,2 @@
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-D6J838hD.cjs";
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-B3IF6ur9.cjs";
2
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 _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-KZBwih6D.js";
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-DaD3yorF.js";
2
2
  export { Artifact, ManifestsList, Release, ReleaseSliceType, ReleasesList, SoftwareKind, SoftwareList, actions, _default as default, initialState, releaseSlice, sliceName };
@@ -55,9 +55,12 @@ const initialState = {
55
55
  key: "modified"
56
56
  },
57
57
  isLoading: void 0,
58
+ kind: void 0,
58
59
  searchTerm: "",
59
60
  searchTotal: 0,
60
- total: 0
61
+ selectedTags: [],
62
+ total: 0,
63
+ type: ""
61
64
  },
62
65
  tab: "releases",
63
66
  tags: {