@northern.tech/store 0.34.0 → 0.36.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.
Files changed (61) hide show
  1. package/dist/actions.d.cts +9 -3
  2. package/dist/actions.d.ts +9 -3
  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-SwHfGav1.d.cts → index-B3IF6ur9.d.cts} +5 -1
  18. package/dist/{index-uxdvFzzE.d.ts → index-DaD3yorF.d.ts} +5 -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 +12 -6
  22. package/dist/monitorSlice/thunks.d.ts +12 -6
  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 +20 -9
  30. package/dist/organizationSlice/thunks.d.ts +20 -9
  31. package/dist/releasesSlice/index.cjs +5 -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 +5 -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 +41 -18
  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 +41 -19
  44. package/dist/releasesSlice/thunks.js.map +1 -1
  45. package/dist/{store-BjVukDvt.d.ts → store-BZo47jc-.d.ts} +2 -2
  46. package/dist/{store-BC3rDsIH.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 +13 -13
  50. package/dist/storehooks.d.ts +13 -13
  51. package/dist/thunks.cjs +11 -7
  52. package/dist/thunks.cjs.map +1 -1
  53. package/dist/thunks.d.cts +2 -2
  54. package/dist/thunks.d.ts +2 -2
  55. package/dist/thunks.js +12 -9
  56. package/dist/thunks.js.map +1 -1
  57. package/dist/usersSlice/selectors.d.cts +2 -2
  58. package/dist/usersSlice/selectors.d.ts +2 -2
  59. package/dist/usersSlice/thunks.d.cts +28 -28
  60. package/dist/usersSlice/thunks.d.ts +28 -28
  61. package/package.json +1 -1
@@ -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-SwHfGav1.cjs";
3
+ import { i as ReleaseSliceType } from "../index-B3IF6ur9.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-BC3rDsIH.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,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-uxdvFzzE.js";
3
+ import { i as ReleaseSliceType } from "../index-DaD3yorF.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-BjVukDvt.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";
@@ -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-BC3rDsIH.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 * as _$redux from "redux";
8
8
  import { PersonalAccessToken } from "@northern.tech/types/MenderTypes";
@@ -347,7 +347,14 @@ interface CreateUserPayload {
347
347
  shouldResetPassword?: boolean;
348
348
  sso?: boolean;
349
349
  }
350
- declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.PayloadAction<unknown, string, {
350
+ declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.PayloadAction<{
351
+ payload: Record<string, User$1>;
352
+ type: "users/receivedUserList";
353
+ }, string, {
354
+ arg: void;
355
+ requestId: string;
356
+ requestStatus: "fulfilled";
357
+ }, never> | _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
351
358
  arg: void;
352
359
  requestId: string;
353
360
  requestStatus: "rejected";
@@ -357,14 +364,7 @@ declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.Pa
357
364
  rejectedWithValue: true;
358
365
  } | ({
359
366
  rejectedWithValue: false;
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>, {
367
+ } & {})), _$_reduxjs_toolkit0.SerializedError>, {
368
368
  payload: string | SnackbarContent;
369
369
  type: "app/setSnackbar";
370
370
  }], CreateUserPayload, {
@@ -380,7 +380,14 @@ declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.Pa
380
380
  declare const removeUser: _$_reduxjs_toolkit0.AsyncThunk<[{
381
381
  payload: string;
382
382
  type: "users/removedUser";
383
- }, _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
383
+ }, _$_reduxjs_toolkit0.PayloadAction<{
384
+ payload: Record<string, User$1>;
385
+ type: "users/receivedUserList";
386
+ }, string, {
387
+ arg: void;
388
+ requestId: string;
389
+ requestStatus: "fulfilled";
390
+ }, never> | _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
384
391
  arg: void;
385
392
  requestId: string;
386
393
  requestStatus: "rejected";
@@ -390,14 +397,7 @@ declare const removeUser: _$_reduxjs_toolkit0.AsyncThunk<[{
390
397
  rejectedWithValue: true;
391
398
  } | ({
392
399
  rejectedWithValue: false;
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>, {
400
+ } & {})), _$_reduxjs_toolkit0.SerializedError>, {
401
401
  payload: string | SnackbarContent;
402
402
  type: "app/setSnackbar";
403
403
  }], string, {
@@ -448,7 +448,14 @@ declare const checkEmailExists: _$_reduxjs_toolkit0.AsyncThunk<boolean | undefin
448
448
  declare const addUserToCurrentTenant: _$_reduxjs_toolkit0.AsyncThunk<[{
449
449
  payload: string | SnackbarContent;
450
450
  type: "app/setSnackbar";
451
- }, _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
451
+ }, _$_reduxjs_toolkit0.PayloadAction<{
452
+ payload: Record<string, User$1>;
453
+ type: "users/receivedUserList";
454
+ }, string, {
455
+ arg: void;
456
+ requestId: string;
457
+ requestStatus: "fulfilled";
458
+ }, never> | _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
452
459
  arg: void;
453
460
  requestId: string;
454
461
  requestStatus: "rejected";
@@ -458,14 +465,7 @@ declare const addUserToCurrentTenant: _$_reduxjs_toolkit0.AsyncThunk<[{
458
465
  rejectedWithValue: true;
459
466
  } | ({
460
467
  rejectedWithValue: false;
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, {
468
+ } & {})), _$_reduxjs_toolkit0.SerializedError>], string, {
469
469
  dispatch: AppDispatch;
470
470
  state: RootState;
471
471
  extra?: unknown;
@@ -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-BjVukDvt.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 * as _$axios from "axios";
8
8
  import * as _$redux from "redux";
@@ -347,7 +347,14 @@ interface CreateUserPayload {
347
347
  shouldResetPassword?: boolean;
348
348
  sso?: boolean;
349
349
  }
350
- declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.PayloadAction<unknown, string, {
350
+ declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.PayloadAction<{
351
+ payload: Record<string, User$1>;
352
+ type: "users/receivedUserList";
353
+ }, string, {
354
+ arg: void;
355
+ requestId: string;
356
+ requestStatus: "fulfilled";
357
+ }, never> | _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
351
358
  arg: void;
352
359
  requestId: string;
353
360
  requestStatus: "rejected";
@@ -357,14 +364,7 @@ declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.Pa
357
364
  rejectedWithValue: true;
358
365
  } | ({
359
366
  rejectedWithValue: false;
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>, {
367
+ } & {})), _$_reduxjs_toolkit0.SerializedError>, {
368
368
  payload: string | SnackbarContent;
369
369
  type: "app/setSnackbar";
370
370
  }], CreateUserPayload, {
@@ -380,7 +380,14 @@ declare const createUser: _$_reduxjs_toolkit0.AsyncThunk<[_$_reduxjs_toolkit0.Pa
380
380
  declare const removeUser: _$_reduxjs_toolkit0.AsyncThunk<[{
381
381
  payload: string;
382
382
  type: "users/removedUser";
383
- }, _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
383
+ }, _$_reduxjs_toolkit0.PayloadAction<{
384
+ payload: Record<string, User$1>;
385
+ type: "users/receivedUserList";
386
+ }, string, {
387
+ arg: void;
388
+ requestId: string;
389
+ requestStatus: "fulfilled";
390
+ }, never> | _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
384
391
  arg: void;
385
392
  requestId: string;
386
393
  requestStatus: "rejected";
@@ -390,14 +397,7 @@ declare const removeUser: _$_reduxjs_toolkit0.AsyncThunk<[{
390
397
  rejectedWithValue: true;
391
398
  } | ({
392
399
  rejectedWithValue: false;
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>, {
400
+ } & {})), _$_reduxjs_toolkit0.SerializedError>, {
401
401
  payload: string | SnackbarContent;
402
402
  type: "app/setSnackbar";
403
403
  }], string, {
@@ -448,7 +448,14 @@ declare const checkEmailExists: _$_reduxjs_toolkit0.AsyncThunk<boolean | undefin
448
448
  declare const addUserToCurrentTenant: _$_reduxjs_toolkit0.AsyncThunk<[{
449
449
  payload: string | SnackbarContent;
450
450
  type: "app/setSnackbar";
451
- }, _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
451
+ }, _$_reduxjs_toolkit0.PayloadAction<{
452
+ payload: Record<string, User$1>;
453
+ type: "users/receivedUserList";
454
+ }, string, {
455
+ arg: void;
456
+ requestId: string;
457
+ requestStatus: "fulfilled";
458
+ }, never> | _$_reduxjs_toolkit0.PayloadAction<unknown, string, {
452
459
  arg: void;
453
460
  requestId: string;
454
461
  requestStatus: "rejected";
@@ -458,14 +465,7 @@ declare const addUserToCurrentTenant: _$_reduxjs_toolkit0.AsyncThunk<[{
458
465
  rejectedWithValue: true;
459
466
  } | ({
460
467
  rejectedWithValue: false;
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, {
468
+ } & {})), _$_reduxjs_toolkit0.SerializedError>], string, {
469
469
  dispatch: AppDispatch;
470
470
  state: RootState;
471
471
  extra?: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@northern.tech/store",
3
- "version": "0.34.0",
3
+ "version": "0.36.0",
4
4
  "license": "Apache-2.0",
5
5
  "private": false,
6
6
  "publishConfig": {