@northern.tech/store 0.41.1 → 0.41.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions.d.cts +6 -6
- package/dist/actions.d.ts +6 -6
- package/dist/api/general-api.cjs +1 -1
- package/dist/api/general-api.js +1 -1
- package/dist/appSlice/index.d.cts +1 -1
- package/dist/appSlice/index.d.ts +1 -1
- package/dist/appSlice/index.js +1 -1
- package/dist/appSlice/mocks.d.cts +1 -1
- package/dist/appSlice/mocks.d.ts +1 -1
- package/dist/appSlice/selectors.d.cts +7 -7
- package/dist/appSlice/selectors.d.ts +7 -7
- package/dist/appSlice/thunks.d.cts +2 -2
- package/dist/appSlice/thunks.d.ts +2 -2
- package/dist/auth.cjs +1 -1
- package/dist/auth.d.cts +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +1 -1
- package/dist/commonConstants.cjs +3 -1
- package/dist/commonConstants.d.cts +2 -2
- package/dist/commonConstants.d.ts +2 -2
- package/dist/commonConstants.js +2 -2
- package/dist/commonSelectors.cjs +18 -12
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.d.cts +13 -13
- package/dist/commonSelectors.d.ts +13 -13
- package/dist/commonSelectors.js +19 -13
- package/dist/commonSelectors.js.map +1 -1
- package/dist/{constants-CNZ5L0A0.cjs → constants-C_SC_VKE.cjs} +18 -1
- package/dist/constants-C_SC_VKE.cjs.map +1 -0
- package/dist/{constants-OcdoVk6f.d.ts → constants-CzjK2gV-.d.ts} +7 -2
- package/dist/{constants-_p6w8uEp.d.cts → constants-DAi2zOZN.d.cts} +7 -2
- package/dist/{constants-Cj2kp3Iy.js → constants-xpheFFkA.js} +7 -2
- package/dist/constants-xpheFFkA.js.map +1 -0
- package/dist/constants.cjs +3 -1
- package/dist/constants.d.cts +2 -2
- package/dist/constants.d.ts +2 -2
- package/dist/constants.js +2 -2
- package/dist/deploymentsSlice/constants.cjs +1 -1
- package/dist/deploymentsSlice/constants.js +1 -1
- package/dist/deploymentsSlice/index.cjs +1 -1
- package/dist/deploymentsSlice/index.js +1 -1
- package/dist/deploymentsSlice/selectors.cjs +1 -1
- package/dist/deploymentsSlice/selectors.d.cts +7 -7
- package/dist/deploymentsSlice/selectors.d.ts +7 -7
- package/dist/deploymentsSlice/selectors.js +1 -1
- package/dist/deploymentsSlice/thunks.d.cts +4 -4
- package/dist/deploymentsSlice/thunks.d.ts +4 -4
- package/dist/devicesSlice/constants.cjs +1 -1
- package/dist/devicesSlice/constants.d.cts +1 -1
- package/dist/devicesSlice/constants.d.ts +1 -1
- package/dist/devicesSlice/constants.js +1 -1
- package/dist/devicesSlice/index.d.cts +1 -1
- package/dist/devicesSlice/index.d.ts +1 -1
- package/dist/devicesSlice/index.js +1 -1
- package/dist/devicesSlice/mocks.js +1 -1
- package/dist/devicesSlice/selectors.cjs +1 -1
- package/dist/devicesSlice/selectors.d.cts +7 -7
- package/dist/devicesSlice/selectors.d.ts +7 -7
- package/dist/devicesSlice/selectors.js +1 -1
- package/dist/devicesSlice/thunks.d.cts +4 -4
- package/dist/devicesSlice/thunks.d.ts +4 -4
- package/dist/{index-Cf81vLTi.d.ts → index-BCErsO5h.d.ts} +2 -2
- package/dist/{index-5Q-iI4EB.d.cts → index-BQCnJ5gh.d.cts} +2 -2
- package/dist/{index-BqJuhvO_.d.ts → index-BtGhTFBc.d.ts} +2 -2
- package/dist/{index-ByfjrTdH.d.ts → index-C5oQrJGU.d.ts} +2 -2
- package/dist/{index-Bj3OArhr.d.cts → index-CSOj22xK.d.cts} +2 -2
- package/dist/{index-CSk4ENmk.d.cts → index-CgPgKMve.d.cts} +2 -2
- package/dist/{index-BLvjQfGj.d.ts → index-CnH51JfB.d.ts} +2 -2
- package/dist/{index-C8QadAm7.d.cts → index-Dn1SqQYh.d.cts} +2 -2
- package/dist/{index-BBsUj1a8.d.ts → index-H9zg_3UV.d.ts} +2 -2
- package/dist/{index-Zs9RnVoR.d.cts → index-VEayiYkv.d.cts} +2 -2
- package/dist/{index-DLDY7bNT.d.ts → index-m1c0qk2s.d.ts} +2 -2
- package/dist/{index-Doc_1P_Y.d.cts → index-vXsWdis1.d.cts} +2 -2
- package/dist/locationutils.cjs +29 -37
- package/dist/locationutils.cjs.map +1 -1
- package/dist/locationutils.d.cts +2 -2
- package/dist/locationutils.d.ts +2 -2
- package/dist/locationutils.js +29 -37
- package/dist/locationutils.js.map +1 -1
- package/dist/monitorSlice/constants.d.cts +1 -1
- package/dist/monitorSlice/constants.d.ts +1 -1
- package/dist/monitorSlice/index.d.cts +1 -1
- package/dist/monitorSlice/index.d.ts +1 -1
- package/dist/monitorSlice/index.js +1 -1
- package/dist/monitorSlice/mocks.d.cts +1 -1
- package/dist/monitorSlice/mocks.d.ts +1 -1
- package/dist/monitorSlice/mocks.js +1 -1
- package/dist/monitorSlice/selectors.d.cts +1 -1
- package/dist/monitorSlice/selectors.d.ts +1 -1
- package/dist/monitorSlice/thunks.cjs +1 -1
- package/dist/monitorSlice/thunks.d.cts +4 -4
- package/dist/monitorSlice/thunks.d.ts +4 -4
- package/dist/monitorSlice/thunks.js +1 -1
- package/dist/onboardingSlice/selectors.d.cts +1 -1
- package/dist/onboardingSlice/selectors.d.ts +1 -1
- package/dist/onboardingSlice/thunks.d.cts +2 -2
- package/dist/onboardingSlice/thunks.d.ts +2 -2
- package/dist/organizationSlice/constants.cjs +1 -1
- package/dist/organizationSlice/constants.js +1 -1
- package/dist/organizationSlice/index.cjs +1 -1
- package/dist/organizationSlice/index.d.cts +1 -1
- package/dist/organizationSlice/index.d.ts +1 -1
- package/dist/organizationSlice/index.js +1 -1
- package/dist/organizationSlice/mocks.d.cts +1 -1
- package/dist/organizationSlice/mocks.d.ts +1 -1
- package/dist/organizationSlice/mocks.js +1 -1
- package/dist/organizationSlice/selectors.cjs +1 -1
- package/dist/organizationSlice/selectors.d.cts +8 -8
- package/dist/organizationSlice/selectors.d.ts +8 -8
- package/dist/organizationSlice/selectors.js +1 -1
- package/dist/organizationSlice/thunks.d.cts +4 -4
- package/dist/organizationSlice/thunks.d.ts +4 -4
- package/dist/organizationSlice/types.d.cts +1 -1
- package/dist/organizationSlice/types.d.ts +1 -1
- package/dist/releasesSlice/index.d.cts +1 -1
- package/dist/releasesSlice/index.d.ts +1 -1
- package/dist/releasesSlice/index.js +1 -1
- package/dist/releasesSlice/mocks.js +1 -1
- package/dist/releasesSlice/selectors.d.cts +7 -7
- package/dist/releasesSlice/selectors.d.ts +7 -7
- package/dist/releasesSlice/thunks.cjs +1 -1
- package/dist/releasesSlice/thunks.d.cts +4 -4
- package/dist/releasesSlice/thunks.d.ts +4 -4
- package/dist/releasesSlice/thunks.js +1 -1
- package/dist/sockethook.cjs +8 -6
- package/dist/sockethook.cjs.map +1 -1
- package/dist/sockethook.js +8 -5
- package/dist/sockethook.js.map +1 -1
- package/dist/{store-B5-0USDz.d.cts → store-CGP5pCH8.d.cts} +18 -10
- package/dist/{store-CmiiLjxd.d.ts → store-CkgokFlk.d.ts} +18 -10
- package/dist/store.cjs +1 -1
- package/dist/store.d.cts +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/store.js +1 -1
- package/dist/storehooks.cjs +1 -1
- package/dist/storehooks.d.cts +2 -2
- package/dist/storehooks.d.ts +2 -2
- package/dist/storehooks.js +1 -1
- package/dist/thunks.cjs +6 -1
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +6 -1
- package/dist/thunks.js.map +1 -1
- package/dist/{types-BjtmX60L.d.ts → types-uHmaedGU.d.ts} +2 -2
- package/dist/{types-B33vKVhi.d.cts → types-yQ0ypHMZ.d.cts} +2 -2
- package/dist/usersSlice/constants.cjs +1 -1
- package/dist/usersSlice/constants.js +1 -1
- package/dist/usersSlice/index.cjs +1 -1
- package/dist/usersSlice/index.d.cts +1 -1
- package/dist/usersSlice/index.d.ts +1 -1
- package/dist/usersSlice/index.js +1 -1
- package/dist/usersSlice/mocks.d.cts +1 -1
- package/dist/usersSlice/mocks.d.ts +1 -1
- package/dist/usersSlice/mocks.js +1 -1
- package/dist/usersSlice/selectors.cjs +1 -1
- package/dist/usersSlice/selectors.d.cts +7 -7
- package/dist/usersSlice/selectors.d.ts +7 -7
- package/dist/usersSlice/selectors.js +1 -1
- package/dist/usersSlice/thunks.d.cts +4 -4
- package/dist/usersSlice/thunks.d.ts +4 -4
- package/dist/utils.cjs +9 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +8 -2
- package/dist/utils.js.map +1 -1
- package/package.json +2 -2
- package/dist/constants-CNZ5L0A0.cjs.map +0 -1
- package/dist/constants-Cj2kp3Iy.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { H as emptyUiPermissions, S as Role,
|
|
2
|
-
import { o as UserSliceType } from "./index-
|
|
3
|
-
import { i as ReleaseSliceType } from "./index-
|
|
4
|
-
import { a as PricePreview } from "./types-
|
|
1
|
+
import { H as emptyUiPermissions, S as Role, St as FilterOperator, m as DeviceIssueOptionKey } from "./constants-CzjK2gV-.js";
|
|
2
|
+
import { o as UserSliceType } from "./index-BCErsO5h.js";
|
|
3
|
+
import { i as ReleaseSliceType } from "./index-m1c0qk2s.js";
|
|
4
|
+
import { a as PricePreview } from "./types-uHmaedGU.js";
|
|
5
5
|
import { n as OnboardingSliceType } from "./index-DBUt8xVc.js";
|
|
6
6
|
import { o as DeploymentsSliceType, t as Deployment } from "./index-Bb4yvvgG.js";
|
|
7
|
-
import { c as InventoryAttributes, n as DeviceFilter, r as DeviceGroup, s as DeviceSliceType } from "./index-
|
|
8
|
-
import { t as AppSliceType } from "./index-
|
|
9
|
-
import { t as MonitorSliceType } from "./index-
|
|
10
|
-
import { t as OrganizationSliceType } from "./index-
|
|
7
|
+
import { c as InventoryAttributes, n as DeviceFilter, r as DeviceGroup, s as DeviceSliceType } from "./index-BtGhTFBc.js";
|
|
8
|
+
import { t as AppSliceType } from "./index-CnH51JfB.js";
|
|
9
|
+
import { t as MonitorSliceType } from "./index-C5oQrJGU.js";
|
|
10
|
+
import { t as OrganizationSliceType } from "./index-H9zg_3UV.js";
|
|
11
11
|
import { Reducer, UnknownAction } from "@reduxjs/toolkit";
|
|
12
12
|
import { TypedUseSelectorHook } from "react-redux";
|
|
13
13
|
import { AxiosError } from "axios";
|
|
@@ -44,6 +44,14 @@ declare const convertDeviceListStateToFilters: ({
|
|
|
44
44
|
filterTerms: FilterTerm[];
|
|
45
45
|
};
|
|
46
46
|
declare const filtersFilter: (item: DeviceFilter, index: number, array: DeviceFilter[]) => boolean;
|
|
47
|
+
declare const stripOrchestratorManifestPrefix: (key: string) => string;
|
|
48
|
+
declare const getAttributeScopeLabel: ({
|
|
49
|
+
key,
|
|
50
|
+
scope
|
|
51
|
+
}: {
|
|
52
|
+
key?: string;
|
|
53
|
+
scope?: string;
|
|
54
|
+
}) => string;
|
|
47
55
|
declare const stripUndefined: <T extends Record<string, unknown>>(obj: T) => Partial<T>;
|
|
48
56
|
declare const listItemMapper: <T extends object>(byId: Record<string, T>, ids: string[], {
|
|
49
57
|
cutOffSize,
|
|
@@ -333,5 +341,5 @@ declare const createAppAsyncThunk: import("@reduxjs/toolkit").CreateAsyncThunkFu
|
|
|
333
341
|
};
|
|
334
342
|
};
|
|
335
343
|
//#endregion
|
|
336
|
-
export {
|
|
337
|
-
//# sourceMappingURL=store-
|
|
344
|
+
export { mapTermsToFilters as A, getDeploymentState as C, listItemMapper as D, isDarkMode as E, statCollector as F, stringToBoolean as I, stripOrchestratorManifestPrefix as L, mergePermissions as M, parseSubscriptionPreview as N, mapDeviceAttributes as O, progress as P, stripUndefined as R, getAttributeScopeLabel as S, groupDeploymentStats as T, dispatchDelayed as _, commonErrorHandler as a, filtersFilter as b, sessionReducer as c, useAppSelector as d, DeploymentStats as f, convertToBackendSPLimits as g, convertDeviceListStateToFilters as h, commonErrorFallback as i, mapUserRolesToUiPermissions as j, mapFiltersToTerms as k, store as l, FilterTerm as m, MenderEnvironment as n, createAppAsyncThunk as o, ErrorWithResponse as p, RootState as r, getConfiguredStore as s, AppDispatch as t, useAppDispatch as u, ensureVersionString as v, groupDeploymentDevicesStats as w, generateDeploymentGroupDetails as x, extractErrorMessage as y };
|
|
345
|
+
//# sourceMappingURL=store-CkgokFlk.d.ts.map
|
package/dist/store.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_constants = require("./constants-
|
|
2
|
+
const require_constants = require("./constants-C_SC_VKE.cjs");
|
|
3
3
|
const require_appSlice_index = require("./appSlice/index.cjs");
|
|
4
4
|
const require_deploymentsSlice_index = require("./deploymentsSlice/index.cjs");
|
|
5
5
|
const require_devicesSlice_index = require("./devicesSlice/index.cjs");
|
package/dist/store.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as commonErrorHandler, c as sessionReducer, d as useAppSelector, i as commonErrorFallback, l as store, n as MenderEnvironment, o as createAppAsyncThunk, p as ErrorWithResponse, r as RootState, s as getConfiguredStore, t as AppDispatch, u as useAppDispatch } from "./store-
|
|
1
|
+
import { a as commonErrorHandler, c as sessionReducer, d as useAppSelector, i as commonErrorFallback, l as store, n as MenderEnvironment, o as createAppAsyncThunk, p as ErrorWithResponse, r as RootState, s as getConfiguredStore, t as AppDispatch, u as useAppDispatch } from "./store-CGP5pCH8.cjs";
|
|
2
2
|
export { AppDispatch, type ErrorWithResponse, MenderEnvironment, RootState, commonErrorFallback, commonErrorHandler, createAppAsyncThunk, getConfiguredStore, sessionReducer, store, useAppDispatch, useAppSelector };
|
package/dist/store.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as commonErrorHandler, c as sessionReducer, d as useAppSelector, i as commonErrorFallback, l as store, n as MenderEnvironment, o as createAppAsyncThunk, p as ErrorWithResponse, r as RootState, s as getConfiguredStore, t as AppDispatch, u as useAppDispatch } from "./store-
|
|
1
|
+
import { a as commonErrorHandler, c as sessionReducer, d as useAppSelector, i as commonErrorFallback, l as store, n as MenderEnvironment, o as createAppAsyncThunk, p as ErrorWithResponse, r as RootState, s as getConfiguredStore, t as AppDispatch, u as useAppDispatch } from "./store-CkgokFlk.js";
|
|
2
2
|
export { AppDispatch, type ErrorWithResponse, MenderEnvironment, RootState, commonErrorFallback, commonErrorHandler, createAppAsyncThunk, getConfiguredStore, sessionReducer, store, useAppDispatch, useAppSelector };
|
package/dist/store.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Z as settingsKeys } from "./constants-
|
|
1
|
+
import { Z as settingsKeys } from "./constants-xpheFFkA.js";
|
|
2
2
|
import appSlice_default from "./appSlice/index.js";
|
|
3
3
|
import deploymentsSlice_default from "./deploymentsSlice/index.js";
|
|
4
4
|
import devicesSlice_default from "./devicesSlice/index.js";
|
package/dist/storehooks.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("./rolldown-runtime-D6vf50IK.cjs");
|
|
3
|
-
const require_constants = require("./constants-
|
|
3
|
+
const require_constants = require("./constants-C_SC_VKE.cjs");
|
|
4
4
|
const require_actions = require("./actions.cjs");
|
|
5
5
|
const require_auth = require("./auth.cjs");
|
|
6
6
|
const require_appSlice_selectors = require("./appSlice/selectors.cjs");
|
package/dist/storehooks.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as UserSession } from "./index-
|
|
2
|
-
import { r as RootState, t as AppDispatch } from "./store-
|
|
1
|
+
import { i as UserSession } from "./index-CgPgKMve.cjs";
|
|
2
|
+
import { r as RootState, t as AppDispatch } from "./store-CGP5pCH8.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/storehooks.d.ts
|
|
5
5
|
declare const parseEnvironmentInfo: import("@reduxjs/toolkit").AsyncThunk<[{
|
package/dist/storehooks.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as UserSession } from "./index-
|
|
2
|
-
import { r as RootState, t as AppDispatch } from "./store-
|
|
1
|
+
import { i as UserSession } from "./index-BCErsO5h.js";
|
|
2
|
+
import { r as RootState, t as AppDispatch } from "./store-CkgokFlk.js";
|
|
3
3
|
|
|
4
4
|
//#region src/storehooks.d.ts
|
|
5
5
|
declare const parseEnvironmentInfo: import("@reduxjs/toolkit").AsyncThunk<[{
|
package/dist/storehooks.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as timeUnits, Nt as TIMEOUTS, gt as DEPLOYMENT_STATES, u as DEVICE_STATES } from "./constants-xpheFFkA.js";
|
|
2
2
|
import actions_default from "./actions.js";
|
|
3
3
|
import { getSessionInfo } from "./auth.js";
|
|
4
4
|
import { getFeatures } from "./appSlice/selectors.js";
|
package/dist/thunks.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("./rolldown-runtime-D6vf50IK.cjs");
|
|
3
3
|
const require_appSlice_constants = require("./appSlice/constants.cjs");
|
|
4
|
-
const require_constants = require("./constants-
|
|
4
|
+
const require_constants = require("./constants-C_SC_VKE.cjs");
|
|
5
5
|
const require_onboardingSlice_constants = require("./onboardingSlice/constants.cjs");
|
|
6
6
|
const require_releasesSlice_constants = require("./releasesSlice/constants.cjs");
|
|
7
7
|
const require_appSlice_index = require("./appSlice/index.cjs");
|
|
@@ -882,6 +882,11 @@ const getTestDeviceCount = require_store.createAppAsyncThunk(`${require_devicesS
|
|
|
882
882
|
attribute: "test_device",
|
|
883
883
|
type: _northern_tech_utils_constants.DEVICE_FILTERING_OPTIONS.$eq.key,
|
|
884
884
|
value: "true"
|
|
885
|
+
}, {
|
|
886
|
+
scope: "identity",
|
|
887
|
+
attribute: "status",
|
|
888
|
+
type: _northern_tech_utils_constants.DEVICE_FILTERING_OPTIONS.$eq.key,
|
|
889
|
+
value: _northern_tech_utils_constants.DEVICE_STATES.accepted
|
|
885
890
|
}],
|
|
886
891
|
attributes: [{
|
|
887
892
|
scope: "identity",
|