@northern.tech/store 0.46.1 → 0.46.3

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 (164) hide show
  1. package/dist/actions.d.cts +6 -6
  2. package/dist/actions.d.ts +6 -6
  3. package/dist/api/general-api.d.cts +3 -3
  4. package/dist/api/general-api.d.ts +3 -3
  5. package/dist/api/general-api.js +1 -1
  6. package/dist/appSlice/index.d.cts +1 -1
  7. package/dist/appSlice/index.d.ts +1 -1
  8. package/dist/appSlice/index.js +1 -1
  9. package/dist/appSlice/mocks.d.cts +2 -3
  10. package/dist/appSlice/mocks.d.ts +2 -3
  11. package/dist/appSlice/selectors.cjs +1 -2
  12. package/dist/appSlice/selectors.cjs.map +1 -1
  13. package/dist/appSlice/selectors.d.cts +26 -27
  14. package/dist/appSlice/selectors.d.ts +26 -27
  15. package/dist/appSlice/selectors.js +1 -2
  16. package/dist/appSlice/selectors.js.map +1 -1
  17. package/dist/appSlice/thunks.d.cts +5 -6
  18. package/dist/appSlice/thunks.d.ts +5 -6
  19. package/dist/auth.d.cts +6 -7
  20. package/dist/auth.d.ts +6 -7
  21. package/dist/auth.js +1 -1
  22. package/dist/commonConstants.d.cts +1 -1
  23. package/dist/commonConstants.d.ts +1 -1
  24. package/dist/commonConstants.js +1 -1
  25. package/dist/commonSelectors.d.cts +30 -31
  26. package/dist/commonSelectors.d.ts +30 -31
  27. package/dist/commonSelectors.js +1 -1
  28. package/dist/{constants-B_H4squx.d.ts → constants-BJuY-ODE.d.ts} +3 -3
  29. package/dist/{constants-Rl3FJzFf.d.cts → constants-C2O55iZu.d.cts} +3 -3
  30. package/dist/{constants-eWaA3HCq.js → constants-D5hACLhF.js} +3 -3
  31. package/dist/{constants-eWaA3HCq.js.map → constants-D5hACLhF.js.map} +1 -1
  32. package/dist/constants.cjs +1 -1
  33. package/dist/constants.d.cts +2 -2
  34. package/dist/constants.d.ts +2 -2
  35. package/dist/constants.js +2 -2
  36. package/dist/deploymentsSlice/constants.js +1 -1
  37. package/dist/deploymentsSlice/index.js +1 -1
  38. package/dist/deploymentsSlice/mocks.d.cts +1 -2
  39. package/dist/deploymentsSlice/mocks.d.ts +1 -2
  40. package/dist/deploymentsSlice/selectors.d.cts +15 -16
  41. package/dist/deploymentsSlice/selectors.d.ts +15 -16
  42. package/dist/deploymentsSlice/selectors.js +1 -1
  43. package/dist/deploymentsSlice/thunks.d.cts +20 -21
  44. package/dist/deploymentsSlice/thunks.d.ts +20 -21
  45. package/dist/devicesSlice/constants.d.cts +1 -1
  46. package/dist/devicesSlice/constants.d.ts +1 -1
  47. package/dist/devicesSlice/constants.js +1 -1
  48. package/dist/devicesSlice/index.d.cts +1 -1
  49. package/dist/devicesSlice/index.d.ts +1 -1
  50. package/dist/devicesSlice/index.js +1 -1
  51. package/dist/devicesSlice/mocks.d.cts +1 -2
  52. package/dist/devicesSlice/mocks.d.ts +1 -2
  53. package/dist/devicesSlice/mocks.js +1 -1
  54. package/dist/devicesSlice/selectors.cjs +4 -3
  55. package/dist/devicesSlice/selectors.cjs.map +1 -1
  56. package/dist/devicesSlice/selectors.d.cts +34 -35
  57. package/dist/devicesSlice/selectors.d.ts +34 -35
  58. package/dist/devicesSlice/selectors.js +5 -4
  59. package/dist/devicesSlice/selectors.js.map +1 -1
  60. package/dist/devicesSlice/thunks.d.cts +52 -53
  61. package/dist/devicesSlice/thunks.d.ts +52 -53
  62. package/dist/{index-DgiMpzq3.d.ts → index--SKVGToc.d.ts} +2 -2
  63. package/dist/{index-DeOpb2oK.d.cts → index-BKU1G9-x.d.cts} +2 -2
  64. package/dist/{index-CGT1O9T5.d.ts → index-BMsafOyJ.d.ts} +2 -2
  65. package/dist/{index-ChKTa1aL.d.ts → index-BVNS-Aut.d.ts} +2 -2
  66. package/dist/{index-Ctj2r57a.d.cts → index-BfmRpbiJ.d.cts} +2 -2
  67. package/dist/{index-BAGyeC-q.d.ts → index-CRqnH_go.d.ts} +2 -2
  68. package/dist/{index-Cf6_W5Y7.d.cts → index-CqhXqGLt.d.cts} +2 -2
  69. package/dist/{index-BpamudGf.d.ts → index-D9GJhX1I.d.ts} +2 -2
  70. package/dist/{index-C_LGDJN2.d.cts → index-HjOSTTGF.d.cts} +2 -2
  71. package/dist/{index-DnKVKM0G.d.cts → index-KxRmyFLr.d.cts} +2 -2
  72. package/dist/{index-ExguKUh-.d.cts → index-fGVC5s1C.d.cts} +2 -2
  73. package/dist/{index-Bs0c1-WY.d.ts → index-xxqlerg5.d.ts} +2 -2
  74. package/dist/liststatehook.d.cts +2 -3
  75. package/dist/liststatehook.d.ts +2 -3
  76. package/dist/locationutils.d.cts +29 -30
  77. package/dist/locationutils.d.ts +29 -30
  78. package/dist/locationutils.js +1 -1
  79. package/dist/monitorSlice/constants.d.cts +1 -1
  80. package/dist/monitorSlice/constants.d.ts +1 -1
  81. package/dist/monitorSlice/index.d.cts +1 -1
  82. package/dist/monitorSlice/index.d.ts +1 -1
  83. package/dist/monitorSlice/index.js +1 -1
  84. package/dist/monitorSlice/mocks.d.cts +2 -3
  85. package/dist/monitorSlice/mocks.d.ts +2 -3
  86. package/dist/monitorSlice/mocks.js +1 -1
  87. package/dist/monitorSlice/selectors.d.cts +2 -3
  88. package/dist/monitorSlice/selectors.d.ts +2 -3
  89. package/dist/monitorSlice/thunks.d.cts +9 -10
  90. package/dist/monitorSlice/thunks.d.ts +9 -10
  91. package/dist/monitorSlice/thunks.js +1 -1
  92. package/dist/onboardingSlice/mocks.d.cts +1 -2
  93. package/dist/onboardingSlice/mocks.d.ts +1 -2
  94. package/dist/onboardingSlice/selectors.d.cts +2 -3
  95. package/dist/onboardingSlice/selectors.d.ts +2 -3
  96. package/dist/onboardingSlice/thunks.d.cts +9 -10
  97. package/dist/onboardingSlice/thunks.d.ts +9 -10
  98. package/dist/organizationSlice/constants.js +1 -1
  99. package/dist/organizationSlice/index.d.cts +1 -1
  100. package/dist/organizationSlice/index.d.ts +1 -1
  101. package/dist/organizationSlice/index.js +1 -1
  102. package/dist/organizationSlice/mocks.d.cts +3 -4
  103. package/dist/organizationSlice/mocks.d.ts +3 -4
  104. package/dist/organizationSlice/mocks.js +1 -1
  105. package/dist/organizationSlice/selectors.cjs +6 -6
  106. package/dist/organizationSlice/selectors.cjs.map +1 -1
  107. package/dist/organizationSlice/selectors.d.cts +33 -34
  108. package/dist/organizationSlice/selectors.d.ts +33 -34
  109. package/dist/organizationSlice/selectors.js +7 -7
  110. package/dist/organizationSlice/selectors.js.map +1 -1
  111. package/dist/organizationSlice/thunks.d.cts +60 -59
  112. package/dist/organizationSlice/thunks.d.ts +60 -59
  113. package/dist/organizationSlice/types.d.cts +1 -1
  114. package/dist/organizationSlice/types.d.ts +1 -1
  115. package/dist/releasesSlice/index.d.cts +1 -1
  116. package/dist/releasesSlice/index.d.ts +1 -1
  117. package/dist/releasesSlice/index.js +1 -1
  118. package/dist/releasesSlice/mocks.d.cts +1 -2
  119. package/dist/releasesSlice/mocks.d.ts +1 -2
  120. package/dist/releasesSlice/mocks.js +1 -1
  121. package/dist/releasesSlice/selectors.d.cts +35 -36
  122. package/dist/releasesSlice/selectors.d.ts +35 -36
  123. package/dist/releasesSlice/thunks.d.cts +40 -41
  124. package/dist/releasesSlice/thunks.d.ts +40 -41
  125. package/dist/releasesSlice/thunks.js +1 -1
  126. package/dist/selectors.cjs +1 -1
  127. package/dist/selectors.d.cts +2 -2
  128. package/dist/selectors.d.ts +2 -2
  129. package/dist/selectors.js +2 -2
  130. package/dist/sockethook.d.cts +1 -2
  131. package/dist/sockethook.d.ts +1 -2
  132. package/dist/sockethook.js +1 -1
  133. package/dist/{store-CmvNnqoc.d.ts → store-DLp6ajT8.d.ts} +9 -9
  134. package/dist/{store-C-W8nPdd.d.cts → store-Dw8Uo_Df.d.cts} +9 -9
  135. package/dist/store.d.cts +1 -1
  136. package/dist/store.d.ts +1 -1
  137. package/dist/store.js +1 -1
  138. package/dist/storehooks.d.cts +5 -6
  139. package/dist/storehooks.d.ts +5 -6
  140. package/dist/storehooks.js +1 -1
  141. package/dist/thunks.cjs +17 -13
  142. package/dist/thunks.cjs.map +1 -1
  143. package/dist/thunks.js +18 -14
  144. package/dist/thunks.js.map +1 -1
  145. package/dist/{types-B80ckxiy.d.cts → types-B67YW1jV.d.cts} +2 -2
  146. package/dist/{types-B3qGQoMx.d.ts → types-DY0J79yF.d.ts} +2 -2
  147. package/dist/useDeploymentDevice.d.cts +1 -2
  148. package/dist/useDeploymentDevice.d.ts +1 -2
  149. package/dist/usersSlice/constants.js +1 -1
  150. package/dist/usersSlice/index.d.cts +1 -1
  151. package/dist/usersSlice/index.d.ts +1 -1
  152. package/dist/usersSlice/index.js +1 -1
  153. package/dist/usersSlice/mocks.d.cts +2 -3
  154. package/dist/usersSlice/mocks.d.ts +2 -3
  155. package/dist/usersSlice/mocks.js +1 -1
  156. package/dist/usersSlice/selectors.d.cts +27 -28
  157. package/dist/usersSlice/selectors.d.ts +27 -28
  158. package/dist/usersSlice/selectors.js +1 -1
  159. package/dist/usersSlice/thunks.d.cts +82 -83
  160. package/dist/usersSlice/thunks.d.ts +48 -49
  161. package/dist/utils.d.cts +1 -1
  162. package/dist/utils.d.ts +1 -1
  163. package/dist/utils.js +1 -1
  164. package/package.json +6 -5
