@northern.tech/store 0.46.5 → 0.48.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 (234) hide show
  1. package/dist/actions.d.cts +6 -6
  2. package/dist/actions.d.ts +6 -6
  3. package/dist/api/general-api.cjs +2 -2
  4. package/dist/api/general-api.cjs.map +1 -1
  5. package/dist/api/general-api.js +1 -1
  6. package/dist/api/general-api.js.map +1 -1
  7. package/dist/appSlice/constants.cjs +3 -4
  8. package/dist/appSlice/constants.cjs.map +1 -1
  9. package/dist/appSlice/constants.d.cts +1 -1
  10. package/dist/appSlice/constants.d.ts +1 -1
  11. package/dist/appSlice/constants.js +1 -2
  12. package/dist/appSlice/constants.js.map +1 -1
  13. package/dist/appSlice/index.d.cts +1 -1
  14. package/dist/appSlice/index.d.ts +1 -1
  15. package/dist/appSlice/index.js +1 -1
  16. package/dist/appSlice/mocks.d.cts +1 -1
  17. package/dist/appSlice/mocks.d.ts +1 -1
  18. package/dist/appSlice/selectors.cjs.map +1 -1
  19. package/dist/appSlice/selectors.d.cts +2 -130
  20. package/dist/appSlice/selectors.d.ts +2 -130
  21. package/dist/appSlice/selectors.js.map +1 -1
  22. package/dist/appSlice/thunks.d.cts +2 -2
  23. package/dist/appSlice/thunks.d.ts +2 -2
  24. package/dist/auth.cjs +3 -3
  25. package/dist/auth.cjs.map +1 -1
  26. package/dist/auth.d.cts +1 -1
  27. package/dist/auth.d.ts +1 -1
  28. package/dist/auth.js +2 -1
  29. package/dist/auth.js.map +1 -1
  30. package/dist/commonConstants.cjs +4 -3
  31. package/dist/commonConstants.d.cts +2 -2
  32. package/dist/commonConstants.d.ts +2 -2
  33. package/dist/commonConstants.js +1 -1
  34. package/dist/commonSelectors.cjs +1 -1
  35. package/dist/commonSelectors.d.cts +80 -373
  36. package/dist/commonSelectors.d.ts +80 -373
  37. package/dist/commonSelectors.js +1 -1
  38. package/dist/constants-3gsHyxWr.d.ts +109 -0
  39. package/dist/{constants-B3NH1IQi.d.ts → constants-DOnQ-UzD.d.cts} +2 -3
  40. package/dist/{constants-B3NH1IQi.d.cts → constants-DOnQ-UzD.d.ts} +2 -3
  41. package/dist/{constants-MVizYy89.cjs → constants-DsOnY5o5.cjs} +1 -279
  42. package/dist/constants-DsOnY5o5.cjs.map +1 -0
  43. package/dist/constants-hMMMdt0R.d.cts +109 -0
  44. package/dist/{constants-nKSWZ8oD.d.ts → constants-tC3RR_Oo.d.cts} +2 -3
  45. package/dist/{constants-nKSWZ8oD.d.cts → constants-tC3RR_Oo.d.ts} +2 -3
  46. package/dist/{constants-D5hACLhF.js → constants-yul-O5hD.js} +3 -269
  47. package/dist/constants-yul-O5hD.js.map +1 -0
  48. package/dist/constants.cjs +6 -6
  49. package/dist/constants.d.cts +4 -4
  50. package/dist/constants.d.ts +4 -4
  51. package/dist/constants.js +2 -2
  52. package/dist/deploymentsSlice/constants.cjs +1 -1
  53. package/dist/deploymentsSlice/constants.js +1 -1
  54. package/dist/deploymentsSlice/index.cjs +1 -1
  55. package/dist/deploymentsSlice/index.js +1 -1
  56. package/dist/deploymentsSlice/selectors.cjs +1 -1
  57. package/dist/deploymentsSlice/selectors.cjs.map +1 -1
  58. package/dist/deploymentsSlice/selectors.d.cts +2 -97
  59. package/dist/deploymentsSlice/selectors.d.ts +2 -97
  60. package/dist/deploymentsSlice/selectors.js +1 -1
  61. package/dist/deploymentsSlice/selectors.js.map +1 -1
  62. package/dist/deploymentsSlice/thunks.d.cts +13 -13
  63. package/dist/deploymentsSlice/thunks.d.ts +13 -13
  64. package/dist/devicesSlice/constants.cjs +1 -1
  65. package/dist/devicesSlice/constants.d.cts +1 -1
  66. package/dist/devicesSlice/constants.d.ts +1 -1
  67. package/dist/devicesSlice/constants.js +1 -1
  68. package/dist/devicesSlice/index.d.cts +1 -1
  69. package/dist/devicesSlice/index.d.ts +1 -1
  70. package/dist/devicesSlice/index.js +1 -1
  71. package/dist/devicesSlice/mocks.js +1 -1
  72. package/dist/devicesSlice/selectors.cjs +1 -1
  73. package/dist/devicesSlice/selectors.cjs.map +1 -1
  74. package/dist/devicesSlice/selectors.d.cts +2 -887
  75. package/dist/devicesSlice/selectors.d.ts +2 -887
  76. package/dist/devicesSlice/selectors.js +1 -1
  77. package/dist/devicesSlice/selectors.js.map +1 -1
  78. package/dist/devicesSlice/thunks.d.cts +4 -4
  79. package/dist/devicesSlice/thunks.d.ts +4 -4
  80. package/dist/{index-fGVC5s1C.d.cts → index-B9jUHGsM.d.cts} +2 -2
  81. package/dist/{index-xxqlerg5.d.ts → index-BMi8ZqpV.d.ts} +2 -2
  82. package/dist/{index-BKU1G9-x.d.cts → index-BoZjwQHk.d.cts} +2 -2
  83. package/dist/{index-BfmRpbiJ.d.cts → index-C-6WkMAo.d.cts} +2 -2
  84. package/dist/{index-CRqnH_go.d.ts → index-CD39K38q.d.ts} +2 -2
  85. package/dist/{index-KxRmyFLr.d.cts → index-D8O1HJ8Q.d.cts} +2 -2
  86. package/dist/{index-BMsafOyJ.d.ts → index-DXfbW2gi.d.ts} +2 -2
  87. package/dist/{index-HjOSTTGF.d.cts → index-Dd_guNwA.d.cts} +2 -2
  88. package/dist/{index-CqhXqGLt.d.cts → index-DlTiYWBe.d.cts} +2 -2
  89. package/dist/{index-BVNS-Aut.d.ts → index-I82Wu-Ah.d.ts} +2 -2
  90. package/dist/{index--SKVGToc.d.ts → index-KQNyWRoG.d.ts} +2 -2
  91. package/dist/{index-D9GJhX1I.d.ts → index-uhmZ9qaP.d.ts} +2 -2
  92. package/dist/locationutils.cjs +1 -1
  93. package/dist/locationutils.d.cts +2 -2
  94. package/dist/locationutils.d.ts +2 -2
  95. package/dist/locationutils.js +1 -1
  96. package/dist/mockState.cjs +24 -0
  97. package/dist/mockState.cjs.map +1 -0
  98. package/dist/mockState.d.cts +7 -0
  99. package/dist/mockState.d.ts +7 -0
  100. package/dist/mockState.js +23 -0
  101. package/dist/mockState.js.map +1 -0
  102. package/dist/monitorSlice/constants.d.cts +1 -1
  103. package/dist/monitorSlice/constants.d.ts +1 -1
  104. package/dist/monitorSlice/index.d.cts +1 -1
  105. package/dist/monitorSlice/index.d.ts +1 -1
  106. package/dist/monitorSlice/index.js +1 -1
  107. package/dist/monitorSlice/mocks.d.cts +1 -1
  108. package/dist/monitorSlice/mocks.d.ts +1 -1
  109. package/dist/monitorSlice/mocks.js +1 -1
  110. package/dist/monitorSlice/selectors.cjs.map +1 -1
  111. package/dist/monitorSlice/selectors.d.cts +2 -10
  112. package/dist/monitorSlice/selectors.d.ts +2 -10
  113. package/dist/monitorSlice/selectors.js.map +1 -1
  114. package/dist/monitorSlice/thunks.cjs +2 -3
  115. package/dist/monitorSlice/thunks.cjs.map +1 -1
  116. package/dist/monitorSlice/thunks.d.cts +4 -4
  117. package/dist/monitorSlice/thunks.d.ts +4 -4
  118. package/dist/monitorSlice/thunks.js +3 -2
  119. package/dist/monitorSlice/thunks.js.map +1 -1
  120. package/dist/onboardingSlice/selectors.cjs.map +1 -1
  121. package/dist/onboardingSlice/selectors.d.cts +2 -6
  122. package/dist/onboardingSlice/selectors.d.ts +2 -6
  123. package/dist/onboardingSlice/selectors.js.map +1 -1
  124. package/dist/onboardingSlice/thunks.d.cts +3 -3
  125. package/dist/onboardingSlice/thunks.d.ts +3 -3
  126. package/dist/organizationSlice/constants.cjs +1 -1
  127. package/dist/organizationSlice/constants.js +1 -1
  128. package/dist/organizationSlice/index.cjs +1 -1
  129. package/dist/organizationSlice/index.d.cts +1 -1
  130. package/dist/organizationSlice/index.d.ts +1 -1
  131. package/dist/organizationSlice/index.js +1 -1
  132. package/dist/organizationSlice/mocks.d.cts +3 -3
  133. package/dist/organizationSlice/mocks.d.ts +3 -3
  134. package/dist/organizationSlice/mocks.js +1 -1
  135. package/dist/organizationSlice/selectors.cjs +1 -1
  136. package/dist/organizationSlice/selectors.cjs.map +1 -1
  137. package/dist/organizationSlice/selectors.d.cts +2 -472
  138. package/dist/organizationSlice/selectors.d.ts +2 -472
  139. package/dist/organizationSlice/selectors.js +1 -1
  140. package/dist/organizationSlice/selectors.js.map +1 -1
  141. package/dist/organizationSlice/thunks.d.cts +25 -21
  142. package/dist/organizationSlice/thunks.d.ts +25 -21
  143. package/dist/organizationSlice/types.d.cts +1 -1
  144. package/dist/organizationSlice/types.d.ts +1 -1
  145. package/dist/releasesSlice/constants.cjs +0 -2
  146. package/dist/releasesSlice/constants.cjs.map +1 -1
  147. package/dist/releasesSlice/constants.d.cts +2 -2
  148. package/dist/releasesSlice/constants.d.ts +2 -2
  149. package/dist/releasesSlice/constants.js +1 -2
  150. package/dist/releasesSlice/constants.js.map +1 -1
  151. package/dist/releasesSlice/index.d.cts +1 -1
  152. package/dist/releasesSlice/index.d.ts +1 -1
  153. package/dist/releasesSlice/index.js +1 -1
  154. package/dist/releasesSlice/mocks.js +1 -1
  155. package/dist/releasesSlice/selectors.cjs.map +1 -1
  156. package/dist/releasesSlice/selectors.d.cts +2 -795
  157. package/dist/releasesSlice/selectors.d.ts +2 -795
  158. package/dist/releasesSlice/selectors.js.map +1 -1
  159. package/dist/releasesSlice/thunks.cjs +18 -18
  160. package/dist/releasesSlice/thunks.cjs.map +1 -1
  161. package/dist/releasesSlice/thunks.d.cts +4 -4
  162. package/dist/releasesSlice/thunks.d.ts +4 -4
  163. package/dist/releasesSlice/thunks.js +3 -2
  164. package/dist/releasesSlice/thunks.js.map +1 -1
  165. package/dist/selectors-CH-yXu-7.d.cts +84 -0
  166. package/dist/selectors-CQYkG1VI.d.cts +9 -0
  167. package/dist/selectors-CR0q7rXC.d.cts +593 -0
  168. package/dist/selectors-CdCZGn7e.d.cts +99 -0
  169. package/dist/selectors-CdllyZyW.d.cts +363 -0
  170. package/dist/selectors-CftbLtXH.d.cts +14 -0
  171. package/dist/selectors-D2j3_Mnp.d.ts +363 -0
  172. package/dist/selectors-D78O3T1o.d.ts +99 -0
  173. package/dist/selectors-D9t4It2i.d.ts +84 -0
  174. package/dist/selectors-D_UFk4Uz.d.ts +14 -0
  175. package/dist/selectors-DuHGqmMJ.d.cts +712 -0
  176. package/dist/selectors-SvKXGJM5.d.ts +712 -0
  177. package/dist/selectors-eYLuQW4M.d.ts +593 -0
  178. package/dist/selectors-elCimAHX.d.ts +9 -0
  179. package/dist/selectors-qClZ9EXM.d.ts +374 -0
  180. package/dist/selectors-rto0SO4z.d.cts +374 -0
  181. package/dist/selectors.d.cts +9 -9
  182. package/dist/selectors.d.ts +9 -9
  183. package/dist/sockethook.cjs +4 -4
  184. package/dist/sockethook.cjs.map +1 -1
  185. package/dist/sockethook.js +2 -1
  186. package/dist/sockethook.js.map +1 -1
  187. package/dist/{store-DLp6ajT8.d.ts → store-BQcycBPp.d.ts} +15 -34
  188. package/dist/{store-Dw8Uo_Df.d.cts → store-CrLzRDCx.d.cts} +14 -33
  189. package/dist/store.cjs +2 -4
  190. package/dist/store.cjs.map +1 -1
  191. package/dist/store.d.cts +2 -2
  192. package/dist/store.d.ts +2 -2
  193. package/dist/store.js +2 -4
  194. package/dist/store.js.map +1 -1
  195. package/dist/thunks.cjs +39 -43
  196. package/dist/thunks.cjs.map +1 -1
  197. package/dist/thunks.js +19 -22
  198. package/dist/thunks.js.map +1 -1
  199. package/dist/{types-DY0J79yF.d.ts → types-DB1IOQX8.d.ts} +3 -3
  200. package/dist/{types-B67YW1jV.d.cts → types-DtTmD7Yn.d.cts} +3 -3
  201. package/dist/usersSlice/constants.cjs +1 -1
  202. package/dist/usersSlice/constants.js +1 -1
  203. package/dist/usersSlice/index.cjs +1 -1
  204. package/dist/usersSlice/index.d.cts +1 -1
  205. package/dist/usersSlice/index.d.ts +1 -1
  206. package/dist/usersSlice/index.js +1 -1
  207. package/dist/usersSlice/mocks.d.cts +1 -1
  208. package/dist/usersSlice/mocks.d.ts +1 -1
  209. package/dist/usersSlice/mocks.js +1 -1
  210. package/dist/usersSlice/selectors.cjs +3 -3
  211. package/dist/usersSlice/selectors.cjs.map +1 -1
  212. package/dist/usersSlice/selectors.d.cts +2 -466
  213. package/dist/usersSlice/selectors.d.ts +2 -466
  214. package/dist/usersSlice/selectors.js +2 -2
  215. package/dist/usersSlice/selectors.js.map +1 -1
  216. package/dist/usersSlice/thunks.d.cts +88 -88
  217. package/dist/usersSlice/thunks.d.ts +88 -88
  218. package/dist/utils.cjs +5 -8
  219. package/dist/utils.cjs.map +1 -1
  220. package/dist/utils.d.cts +1 -1
  221. package/dist/utils.d.ts +1 -1
  222. package/dist/utils.js +4 -6
  223. package/dist/utils.js.map +1 -1
  224. package/package.json +1 -1
  225. package/dist/constants-BJuY-ODE.d.ts +0 -124
  226. package/dist/constants-C2O55iZu.d.cts +0 -124
  227. package/dist/constants-D5hACLhF.js.map +0 -1
  228. package/dist/constants-MVizYy89.cjs.map +0 -1
  229. package/dist/storehooks.cjs +0 -249
  230. package/dist/storehooks.cjs.map +0 -1
  231. package/dist/storehooks.d.cts +0 -49
  232. package/dist/storehooks.d.ts +0 -49
  233. package/dist/storehooks.js +0 -241
  234. package/dist/storehooks.js.map +0 -1
