@northern.tech/store 0.32.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions.d.cts +3 -1
- package/dist/actions.d.ts +3 -1
- package/dist/appSlice/selectors.d.cts +2 -2
- package/dist/appSlice/selectors.d.ts +2 -2
- package/dist/appSlice/thunks.d.cts +1 -1
- package/dist/appSlice/thunks.d.ts +1 -1
- package/dist/commonSelectors.d.cts +6 -6
- package/dist/commonSelectors.d.ts +6 -6
- package/dist/deploymentsSlice/selectors.d.cts +2 -2
- package/dist/deploymentsSlice/selectors.d.ts +2 -2
- package/dist/deploymentsSlice/thunks.d.cts +1 -2
- package/dist/deploymentsSlice/thunks.d.ts +1 -2
- package/dist/devicesSlice/selectors.d.cts +2 -2
- package/dist/devicesSlice/selectors.d.ts +2 -2
- package/dist/devicesSlice/thunks.d.cts +1 -1
- package/dist/devicesSlice/thunks.d.ts +1 -1
- package/dist/{index-C-q632wO.d.cts → index-SwHfGav1.d.cts} +20 -4
- package/dist/{index-CyokFK2e.d.ts → index-uxdvFzzE.d.ts} +20 -4
- package/dist/monitorSlice/selectors.d.cts +1 -1
- package/dist/monitorSlice/selectors.d.ts +1 -1
- package/dist/monitorSlice/thunks.d.cts +1 -1
- package/dist/monitorSlice/thunks.d.ts +1 -1
- package/dist/onboardingSlice/selectors.d.cts +1 -1
- package/dist/onboardingSlice/selectors.d.ts +1 -1
- package/dist/onboardingSlice/thunks.d.cts +1 -1
- package/dist/onboardingSlice/thunks.d.ts +1 -1
- package/dist/organizationSlice/selectors.d.cts +2 -2
- package/dist/organizationSlice/selectors.d.ts +2 -2
- package/dist/organizationSlice/thunks.d.cts +1 -1
- package/dist/organizationSlice/thunks.d.ts +1 -1
- package/dist/releasesSlice/index.cjs +19 -0
- package/dist/releasesSlice/index.cjs.map +1 -1
- package/dist/releasesSlice/index.d.cts +2 -2
- package/dist/releasesSlice/index.d.ts +2 -2
- package/dist/releasesSlice/index.js +19 -0
- package/dist/releasesSlice/index.js.map +1 -1
- package/dist/releasesSlice/mocks.cjs +28 -0
- package/dist/releasesSlice/mocks.cjs.map +1 -1
- package/dist/releasesSlice/mocks.d.cts +29 -0
- package/dist/releasesSlice/mocks.d.ts +29 -0
- package/dist/releasesSlice/mocks.js +28 -0
- package/dist/releasesSlice/mocks.js.map +1 -1
- package/dist/releasesSlice/selectors.cjs +17 -2
- package/dist/releasesSlice/selectors.cjs.map +1 -1
- package/dist/releasesSlice/selectors.d.cts +74 -12
- package/dist/releasesSlice/selectors.d.ts +74 -12
- package/dist/releasesSlice/selectors.js +14 -3
- package/dist/releasesSlice/selectors.js.map +1 -1
- package/dist/releasesSlice/thunks.cjs +93 -18
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.d.cts +40 -5
- package/dist/releasesSlice/thunks.d.ts +40 -5
- package/dist/releasesSlice/thunks.js +93 -21
- package/dist/releasesSlice/thunks.js.map +1 -1
- package/dist/selectors.cjs +4 -0
- package/dist/selectors.d.cts +2 -2
- package/dist/selectors.d.ts +2 -2
- package/dist/selectors.js +2 -2
- package/dist/{store-b5cF2WB5.d.cts → store-BC3rDsIH.d.cts} +2 -2
- package/dist/{store-D-xvZXiY.d.ts → store-BjVukDvt.d.ts} +2 -2
- package/dist/store.d.cts +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/storehooks.d.cts +13 -13
- package/dist/storehooks.d.ts +13 -13
- package/dist/thunks.cjs +40 -21
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +3 -3
- package/dist/thunks.d.ts +3 -3
- package/dist/thunks.js +38 -23
- package/dist/thunks.js.map +1 -1
- package/dist/usersSlice/selectors.d.cts +2 -2
- package/dist/usersSlice/selectors.d.ts +2 -2
- package/dist/usersSlice/thunks.cjs +1 -0
- package/dist/usersSlice/thunks.d.cts +42 -29
- package/dist/usersSlice/thunks.d.ts +42 -29
- package/dist/usersSlice/thunks.js +2 -2
- package/package.json +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { i as ReadState } from "../constants-G3wymKIl.cjs";
|
|
2
2
|
import { a as UserSettings, i as UserSession, n as GlobalSettings, o as UserSliceType, r as User } from "../index-BFlHWzjv.cjs";
|
|
3
|
-
import { i as ReleaseSliceType } from "../index-
|
|
3
|
+
import { i as ReleaseSliceType } from "../index-SwHfGav1.cjs";
|
|
4
4
|
import { n as OnboardingSliceType } from "../index-UPc3wvVd.cjs";
|
|
5
5
|
import { o as DeploymentsSliceType } from "../index-BP0uAq36.cjs";
|
|
6
6
|
import { s as DeviceSliceType } from "../index-B64X5ozM.cjs";
|
|
7
7
|
import { t as AppSliceType } from "../index-DwACbyUg.cjs";
|
|
8
8
|
import { t as MonitorSliceType } from "../index-CT5hgXm9.cjs";
|
|
9
9
|
import { t as OrganizationSliceType } from "../index-BbaS7MzW.cjs";
|
|
10
|
-
import { r as RootState } from "../store-
|
|
10
|
+
import { r as RootState } from "../store-BC3rDsIH.cjs";
|
|
11
11
|
import * as _$_northern_tech_utils_constants0 from "@northern.tech/utils/constants";
|
|
12
12
|
import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
|
|
13
13
|
import * as _$reselect from "reselect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { i as ReadState } from "../constants-Cpgyuy_r.js";
|
|
2
2
|
import { a as UserSettings, i as UserSession, n as GlobalSettings, o as UserSliceType, r as User } from "../index-ez3oxfRo.js";
|
|
3
|
-
import { i as ReleaseSliceType } from "../index-
|
|
3
|
+
import { i as ReleaseSliceType } from "../index-uxdvFzzE.js";
|
|
4
4
|
import { n as OnboardingSliceType } from "../index-CJkrL0oA.js";
|
|
5
5
|
import { o as DeploymentsSliceType } from "../index-CkwVnIqd.js";
|
|
6
6
|
import { s as DeviceSliceType } from "../index-BI9O8JWe.js";
|
|
7
7
|
import { t as AppSliceType } from "../index-Bp1WpATs.js";
|
|
8
8
|
import { t as MonitorSliceType } from "../index-DUvrw_Ed.js";
|
|
9
9
|
import { t as OrganizationSliceType } from "../index-C6wNUfiV.js";
|
|
10
|
-
import { r as RootState } from "../store-
|
|
10
|
+
import { r as RootState } from "../store-BjVukDvt.js";
|
|
11
11
|
import * as _$_northern_tech_utils_constants0 from "@northern.tech/utils/constants";
|
|
12
12
|
import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
|
|
13
13
|
import * as _$reselect from "reselect";
|
|
@@ -2,6 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_thunks = require("../thunks.cjs");
|
|
3
3
|
exports.addUserToCurrentTenant = require_thunks.addUserToCurrentTenant;
|
|
4
4
|
exports.checkEmailExists = require_thunks.checkEmailExists;
|
|
5
|
+
exports.confirmOAuthLink = require_thunks.confirmOAuthLink;
|
|
5
6
|
exports.createRole = require_thunks.createRole;
|
|
6
7
|
exports.createUser = require_thunks.createUser;
|
|
7
8
|
exports.disableUser2fa = require_thunks.disableUser2fa;
|
|
@@ -2,7 +2,7 @@ import { S as Role, c as AuditLogPermission, h as GroupsPermission, k as UserMan
|
|
|
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$1, t as CustomColumn } from "../index-BFlHWzjv.cjs";
|
|
4
4
|
import { s as SnackbarContent } from "../index-DwACbyUg.cjs";
|
|
5
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
5
|
+
import { r as RootState, t as AppDispatch } from "../store-BC3rDsIH.cjs";
|
|
6
6
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
7
7
|
import * as _$redux from "redux";
|
|
8
8
|
import { PersonalAccessToken } from "@northern.tech/types/MenderTypes";
|
|
@@ -41,6 +41,19 @@ interface LoginUserPayload {
|
|
|
41
41
|
stayLoggedIn?: boolean;
|
|
42
42
|
token2fa?: string;
|
|
43
43
|
}
|
|
44
|
+
declare const confirmOAuthLink: _$_reduxjs_toolkit0.AsyncThunk<{
|
|
45
|
+
payload: UserSession;
|
|
46
|
+
type: "users/successfullyLoggedIn";
|
|
47
|
+
} | undefined, LoginUserPayload, {
|
|
48
|
+
dispatch: AppDispatch;
|
|
49
|
+
state: RootState;
|
|
50
|
+
extra?: unknown;
|
|
51
|
+
rejectValue?: unknown;
|
|
52
|
+
serializedErrorType?: unknown;
|
|
53
|
+
pendingMeta?: unknown;
|
|
54
|
+
fulfilledMeta?: unknown;
|
|
55
|
+
rejectedMeta?: unknown;
|
|
56
|
+
}>;
|
|
44
57
|
declare const loginUser: _$_reduxjs_toolkit0.AsyncThunk<{
|
|
45
58
|
payload: UserSession;
|
|
46
59
|
type: "users/successfullyLoggedIn";
|
|
@@ -334,14 +347,7 @@ interface CreateUserPayload {
|
|
|
334
347
|
shouldResetPassword?: boolean;
|
|
335
348
|
sso?: boolean;
|
|
336
349
|
}
|
|
337
|
-
declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.PayloadAction<{
|
|
338
|
-
payload: Record<string, User$1>;
|
|
339
|
-
type: "users/receivedUserList";
|
|
340
|
-
}, string, {
|
|
341
|
-
arg: void;
|
|
342
|
-
requestId: string;
|
|
343
|
-
requestStatus: "fulfilled";
|
|
344
|
-
}, never> | _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
|
|
350
|
+
declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.PayloadAction<unknown, string, {
|
|
345
351
|
arg: void;
|
|
346
352
|
requestId: string;
|
|
347
353
|
requestStatus: "rejected";
|
|
@@ -351,7 +357,14 @@ declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.Pa
|
|
|
351
357
|
rejectedWithValue: true;
|
|
352
358
|
} | ({
|
|
353
359
|
rejectedWithValue: false;
|
|
354
|
-
} & {})), _$_reduxjs_toolkit0.SerializedError
|
|
360
|
+
} & {})), _$_reduxjs_toolkit0.SerializedError> | _$_reduxjs_toolkit0.PayloadAction<{
|
|
361
|
+
payload: Record<string, User$1>;
|
|
362
|
+
type: "users/receivedUserList";
|
|
363
|
+
}, string, {
|
|
364
|
+
arg: void;
|
|
365
|
+
requestId: string;
|
|
366
|
+
requestStatus: "fulfilled";
|
|
367
|
+
}, never>, {
|
|
355
368
|
payload: string | SnackbarContent;
|
|
356
369
|
type: "app/setSnackbar";
|
|
357
370
|
}], CreateUserPayload, {
|
|
@@ -367,14 +380,7 @@ declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.Pa
|
|
|
367
380
|
declare const removeUser: _$_reduxjs_toolkit0.AsyncThunk<[{
|
|
368
381
|
payload: string;
|
|
369
382
|
type: "users/removedUser";
|
|
370
|
-
}, _$_reduxjs_toolkit0.PayloadAction<{
|
|
371
|
-
payload: Record<string, User$1>;
|
|
372
|
-
type: "users/receivedUserList";
|
|
373
|
-
}, string, {
|
|
374
|
-
arg: void;
|
|
375
|
-
requestId: string;
|
|
376
|
-
requestStatus: "fulfilled";
|
|
377
|
-
}, never> | _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
|
|
383
|
+
}, _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
|
|
378
384
|
arg: void;
|
|
379
385
|
requestId: string;
|
|
380
386
|
requestStatus: "rejected";
|
|
@@ -384,7 +390,14 @@ declare const removeUser: _$_reduxjs_toolkit0.AsyncThunk<[{
|
|
|
384
390
|
rejectedWithValue: true;
|
|
385
391
|
} | ({
|
|
386
392
|
rejectedWithValue: false;
|
|
387
|
-
} & {})), _$_reduxjs_toolkit0.SerializedError
|
|
393
|
+
} & {})), _$_reduxjs_toolkit0.SerializedError> | _$_reduxjs_toolkit0.PayloadAction<{
|
|
394
|
+
payload: Record<string, User$1>;
|
|
395
|
+
type: "users/receivedUserList";
|
|
396
|
+
}, string, {
|
|
397
|
+
arg: void;
|
|
398
|
+
requestId: string;
|
|
399
|
+
requestStatus: "fulfilled";
|
|
400
|
+
}, never>, {
|
|
388
401
|
payload: string | SnackbarContent;
|
|
389
402
|
type: "app/setSnackbar";
|
|
390
403
|
}], string, {
|
|
@@ -435,14 +448,7 @@ declare const checkEmailExists: _$_reduxjs_toolkit0.AsyncThunk<boolean | undefin
|
|
|
435
448
|
declare const addUserToCurrentTenant: _$_reduxjs_toolkit0.AsyncThunk<[{
|
|
436
449
|
payload: string | SnackbarContent;
|
|
437
450
|
type: "app/setSnackbar";
|
|
438
|
-
}, _$_reduxjs_toolkit0.PayloadAction<{
|
|
439
|
-
payload: Record<string, User$1>;
|
|
440
|
-
type: "users/receivedUserList";
|
|
441
|
-
}, string, {
|
|
442
|
-
arg: void;
|
|
443
|
-
requestId: string;
|
|
444
|
-
requestStatus: "fulfilled";
|
|
445
|
-
}, never> | _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
|
|
451
|
+
}, _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
|
|
446
452
|
arg: void;
|
|
447
453
|
requestId: string;
|
|
448
454
|
requestStatus: "rejected";
|
|
@@ -452,7 +458,14 @@ declare const addUserToCurrentTenant: _$_reduxjs_toolkit0.AsyncThunk<[{
|
|
|
452
458
|
rejectedWithValue: true;
|
|
453
459
|
} | ({
|
|
454
460
|
rejectedWithValue: false;
|
|
455
|
-
} & {})), _$_reduxjs_toolkit0.SerializedError>
|
|
461
|
+
} & {})), _$_reduxjs_toolkit0.SerializedError> | _$_reduxjs_toolkit0.PayloadAction<{
|
|
462
|
+
payload: Record<string, User$1>;
|
|
463
|
+
type: "users/receivedUserList";
|
|
464
|
+
}, string, {
|
|
465
|
+
arg: void;
|
|
466
|
+
requestId: string;
|
|
467
|
+
requestStatus: "fulfilled";
|
|
468
|
+
}, never>], string, {
|
|
456
469
|
dispatch: AppDispatch;
|
|
457
470
|
state: RootState;
|
|
458
471
|
extra?: unknown;
|
|
@@ -912,5 +925,5 @@ declare const submitUserFeedback: _$_reduxjs_toolkit0.AsyncThunk<void, SubmitFee
|
|
|
912
925
|
rejectedMeta?: unknown;
|
|
913
926
|
}>;
|
|
914
927
|
//#endregion
|
|
915
|
-
export { SubmittedRole, addUserToCurrentTenant, checkEmailExists, createRole, createUser, disableUser2fa, editRole, editUser, enableUser2fa, generateToken, get2FAQRCode, getGlobalSettings, getPermissionSets, getRoles, getTokens, getUser, getUserList, getUserSettings, initializeSelf, loginUser, logoutUser, normalizeRbacRoles, passwordResetComplete, passwordResetStart, removeRole, removeUser, revokeToken, saveGlobalSettings, saveUserSettings, setAllTooltipsReadState, setHideAnnouncement, setTooltipReadState, submitUserFeedback, switchUserOrganization, updateUserColumnSettings, verify2FA, verifyEmailComplete, verifyEmailStart };
|
|
928
|
+
export { SubmittedRole, addUserToCurrentTenant, checkEmailExists, confirmOAuthLink, createRole, createUser, disableUser2fa, editRole, editUser, enableUser2fa, generateToken, get2FAQRCode, getGlobalSettings, getPermissionSets, getRoles, getTokens, getUser, getUserList, getUserSettings, initializeSelf, loginUser, logoutUser, normalizeRbacRoles, passwordResetComplete, passwordResetStart, removeRole, removeUser, revokeToken, saveGlobalSettings, saveUserSettings, setAllTooltipsReadState, setHideAnnouncement, setTooltipReadState, submitUserFeedback, switchUserOrganization, updateUserColumnSettings, verify2FA, verifyEmailComplete, verifyEmailStart };
|
|
916
929
|
//# sourceMappingURL=thunks.d.cts.map
|
|
@@ -2,7 +2,7 @@ import { S as Role, c as AuditLogPermission, h as GroupsPermission, k as UserMan
|
|
|
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$1, t as CustomColumn } from "../index-ez3oxfRo.js";
|
|
4
4
|
import { s as SnackbarContent } from "../index-Bp1WpATs.js";
|
|
5
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
5
|
+
import { r as RootState, t as AppDispatch } from "../store-BjVukDvt.js";
|
|
6
6
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
7
7
|
import * as _$axios from "axios";
|
|
8
8
|
import * as _$redux from "redux";
|
|
@@ -41,6 +41,19 @@ interface LoginUserPayload {
|
|
|
41
41
|
stayLoggedIn?: boolean;
|
|
42
42
|
token2fa?: string;
|
|
43
43
|
}
|
|
44
|
+
declare const confirmOAuthLink: _$_reduxjs_toolkit0.AsyncThunk<{
|
|
45
|
+
payload: UserSession;
|
|
46
|
+
type: "users/successfullyLoggedIn";
|
|
47
|
+
} | undefined, LoginUserPayload, {
|
|
48
|
+
dispatch: AppDispatch;
|
|
49
|
+
state: RootState;
|
|
50
|
+
extra?: unknown;
|
|
51
|
+
rejectValue?: unknown;
|
|
52
|
+
serializedErrorType?: unknown;
|
|
53
|
+
pendingMeta?: unknown;
|
|
54
|
+
fulfilledMeta?: unknown;
|
|
55
|
+
rejectedMeta?: unknown;
|
|
56
|
+
}>;
|
|
44
57
|
declare const loginUser: _$_reduxjs_toolkit0.AsyncThunk<{
|
|
45
58
|
payload: UserSession;
|
|
46
59
|
type: "users/successfullyLoggedIn";
|
|
@@ -334,14 +347,7 @@ interface CreateUserPayload {
|
|
|
334
347
|
shouldResetPassword?: boolean;
|
|
335
348
|
sso?: boolean;
|
|
336
349
|
}
|
|
337
|
-
declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.PayloadAction<{
|
|
338
|
-
payload: Record<string, User$1>;
|
|
339
|
-
type: "users/receivedUserList";
|
|
340
|
-
}, string, {
|
|
341
|
-
arg: void;
|
|
342
|
-
requestId: string;
|
|
343
|
-
requestStatus: "fulfilled";
|
|
344
|
-
}, never> | _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
|
|
350
|
+
declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.PayloadAction<unknown, string, {
|
|
345
351
|
arg: void;
|
|
346
352
|
requestId: string;
|
|
347
353
|
requestStatus: "rejected";
|
|
@@ -351,7 +357,14 @@ declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.Pa
|
|
|
351
357
|
rejectedWithValue: true;
|
|
352
358
|
} | ({
|
|
353
359
|
rejectedWithValue: false;
|
|
354
|
-
} & {})), _$_reduxjs_toolkit0.SerializedError
|
|
360
|
+
} & {})), _$_reduxjs_toolkit0.SerializedError> | _$_reduxjs_toolkit0.PayloadAction<{
|
|
361
|
+
payload: Record<string, User$1>;
|
|
362
|
+
type: "users/receivedUserList";
|
|
363
|
+
}, string, {
|
|
364
|
+
arg: void;
|
|
365
|
+
requestId: string;
|
|
366
|
+
requestStatus: "fulfilled";
|
|
367
|
+
}, never>, {
|
|
355
368
|
payload: string | SnackbarContent;
|
|
356
369
|
type: "app/setSnackbar";
|
|
357
370
|
}], CreateUserPayload, {
|
|
@@ -367,14 +380,7 @@ declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.Pa
|
|
|
367
380
|
declare const removeUser: _$_reduxjs_toolkit0.AsyncThunk<[{
|
|
368
381
|
payload: string;
|
|
369
382
|
type: "users/removedUser";
|
|
370
|
-
}, _$_reduxjs_toolkit0.PayloadAction<{
|
|
371
|
-
payload: Record<string, User$1>;
|
|
372
|
-
type: "users/receivedUserList";
|
|
373
|
-
}, string, {
|
|
374
|
-
arg: void;
|
|
375
|
-
requestId: string;
|
|
376
|
-
requestStatus: "fulfilled";
|
|
377
|
-
}, never> | _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
|
|
383
|
+
}, _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
|
|
378
384
|
arg: void;
|
|
379
385
|
requestId: string;
|
|
380
386
|
requestStatus: "rejected";
|
|
@@ -384,7 +390,14 @@ declare const removeUser: _$_reduxjs_toolkit0.AsyncThunk<[{
|
|
|
384
390
|
rejectedWithValue: true;
|
|
385
391
|
} | ({
|
|
386
392
|
rejectedWithValue: false;
|
|
387
|
-
} & {})), _$_reduxjs_toolkit0.SerializedError
|
|
393
|
+
} & {})), _$_reduxjs_toolkit0.SerializedError> | _$_reduxjs_toolkit0.PayloadAction<{
|
|
394
|
+
payload: Record<string, User$1>;
|
|
395
|
+
type: "users/receivedUserList";
|
|
396
|
+
}, string, {
|
|
397
|
+
arg: void;
|
|
398
|
+
requestId: string;
|
|
399
|
+
requestStatus: "fulfilled";
|
|
400
|
+
}, never>, {
|
|
388
401
|
payload: string | SnackbarContent;
|
|
389
402
|
type: "app/setSnackbar";
|
|
390
403
|
}], string, {
|
|
@@ -435,14 +448,7 @@ declare const checkEmailExists: _$_reduxjs_toolkit0.AsyncThunk<boolean | undefin
|
|
|
435
448
|
declare const addUserToCurrentTenant: _$_reduxjs_toolkit0.AsyncThunk<[{
|
|
436
449
|
payload: string | SnackbarContent;
|
|
437
450
|
type: "app/setSnackbar";
|
|
438
|
-
}, _$_reduxjs_toolkit0.PayloadAction<{
|
|
439
|
-
payload: Record<string, User$1>;
|
|
440
|
-
type: "users/receivedUserList";
|
|
441
|
-
}, string, {
|
|
442
|
-
arg: void;
|
|
443
|
-
requestId: string;
|
|
444
|
-
requestStatus: "fulfilled";
|
|
445
|
-
}, never> | _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
|
|
451
|
+
}, _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
|
|
446
452
|
arg: void;
|
|
447
453
|
requestId: string;
|
|
448
454
|
requestStatus: "rejected";
|
|
@@ -452,7 +458,14 @@ declare const addUserToCurrentTenant: _$_reduxjs_toolkit0.AsyncThunk<[{
|
|
|
452
458
|
rejectedWithValue: true;
|
|
453
459
|
} | ({
|
|
454
460
|
rejectedWithValue: false;
|
|
455
|
-
} & {})), _$_reduxjs_toolkit0.SerializedError>
|
|
461
|
+
} & {})), _$_reduxjs_toolkit0.SerializedError> | _$_reduxjs_toolkit0.PayloadAction<{
|
|
462
|
+
payload: Record<string, User$1>;
|
|
463
|
+
type: "users/receivedUserList";
|
|
464
|
+
}, string, {
|
|
465
|
+
arg: void;
|
|
466
|
+
requestId: string;
|
|
467
|
+
requestStatus: "fulfilled";
|
|
468
|
+
}, never>], string, {
|
|
456
469
|
dispatch: AppDispatch;
|
|
457
470
|
state: RootState;
|
|
458
471
|
extra?: unknown;
|
|
@@ -912,5 +925,5 @@ declare const submitUserFeedback: _$_reduxjs_toolkit0.AsyncThunk<void, SubmitFee
|
|
|
912
925
|
rejectedMeta?: unknown;
|
|
913
926
|
}>;
|
|
914
927
|
//#endregion
|
|
915
|
-
export { SubmittedRole, addUserToCurrentTenant, checkEmailExists, createRole, createUser, disableUser2fa, editRole, editUser, enableUser2fa, generateToken, get2FAQRCode, getGlobalSettings, getPermissionSets, getRoles, getTokens, getUser, getUserList, getUserSettings, initializeSelf, loginUser, logoutUser, normalizeRbacRoles, passwordResetComplete, passwordResetStart, removeRole, removeUser, revokeToken, saveGlobalSettings, saveUserSettings, setAllTooltipsReadState, setHideAnnouncement, setTooltipReadState, submitUserFeedback, switchUserOrganization, updateUserColumnSettings, verify2FA, verifyEmailComplete, verifyEmailStart };
|
|
928
|
+
export { SubmittedRole, addUserToCurrentTenant, checkEmailExists, confirmOAuthLink, createRole, createUser, disableUser2fa, editRole, editUser, enableUser2fa, generateToken, get2FAQRCode, getGlobalSettings, getPermissionSets, getRoles, getTokens, getUser, getUserList, getUserSettings, initializeSelf, loginUser, logoutUser, normalizeRbacRoles, passwordResetComplete, passwordResetStart, removeRole, removeUser, revokeToken, saveGlobalSettings, saveUserSettings, setAllTooltipsReadState, setHideAnnouncement, setTooltipReadState, submitUserFeedback, switchUserOrganization, updateUserColumnSettings, verify2FA, verifyEmailComplete, verifyEmailStart };
|
|
916
929
|
//# sourceMappingURL=thunks.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { addUserToCurrentTenant, checkEmailExists, createRole, createUser, disableUser2fa, editRole, editUser, enableUser2fa, generateToken, get2FAQRCode, getGlobalSettings, getPermissionSets, getRoles, getTokens, getUser, getUserList, getUserSettings, initializeSelf, loginUser, logoutUser, normalizeRbacRoles, passwordResetComplete, passwordResetStart, removeRole, removeUser, revokeToken, saveGlobalSettings, saveUserSettings, setAllTooltipsReadState, setHideAnnouncement, setTooltipReadState, submitUserFeedback, switchUserOrganization, updateUserColumnSettings, verify2FA, verifyEmailComplete, verifyEmailStart } from "../thunks.js";
|
|
2
|
-
export { addUserToCurrentTenant, checkEmailExists, createRole, createUser, disableUser2fa, editRole, editUser, enableUser2fa, generateToken, get2FAQRCode, getGlobalSettings, getPermissionSets, getRoles, getTokens, getUser, getUserList, getUserSettings, initializeSelf, loginUser, logoutUser, normalizeRbacRoles, passwordResetComplete, passwordResetStart, removeRole, removeUser, revokeToken, saveGlobalSettings, saveUserSettings, setAllTooltipsReadState, setHideAnnouncement, setTooltipReadState, submitUserFeedback, switchUserOrganization, updateUserColumnSettings, verify2FA, verifyEmailComplete, verifyEmailStart };
|
|
1
|
+
import { addUserToCurrentTenant, checkEmailExists, confirmOAuthLink, createRole, createUser, disableUser2fa, editRole, editUser, enableUser2fa, generateToken, get2FAQRCode, getGlobalSettings, getPermissionSets, getRoles, getTokens, getUser, getUserList, getUserSettings, initializeSelf, loginUser, logoutUser, normalizeRbacRoles, passwordResetComplete, passwordResetStart, removeRole, removeUser, revokeToken, saveGlobalSettings, saveUserSettings, setAllTooltipsReadState, setHideAnnouncement, setTooltipReadState, submitUserFeedback, switchUserOrganization, updateUserColumnSettings, verify2FA, verifyEmailComplete, verifyEmailStart } from "../thunks.js";
|
|
2
|
+
export { addUserToCurrentTenant, checkEmailExists, confirmOAuthLink, createRole, createUser, disableUser2fa, editRole, editUser, enableUser2fa, generateToken, get2FAQRCode, getGlobalSettings, getPermissionSets, getRoles, getTokens, getUser, getUserList, getUserSettings, initializeSelf, loginUser, logoutUser, normalizeRbacRoles, passwordResetComplete, passwordResetStart, removeRole, removeUser, revokeToken, saveGlobalSettings, saveUserSettings, setAllTooltipsReadState, setHideAnnouncement, setTooltipReadState, submitUserFeedback, switchUserOrganization, updateUserColumnSettings, verify2FA, verifyEmailComplete, verifyEmailStart };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@northern.tech/store",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
],
|
|
112
112
|
"scripts": {
|
|
113
113
|
"build": "tsdown",
|
|
114
|
-
"dev": "tsdown --watch --
|
|
114
|
+
"dev": "tsdown --watch --onSuccess 'yalc publish --no-script --push'",
|
|
115
115
|
"lint": "eslint --quiet .",
|
|
116
116
|
"format:check": "prettier --check \"src/**/*.{js,ts,jsx,tsx,less}\"",
|
|
117
117
|
"test": "vitest",
|