@@ -1,12 +1,12 @@
1
- import { ht as DeviceAuthState, ut as AlertChannelKey } from "./constants-Rl3FJzFf.cjs";
1
+ import { ht as DeviceAuthState, ut as AlertChannelKey } 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, t as CustomColumn } from "./index-Cf6_W5Y7.cjs";
4
- import { c as SoftwareList, i as Release, n as Manifest, r as ManifestsList } from "./index-ExguKUh-.cjs";
5
- import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "./types-B80ckxiy.cjs";
3
+ import { a as UserSettings, i as UserSession, n as GlobalSettings, r as User, t as CustomColumn } from "./index-CqhXqGLt.cjs";
4
+ import { c as SoftwareList, i as Release, n as Manifest, r as ManifestsList } from "./index-fGVC5s1C.cjs";
5
+ import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "./types-B67YW1jV.cjs";
6
6
  import { n as OnboardingSliceType, t as OnboardingApproach } from "./index-CoObjWL4.cjs";
7
7
  import { i as DeploymentConfig, l as SelectionState, r as DeploymentByStatusKey, t as Deployment } from "./index-mvxjivTJ.cjs";
8
- import { i as DeviceGroup, l as DeviceTierLimits, o as DeviceListState, r as DeviceFilter, t as Device } from "./index-DnKVKM0G.cjs";
9
- import { a as Upload, i as SnackbarContent } from "./index-DeOpb2oK.cjs";
8
+ import { i as DeviceGroup, l as DeviceTierLimits, o as DeviceListState, r as DeviceFilter, t as Device } from "./index-KxRmyFLr.cjs";
9
+ import { a as Upload, i as SnackbarContent } from "./index-BKU1G9-x.cjs";
10
10
  //#region src/actions.d.ts
11
11
  declare const _default: {
12
12
  receivedQrCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "users/receivedQrCode">;
package/dist/actions.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- import { ht as DeviceAuthState, ut as AlertChannelKey } from "./constants-B_H4squx.js";
1
+ import { ht as DeviceAuthState, ut as AlertChannelKey } 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, t as CustomColumn } from "./index-DgiMpzq3.js";
4
- import { c as SoftwareList, i as Release, n as Manifest, r as ManifestsList } from "./index-CGT1O9T5.js";
5
- import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "./types-B3qGQoMx.js";
3
+ import { a as UserSettings, i as UserSession, n as GlobalSettings, r as User, t as CustomColumn } from "./index--SKVGToc.js";
4
+ import { c as SoftwareList, i as Release, n as Manifest, r as ManifestsList } from "./index-BMsafOyJ.js";
5
+ import { d as TenantList, i as Organization, l as SSOConfig, n as AuditLogSelectionState, o as ProductConfig, r as Card } from "./types-DY0J79yF.js";
6
6
  import { n as OnboardingSliceType, t as OnboardingApproach } from "./index-CoObjWL4.js";
7
7
  import { i as DeploymentConfig, l as SelectionState, r as DeploymentByStatusKey, t as Deployment } from "./index-B8td4-rY.js";
8
- import { i as DeviceGroup, l as DeviceTierLimits, o as DeviceListState, r as DeviceFilter, t as Device } from "./index-BpamudGf.js";
9
- import { a as Upload, i as SnackbarContent } from "./index-Bs0c1-WY.js";
8
+ import { i as DeviceGroup, l as DeviceTierLimits, o as DeviceListState, r as DeviceFilter, t as Device } from "./index-D9GJhX1I.js";
9
+ import { a as Upload, i as SnackbarContent } from "./index-xxqlerg5.js";
10
10
  //#region src/actions.d.ts
