@northern.tech/store 0.46.1 → 0.46.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.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.cjs +1 -2
- package/dist/appSlice/selectors.cjs.map +1 -1
- package/dist/appSlice/selectors.d.cts +7 -7
- package/dist/appSlice/selectors.d.ts +7 -7
- package/dist/appSlice/selectors.js +1 -2
- package/dist/appSlice/selectors.js.map +1 -1
- package/dist/appSlice/thunks.d.cts +2 -2
- package/dist/appSlice/thunks.d.ts +2 -2
- package/dist/auth.d.cts +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +1 -1
- package/dist/commonConstants.d.cts +1 -1
- package/dist/commonConstants.d.ts +1 -1
- package/dist/commonConstants.js +1 -1
- package/dist/commonSelectors.d.cts +9 -9
- package/dist/commonSelectors.d.ts +9 -9
- package/dist/commonSelectors.js +1 -1
- package/dist/{constants-B_H4squx.d.ts → constants-BJuY-ODE.d.ts} +3 -3
- package/dist/{constants-Rl3FJzFf.d.cts → constants-C2O55iZu.d.cts} +3 -3
- package/dist/{constants-eWaA3HCq.js → constants-D5hACLhF.js} +3 -3
- package/dist/{constants-eWaA3HCq.js.map → constants-D5hACLhF.js.map} +1 -1
- package/dist/constants.cjs +1 -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.js +1 -1
- package/dist/deploymentsSlice/index.js +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.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.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-DgiMpzq3.d.ts → index--SKVGToc.d.ts} +2 -2
- package/dist/{index-DeOpb2oK.d.cts → index-BKU1G9-x.d.cts} +2 -2
- package/dist/{index-CGT1O9T5.d.ts → index-BMsafOyJ.d.ts} +2 -2
- package/dist/{index-ChKTa1aL.d.ts → index-BVNS-Aut.d.ts} +2 -2
- package/dist/{index-Ctj2r57a.d.cts → index-BfmRpbiJ.d.cts} +2 -2
- package/dist/{index-BAGyeC-q.d.ts → index-CRqnH_go.d.ts} +2 -2
- package/dist/{index-Cf6_W5Y7.d.cts → index-CqhXqGLt.d.cts} +2 -2
- package/dist/{index-BpamudGf.d.ts → index-D9GJhX1I.d.ts} +2 -2
- package/dist/{index-C_LGDJN2.d.cts → index-HjOSTTGF.d.cts} +2 -2
- package/dist/{index-DnKVKM0G.d.cts → index-KxRmyFLr.d.cts} +2 -2
- package/dist/{index-ExguKUh-.d.cts → index-fGVC5s1C.d.cts} +2 -2
- package/dist/{index-Bs0c1-WY.d.ts → index-xxqlerg5.d.ts} +2 -2
- package/dist/locationutils.d.cts +2 -2
- package/dist/locationutils.d.ts +2 -2
- package/dist/locationutils.js +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.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 +3 -3
- package/dist/onboardingSlice/thunks.d.ts +3 -3
- package/dist/organizationSlice/constants.js +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 +2 -2
- package/dist/organizationSlice/mocks.d.ts +2 -2
- package/dist/organizationSlice/mocks.js +1 -1
- package/dist/organizationSlice/selectors.cjs +6 -6
- package/dist/organizationSlice/selectors.cjs.map +1 -1
- package/dist/organizationSlice/selectors.d.cts +14 -14
- package/dist/organizationSlice/selectors.d.ts +14 -14
- package/dist/organizationSlice/selectors.js +7 -7
- package/dist/organizationSlice/selectors.js.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +18 -16
- package/dist/organizationSlice/thunks.d.ts +18 -16
- 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.d.cts +4 -4
- package/dist/releasesSlice/thunks.d.ts +4 -4
- package/dist/releasesSlice/thunks.js +1 -1
- package/dist/selectors.cjs +1 -1
- package/dist/selectors.d.cts +2 -2
- package/dist/selectors.d.ts +2 -2
- package/dist/selectors.js +2 -2
- package/dist/sockethook.js +1 -1
- package/dist/{store-CmvNnqoc.d.ts → store-DLp6ajT8.d.ts} +9 -9
- package/dist/{store-C-W8nPdd.d.cts → store-Dw8Uo_Df.d.cts} +9 -9
- package/dist/store.d.cts +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/store.js +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 +7 -4
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +8 -5
- package/dist/thunks.js.map +1 -1
- package/dist/{types-B80ckxiy.d.cts → types-B67YW1jV.d.cts} +2 -2
- package/dist/{types-B3qGQoMx.d.ts → types-DY0J79yF.d.ts} +2 -2
- package/dist/usersSlice/constants.js +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.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 +40 -40
- package/dist/usersSlice/thunks.d.ts +4 -4
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as Addon } from "./constants-nKSWZ8oD.cjs";
|
|
2
|
-
import { T as SortOptions } from "./constants-
|
|
2
|
+
import { T as SortOptions } from "./constants-C2O55iZu.cjs";
|
|
3
3
|
import { a as SSO_TYPES } from "./constants-OZiiFKiA.cjs";
|
|
4
4
|
import { AuditLog, BillingInfo, BillingProfile, ConstraintsInfo, Event, SamlMetadata, Tenant } from "@northern.tech/types/MenderTypes";
|
|
5
5
|
//#region src/organizationSlice/types.d.ts
|
|
@@ -84,4 +84,4 @@ type PricePreview = {
|
|
|
84
84
|
};
|
|
85
85
|
//#endregion
|
|
86
86
|
export { PricePreview as a, ProductTier as c, TenantList as d, Webhook as f, Organization as i, SSOConfig as l, AuditLogSelectionState as n, ProductConfig as o, Card as r, ProductPlan as s, AuditLog$1 as t, Tenant$1 as u };
|
|
87
|
-
//# sourceMappingURL=types-
|
|
87
|
+
//# sourceMappingURL=types-B67YW1jV.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as Addon } from "./constants-nKSWZ8oD.js";
|
|
2
|
-
import { T as SortOptions } from "./constants-
|
|
2
|
+
import { T as SortOptions } from "./constants-BJuY-ODE.js";
|
|
3
3
|
import { a as SSO_TYPES } from "./constants-OZiiFKiA.js";
|
|
4
4
|
import { AuditLog, BillingInfo, BillingProfile, ConstraintsInfo, Event, SamlMetadata, Tenant } from "@northern.tech/types/MenderTypes";
|
|
5
5
|
//#region src/organizationSlice/types.d.ts
|
|
@@ -84,4 +84,4 @@ type PricePreview = {
|
|
|
84
84
|
};
|
|
85
85
|
//#endregion
|
|
86
86
|
export { PricePreview as a, ProductTier as c, TenantList as d, Webhook as f, Organization as i, SSOConfig as l, AuditLogSelectionState as n, ProductConfig as o, Card as r, ProductPlan as s, AuditLog$1 as t, Tenant$1 as u };
|
|
87
|
-
//# sourceMappingURL=types-
|
|
87
|
+
//# sourceMappingURL=types-DY0J79yF.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { J as READ_STATES, Q as settingsKeys, X as checkPermissionsObject, Y as USER_LOGOUT, Z as itemUiPermissionsReducer, q as OWN_USER_ID } from "../constants-
|
|
1
|
+
import { J as READ_STATES, Q as settingsKeys, X as checkPermissionsObject, Y as USER_LOGOUT, Z as itemUiPermissionsReducer, q as OWN_USER_ID } from "../constants-D5hACLhF.js";
|
|
2
2
|
export { OWN_USER_ID, READ_STATES, USER_LOGOUT, checkPermissionsObject, itemUiPermissionsReducer, settingsKeys };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as UserSettings, c as actions, d as usersSlice, i as UserSession, l as initialState, n as GlobalSettings, o as UserSliceType, r as User, s as _default, t as CustomColumn, u as sliceName } from "../index-
|
|
1
|
+
import { a as UserSettings, c as actions, d as usersSlice, i as UserSession, l as initialState, n as GlobalSettings, o as UserSliceType, r as User, s as _default, t as CustomColumn, u as sliceName } from "../index-CqhXqGLt.cjs";
|
|
2
2
|
export { CustomColumn, GlobalSettings, User, UserSession, UserSettings, UserSliceType, actions, _default as default, initialState, sliceName, usersSlice };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as UserSettings, c as actions, d as usersSlice, i as UserSession, l as initialState, n as GlobalSettings, o as UserSliceType, r as User, s as _default, t as CustomColumn, u as sliceName } from "../index
|
|
1
|
+
import { a as UserSettings, c as actions, d as usersSlice, i as UserSession, l as initialState, n as GlobalSettings, o as UserSliceType, r as User, s as _default, t as CustomColumn, u as sliceName } from "../index--SKVGToc.js";
|
|
2
2
|
export { CustomColumn, GlobalSettings, User, UserSession, UserSettings, UserSliceType, actions, _default as default, initialState, sliceName, usersSlice };
|
package/dist/usersSlice/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as READ_STATES, P as rolesById, _ as defaultPermissionSets } from "../constants-
|
|
1
|
+
import { J as READ_STATES, P as rolesById, _ as defaultPermissionSets } from "../constants-D5hACLhF.js";
|
|
2
2
|
import { createSlice } from "@reduxjs/toolkit";
|
|
3
3
|
//#region src/usersSlice/index.ts
|
|
4
4
|
const sliceName = "users";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as ReadState } from "../constants-D8-yUk19.cjs";
|
|
2
|
-
import { i as UserSession, t as CustomColumn } from "../index-
|
|
2
|
+
import { i as UserSession, t as CustomColumn } from "../index-CqhXqGLt.cjs";
|
|
3
3
|
//#region src/usersSlice/mocks.d.ts
|
|
4
4
|
declare const mockState: {
|
|
5
5
|
byId: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as ReadState } from "../constants-D8-yUk19.js";
|
|
2
|
-
import { i as UserSession, t as CustomColumn } from "../index
|
|
2
|
+
import { i as UserSession, t as CustomColumn } from "../index--SKVGToc.js";
|
|
3
3
|
//#region src/usersSlice/mocks.d.ts
|
|
4
4
|
declare const mockState: {
|
|
5
5
|
byId: {
|
package/dist/usersSlice/mocks.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as rolesByName, P as rolesById, T as emptyUiPermissions, U as uiPermissionsById, V as twoFAStates, w as emptyRole } from "../constants-
|
|
1
|
+
import { F as rolesByName, P as rolesById, T as emptyUiPermissions, U as uiPermissionsById, V as twoFAStates, w as emptyRole } from "../constants-D5hACLhF.js";
|
|
2
2
|
import { initialState } from "./index.js";
|
|
3
3
|
//#region src/usersSlice/mocks.ts
|
|
4
4
|
const userId = "a30a780b-b843-5344-80e3-0fd95a4f6fc3";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { i as ReadState } from "../constants-D8-yUk19.cjs";
|
|
2
|
-
import { a as UserSettings, i as UserSession, n as GlobalSettings, o as UserSliceType, r as User } from "../index-
|
|
3
|
-
import { a as ReleaseSliceType } from "../index-
|
|
2
|
+
import { a as UserSettings, i as UserSession, n as GlobalSettings, o as UserSliceType, r as User } from "../index-CqhXqGLt.cjs";
|
|
3
|
+
import { a as ReleaseSliceType } from "../index-fGVC5s1C.cjs";
|
|
4
4
|
import { n as OnboardingSliceType } from "../index-CoObjWL4.cjs";
|
|
5
5
|
import { o as DeploymentsSliceType } from "../index-mvxjivTJ.cjs";
|
|
6
|
-
import { c as DeviceSliceType } from "../index-
|
|
7
|
-
import { t as AppSliceType } from "../index-
|
|
8
|
-
import { t as MonitorSliceType } from "../index-
|
|
9
|
-
import { t as OrganizationSliceType } from "../index-
|
|
10
|
-
import { r as RootState } from "../store-
|
|
6
|
+
import { c as DeviceSliceType } from "../index-KxRmyFLr.cjs";
|
|
7
|
+
import { t as AppSliceType } from "../index-BKU1G9-x.cjs";
|
|
8
|
+
import { t as MonitorSliceType } from "../index-BfmRpbiJ.cjs";
|
|
9
|
+
import { t as OrganizationSliceType } from "../index-HjOSTTGF.cjs";
|
|
10
|
+
import { r as RootState } from "../store-Dw8Uo_Df.cjs";
|
|
11
11
|
//#region src/usersSlice/selectors.d.ts
|
|
12
12
|
declare const getRolesById: (state: RootState) => Record<string, import("@northern.tech/utils/constants").Role>;
|
|
13
13
|
declare const getTooltipsById: (state: RootState) => Record<string, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { i as ReadState } from "../constants-D8-yUk19.js";
|
|
2
|
-
import { a as UserSettings, i as UserSession, n as GlobalSettings, o as UserSliceType, r as User } from "../index
|
|
3
|
-
import { a as ReleaseSliceType } from "../index-
|
|
2
|
+
import { a as UserSettings, i as UserSession, n as GlobalSettings, o as UserSliceType, r as User } from "../index--SKVGToc.js";
|
|
3
|
+
import { a as ReleaseSliceType } from "../index-BMsafOyJ.js";
|
|
4
4
|
import { n as OnboardingSliceType } from "../index-CoObjWL4.js";
|
|
5
5
|
import { o as DeploymentsSliceType } from "../index-B8td4-rY.js";
|
|
6
|
-
import { c as DeviceSliceType } from "../index-
|
|
7
|
-
import { t as AppSliceType } from "../index-
|
|
8
|
-
import { t as MonitorSliceType } from "../index-
|
|
9
|
-
import { t as OrganizationSliceType } from "../index-
|
|
10
|
-
import { r as RootState } from "../store-
|
|
6
|
+
import { c as DeviceSliceType } from "../index-D9GJhX1I.js";
|
|
7
|
+
import { t as AppSliceType } from "../index-xxqlerg5.js";
|
|
8
|
+
import { t as MonitorSliceType } from "../index-CRqnH_go.js";
|
|
9
|
+
import { t as OrganizationSliceType } from "../index-BVNS-Aut.js";
|
|
10
|
+
import { r as RootState } from "../store-DLp6ajT8.js";
|
|
11
11
|
//#region src/usersSlice/selectors.d.ts
|
|
12
12
|
declare const getRolesById: (state: RootState) => Record<string, import("@northern.tech/utils/constants").Role>;
|
|
13
13
|
declare const getTooltipsById: (state: RootState) => Record<string, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as DEVICE_ONLINE_CUTOFF, J as READ_STATES, Rt as defaultIdAttribute, V as twoFAStates } from "../constants-
|
|
1
|
+
import { At as DEVICE_ONLINE_CUTOFF, J as READ_STATES, Rt as defaultIdAttribute, V as twoFAStates } from "../constants-D5hACLhF.js";
|
|
2
2
|
import { isDarkMode } from "../utils.js";
|
|
3
3
|
import { createSelector } from "@reduxjs/toolkit";
|
|
4
4
|
//#region src/usersSlice/selectors.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as Role, c as AuditLogPermission, h as GroupsPermission, k as UserManagementPermission, p as DeploymentPermission, v as PermissionSet, x as ReleasesPermission } from "../constants-
|
|
1
|
+
import { S as Role, c as AuditLogPermission, h as GroupsPermission, k as UserManagementPermission, p as DeploymentPermission, v as PermissionSet, x as ReleasesPermission } from "../constants-C2O55iZu.cjs";
|
|
2
2
|
import { i as ReadState } from "../constants-D8-yUk19.cjs";
|
|
3
|
-
import { a as UserSettings, i as UserSession, n as GlobalSettings, r as User$1, t as CustomColumn } from "../index-
|
|
4
|
-
import { i as SnackbarContent } from "../index-
|
|
5
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
3
|
+
import { a as UserSettings, i as UserSession, n as GlobalSettings, r as User$1, t as CustomColumn } from "../index-CqhXqGLt.cjs";
|
|
4
|
+
import { i as SnackbarContent } from "../index-BKU1G9-x.cjs";
|
|
5
|
+
import { r as RootState, t as AppDispatch } from "../store-Dw8Uo_Df.cjs";
|
|
6
6
|
import { EmailUpdateRequest, PendingEmailChange, PersonalAccessToken } from "@northern.tech/types/MenderTypes";
|
|
7
7
|
//#region src/usersSlice/thunks.d.ts
|
|
8
8
|
type ThunkPermissionSet = Record<string, PermissionSet>;
|
|
@@ -383,7 +383,14 @@ interface CreateUserPayload {
|
|
|
383
383
|
shouldResetPassword?: boolean;
|
|
384
384
|
sso?: boolean;
|
|
385
385
|
}
|
|
386
|
-
declare const createUser: import("@reduxjs/toolkit").AsyncThunk<[import("@reduxjs/toolkit").PayloadAction<
|
|
386
|
+
declare const createUser: import("@reduxjs/toolkit").AsyncThunk<[import("@reduxjs/toolkit").PayloadAction<{
|
|
387
|
+
payload: Record<string, User$1>;
|
|
388
|
+
type: "users/receivedUserList";
|
|
389
|
+
}, string, {
|
|
390
|
+
arg: void;
|
|
391
|
+
requestId: string;
|
|
392
|
+
requestStatus: "fulfilled";
|
|
393
|
+
}, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
387
394
|
arg: void;
|
|
388
395
|
requestId: string;
|
|
389
396
|
requestStatus: "rejected";
|
|
@@ -393,14 +400,7 @@ declare const createUser: import("@reduxjs/toolkit").AsyncThunk<[import("@reduxj
|
|
|
393
400
|
rejectedWithValue: true;
|
|
394
401
|
} | ({
|
|
395
402
|
rejectedWithValue: false;
|
|
396
|
-
} & {})), import("@reduxjs/toolkit").SerializedError
|
|
397
|
-
payload: Record<string, User$1>;
|
|
398
|
-
type: "users/receivedUserList";
|
|
399
|
-
}, string, {
|
|
400
|
-
arg: void;
|
|
401
|
-
requestId: string;
|
|
402
|
-
requestStatus: "fulfilled";
|
|
403
|
-
}, never>, {
|
|
403
|
+
} & {})), import("@reduxjs/toolkit").SerializedError>, {
|
|
404
404
|
payload: string | SnackbarContent;
|
|
405
405
|
type: "app/setSnackbar";
|
|
406
406
|
}], CreateUserPayload, {
|
|
@@ -417,7 +417,14 @@ type CreateUserV2Payload = {
|
|
|
417
417
|
email: string;
|
|
418
418
|
roles?: string[];
|
|
419
419
|
};
|
|
420
|
-
declare const createUserV2: import("@reduxjs/toolkit").AsyncThunk<[import("@reduxjs/toolkit").PayloadAction<
|
|
420
|
+
declare const createUserV2: import("@reduxjs/toolkit").AsyncThunk<[import("@reduxjs/toolkit").PayloadAction<{
|
|
421
|
+
payload: Record<string, User$1>;
|
|
422
|
+
type: "users/receivedUserList";
|
|
423
|
+
}, string, {
|
|
424
|
+
arg: void;
|
|
425
|
+
requestId: string;
|
|
426
|
+
requestStatus: "fulfilled";
|
|
427
|
+
}, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
421
428
|
arg: void;
|
|
422
429
|
requestId: string;
|
|
423
430
|
requestStatus: "rejected";
|
|
@@ -427,14 +434,7 @@ declare const createUserV2: import("@reduxjs/toolkit").AsyncThunk<[import("@redu
|
|
|
427
434
|
rejectedWithValue: true;
|
|
428
435
|
} | ({
|
|
429
436
|
rejectedWithValue: false;
|
|
430
|
-
} & {})), import("@reduxjs/toolkit").SerializedError
|
|
431
|
-
payload: Record<string, User$1>;
|
|
432
|
-
type: "users/receivedUserList";
|
|
433
|
-
}, string, {
|
|
434
|
-
arg: void;
|
|
435
|
-
requestId: string;
|
|
436
|
-
requestStatus: "fulfilled";
|
|
437
|
-
}, never>, {
|
|
437
|
+
} & {})), import("@reduxjs/toolkit").SerializedError>, {
|
|
438
438
|
payload: string | SnackbarContent;
|
|
439
439
|
type: "app/setSnackbar";
|
|
440
440
|
}], CreateUserV2Payload, {
|
|
@@ -450,7 +450,14 @@ declare const createUserV2: import("@reduxjs/toolkit").AsyncThunk<[import("@redu
|
|
|
450
450
|
declare const removeUser: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
451
451
|
payload: string;
|
|
452
452
|
type: "users/removedUser";
|
|
453
|
-
}, import("@reduxjs/toolkit").PayloadAction<
|
|
453
|
+
}, import("@reduxjs/toolkit").PayloadAction<{
|
|
454
|
+
payload: Record<string, User$1>;
|
|
455
|
+
type: "users/receivedUserList";
|
|
456
|
+
}, string, {
|
|
457
|
+
arg: void;
|
|
458
|
+
requestId: string;
|
|
459
|
+
requestStatus: "fulfilled";
|
|
460
|
+
}, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
454
461
|
arg: void;
|
|
455
462
|
requestId: string;
|
|
456
463
|
requestStatus: "rejected";
|
|
@@ -460,14 +467,7 @@ declare const removeUser: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
460
467
|
rejectedWithValue: true;
|
|
461
468
|
} | ({
|
|
462
469
|
rejectedWithValue: false;
|
|
463
|
-
} & {})), import("@reduxjs/toolkit").SerializedError
|
|
464
|
-
payload: Record<string, User$1>;
|
|
465
|
-
type: "users/receivedUserList";
|
|
466
|
-
}, string, {
|
|
467
|
-
arg: void;
|
|
468
|
-
requestId: string;
|
|
469
|
-
requestStatus: "fulfilled";
|
|
470
|
-
}, never>, {
|
|
470
|
+
} & {})), import("@reduxjs/toolkit").SerializedError>, {
|
|
471
471
|
payload: string | SnackbarContent;
|
|
472
472
|
type: "app/setSnackbar";
|
|
473
473
|
}], string, {
|
|
@@ -518,7 +518,14 @@ declare const checkEmailExists: import("@reduxjs/toolkit").AsyncThunk<boolean |
|
|
|
518
518
|
declare const addUserToCurrentTenant: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
519
519
|
payload: string | SnackbarContent;
|
|
520
520
|
type: "app/setSnackbar";
|
|
521
|
-
}, import("@reduxjs/toolkit").PayloadAction<
|
|
521
|
+
}, import("@reduxjs/toolkit").PayloadAction<{
|
|
522
|
+
payload: Record<string, User$1>;
|
|
523
|
+
type: "users/receivedUserList";
|
|
524
|
+
}, string, {
|
|
525
|
+
arg: void;
|
|
526
|
+
requestId: string;
|
|
527
|
+
requestStatus: "fulfilled";
|
|
528
|
+
}, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
522
529
|
arg: void;
|
|
523
530
|
requestId: string;
|
|
524
531
|
requestStatus: "rejected";
|
|
@@ -528,14 +535,7 @@ declare const addUserToCurrentTenant: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
528
535
|
rejectedWithValue: true;
|
|
529
536
|
} | ({
|
|
530
537
|
rejectedWithValue: false;
|
|
531
|
-
} & {})), import("@reduxjs/toolkit").SerializedError>
|
|
532
|
-
payload: Record<string, User$1>;
|
|
533
|
-
type: "users/receivedUserList";
|
|
534
|
-
}, string, {
|
|
535
|
-
arg: void;
|
|
536
|
-
requestId: string;
|
|
537
|
-
requestStatus: "fulfilled";
|
|
538
|
-
}, never>], string, {
|
|
538
|
+
} & {})), import("@reduxjs/toolkit").SerializedError>], string, {
|
|
539
539
|
dispatch: AppDispatch;
|
|
540
540
|
state: RootState;
|
|
541
541
|
extra?: unknown;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as Role, c as AuditLogPermission, h as GroupsPermission, k as UserManagementPermission, p as DeploymentPermission, v as PermissionSet, x as ReleasesPermission } from "../constants-
|
|
1
|
+
import { S as Role, c as AuditLogPermission, h as GroupsPermission, k as UserManagementPermission, p as DeploymentPermission, v as PermissionSet, x as ReleasesPermission } from "../constants-BJuY-ODE.js";
|
|
2
2
|
import { i as ReadState } from "../constants-D8-yUk19.js";
|
|
3
|
-
import { a as UserSettings, i as UserSession, n as GlobalSettings, r as User$1, t as CustomColumn } from "../index
|
|
4
|
-
import { i as SnackbarContent } from "../index-
|
|
5
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
3
|
+
import { a as UserSettings, i as UserSession, n as GlobalSettings, r as User$1, t as CustomColumn } from "../index--SKVGToc.js";
|
|
4
|
+
import { i as SnackbarContent } from "../index-xxqlerg5.js";
|
|
5
|
+
import { r as RootState, t as AppDispatch } from "../store-DLp6ajT8.js";
|
|
6
6
|
import { EmailUpdateRequest, PendingEmailChange, PersonalAccessToken } from "@northern.tech/types/MenderTypes";
|
|
7
7
|
//#region src/usersSlice/thunks.d.ts
|
|
8
8
|
type ThunkPermissionSet = Record<string, PermissionSet>;
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as mapTermsToFilters, C as getDeploymentState, D as listItemMapper, E as isDarkMode, F as statCollector, I as stringToBoolean, L as stripOrchestratorManifestPrefix, M as mergePermissions, N as parseSubscriptionPreview, O as mapDeviceAttributes, P as progress, R as stripUndefined, S as getAttributeScopeLabel, T as groupDeploymentStats, _ as dispatchDelayed, b as filtersFilter, f as DeploymentStats, g as convertToBackendSPLimits, h as convertDeviceListStateToFilters, j as mapUserRolesToUiPermissions, k as mapFiltersToTerms, m as FilterTerm, p as ErrorWithResponse, v as ensureVersionString, w as groupDeploymentDevicesStats, x as generateDeploymentGroupDetails, y as extractErrorMessage } from "./store-
|
|
1
|
+
import { A as mapTermsToFilters, C as getDeploymentState, D as listItemMapper, E as isDarkMode, F as statCollector, I as stringToBoolean, L as stripOrchestratorManifestPrefix, M as mergePermissions, N as parseSubscriptionPreview, O as mapDeviceAttributes, P as progress, R as stripUndefined, S as getAttributeScopeLabel, T as groupDeploymentStats, _ as dispatchDelayed, b as filtersFilter, f as DeploymentStats, g as convertToBackendSPLimits, h as convertDeviceListStateToFilters, j as mapUserRolesToUiPermissions, k as mapFiltersToTerms, m as FilterTerm, p as ErrorWithResponse, v as ensureVersionString, w as groupDeploymentDevicesStats, x as generateDeploymentGroupDetails, y as extractErrorMessage } from "./store-Dw8Uo_Df.cjs";
|
|
2
2
|
export { DeploymentStats, ErrorWithResponse, FilterTerm, convertDeviceListStateToFilters, convertToBackendSPLimits, dispatchDelayed, ensureVersionString, extractErrorMessage, filtersFilter, generateDeploymentGroupDetails, getAttributeScopeLabel, getDeploymentState, groupDeploymentDevicesStats, groupDeploymentStats, isDarkMode, listItemMapper, mapDeviceAttributes, mapFiltersToTerms, mapTermsToFilters, mapUserRolesToUiPermissions, mergePermissions, parseSubscriptionPreview, progress, statCollector, stringToBoolean, stripOrchestratorManifestPrefix, stripUndefined };
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as mapTermsToFilters, C as getDeploymentState, D as listItemMapper, E as isDarkMode, F as statCollector, I as stringToBoolean, L as stripOrchestratorManifestPrefix, M as mergePermissions, N as parseSubscriptionPreview, O as mapDeviceAttributes, P as progress, R as stripUndefined, S as getAttributeScopeLabel, T as groupDeploymentStats, _ as dispatchDelayed, b as filtersFilter, f as DeploymentStats, g as convertToBackendSPLimits, h as convertDeviceListStateToFilters, j as mapUserRolesToUiPermissions, k as mapFiltersToTerms, m as FilterTerm, p as ErrorWithResponse, v as ensureVersionString, w as groupDeploymentDevicesStats, x as generateDeploymentGroupDetails, y as extractErrorMessage } from "./store-
|
|
1
|
+
import { A as mapTermsToFilters, C as getDeploymentState, D as listItemMapper, E as isDarkMode, F as statCollector, I as stringToBoolean, L as stripOrchestratorManifestPrefix, M as mergePermissions, N as parseSubscriptionPreview, O as mapDeviceAttributes, P as progress, R as stripUndefined, S as getAttributeScopeLabel, T as groupDeploymentStats, _ as dispatchDelayed, b as filtersFilter, f as DeploymentStats, g as convertToBackendSPLimits, h as convertDeviceListStateToFilters, j as mapUserRolesToUiPermissions, k as mapFiltersToTerms, m as FilterTerm, p as ErrorWithResponse, v as ensureVersionString, w as groupDeploymentDevicesStats, x as generateDeploymentGroupDetails, y as extractErrorMessage } from "./store-DLp6ajT8.js";
|
|
2
2
|
export { DeploymentStats, ErrorWithResponse, FilterTerm, convertDeviceListStateToFilters, convertToBackendSPLimits, dispatchDelayed, ensureVersionString, extractErrorMessage, filtersFilter, generateDeploymentGroupDetails, getAttributeScopeLabel, getDeploymentState, groupDeploymentDevicesStats, groupDeploymentStats, isDarkMode, listItemMapper, mapDeviceAttributes, mapFiltersToTerms, mapTermsToFilters, mapUserRolesToUiPermissions, mergePermissions, parseSubscriptionPreview, progress, statCollector, stringToBoolean, stripOrchestratorManifestPrefix, stripUndefined };
|
package/dist/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DARK_MODE } from "./appSlice/constants.js";
|
|
2
|
-
import { Ct as deploymentStatesToSubstatesWithSkipped, Nt as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Ot as ATTRIBUTE_SCOPE_LABELS, Pt as TIMEOUTS, St as deploymentStatesToSubstates, T as emptyUiPermissions, _t as DEPLOYMENT_STATES, bt as deploymentDisplayStates, c as DEVICE_ISSUE_OPTIONS, o as ATTRIBUTE_SCOPES, pt as emptyFilter, s as DEVICE_FILTERING_OPTIONS, yt as defaultStats } from "./constants-
|
|
2
|
+
import { Ct as deploymentStatesToSubstatesWithSkipped, Nt as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Ot as ATTRIBUTE_SCOPE_LABELS, Pt as TIMEOUTS, St as deploymentStatesToSubstates, T as emptyUiPermissions, _t as DEPLOYMENT_STATES, bt as deploymentDisplayStates, c as DEVICE_ISSUE_OPTIONS, o as ATTRIBUTE_SCOPES, pt as emptyFilter, s as DEVICE_FILTERING_OPTIONS, yt as defaultStats } from "./constants-D5hACLhF.js";
|
|
3
3
|
import { softwareIndicator } from "./releasesSlice/constants.js";
|
|
4
4
|
import { duplicateFilter, yes } from "@northern.tech/utils/helpers";
|
|
5
5
|
//#region src/utils.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@northern.tech/store",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"jsdom": "30.0.1",
|
|
131
131
|
"msw": "^2.15.0",
|
|
132
132
|
"tsdown": "^0.22.2",
|
|
133
|
-
"vitest": "^4.1.
|
|
133
|
+
"vitest": "^4.1.11"
|
|
134
134
|
},
|
|
135
135
|
"peerDependencies": {
|
|
136
136
|
"@emotion/react": "^11.x",
|