@@ -0,0 +1,363 @@
1
+ import { i as ReadState } from "./constants-D8-yUk19.js";
2
+ import { a as UserSettings, i as UserSession, n as GlobalSettings, o as UserSliceType, r as User } from "./index-KQNyWRoG.js";
3
+ //#region src/usersSlice/selectors.d.ts
4
+ type UsersState = {
5
+ users: UserSliceType;
6
+ };
7
+ declare const getRolesById: (state: UsersState) => Record<string, import("@northern.tech/utils/constants").Role>;
8
+ declare const getTooltipsById: (state: UsersState) => Record<string, {
9
+ readState: ReadState;
10
+ }>;
11
+ declare const getGlobalSettings: (state: UsersState) => GlobalSettings;
12
+ declare const getGlobalSettingsInitialized: (state: UsersState) => boolean;
13
+ declare const getUserSettingsInitialized: (state: UsersState) => boolean;
14
+ declare const getUsersById: (state: UsersState) => Record<string, User>;
15
+ declare const getUsersList: ((state: UsersState) => User[]) & {
16
+ clearCache: () => void;
17
+ resultsCount: () => number;
18
+ resetResultsCount: () => void;
19
+ } & {
20
+ resultFunc: (resultFuncArgs_0: Record<string, User>) => User[];
21
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>) => User[]) & {
22
+ clearCache: () => void;
23
+ resultsCount: () => number;
24
+ resetResultsCount: () => void;
25
+ };
26
+ lastResult: () => User[];
27
+ dependencies: [(state: UsersState) => Record<string, User>];
28
+ recomputations: () => number;
29
+ resetRecomputations: () => void;
30
+ dependencyRecomputations: () => number;
31
+ resetDependencyRecomputations: () => void;
32
+ } & {
33
+ memoize: typeof import("reselect").weakMapMemoize;
34
+ argsMemoize: typeof import("reselect").weakMapMemoize;
35
+ };
36
+ declare const getCurrentUser: ((state: UsersState) => User) & {
37
+ clearCache: () => void;
38
+ resultsCount: () => number;
39
+ resetResultsCount: () => void;
40
+ } & {
41
+ resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
42
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
43
+ clearCache: () => void;
44
+ resultsCount: () => number;
45
+ resetResultsCount: () => void;
46
+ };
47
+ lastResult: () => User;
48
+ dependencies: [(state: UsersState) => Record<string, User>, (state: UsersState) => string | null];
49
+ recomputations: () => number;
50
+ resetRecomputations: () => void;
51
+ dependencyRecomputations: () => number;
52
+ resetDependencyRecomputations: () => void;
53
+ } & {
54
+ memoize: typeof import("reselect").weakMapMemoize;
55
+ argsMemoize: typeof import("reselect").weakMapMemoize;
56
+ };
57
+ declare const getUserSettings: (state: UsersState) => UserSettings;
58
+ declare const getSelectedDeviceAttribute: ((state: UsersState) => {
59
+ attribute: string;
60
+ scope: string;
61
+ }[]) & {
62
+ clearCache: () => void;
63
+ resultsCount: () => number;
64
+ resetResultsCount: () => void;
65
+ } & {
66
+ resultFunc: (resultFuncArgs_0: UserSettings) => {
67
+ attribute: string;
68
+ scope: string;
69
+ }[];
70
+ memoizedResultFunc: ((resultFuncArgs_0: UserSettings) => {
71
+ attribute: string;
72
+ scope: string;
73
+ }[]) & {
74
+ clearCache: () => void;
75
+ resultsCount: () => number;
76
+ resetResultsCount: () => void;
77
+ };
78
+ lastResult: () => {
79
+ attribute: string;
80
+ scope: string;
81
+ }[];
82
+ dependencies: [(state: UsersState) => UserSettings];
83
+ recomputations: () => number;
84
+ resetRecomputations: () => void;
85
+ dependencyRecomputations: () => number;
86
+ resetDependencyRecomputations: () => void;
87
+ } & {
88
+ memoize: typeof import("reselect").weakMapMemoize;
89
+ argsMemoize: typeof import("reselect").weakMapMemoize;
90
+ };
91
+ declare const getIsDarkMode: ((state: UsersState) => boolean) & {
92
+ clearCache: () => void;
93
+ resultsCount: () => number;
94
+ resetResultsCount: () => void;
95
+ } & {
96
+ resultFunc: (resultFuncArgs_0: UserSettings) => boolean;
97
+ memoizedResultFunc: ((resultFuncArgs_0: UserSettings) => boolean) & {
98
+ clearCache: () => void;
99
+ resultsCount: () => number;
100
+ resetResultsCount: () => void;
101
+ };
102
+ lastResult: () => boolean;
103
+ dependencies: [(state: UsersState) => UserSettings];
104
+ recomputations: () => number;
105
+ resetRecomputations: () => void;
106
+ dependencyRecomputations: () => number;
107
+ resetDependencyRecomputations: () => void;
108
+ } & {
109
+ memoize: typeof import("reselect").weakMapMemoize;
110
+ argsMemoize: typeof import("reselect").weakMapMemoize;
111
+ };
112
+ declare const getReadAllHelptips: ((state: UsersState) => boolean) & {
113
+ clearCache: () => void;
114
+ resultsCount: () => number;
115
+ resetResultsCount: () => void;
116
+ } & {
117
+ resultFunc: (resultFuncArgs_0: Record<string, {
118
+ readState: ReadState;
119
+ }>) => boolean;
120
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
121
+ readState: ReadState;
122
+ }>) => boolean) & {
123
+ clearCache: () => void;
124
+ resultsCount: () => number;
125
+ resetResultsCount: () => void;
126
+ };
127
+ lastResult: () => boolean;
128
+ dependencies: [(state: UsersState) => Record<string, {
129
+ readState: ReadState;
130
+ }>];
131
+ recomputations: () => number;
132
+ resetRecomputations: () => void;
133
+ dependencyRecomputations: () => number;
134
+ resetDependencyRecomputations: () => void;
135
+ } & {
136
+ memoize: typeof import("reselect").weakMapMemoize;
137
+ argsMemoize: typeof import("reselect").weakMapMemoize;
138
+ };
139
+ declare const getTooltipsState: ((state: UsersState) => {}) & {
140
+ clearCache: () => void;
141
+ resultsCount: () => number;
142
+ resetResultsCount: () => void;
143
+ } & {
144
+ resultFunc: (resultFuncArgs_0: Record<string, {
145
+ readState: ReadState;
146
+ }>, resultFuncArgs_1: UserSettings) => {};
147
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
148
+ readState: ReadState;
149
+ }>, resultFuncArgs_1: UserSettings) => {}) & {
150
+ clearCache: () => void;
151
+ resultsCount: () => number;
152
+ resetResultsCount: () => void;
153
+ };
154
+ lastResult: () => {};
155
+ dependencies: [(state: UsersState) => Record<string, {
156
+ readState: ReadState;
157
+ }>, (state: UsersState) => UserSettings];
158
+ recomputations: () => number;
159
+ resetRecomputations: () => void;
160
+ dependencyRecomputations: () => number;
161
+ resetDependencyRecomputations: () => void;
162
+ } & {
163
+ memoize: typeof import("reselect").weakMapMemoize;
164
+ argsMemoize: typeof import("reselect").weakMapMemoize;
165
+ };
166
+ declare const getHas2FA: ((state: UsersState) => boolean) & {
167
+ clearCache: () => void;
168
+ resultsCount: () => number;
169
+ resetResultsCount: () => void;
170
+ } & {
171
+ resultFunc: (resultFuncArgs_0: User) => boolean;
172
+ memoizedResultFunc: ((resultFuncArgs_0: User) => boolean) & {
173
+ clearCache: () => void;
174
+ resultsCount: () => number;
175
+ resetResultsCount: () => void;
176
+ };
177
+ lastResult: () => boolean;
178
+ dependencies: [((state: UsersState) => User) & {
179
+ clearCache: () => void;
180
+ resultsCount: () => number;
181
+ resetResultsCount: () => void;
182
+ } & {
183
+ resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
184
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
185
+ clearCache: () => void;
186
+ resultsCount: () => number;
187
+ resetResultsCount: () => void;
188
+ };
189
+ lastResult: () => User;
190
+ dependencies: [(state: UsersState) => Record<string, User>, (state: UsersState) => string | null];
191
+ recomputations: () => number;
192
+ resetRecomputations: () => void;
193
+ dependencyRecomputations: () => number;
194
+ resetDependencyRecomputations: () => void;
195
+ } & {
196
+ memoize: typeof import("reselect").weakMapMemoize;
197
+ argsMemoize: typeof import("reselect").weakMapMemoize;
198
+ }];
199
+ recomputations: () => number;
200
+ resetRecomputations: () => void;
201
+ dependencyRecomputations: () => number;
202
+ resetDependencyRecomputations: () => void;
203
+ } & {
204
+ memoize: typeof import("reselect").weakMapMemoize;
205
+ argsMemoize: typeof import("reselect").weakMapMemoize;
206
+ };
207
+ declare const getIdAttribute: ((state: UsersState) => {
208
+ attribute: string;
209
+ scope: string;
210
+ }) & {
211
+ clearCache: () => void;
212
+ resultsCount: () => number;
213
+ resetResultsCount: () => void;
214
+ } & {
215
+ resultFunc: (resultFuncArgs_0: GlobalSettings) => {
216
+ attribute: string;
217
+ scope: string;
218
+ };
219
+ memoizedResultFunc: ((resultFuncArgs_0: GlobalSettings) => {
220
+ attribute: string;
221
+ scope: string;
222
+ }) & {
223
+ clearCache: () => void;
224
+ resultsCount: () => number;
225
+ resetResultsCount: () => void;
226
+ };
227
+ lastResult: () => {
228
+ attribute: string;
229
+ scope: string;
230
+ };
231
+ dependencies: [(state: UsersState) => GlobalSettings];
232
+ recomputations: () => number;
233
+ resetRecomputations: () => void;
234
+ dependencyRecomputations: () => number;
235
+ resetDependencyRecomputations: () => void;
236
+ } & {
237
+ memoize: typeof import("reselect").weakMapMemoize;
238
+ argsMemoize: typeof import("reselect").weakMapMemoize;
239
+ };
240
+ declare const getOfflineThresholdSettings: ((state: UsersState) => {
241
+ interval: any;
242
+ intervalUnit: any;
243
+ }) & {
244
+ clearCache: () => void;
245
+ resultsCount: () => number;
246
+ resetResultsCount: () => void;
247
+ } & {
248
+ resultFunc: (resultFuncArgs_0: GlobalSettings) => {
249
+ interval: any;
250
+ intervalUnit: any;
251
+ };
252
+ memoizedResultFunc: ((resultFuncArgs_0: GlobalSettings) => {
253
+ interval: any;
254
+ intervalUnit: any;
255
+ }) & {
256
+ clearCache: () => void;
257
+ resultsCount: () => number;
258
+ resetResultsCount: () => void;
259
+ };
260
+ lastResult: () => {
261
+ interval: any;
262
+ intervalUnit: any;
263
+ };
264
+ dependencies: [(state: UsersState) => GlobalSettings];
265
+ recomputations: () => number;
266
+ resetRecomputations: () => void;
267
+ dependencyRecomputations: () => number;
268
+ resetDependencyRecomputations: () => void;
269
+ } & {
270
+ memoize: typeof import("reselect").weakMapMemoize;
271
+ argsMemoize: typeof import("reselect").weakMapMemoize;
272
+ };
273
+ declare const getRolesList: ((state: UsersState) => {
274
+ name: string;
275
+ description?: string;
276
+ permissions?: Array<import("@northern.tech/types/types.gen").RolePermission>;
277
+ permission_sets_with_scope?: Array<import("@northern.tech/types/types.gen").PermissionSetWithScope>;
278
+ editable?: boolean;
279
+ isCustom?: boolean;
280
+ uiPermissions: Readonly<{
281
+ auditlog: string[];
282
+ deployments?: string[];
283
+ groups: Record<string, string[]>;
284
+ releases: Record<string, string[]>;
285
+ tenantManagement: string[];
286
+ userManagement: string[];
287
+ }>;
288
+ value: string;
289
+ }[]) & {
290
+ clearCache: () => void;
291
+ resultsCount: () => number;
292
+ resetResultsCount: () => void;
293
+ } & {
294
+ resultFunc: (resultFuncArgs_0: Record<string, import("@northern.tech/utils/constants").Role>) => {
295
+ name: string;
296
+ description?: string;
297
+ permissions?: Array<import("@northern.tech/types/types.gen").RolePermission>;
298
+ permission_sets_with_scope?: Array<import("@northern.tech/types/types.gen").PermissionSetWithScope>;
299
+ editable?: boolean;
300
+ isCustom?: boolean;
301
+ uiPermissions: Readonly<{
302
+ auditlog: string[];
303
+ deployments?: string[];
304
+ groups: Record<string, string[]>;
305
+ releases: Record<string, string[]>;
306
+ tenantManagement: string[];
307
+ userManagement: string[];
308
+ }>;
309
+ value: string;
310
+ }[];
311
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("@northern.tech/utils/constants").Role>) => {
312
+ name: string;
313
+ description?: string;
314
+ permissions?: Array<import("@northern.tech/types/types.gen").RolePermission>;
315
+ permission_sets_with_scope?: Array<import("@northern.tech/types/types.gen").PermissionSetWithScope>;
316
+ editable?: boolean;
317
+ isCustom?: boolean;
318
+ uiPermissions: Readonly<{
319
+ auditlog: string[];
320
+ deployments?: string[];
321
+ groups: Record<string, string[]>;
322
+ releases: Record<string, string[]>;
323
+ tenantManagement: string[];
324
+ userManagement: string[];
325
+ }>;
326
+ value: string;
327
+ }[]) & {
328
+ clearCache: () => void;
329
+ resultsCount: () => number;
330
+ resetResultsCount: () => void;
331
+ };
332
+ lastResult: () => {
333
+ name: string;
334
+ description?: string;
335
+ permissions?: Array<import("@northern.tech/types/types.gen").RolePermission>;
336
+ permission_sets_with_scope?: Array<import("@northern.tech/types/types.gen").PermissionSetWithScope>;
337
+ editable?: boolean;
338
+ isCustom?: boolean;
339
+ uiPermissions: Readonly<{
340
+ auditlog: string[];
341
+ deployments?: string[];
342
+ groups: Record<string, string[]>;
343
+ releases: Record<string, string[]>;
344
+ tenantManagement: string[];
345
+ userManagement: string[];
346
+ }>;
347
+ value: string;
348
+ }[];
349
+ dependencies: [(state: UsersState) => Record<string, import("@northern.tech/utils/constants").Role>];
350
+ recomputations: () => number;
351
+ resetRecomputations: () => void;
352
+ dependencyRecomputations: () => number;
353
+ resetDependencyRecomputations: () => void;
354
+ } & {
355
+ memoize: typeof import("reselect").weakMapMemoize;
356
+ argsMemoize: typeof import("reselect").weakMapMemoize;
357
+ };
358
+ declare const getCurrentSession: (state: UsersState) => object | UserSession | undefined;
359
+ declare const getRolesInitialized: (state: UsersState) => boolean;
360
+ declare const getSecurityAlertDismissedTimestamp: (state: UsersState) => string | null;
361
+ //#endregion
362
+ export { getTooltipsState as _, getGlobalSettingsInitialized as a, getUsersById as b, getIsDarkMode as c, getRolesById as d, getRolesInitialized as f, getTooltipsById as g, getSelectedDeviceAttribute as h, getGlobalSettings as i, getOfflineThresholdSettings as l, getSecurityAlertDismissedTimestamp as m, getCurrentSession as n, getHas2FA as o, getRolesList as p, getCurrentUser as r, getIdAttribute as s, UsersState as t, getReadAllHelptips as u, getUserSettings as v, getUsersList as x, getUserSettingsInitialized as y };
363
+ //# sourceMappingURL=selectors-D2j3_Mnp.d.ts.map
@@ -0,0 +1,99 @@
1
+ import { a as Upload, i as SnackbarContent, n as SearchState, r as SentryConfig, t as AppSliceType } from "./index-BMi8ZqpV.js";
2
+ //#region src/appSlice/selectors.d.ts
3
+ type AppState = {
4
+ app: AppSliceType;
5
+ };
6
+ declare const getDocsVersion: (state: AppState) => string;
7
+ declare const getFeatures: (state: AppState) => Record<string, boolean>;
8
+ declare const getVersionInformation: (state: AppState) => {
9
+ docsVersion?: string;
10
+ version?: string;
11
+ };
12
+ declare const getSearchState: (state: AppState) => SearchState;
13
+ declare const getUploads: (state: AppState) => Record<string, Upload>;
14
+ declare const getSnackbar: (state: AppState) => SnackbarContent;
15
+ declare const getHostAddress: (state: AppState) => string | null;
16
+ declare const getHostedAnnouncement: (state: AppState) => string;
17
+ declare const getRecaptchaKey: (state: AppState) => string;
18
+ declare const getStripeKey: (state: AppState) => string;
19
+ declare const getTrackerCode: (state: AppState) => string;
20
+ declare const getSentryConfig: (state: AppState) => SentryConfig;
21
+ declare const getCommit: (state: AppState) => string;
22
+ declare const getIsFirstLogin: (state: AppState) => boolean;
23
+ declare const getFeedbackProbability: (state: AppState) => number;
24
+ declare const getAppInitDone: (state: AppState) => boolean;
25
+ declare const getIsUploading: ((state: AppState) => boolean) & {
26
+ clearCache: () => void;
27
+ resultsCount: () => number;
28
+ resetResultsCount: () => void;
29
+ } & {
30
+ resultFunc: (resultFuncArgs_0: Record<string, Upload>) => boolean;
31
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Upload>) => boolean) & {
32
+ clearCache: () => void;
33
+ resultsCount: () => number;
34
+ resetResultsCount: () => void;
35
+ };
36
+ lastResult: () => boolean;
37
+ dependencies: [(state: AppState) => Record<string, Upload>];
38
+ recomputations: () => number;
39
+ resetRecomputations: () => void;
40
+ dependencyRecomputations: () => number;
41
+ resetDependencyRecomputations: () => void;
42
+ } & {
43
+ memoize: typeof import("reselect").weakMapMemoize;
44
+ argsMemoize: typeof import("reselect").weakMapMemoize;
45
+ };
46
+ declare const getSearchedDevices: ((state: AppState) => string[]) & {
47
+ clearCache: () => void;
48
+ resultsCount: () => number;
49
+ resetResultsCount: () => void;
50
+ } & {
51
+ resultFunc: (resultFuncArgs_0: SearchState) => string[];
52
+ memoizedResultFunc: ((resultFuncArgs_0: SearchState) => string[]) & {
53
+ clearCache: () => void;
54
+ resultsCount: () => number;
55
+ resetResultsCount: () => void;
56
+ };
57
+ lastResult: () => string[];
58
+ dependencies: [(state: AppState) => SearchState];
59
+ recomputations: () => number;
60
+ resetRecomputations: () => void;
61
+ dependencyRecomputations: () => number;
62
+ resetDependencyRecomputations: () => void;
63
+ } & {
64
+ memoize: typeof import("reselect").weakMapMemoize;
65
+ argsMemoize: typeof import("reselect").weakMapMemoize;
66
+ };
67
+ declare const getIsPreview: ((state: AppState) => boolean) & {
68
+ clearCache: () => void;
69
+ resultsCount: () => number;
70
+ resetResultsCount: () => void;
71
+ } & {
72
+ resultFunc: (resultFuncArgs_0: {
73
+ docsVersion?: string;
74
+ version?: string;
75
+ }) => boolean;
76
+ memoizedResultFunc: ((resultFuncArgs_0: {
77
+ docsVersion?: string;
78
+ version?: string;
79
+ }) => boolean) & {
80
+ clearCache: () => void;
81
+ resultsCount: () => number;
82
+ resetResultsCount: () => void;
83
+ };
84
+ lastResult: () => boolean;
85
+ dependencies: [(state: AppState) => {
86
+ docsVersion?: string;
87
+ version?: string;
88
+ }];
89
+ recomputations: () => number;
90
+ resetRecomputations: () => void;
91
+ dependencyRecomputations: () => number;
92
+ resetDependencyRecomputations: () => void;
93
+ } & {
94
+ memoize: typeof import("reselect").weakMapMemoize;
95
+ argsMemoize: typeof import("reselect").weakMapMemoize;
96
+ };
97
+ //#endregion
98
+ export { getStripeKey as _, getFeatures as a, getVersionInformation as b, getHostedAnnouncement as c, getIsUploading as d, getRecaptchaKey as f, getSnackbar as g, getSentryConfig as h, getDocsVersion as i, getIsFirstLogin as l, getSearchedDevices as m, getAppInitDone as n, getFeedbackProbability as o, getSearchState as p, getCommit as r, getHostAddress as s, AppState as t, getIsPreview as u, getTrackerCode as v, getUploads as y };
99
+ //# sourceMappingURL=selectors-D78O3T1o.d.ts.map
@@ -0,0 +1,84 @@
1
+ import { l as SelectionState, n as DeploymentByStatus, o as DeploymentsSliceType, t as Deployment } from "./index-B8td4-rY.js";
2
+ //#region src/deploymentsSlice/selectors.d.ts
3
+ type DeploymentsState = {
4
+ deployments: DeploymentsSliceType;
5
+ };
6
+ declare const getDeploymentsById: (state: DeploymentsState) => Record<string, Deployment>;
7
+ declare const getDeploymentsByStatus: (state: DeploymentsState) => DeploymentByStatus;
8
+ declare const getSelectedDeploymentDeviceIds: (state: DeploymentsState) => string[];
9
+ declare const getDeploymentsSelectionState: (state: DeploymentsState) => SelectionState;
10
+ declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment) & {
11
+ clearCache: () => void;
12
+ resultsCount: () => number;
13
+ resetResultsCount: () => void;
14
+ } & {
15
+ resultFunc: (resultFuncArgs_0: Record<string, Deployment>, resultFuncArgs_1: any) => Deployment;
16
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Deployment>, resultFuncArgs_1: any) => Deployment) & {
17
+ clearCache: () => void;
18
+ resultsCount: () => number;
19
+ resetResultsCount: () => void;
20
+ };
21
+ lastResult: () => Deployment;
22
+ dependencies: [(state: DeploymentsState) => Record<string, Deployment>, (_: any, deploymentId: any) => any];
23
+ recomputations: () => number;
24
+ resetRecomputations: () => void;
25
+ dependencyRecomputations: () => number;
26
+ resetDependencyRecomputations: () => void;
27
+ } & {
28
+ memoize: typeof import("reselect").weakMapMemoize;
29
+ argsMemoize: typeof import("reselect").weakMapMemoize;
30
+ };
31
+ declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any) => any) & {
32
+ clearCache: () => void;
33
+ resultsCount: () => number;
34
+ resetResultsCount: () => void;
35
+ } & {
36
+ resultFunc: (resultFuncArgs_0: SelectionState, resultFuncArgs_1: any, resultFuncArgs_2: Record<string, Deployment>) => any;
37
+ memoizedResultFunc: ((resultFuncArgs_0: SelectionState, resultFuncArgs_1: any, resultFuncArgs_2: Record<string, Deployment>) => any) & {
38
+ clearCache: () => void;
39
+ resultsCount: () => number;
40
+ resetResultsCount: () => void;
41
+ };
42
+ lastResult: () => any;
43
+ dependencies: [(state: DeploymentsState) => SelectionState, (_: any, deploymentsState: any) => any, (state: DeploymentsState) => Record<string, Deployment>];
44
+ recomputations: () => number;
45
+ resetRecomputations: () => void;
46
+ dependencyRecomputations: () => number;
47
+ resetDependencyRecomputations: () => void;
48
+ } & {
49
+ memoize: typeof import("reselect").weakMapMemoize;
50
+ argsMemoize: typeof import("reselect").weakMapMemoize;
51
+ };
52
+ declare const DEPLOYMENT_CUTOFF = 3;
53
+ declare const getRecentDeployments: ((state: DeploymentsState) => {
54
+ total: number;
55
+ }) & {
56
+ clearCache: () => void;
57
+ resultsCount: () => number;
58
+ resetResultsCount: () => void;
59
+ } & {
60
+ resultFunc: (resultFuncArgs_0: Record<string, Deployment>, resultFuncArgs_1: DeploymentByStatus) => {
61
+ total: number;
62
+ };
63
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Deployment>, resultFuncArgs_1: DeploymentByStatus) => {
64
+ total: number;
65
+ }) & {
66
+ clearCache: () => void;
67
+ resultsCount: () => number;
68
+ resetResultsCount: () => void;
69
+ };
70
+ lastResult: () => {
71
+ total: number;
72
+ };
73
+ dependencies: [(state: DeploymentsState) => Record<string, Deployment>, (state: DeploymentsState) => DeploymentByStatus];
74
+ recomputations: () => number;
75
+ resetRecomputations: () => void;
76
+ dependencyRecomputations: () => number;
77
+ resetDependencyRecomputations: () => void;
78
+ } & {
79
+ memoize: typeof import("reselect").weakMapMemoize;
80
+ argsMemoize: typeof import("reselect").weakMapMemoize;
81
+ };
82
+ //#endregion
83
+ export { getDeploymentsByStatus as a, getRecentDeployments as c, getDeploymentsById as i, getSelectedDeploymentDeviceIds as l, DeploymentsState as n, getDeploymentsSelectionState as o, getDeploymentById as r, getMappedDeploymentSelection as s, DEPLOYMENT_CUTOFF as t };
84
+ //# sourceMappingURL=selectors-D9t4It2i.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { t as MonitorSliceType } from "./index-CD39K38q.js";
2
+ //#region src/monitorSlice/selectors.d.ts
3
+ type MonitorState = {
4
+ monitor: MonitorSliceType;
5
+ };
6
+ declare const getIssueCountsByType: (state: MonitorState) => {
7
+ [x: string]: {
8
+ filtered: number;
9
+ total: number;
10
+ };
11
+ };
12
+ //#endregion
13
+ export { getIssueCountsByType as n, MonitorState as t };
14
+ //# sourceMappingURL=selectors-D_UFk4Uz.d.ts.map