11
11
  declare const _default: {
12
12
  receivedQrCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "users/receivedQrCode">;
@@ -1,7 +1,7 @@
1
1
  import { AxiosProgressEvent, AxiosRequestConfig, GenericAbortSignal } from "axios";
2
2
  //#region src/api/general-api.d.ts
3
- declare const commonRequestConfig: AxiosRequestConfig;
4
- declare const authenticatedRequest: import("axios").AxiosInstance;
3
+ export declare const commonRequestConfig: AxiosRequestConfig;
4
+ export declare const authenticatedRequest: import("axios").AxiosInstance;
5
5
  declare const Api: {
6
6
  get: <T = any, R = import("axios").AxiosResponse<T, any, {}>, D = any>(url: string, config?: AxiosRequestConfig<D>) => Promise<R>;
7
7
  delete: <T = unknown, D = unknown>(url: string, data?: D) => Promise<import("axios").AxiosResponse<T, any, {}>>;
@@ -13,5 +13,5 @@ declare const Api: {
13
13
  uploadPut: <T = unknown>(url: string, formData: FormData, progress: (event: AxiosProgressEvent) => void, cancelSignal: GenericAbortSignal) => Promise<import("axios").AxiosResponse<T, any, {}>>;
14
14
  };
15
15
  //#endregion
16
- export { authenticatedRequest, commonRequestConfig, Api as default };
16
+ export { Api as default };
17
17
  //# sourceMappingURL=general-api.d.cts.map
@@ -1,7 +1,7 @@
1
1
  import { AxiosProgressEvent, AxiosRequestConfig, GenericAbortSignal } from "axios";
2
2
  //#region src/api/general-api.d.ts
3
- declare const commonRequestConfig: AxiosRequestConfig;
4
- declare const authenticatedRequest: import("axios").AxiosInstance;
3
+ export declare const commonRequestConfig: AxiosRequestConfig;
4
+ export declare const authenticatedRequest: import("axios").AxiosInstance;
5
5
  declare const Api: {
6
6
  get: <T = any, R = import("axios").AxiosResponse<T, any, {}>, D = any>(url: string, config?: AxiosRequestConfig<D>) => Promise<R>;
7
7
  delete: <T = unknown, D = unknown>(url: string, data?: D) => Promise<import("axios").AxiosResponse<T, any, {}>>;
@@ -13,5 +13,5 @@ declare const Api: {
13
13
  uploadPut: <T = unknown>(url: string, formData: FormData, progress: (event: AxiosProgressEvent) => void, cancelSignal: GenericAbortSignal) => Promise<import("axios").AxiosResponse<T, any, {}>>;
14
14
  };
15
15
  //#endregion
16
- export { authenticatedRequest, commonRequestConfig, Api as default };
16
+ export { Api as default };
17
17
  //# sourceMappingURL=general-api.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Pt as TIMEOUTS } from "../constants-eWaA3HCq.js";
1
+ import { Pt as TIMEOUTS } from "../constants-D5hACLhF.js";
2
2
  import { cleanUp, getToken } from "../auth.js";
3
3
  import Cookies from "universal-cookie";
4
4
  import axios, { isCancel } from "axios";
@@ -1,2 +1,2 @@
1
- import { a as Upload, c as appSlice, i as SnackbarContent, l as initialState, n as SearchState, o as _default, r as SentryConfig, s as actions, t as AppSliceType, u as sliceName } from "../index-DeOpb2oK.cjs";
1
+ import { a as Upload, c as appSlice, i as SnackbarContent, l as initialState, n as SearchState, o as _default, r as SentryConfig, s as actions, t as AppSliceType, u as sliceName } from "../index-BKU1G9-x.cjs";
2
2
  export { AppSliceType, SearchState, SentryConfig, SnackbarContent, Upload, actions, appSlice, _default as default, initialState, sliceName };
@@ -1,2 +1,2 @@
1
- import { a as Upload, c as appSlice, i as SnackbarContent, l as initialState, n as SearchState, o as _default, r as SentryConfig, s as actions, t as AppSliceType, u as sliceName } from "../index-Bs0c1-WY.js";
1
+ import { a as Upload, c as appSlice, i as SnackbarContent, l as initialState, n as SearchState, o as _default, r as SentryConfig, s as actions, t as AppSliceType, u as sliceName } from "../index-xxqlerg5.js";
2
2
  export { AppSliceType, SearchState, SentryConfig, SnackbarContent, Upload, actions, appSlice, _default as default, initialState, sliceName };
@@ -1,4 +1,4 @@
1
- import { f as SORTING_OPTIONS } from "../constants-eWaA3HCq.js";
1
+ import { f as SORTING_OPTIONS } from "../constants-D5hACLhF.js";
2
2
  import { createSlice } from "@reduxjs/toolkit";
3
3
  //#region src/appSlice/index.ts
4
4
  const sliceName = "app";
@@ -1,6 +1,6 @@
1
- import { r as SentryConfig } from "../index-DeOpb2oK.cjs";
1
+ import { r as SentryConfig } from "../index-BKU1G9-x.cjs";
2
2
  //#region src/appSlice/mocks.d.ts
3
- declare const mockState: {
3
+ export declare const mockState: {
4
4
  searchState: {
5
5
  deviceIds: never[];
6
6
  searchTerm: string;
@@ -32,5 +32,4 @@ declare const mockState: {
32
32
  yesterday?: string;
33
33
  };
34
34
  //#endregion
35
- export { mockState };
36
35
  //# sourceMappingURL=mocks.d.cts.map
@@ -1,6 +1,6 @@
1
- import { r as SentryConfig } from "../index-Bs0c1-WY.js";
1
+ import { r as SentryConfig } from "../index-xxqlerg5.js";
2
2
  //#region src/appSlice/mocks.d.ts
3
- declare const mockState: {
3
+ export declare const mockState: {
4
4
  searchState: {
5
5
  deviceIds: never[];
6
6
  searchTerm: string;
@@ -32,5 +32,4 @@ declare const mockState: {
32
32
  yesterday?: string;
33
33
  };
34
34
  //#endregion
35
- export { mockState };
36
35
  //# sourceMappingURL=mocks.d.ts.map
@@ -1,6 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  let _reduxjs_toolkit = require("@reduxjs/toolkit");
3
- let _northern_tech_utils_helpers = require("@northern.tech/utils/helpers");
4
3
  //#region src/appSlice/selectors.ts
5
4
  const getDocsVersion = (state) => state.app.docsVersion;
6
5
  const getFeatures = (state) => state.app.features;
@@ -20,7 +19,7 @@ const getFeedbackProbability = (state) => state.app.feedbackProbability;
20
19
  const getAppInitDone = (state) => state.app.appInitDone;
21
20
  const getIsUploading = (0, _reduxjs_toolkit.createSelector)([getUploads], (uploadsById) => !!Object.keys(uploadsById).length);
22
21
  const getSearchedDevices = (0, _reduxjs_toolkit.createSelector)([getSearchState], ({ deviceIds }) => deviceIds);
23
- const getIsPreview = (0, _reduxjs_toolkit.createSelector)([getVersionInformation], ({ version }) => (0, _northern_tech_utils_helpers.versionCompare)(version, "next") > -1);
22
+ const getIsPreview = (0, _reduxjs_toolkit.createSelector)([getVersionInformation], ({ version }) => version === "next");
24
23
  //#endregion
25
24
  exports.getAppInitDone = getAppInitDone;
26
25
  exports.getCommit = getCommit;
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.cjs","names":["createSelector","versionCompare"],"sources":["../../src/appSlice/selectors.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 { versionCompare } from '@northern.tech/utils/helpers';\nimport { createSelector } from '@reduxjs/toolkit';\n\nimport type { RootState } from '../store';\n\nexport const getDocsVersion = (state: RootState) => state.app.docsVersion;\nexport const getFeatures = (state: RootState) => state.app.features;\nexport const getVersionInformation = (state: RootState) => state.app.versionInformation;\nexport const getSearchState = (state: RootState) => state.app.searchState;\nexport const getUploads = (state: RootState) => state.app.uploadsById;\nexport const getSnackbar = (state: RootState) => state.app.snackbar;\nexport const getHostAddress = (state: RootState) => state.app.hostAddress;\nexport const getHostedAnnouncement = (state: RootState) => state.app.hostedAnnouncement;\nexport const getRecaptchaKey = (state: RootState) => state.app.recaptchaSiteKey;\nexport const getStripeKey = (state: RootState) => state.app.stripeAPIKey;\nexport const getTrackerCode = (state: RootState) => state.app.trackerCode;\nexport const getSentryConfig = (state: RootState) => state.app.sentry;\nexport const getCommit = (state: RootState) => state.app.commit;\nexport const getIsFirstLogin = (state: RootState) => state.app.firstLoginAfterSignup;\nexport const getFeedbackProbability = (state: RootState) => state.app.feedbackProbability;\nexport const getAppInitDone = (state: RootState) => state.app.appInitDone;\n\nexport const getIsUploading = createSelector([getUploads], uploadsById => !!Object.keys(uploadsById).length);\nexport const getSearchedDevices = createSelector([getSearchState], ({ deviceIds }) => deviceIds);\n\nexport const getIsPreview = createSelector([getVersionInformation], ({ version }) => versionCompare(version, 'next') > -1);\n"],"mappings":";;;;AAkBA,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,eAAe,UAAqB,MAAM,IAAI;AAC3D,MAAa,yBAAyB,UAAqB,MAAM,IAAI;AACrE,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,cAAc,UAAqB,MAAM,IAAI;AAC1D,MAAa,eAAe,UAAqB,MAAM,IAAI;AAC3D,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,yBAAyB,UAAqB,MAAM,IAAI;AACrE,MAAa,mBAAmB,UAAqB,MAAM,IAAI;AAC/D,MAAa,gBAAgB,UAAqB,MAAM,IAAI;AAC5D,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,mBAAmB,UAAqB,MAAM,IAAI;AAC/D,MAAa,aAAa,UAAqB,MAAM,IAAI;AACzD,MAAa,mBAAmB,UAAqB,MAAM,IAAI;AAC/D,MAAa,0BAA0B,UAAqB,MAAM,IAAI;AACtE,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAE9D,MAAa,kBAAA,GAAiBA,iBAAAA,eAAAA,CAAe,CAAC,UAAU,IAAG,gBAAe,CAAC,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,MAAM;AAC3G,MAAa,sBAAA,GAAqBA,iBAAAA,eAAAA,CAAe,CAAC,cAAc,IAAI,EAAE,gBAAgB,SAAS;AAE/F,MAAa,gBAAA,GAAeA,iBAAAA,eAAAA,CAAe,CAAC,qBAAqB,IAAI,EAAE,eAAA,GAAcC,6BAAAA,eAAAA,CAAe,SAAS,MAAM,IAAI,EAAE"}
1
+ {"version":3,"file":"selectors.cjs","names":["createSelector"],"sources":["../../src/appSlice/selectors.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 { createSelector } from '@reduxjs/toolkit';\n\nimport type { RootState } from '../store';\n\nexport const getDocsVersion = (state: RootState) => state.app.docsVersion;\nexport const getFeatures = (state: RootState) => state.app.features;\nexport const getVersionInformation = (state: RootState) => state.app.versionInformation;\nexport const getSearchState = (state: RootState) => state.app.searchState;\nexport const getUploads = (state: RootState) => state.app.uploadsById;\nexport const getSnackbar = (state: RootState) => state.app.snackbar;\nexport const getHostAddress = (state: RootState) => state.app.hostAddress;\nexport const getHostedAnnouncement = (state: RootState) => state.app.hostedAnnouncement;\nexport const getRecaptchaKey = (state: RootState) => state.app.recaptchaSiteKey;\nexport const getStripeKey = (state: RootState) => state.app.stripeAPIKey;\nexport const getTrackerCode = (state: RootState) => state.app.trackerCode;\nexport const getSentryConfig = (state: RootState) => state.app.sentry;\nexport const getCommit = (state: RootState) => state.app.commit;\nexport const getIsFirstLogin = (state: RootState) => state.app.firstLoginAfterSignup;\nexport const getFeedbackProbability = (state: RootState) => state.app.feedbackProbability;\nexport const getAppInitDone = (state: RootState) => state.app.appInitDone;\n\nexport const getIsUploading = createSelector([getUploads], uploadsById => !!Object.keys(uploadsById).length);\nexport const getSearchedDevices = createSelector([getSearchState], ({ deviceIds }) => deviceIds);\n\nexport const getIsPreview = createSelector([getVersionInformation], ({ version }) => version === 'next');\n"],"mappings":";;;AAiBA,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,eAAe,UAAqB,MAAM,IAAI;AAC3D,MAAa,yBAAyB,UAAqB,MAAM,IAAI;AACrE,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,cAAc,UAAqB,MAAM,IAAI;AAC1D,MAAa,eAAe,UAAqB,MAAM,IAAI;AAC3D,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,yBAAyB,UAAqB,MAAM,IAAI;AACrE,MAAa,mBAAmB,UAAqB,MAAM,IAAI;AAC/D,MAAa,gBAAgB,UAAqB,MAAM,IAAI;AAC5D,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,mBAAmB,UAAqB,MAAM,IAAI;AAC/D,MAAa,aAAa,UAAqB,MAAM,IAAI;AACzD,MAAa,mBAAmB,UAAqB,MAAM,IAAI;AAC/D,MAAa,0BAA0B,UAAqB,MAAM,IAAI;AACtE,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAE9D,MAAa,kBAAA,GAAiBA,iBAAAA,eAAAA,CAAe,CAAC,UAAU,IAAG,gBAAe,CAAC,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,MAAM;AAC3G,MAAa,sBAAA,GAAqBA,iBAAAA,eAAAA,CAAe,CAAC,cAAc,IAAI,EAAE,gBAAgB,SAAS;AAE/F,MAAa,gBAAA,GAAeA,iBAAAA,eAAAA,CAAe,CAAC,qBAAqB,IAAI,EAAE,cAAc,YAAY,MAAM"}
@@ -1,33 +1,33 @@
1
- import { o as UserSliceType } from "../index-Cf6_W5Y7.cjs";
2
- import { a as ReleaseSliceType } from "../index-ExguKUh-.cjs";
1
+ import { o as UserSliceType } from "../index-CqhXqGLt.cjs";
2
+ import { a as ReleaseSliceType } from "../index-fGVC5s1C.cjs";
3
3
  import { n as OnboardingSliceType } from "../index-CoObjWL4.cjs";
4
4
  import { o as DeploymentsSliceType } from "../index-mvxjivTJ.cjs";
5
- import { c as DeviceSliceType } from "../index-DnKVKM0G.cjs";
6
- import { a as Upload, i as SnackbarContent, n as SearchState, r as SentryConfig, t as AppSliceType } from "../index-DeOpb2oK.cjs";
7
- import { t as MonitorSliceType } from "../index-Ctj2r57a.cjs";
8
- import { t as OrganizationSliceType } from "../index-C_LGDJN2.cjs";
9
- import { r as RootState } from "../store-C-W8nPdd.cjs";
5
+ import { c as DeviceSliceType } from "../index-KxRmyFLr.cjs";
6
+ import { a as Upload, i as SnackbarContent, n as SearchState, r as SentryConfig, t as AppSliceType } from "../index-BKU1G9-x.cjs";
7
+ import { t as MonitorSliceType } from "../index-BfmRpbiJ.cjs";
8
+ import { t as OrganizationSliceType } from "../index-HjOSTTGF.cjs";
9
+ import { r as RootState } from "../store-Dw8Uo_Df.cjs";
10
10
  //#region src/appSlice/selectors.d.ts
11
- declare const getDocsVersion: (state: RootState) => string;
12
- declare const getFeatures: (state: RootState) => Record<string, boolean>;
13
- declare const getVersionInformation: (state: RootState) => {
11
+ export declare const getDocsVersion: (state: RootState) => string;
12
+ export declare const getFeatures: (state: RootState) => Record<string, boolean>;
13
+ export declare const getVersionInformation: (state: RootState) => {
14
14
  docsVersion?: string;
15
15
  version?: string;
16
16
  };
17
- declare const getSearchState: (state: RootState) => SearchState;
18
- declare const getUploads: (state: RootState) => Record<string, Upload>;
19
- declare const getSnackbar: (state: RootState) => SnackbarContent;
20
- declare const getHostAddress: (state: RootState) => string | null;
21
- declare const getHostedAnnouncement: (state: RootState) => string;
22
- declare const getRecaptchaKey: (state: RootState) => string;
23
- declare const getStripeKey: (state: RootState) => string;
24
- declare const getTrackerCode: (state: RootState) => string;
25
- declare const getSentryConfig: (state: RootState) => SentryConfig;
26
- declare const getCommit: (state: RootState) => string;
27
- declare const getIsFirstLogin: (state: RootState) => boolean;
28
- declare const getFeedbackProbability: (state: RootState) => number;
29
- declare const getAppInitDone: (state: RootState) => boolean;
30
- declare const getIsUploading: ((state: {
17
+ export declare const getSearchState: (state: RootState) => SearchState;
18
+ export declare const getUploads: (state: RootState) => Record<string, Upload>;
19
+ export declare const getSnackbar: (state: RootState) => SnackbarContent;
20
+ export declare const getHostAddress: (state: RootState) => string | null;
21
+ export declare const getHostedAnnouncement: (state: RootState) => string;
22
+ export declare const getRecaptchaKey: (state: RootState) => string;
23
+ export declare const getStripeKey: (state: RootState) => string;
24
+ export declare const getTrackerCode: (state: RootState) => string;
25
+ export declare const getSentryConfig: (state: RootState) => SentryConfig;
26
+ export declare const getCommit: (state: RootState) => string;
27
+ export declare const getIsFirstLogin: (state: RootState) => boolean;
28
+ export declare const getFeedbackProbability: (state: RootState) => number;
29
+ export declare const getAppInitDone: (state: RootState) => boolean;
30
+ export declare const getIsUploading: ((state: {
31
31
  app: AppSliceType;
32
32
  devices: DeviceSliceType;
33
33
  deployments: DeploymentsSliceType;
@@ -57,7 +57,7 @@ declare const getIsUploading: ((state: {
57
57
  memoize: typeof import("reselect").weakMapMemoize;
58
58
  argsMemoize: typeof import("reselect").weakMapMemoize;
59
59
  };
60
- declare const getSearchedDevices: ((state: {
60
+ export declare const getSearchedDevices: ((state: {
61
61
  app: AppSliceType;
62
62
  devices: DeviceSliceType;
63
63
  deployments: DeploymentsSliceType;
@@ -87,7 +87,7 @@ declare const getSearchedDevices: ((state: {
87
87
  memoize: typeof import("reselect").weakMapMemoize;
88
88
  argsMemoize: typeof import("reselect").weakMapMemoize;
89
89
  };
90
- declare const getIsPreview: ((state: {
90
+ export declare const getIsPreview: ((state: {
91
91
  app: AppSliceType;
92
92
  devices: DeviceSliceType;
93
93
  deployments: DeploymentsSliceType;
@@ -127,5 +127,4 @@ declare const getIsPreview: ((state: {
127
127
  argsMemoize: typeof import("reselect").weakMapMemoize;
128
128
  };
129
129
  //#endregion
130
- export { getAppInitDone, getCommit, getDocsVersion, getFeatures, getFeedbackProbability, getHostAddress, getHostedAnnouncement, getIsFirstLogin, getIsPreview, getIsUploading, getRecaptchaKey, getSearchState, getSearchedDevices, getSentryConfig, getSnackbar, getStripeKey, getTrackerCode, getUploads, getVersionInformation };
131
130
  //# sourceMappingURL=selectors.d.cts.map
@@ -1,33 +1,33 @@
1
- import { o as UserSliceType } from "../index-DgiMpzq3.js";
2
- import { a as ReleaseSliceType } from "../index-CGT1O9T5.js";
1
+ import { o as UserSliceType } from "../index--SKVGToc.js";
2
+ import { a as ReleaseSliceType } from "../index-BMsafOyJ.js";
3
3
  import { n as OnboardingSliceType } from "../index-CoObjWL4.js";
4
4
  import { o as DeploymentsSliceType } from "../index-B8td4-rY.js";
5
- import { c as DeviceSliceType } from "../index-BpamudGf.js";
6
- import { a as Upload, i as SnackbarContent, n as SearchState, r as SentryConfig, t as AppSliceType } from "../index-Bs0c1-WY.js";
7
- import { t as MonitorSliceType } from "../index-BAGyeC-q.js";
8
- import { t as OrganizationSliceType } from "../index-ChKTa1aL.js";
9
- import { r as RootState } from "../store-CmvNnqoc.js";
5
+ import { c as DeviceSliceType } from "../index-D9GJhX1I.js";
6
+ import { a as Upload, i as SnackbarContent, n as SearchState, r as SentryConfig, t as AppSliceType } from "../index-xxqlerg5.js";
7
+ import { t as MonitorSliceType } from "../index-CRqnH_go.js";
8
+ import { t as OrganizationSliceType } from "../index-BVNS-Aut.js";
9
+ import { r as RootState } from "../store-DLp6ajT8.js";
10
10
  //#region src/appSlice/selectors.d.ts
11
- declare const getDocsVersion: (state: RootState) => string;
12
- declare const getFeatures: (state: RootState) => Record<string, boolean>;
13
- declare const getVersionInformation: (state: RootState) => {
11
+ export declare const getDocsVersion: (state: RootState) => string;
12
+ export declare const getFeatures: (state: RootState) => Record<string, boolean>;
13
+ export declare const getVersionInformation: (state: RootState) => {
14
14
  docsVersion?: string;
15
15
  version?: string;
16
16
  };
17
- declare const getSearchState: (state: RootState) => SearchState;
18
- declare const getUploads: (state: RootState) => Record<string, Upload>;
19
- declare const getSnackbar: (state: RootState) => SnackbarContent;
20
- declare const getHostAddress: (state: RootState) => string | null;
21
- declare const getHostedAnnouncement: (state: RootState) => string;
22
- declare const getRecaptchaKey: (state: RootState) => string;
23
- declare const getStripeKey: (state: RootState) => string;
24
- declare const getTrackerCode: (state: RootState) => string;
25
- declare const getSentryConfig: (state: RootState) => SentryConfig;
26
- declare const getCommit: (state: RootState) => string;
27
- declare const getIsFirstLogin: (state: RootState) => boolean;
28
- declare const getFeedbackProbability: (state: RootState) => number;
29
- declare const getAppInitDone: (state: RootState) => boolean;
30
- declare const getIsUploading: ((state: {
17
+ export declare const getSearchState: (state: RootState) => SearchState;
18
+ export declare const getUploads: (state: RootState) => Record<string, Upload>;
19
+ export declare const getSnackbar: (state: RootState) => SnackbarContent;
20
+ export declare const getHostAddress: (state: RootState) => string | null;
21
+ export declare const getHostedAnnouncement: (state: RootState) => string;
22
+ export declare const getRecaptchaKey: (state: RootState) => string;
23
+ export declare const getStripeKey: (state: RootState) => string;
24
+ export declare const getTrackerCode: (state: RootState) => string;
25
+ export declare const getSentryConfig: (state: RootState) => SentryConfig;
26
+ export declare const getCommit: (state: RootState) => string;
27
+ export declare const getIsFirstLogin: (state: RootState) => boolean;
28
+ export declare const getFeedbackProbability: (state: RootState) => number;
29
+ export declare const getAppInitDone: (state: RootState) => boolean;
30
+ export declare const getIsUploading: ((state: {
31
31
  app: AppSliceType;
32
32
  devices: DeviceSliceType;
33
33
  deployments: DeploymentsSliceType;
@@ -57,7 +57,7 @@ declare const getIsUploading: ((state: {
57
57
  memoize: typeof import("reselect").weakMapMemoize;
58
58
  argsMemoize: typeof import("reselect").weakMapMemoize;
59
59
  };
60
- declare const getSearchedDevices: ((state: {
60
+ export declare const getSearchedDevices: ((state: {
61
61
  app: AppSliceType;
62
62
  devices: DeviceSliceType;
63
63
  deployments: DeploymentsSliceType;
@@ -87,7 +87,7 @@ declare const getSearchedDevices: ((state: {
87
87
  memoize: typeof import("reselect").weakMapMemoize;
88
88
  argsMemoize: typeof import("reselect").weakMapMemoize;
89
89
  };
90
- declare const getIsPreview: ((state: {
90
+ export declare const getIsPreview: ((state: {
91
91
  app: AppSliceType;
92
92
  devices: DeviceSliceType;
93
93
  deployments: DeploymentsSliceType;
@@ -127,5 +127,4 @@ declare const getIsPreview: ((state: {
127
127
  argsMemoize: typeof import("reselect").weakMapMemoize;
128
128
  };
129
129
  //#endregion
130
- export { getAppInitDone, getCommit, getDocsVersion, getFeatures, getFeedbackProbability, getHostAddress, getHostedAnnouncement, getIsFirstLogin, getIsPreview, getIsUploading, getRecaptchaKey, getSearchState, getSearchedDevices, getSentryConfig, getSnackbar, getStripeKey, getTrackerCode, getUploads, getVersionInformation };
131
130
  //# sourceMappingURL=selectors.d.ts.map
@@ -1,5 +1,4 @@
1
1
  import { createSelector } from "@reduxjs/toolkit";
2
- import { versionCompare } from "@northern.tech/utils/helpers";
3
2
  //#region src/appSlice/selectors.ts
4
3
  const getDocsVersion = (state) => state.app.docsVersion;
5
4
  const getFeatures = (state) => state.app.features;
@@ -19,7 +18,7 @@ const getFeedbackProbability = (state) => state.app.feedbackProbability;
19
18
  const getAppInitDone = (state) => state.app.appInitDone;
20
19
  const getIsUploading = createSelector([getUploads], (uploadsById) => !!Object.keys(uploadsById).length);
21
20
  const getSearchedDevices = createSelector([getSearchState], ({ deviceIds }) => deviceIds);
22
- const getIsPreview = createSelector([getVersionInformation], ({ version }) => versionCompare(version, "next") > -1);
21
+ const getIsPreview = createSelector([getVersionInformation], ({ version }) => version === "next");
23
22
  //#endregion
24
23
  export { getAppInitDone, getCommit, getDocsVersion, getFeatures, getFeedbackProbability, getHostAddress, getHostedAnnouncement, getIsFirstLogin, getIsPreview, getIsUploading, getRecaptchaKey, getSearchState, getSearchedDevices, getSentryConfig, getSnackbar, getStripeKey, getTrackerCode, getUploads, getVersionInformation };
25
24
 
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.js","names":[],"sources":["../../src/appSlice/selectors.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 { versionCompare } from '@northern.tech/utils/helpers';\nimport { createSelector } from '@reduxjs/toolkit';\n\nimport type { RootState } from '../store';\n\nexport const getDocsVersion = (state: RootState) => state.app.docsVersion;\nexport const getFeatures = (state: RootState) => state.app.features;\nexport const getVersionInformation = (state: RootState) => state.app.versionInformation;\nexport const getSearchState = (state: RootState) => state.app.searchState;\nexport const getUploads = (state: RootState) => state.app.uploadsById;\nexport const getSnackbar = (state: RootState) => state.app.snackbar;\nexport const getHostAddress = (state: RootState) => state.app.hostAddress;\nexport const getHostedAnnouncement = (state: RootState) => state.app.hostedAnnouncement;\nexport const getRecaptchaKey = (state: RootState) => state.app.recaptchaSiteKey;\nexport const getStripeKey = (state: RootState) => state.app.stripeAPIKey;\nexport const getTrackerCode = (state: RootState) => state.app.trackerCode;\nexport const getSentryConfig = (state: RootState) => state.app.sentry;\nexport const getCommit = (state: RootState) => state.app.commit;\nexport const getIsFirstLogin = (state: RootState) => state.app.firstLoginAfterSignup;\nexport const getFeedbackProbability = (state: RootState) => state.app.feedbackProbability;\nexport const getAppInitDone = (state: RootState) => state.app.appInitDone;\n\nexport const getIsUploading = createSelector([getUploads], uploadsById => !!Object.keys(uploadsById).length);\nexport const getSearchedDevices = createSelector([getSearchState], ({ deviceIds }) => deviceIds);\n\nexport const getIsPreview = createSelector([getVersionInformation], ({ version }) => versionCompare(version, 'next') > -1);\n"],"mappings":";;;AAkBA,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,eAAe,UAAqB,MAAM,IAAI;AAC3D,MAAa,yBAAyB,UAAqB,MAAM,IAAI;AACrE,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,cAAc,UAAqB,MAAM,IAAI;AAC1D,MAAa,eAAe,UAAqB,MAAM,IAAI;AAC3D,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,yBAAyB,UAAqB,MAAM,IAAI;AACrE,MAAa,mBAAmB,UAAqB,MAAM,IAAI;AAC/D,MAAa,gBAAgB,UAAqB,MAAM,IAAI;AAC5D,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,mBAAmB,UAAqB,MAAM,IAAI;AAC/D,MAAa,aAAa,UAAqB,MAAM,IAAI;AACzD,MAAa,mBAAmB,UAAqB,MAAM,IAAI;AAC/D,MAAa,0BAA0B,UAAqB,MAAM,IAAI;AACtE,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAE9D,MAAa,iBAAiB,eAAe,CAAC,UAAU,IAAG,gBAAe,CAAC,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,MAAM;AAC3G,MAAa,qBAAqB,eAAe,CAAC,cAAc,IAAI,EAAE,gBAAgB,SAAS;AAE/F,MAAa,eAAe,eAAe,CAAC,qBAAqB,IAAI,EAAE,cAAc,eAAe,SAAS,MAAM,IAAI,EAAE"}
1
+ {"version":3,"file":"selectors.js","names":[],"sources":["../../src/appSlice/selectors.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 { createSelector } from '@reduxjs/toolkit';\n\nimport type { RootState } from '../store';\n\nexport const getDocsVersion = (state: RootState) => state.app.docsVersion;\nexport const getFeatures = (state: RootState) => state.app.features;\nexport const getVersionInformation = (state: RootState) => state.app.versionInformation;\nexport const getSearchState = (state: RootState) => state.app.searchState;\nexport const getUploads = (state: RootState) => state.app.uploadsById;\nexport const getSnackbar = (state: RootState) => state.app.snackbar;\nexport const getHostAddress = (state: RootState) => state.app.hostAddress;\nexport const getHostedAnnouncement = (state: RootState) => state.app.hostedAnnouncement;\nexport const getRecaptchaKey = (state: RootState) => state.app.recaptchaSiteKey;\nexport const getStripeKey = (state: RootState) => state.app.stripeAPIKey;\nexport const getTrackerCode = (state: RootState) => state.app.trackerCode;\nexport const getSentryConfig = (state: RootState) => state.app.sentry;\nexport const getCommit = (state: RootState) => state.app.commit;\nexport const getIsFirstLogin = (state: RootState) => state.app.firstLoginAfterSignup;\nexport const getFeedbackProbability = (state: RootState) => state.app.feedbackProbability;\nexport const getAppInitDone = (state: RootState) => state.app.appInitDone;\n\nexport const getIsUploading = createSelector([getUploads], uploadsById => !!Object.keys(uploadsById).length);\nexport const getSearchedDevices = createSelector([getSearchState], ({ deviceIds }) => deviceIds);\n\nexport const getIsPreview = createSelector([getVersionInformation], ({ version }) => version === 'next');\n"],"mappings":";;AAiBA,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,eAAe,UAAqB,MAAM,IAAI;AAC3D,MAAa,yBAAyB,UAAqB,MAAM,IAAI;AACrE,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,cAAc,UAAqB,MAAM,IAAI;AAC1D,MAAa,eAAe,UAAqB,MAAM,IAAI;AAC3D,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,yBAAyB,UAAqB,MAAM,IAAI;AACrE,MAAa,mBAAmB,UAAqB,MAAM,IAAI;AAC/D,MAAa,gBAAgB,UAAqB,MAAM,IAAI;AAC5D,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAC9D,MAAa,mBAAmB,UAAqB,MAAM,IAAI;AAC/D,MAAa,aAAa,UAAqB,MAAM,IAAI;AACzD,MAAa,mBAAmB,UAAqB,MAAM,IAAI;AAC/D,MAAa,0BAA0B,UAAqB,MAAM,IAAI;AACtE,MAAa,kBAAkB,UAAqB,MAAM,IAAI;AAE9D,MAAa,iBAAiB,eAAe,CAAC,UAAU,IAAG,gBAAe,CAAC,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,MAAM;AAC3G,MAAa,qBAAqB,eAAe,CAAC,cAAc,IAAI,EAAE,gBAAgB,SAAS;AAE/F,MAAa,eAAe,eAAe,CAAC,qBAAqB,IAAI,EAAE,cAAc,YAAY,MAAM"}
@@ -1,7 +1,7 @@
1
- import { n as SearchState } from "../index-DeOpb2oK.cjs";
2
- import { r as RootState, t as AppDispatch } from "../store-C-W8nPdd.cjs";
1
+ import { n as SearchState } from "../index-BKU1G9-x.cjs";
2
+ import { r as RootState, t as AppDispatch } from "../store-Dw8Uo_Df.cjs";
3
3
  //#region src/appSlice/thunks.d.ts
4
- declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<void, boolean, {
4
+ export declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<void, boolean, {
5
5
  dispatch: AppDispatch;
6
6
  state: RootState;
7
7
  extra?: unknown;
@@ -11,7 +11,7 @@ declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<vo
11
11
  fulfilledMeta?: unknown;
12
12
  rejectedMeta?: unknown;
13
13
  }>;
14
- declare const setOfflineThreshold: import("@reduxjs/toolkit").AsyncThunk<{
14
+ export declare const setOfflineThreshold: import("@reduxjs/toolkit").AsyncThunk<{
15
15
  payload: string;
16
16
  type: "app/setOfflineThreshold";
17
17
  } | undefined, void, {
@@ -24,7 +24,7 @@ declare const setOfflineThreshold: import("@reduxjs/toolkit").AsyncThunk<{
24
24
  fulfilledMeta?: unknown;
25
25
  rejectedMeta?: unknown;
26
26
  }>;
27
- declare const setSearchState: import("@reduxjs/toolkit").AsyncThunk<unknown[], Partial<SearchState>, {
27
+ export declare const setSearchState: import("@reduxjs/toolkit").AsyncThunk<unknown[], Partial<SearchState>, {
28
28
  dispatch: AppDispatch;
29
29
  state: RootState;
30
30
  extra?: unknown;
@@ -35,5 +35,4 @@ declare const setSearchState: import("@reduxjs/toolkit").AsyncThunk<unknown[], P
35
35
  rejectedMeta?: unknown;
36
36
  }>;
37
37
  //#endregion
38
- export { setFirstLoginAfterSignup, setOfflineThreshold, setSearchState };
39
38
  //# sourceMappingURL=thunks.d.cts.map
@@ -1,7 +1,7 @@
1
- import { n as SearchState } from "../index-Bs0c1-WY.js";
2
- import { r as RootState, t as AppDispatch } from "../store-CmvNnqoc.js";
1
+ import { n as SearchState } from "../index-xxqlerg5.js";
2
+ import { r as RootState, t as AppDispatch } from "../store-DLp6ajT8.js";
3
3
  //#region src/appSlice/thunks.d.ts
4
- declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<void, boolean, {
4
+ export declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<void, boolean, {
5
5
  dispatch: AppDispatch;
6
6
  state: RootState;
7
7
  extra?: unknown;
@@ -11,7 +11,7 @@ declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<vo
11
11
  fulfilledMeta?: unknown;
12
12
  rejectedMeta?: unknown;
13
13
  }>;
14
- declare const setOfflineThreshold: import("@reduxjs/toolkit").AsyncThunk<{
14
+ export declare const setOfflineThreshold: import("@reduxjs/toolkit").AsyncThunk<{
15
15
  payload: string;
16
16
  type: "app/setOfflineThreshold";
17
17
  } | undefined, void, {
@@ -24,7 +24,7 @@ declare const setOfflineThreshold: import("@reduxjs/toolkit").AsyncThunk<{
24
24
  fulfilledMeta?: unknown;
25
25
  rejectedMeta?: unknown;
26
26
  }>;
27
- declare const setSearchState: import("@reduxjs/toolkit").AsyncThunk<unknown[], Partial<SearchState>, {
27
+ export declare const setSearchState: import("@reduxjs/toolkit").AsyncThunk<unknown[], Partial<SearchState>, {
28
28
  dispatch: AppDispatch;
29
29
  state: RootState;
30
30
  extra?: unknown;
@@ -35,5 +35,4 @@ declare const setSearchState: import("@reduxjs/toolkit").AsyncThunk<unknown[], P
35
35
  rejectedMeta?: unknown;
36
36
  }>;
37
37
  //#endregion
38
- export { setFirstLoginAfterSignup, setOfflineThreshold, setSearchState };
39
38
  //# sourceMappingURL=thunks.d.ts.map
package/dist/auth.d.cts CHANGED
@@ -1,13 +1,12 @@
1
- import { i as UserSession } from "./index-Cf6_W5Y7.cjs";
1
+ import { i as UserSession } from "./index-CqhXqGLt.cjs";
2
2
  //#region src/auth.d.ts
3
- declare const getSessionInfo: () => UserSession;
4
- declare const getToken: () => string;
5
- declare const setSessionInfo: ({ token, expiresAt }: UserSession) => void;
6
- declare const cleanUp: () => void;
7
- declare const updateMaxAge: ({ expiresAt, token }: {
3
+ export declare const getSessionInfo: () => UserSession;
4
+ export declare const getToken: () => string;
5
+ export declare const setSessionInfo: ({ token, expiresAt }: UserSession) => void;
6
+ export declare const cleanUp: () => void;
7
+ export declare const updateMaxAge: ({ expiresAt, token }: {
8
8
  expiresAt: any;
9
9
  token: any;
10
10
  }) => void;
11
11
  //#endregion
12
- export { cleanUp, getSessionInfo, getToken, setSessionInfo, updateMaxAge };
13
12
  //# sourceMappingURL=auth.d.cts.map
package/dist/auth.d.ts CHANGED
@@ -1,13 +1,12 @@
1
- import { i as UserSession } from "./index-DgiMpzq3.js";
1
+ import { i as UserSession } from "./index--SKVGToc.js";
2
2
  //#region src/auth.d.ts
3
- declare const getSessionInfo: () => UserSession;
4
- declare const getToken: () => string;
5
- declare const setSessionInfo: ({ token, expiresAt }: UserSession) => void;
6
- declare const cleanUp: () => void;
7
- declare const updateMaxAge: ({ expiresAt, token }: {
3
+ export declare const getSessionInfo: () => UserSession;
4
+ export declare const getToken: () => string;
5
+ export declare const setSessionInfo: ({ token, expiresAt }: UserSession) => void;
6
+ export declare const cleanUp: () => void;
7
+ export declare const updateMaxAge: ({ expiresAt, token }: {
8
8
  expiresAt: any;
9
9
  token: any;
10
10
  }) => void;
11
11
  //#endregion
12
- export { cleanUp, getSessionInfo, getToken, setSessionInfo, updateMaxAge };
13
12
  //# sourceMappingURL=auth.d.ts.map
package/dist/auth.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M as maxSessionAge, Pt as TIMEOUTS, Q as settingsKeys } from "./constants-eWaA3HCq.js";
1
+ import { M as maxSessionAge, Pt as TIMEOUTS, Q as settingsKeys } from "./constants-D5hACLhF.js";
2
2
  import Cookies from "universal-cookie";
3
3
  //#region src/auth.ts
4
4
  const cookies = new Cookies();
@@ -1,2 +1,2 @@
1
- import { At as countries, Ct as FilterOperator, Dt as TIMEOUTS, Et as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Ft as timeUnits, Mt as defaultIdAttribute, Nt as emptyWebhook, Ot as UNGROUPED_GROUP, Pt as productOrder, St as EXTERNAL_PROVIDER, Tt as MAX_PAGE_SIZE, bt as DEVICE_LIST_MAXIMUM_LENGTH, jt as credentialTypes, kt as Webhook, wt as IdAttribute, xt as DEVICE_ONLINE_CUTOFF, yt as ATTRIBUTE_SCOPE_LABELS } from "./constants-Rl3FJzFf.cjs";
1
+ import { At as countries, Ct as FilterOperator, Dt as TIMEOUTS, Et as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Ft as timeUnits, Mt as defaultIdAttribute, Nt as emptyWebhook, Ot as UNGROUPED_GROUP, Pt as productOrder, St as EXTERNAL_PROVIDER, Tt as MAX_PAGE_SIZE, bt as DEVICE_LIST_MAXIMUM_LENGTH, jt as credentialTypes, kt as Webhook, wt as IdAttribute, xt as DEVICE_ONLINE_CUTOFF, yt as ATTRIBUTE_SCOPE_LABELS } from "./constants-C2O55iZu.cjs";
2
2
  export { ATTRIBUTE_SCOPE_LABELS, DEVICE_LIST_MAXIMUM_LENGTH, DEVICE_ONLINE_CUTOFF, EXTERNAL_PROVIDER, FilterOperator, IdAttribute, MAX_PAGE_SIZE, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, TIMEOUTS, UNGROUPED_GROUP, Webhook, countries, credentialTypes, defaultIdAttribute, emptyWebhook, productOrder, timeUnits };
@@ -1,2 +1,2 @@
1
- import { At as countries, Ct as FilterOperator, Dt as TIMEOUTS, Et as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Ft as timeUnits, Mt as defaultIdAttribute, Nt as emptyWebhook, Ot as UNGROUPED_GROUP, Pt as productOrder, St as EXTERNAL_PROVIDER, Tt as MAX_PAGE_SIZE, bt as DEVICE_LIST_MAXIMUM_LENGTH, jt as credentialTypes, kt as Webhook, wt as IdAttribute, xt as DEVICE_ONLINE_CUTOFF, yt as ATTRIBUTE_SCOPE_LABELS } from "./constants-B_H4squx.js";
1
+ import { At as countries, Ct as FilterOperator, Dt as TIMEOUTS, Et as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Ft as timeUnits, Mt as defaultIdAttribute, Nt as emptyWebhook, Ot as UNGROUPED_GROUP, Pt as productOrder, St as EXTERNAL_PROVIDER, Tt as MAX_PAGE_SIZE, bt as DEVICE_LIST_MAXIMUM_LENGTH, jt as credentialTypes, kt as Webhook, wt as IdAttribute, xt as DEVICE_ONLINE_CUTOFF, yt as ATTRIBUTE_SCOPE_LABELS } from "./constants-BJuY-ODE.js";
2
2
  export { ATTRIBUTE_SCOPE_LABELS, DEVICE_LIST_MAXIMUM_LENGTH, DEVICE_ONLINE_CUTOFF, EXTERNAL_PROVIDER, FilterOperator, IdAttribute, MAX_PAGE_SIZE, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, TIMEOUTS, UNGROUPED_GROUP, Webhook, countries, credentialTypes, defaultIdAttribute, emptyWebhook, productOrder, timeUnits };
@@ -1,2 +1,2 @@
1
- import { At as DEVICE_ONLINE_CUTOFF, Bt as productOrder, Ft as UNGROUPED_GROUP, It as countries, Lt as credentialTypes, Mt as MAX_PAGE_SIZE, Nt as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Ot as ATTRIBUTE_SCOPE_LABELS, Pt as TIMEOUTS, Rt as defaultIdAttribute, Vt as timeUnits, jt as EXTERNAL_PROVIDER, kt as DEVICE_LIST_MAXIMUM_LENGTH, zt as emptyWebhook } from "./constants-eWaA3HCq.js";
1
+ import { At as DEVICE_ONLINE_CUTOFF, Bt as productOrder, Ft as UNGROUPED_GROUP, It as countries, Lt as credentialTypes, Mt as MAX_PAGE_SIZE, Nt as ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, Ot as ATTRIBUTE_SCOPE_LABELS, Pt as TIMEOUTS, Rt as defaultIdAttribute, Vt as timeUnits, jt as EXTERNAL_PROVIDER, kt as DEVICE_LIST_MAXIMUM_LENGTH, zt as emptyWebhook } from "./constants-D5hACLhF.js";
2
2
  export { ATTRIBUTE_SCOPE_LABELS, DEVICE_LIST_MAXIMUM_LENGTH, DEVICE_ONLINE_CUTOFF, EXTERNAL_PROVIDER, MAX_PAGE_SIZE, ORCHESTRATOR_MANIFEST_ATTRIBUTE_PREFIX, TIMEOUTS, UNGROUPED_GROUP, countries, credentialTypes, defaultIdAttribute, emptyWebhook, productOrder, timeUnits };