@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,712 @@
1
+ import { c as DeviceSliceType, i as DeviceGroup, l as DeviceTierLimits, o as DeviceListState, r as DeviceFilter, t as Device } from "./index-D8O1HJ8Q.cjs";
2
+ //#region src/devicesSlice/selectors.d.ts
3
+ type DevicesState = {
4
+ devices: DeviceSliceType;
5
+ };
6
+ declare const getAcceptedDevices: (state: DevicesState) => {
7
+ counts: DeviceTierLimits & {
8
+ total: number;
9
+ };
10
+ deviceIds: string[];
11
+ };
12
+ declare const getDevicesByStatus: (state: DevicesState) => Record<string, {
13
+ counts: DeviceTierLimits & {
14
+ total: number;
15
+ };
16
+ deviceIds: string[];
17
+ }>;
18
+ declare const getDevicesById: (state: DevicesState) => Record<string, Device>;
19
+ declare const getDeviceReports: (state: DevicesState) => {
20
+ items: {
21
+ count: number;
22
+ key: string;
23
+ }[];
24
+ otherCount: number;
25
+ total: number;
26
+ }[];
27
+ declare const getGroupsById: (state: DevicesState) => Record<string, DeviceGroup>;
28
+ declare const getSelectedGroup: (state: DevicesState) => string | undefined;
29
+ declare const getDeviceListState: (state: DevicesState) => DeviceListState;
30
+ declare const getListedDevices: (state: DevicesState) => string[];
31
+ declare const getFilteringAttributes: (state: DevicesState) => {
32
+ identityAttributes: string[];
33
+ inventoryAttributes: string[];
34
+ systemAttributes: string[];
35
+ tagAttributes: string[];
36
+ };
37
+ declare const getDeviceFilters: (state: DevicesState) => DeviceFilter[];
38
+ declare const getTestDeviceLimit: (state: DevicesState) => number;
39
+ declare const getSortedFilteringAttributes: ((state: DevicesState) => {
40
+ identityAttributes: string[];
41
+ inventoryAttributes: string[];
42
+ systemAttributes: string[];
43
+ tagAttributes: string[];
44
+ }) & {
45
+ clearCache: () => void;
46
+ resultsCount: () => number;
47
+ resetResultsCount: () => void;
48
+ } & {
49
+ resultFunc: (resultFuncArgs_0: {
50
+ identityAttributes: string[];
51
+ inventoryAttributes: string[];
52
+ systemAttributes: string[];
53
+ tagAttributes: string[];
54
+ }) => {
55
+ identityAttributes: string[];
56
+ inventoryAttributes: string[];
57
+ systemAttributes: string[];
58
+ tagAttributes: string[];
59
+ };
60
+ memoizedResultFunc: ((resultFuncArgs_0: {
61
+ identityAttributes: string[];
62
+ inventoryAttributes: string[];
63
+ systemAttributes: string[];
64
+ tagAttributes: string[];
65
+ }) => {
66
+ identityAttributes: string[];
67
+ inventoryAttributes: string[];
68
+ systemAttributes: string[];
69
+ tagAttributes: string[];
70
+ }) & {
71
+ clearCache: () => void;
72
+ resultsCount: () => number;
73
+ resetResultsCount: () => void;
74
+ };
75
+ lastResult: () => {
76
+ identityAttributes: string[];
77
+ inventoryAttributes: string[];
78
+ systemAttributes: string[];
79
+ tagAttributes: string[];
80
+ };
81
+ dependencies: [(state: DevicesState) => {
82
+ identityAttributes: string[];
83
+ inventoryAttributes: string[];
84
+ systemAttributes: string[];
85
+ tagAttributes: string[];
86
+ }];
87
+ recomputations: () => number;
88
+ resetRecomputations: () => void;
89
+ dependencyRecomputations: () => number;
90
+ resetDependencyRecomputations: () => void;
91
+ } & {
92
+ memoize: typeof import("reselect").weakMapMemoize;
93
+ argsMemoize: typeof import("reselect").weakMapMemoize;
94
+ };
95
+ declare const getDeviceLimits: (state: DevicesState) => DeviceTierLimits;
96
+ declare const getTestDeviceCount: (state: DevicesState) => number;
97
+ declare const getDeviceIdentityAttributes: ((state: DevicesState) => {
98
+ value: string;
99
+ label: string;
100
+ scope: string;
101
+ }[]) & {
102
+ clearCache: () => void;
103
+ resultsCount: () => number;
104
+ resetResultsCount: () => void;
105
+ } & {
106
+ resultFunc: (resultFuncArgs_0: {
107
+ identityAttributes: string[];
108
+ inventoryAttributes: string[];
109
+ systemAttributes: string[];
110
+ tagAttributes: string[];
111
+ }, resultFuncArgs_1: number) => {
112
+ value: string;
113
+ label: string;
114
+ scope: string;
115
+ }[];
116
+ memoizedResultFunc: ((resultFuncArgs_0: {
117
+ identityAttributes: string[];
118
+ inventoryAttributes: string[];
119
+ systemAttributes: string[];
120
+ tagAttributes: string[];
121
+ }, resultFuncArgs_1: number) => {
122
+ value: string;
123
+ label: string;
124
+ scope: string;
125
+ }[]) & {
126
+ clearCache: () => void;
127
+ resultsCount: () => number;
128
+ resetResultsCount: () => void;
129
+ };
130
+ lastResult: () => {
131
+ value: string;
132
+ label: string;
133
+ scope: string;
134
+ }[];
135
+ dependencies: [(state: DevicesState) => {
136
+ identityAttributes: string[];
137
+ inventoryAttributes: string[];
138
+ systemAttributes: string[];
139
+ tagAttributes: string[];
140
+ }, (state: DevicesState) => number];
141
+ recomputations: () => number;
142
+ resetRecomputations: () => void;
143
+ dependencyRecomputations: () => number;
144
+ resetDependencyRecomputations: () => void;
145
+ } & {
146
+ memoize: typeof import("reselect").weakMapMemoize;
147
+ argsMemoize: typeof import("reselect").weakMapMemoize;
148
+ };
149
+ declare const getDeviceCountsByStatus: ((state: DevicesState) => Record<string, number>) & {
150
+ clearCache: () => void;
151
+ resultsCount: () => number;
152
+ resetResultsCount: () => void;
153
+ } & {
154
+ resultFunc: (resultFuncArgs_0: Record<string, {
155
+ counts: DeviceTierLimits & {
156
+ total: number;
157
+ };
158
+ deviceIds: string[];
159
+ }>) => Record<string, number>;
160
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
161
+ counts: DeviceTierLimits & {
162
+ total: number;
163
+ };
164
+ deviceIds: string[];
165
+ }>) => Record<string, number>) & {
166
+ clearCache: () => void;
167
+ resultsCount: () => number;
168
+ resetResultsCount: () => void;
169
+ };
170
+ lastResult: () => Record<string, number>;
171
+ dependencies: [(state: DevicesState) => Record<string, {
172
+ counts: DeviceTierLimits & {
173
+ total: number;
174
+ };
175
+ deviceIds: string[];
176
+ }>];
177
+ recomputations: () => number;
178
+ resetRecomputations: () => void;
179
+ dependencyRecomputations: () => number;
180
+ resetDependencyRecomputations: () => void;
181
+ } & {
182
+ memoize: typeof import("reselect").weakMapMemoize;
183
+ argsMemoize: typeof import("reselect").weakMapMemoize;
184
+ };
185
+ declare const getDeviceById: ((state: any, deviceId: any) => Device) & {
186
+ clearCache: () => void;
187
+ resultsCount: () => number;
188
+ resetResultsCount: () => void;
189
+ } & {
190
+ resultFunc: (resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => Device;
191
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => Device) & {
192
+ clearCache: () => void;
193
+ resultsCount: () => number;
194
+ resetResultsCount: () => void;
195
+ };
196
+ lastResult: () => Device;
197
+ dependencies: [(state: DevicesState) => Record<string, Device>, (_: any, deviceId: any) => any];
198
+ recomputations: () => number;
199
+ resetRecomputations: () => void;
200
+ dependencyRecomputations: () => number;
201
+ resetDependencyRecomputations: () => void;
202
+ } & {
203
+ memoize: typeof import("reselect").weakMapMemoize;
204
+ argsMemoize: typeof import("reselect").weakMapMemoize;
205
+ };
206
+ declare const getSelectedGroupInfo: ((state: DevicesState) => {
207
+ groupCount: number;
208
+ selectedGroup: string | undefined;
209
+ groupFilters: DeviceFilter[];
210
+ }) & {
211
+ clearCache: () => void;
212
+ resultsCount: () => number;
213
+ resetResultsCount: () => void;
214
+ } & {
215
+ resultFunc: (resultFuncArgs_0: Record<string, number>, resultFuncArgs_1: Record<string, DeviceGroup>, resultFuncArgs_2: string | undefined) => {
216
+ groupCount: number;
217
+ selectedGroup: string | undefined;
218
+ groupFilters: DeviceFilter[];
219
+ };
220
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, number>, resultFuncArgs_1: Record<string, DeviceGroup>, resultFuncArgs_2: string | undefined) => {
221
+ groupCount: number;
222
+ selectedGroup: string | undefined;
223
+ groupFilters: DeviceFilter[];
224
+ }) & {
225
+ clearCache: () => void;
226
+ resultsCount: () => number;
227
+ resetResultsCount: () => void;
228
+ };
229
+ lastResult: () => {
230
+ groupCount: number;
231
+ selectedGroup: string | undefined;
232
+ groupFilters: DeviceFilter[];
233
+ };
234
+ dependencies: [((state: DevicesState) => Record<string, number>) & {
235
+ clearCache: () => void;
236
+ resultsCount: () => number;
237
+ resetResultsCount: () => void;
238
+ } & {
239
+ resultFunc: (resultFuncArgs_0: Record<string, {
240
+ counts: DeviceTierLimits & {
241
+ total: number;
242
+ };
243
+ deviceIds: string[];
244
+ }>) => Record<string, number>;
245
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
246
+ counts: DeviceTierLimits & {
247
+ total: number;
248
+ };
249
+ deviceIds: string[];
250
+ }>) => Record<string, number>) & {
251
+ clearCache: () => void;
252
+ resultsCount: () => number;
253
+ resetResultsCount: () => void;
254
+ };
255
+ lastResult: () => Record<string, number>;
256
+ dependencies: [(state: DevicesState) => Record<string, {
257
+ counts: DeviceTierLimits & {
258
+ total: number;
259
+ };
260
+ deviceIds: string[];
261
+ }>];
262
+ recomputations: () => number;
263
+ resetRecomputations: () => void;
264
+ dependencyRecomputations: () => number;
265
+ resetDependencyRecomputations: () => void;
266
+ } & {
267
+ memoize: typeof import("reselect").weakMapMemoize;
268
+ argsMemoize: typeof import("reselect").weakMapMemoize;
269
+ }, (state: DevicesState) => Record<string, DeviceGroup>, (state: DevicesState) => string | undefined];
270
+ recomputations: () => number;
271
+ resetRecomputations: () => void;
272
+ dependencyRecomputations: () => number;
273
+ resetDependencyRecomputations: () => void;
274
+ } & {
275
+ memoize: typeof import("reselect").weakMapMemoize;
276
+ argsMemoize: typeof import("reselect").weakMapMemoize;
277
+ };
278
+ declare const getCombinedLimit: ((state: DevicesState) => number) & {
279
+ clearCache: () => void;
280
+ resultsCount: () => number;
281
+ resetResultsCount: () => void;
282
+ } & {
283
+ resultFunc: (resultFuncArgs_0: DeviceTierLimits) => number;
284
+ memoizedResultFunc: ((resultFuncArgs_0: DeviceTierLimits) => number) & {
285
+ clearCache: () => void;
286
+ resultsCount: () => number;
287
+ resetResultsCount: () => void;
288
+ };
289
+ lastResult: () => number;
290
+ dependencies: [(state: DevicesState) => DeviceTierLimits];
291
+ recomputations: () => number;
292
+ resetRecomputations: () => void;
293
+ dependencyRecomputations: () => number;
294
+ resetDependencyRecomputations: () => void;
295
+ } & {
296
+ memoize: typeof import("reselect").weakMapMemoize;
297
+ argsMemoize: typeof import("reselect").weakMapMemoize;
298
+ };
299
+ declare const getLimitMaxed: ((state: DevicesState) => boolean) & {
300
+ clearCache: () => void;
301
+ resultsCount: () => number;
302
+ resetResultsCount: () => void;
303
+ } & {
304
+ resultFunc: (resultFuncArgs_0: Record<string, number>, resultFuncArgs_1: number) => boolean;
305
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, number>, resultFuncArgs_1: number) => boolean) & {
306
+ clearCache: () => void;
307
+ resultsCount: () => number;
308
+ resetResultsCount: () => void;
309
+ };
310
+ lastResult: () => boolean;
311
+ dependencies: [((state: DevicesState) => Record<string, number>) & {
312
+ clearCache: () => void;
313
+ resultsCount: () => number;
314
+ resetResultsCount: () => void;
315
+ } & {
316
+ resultFunc: (resultFuncArgs_0: Record<string, {
317
+ counts: DeviceTierLimits & {
318
+ total: number;
319
+ };
320
+ deviceIds: string[];
321
+ }>) => Record<string, number>;
322
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
323
+ counts: DeviceTierLimits & {
324
+ total: number;
325
+ };
326
+ deviceIds: string[];
327
+ }>) => Record<string, number>) & {
328
+ clearCache: () => void;
329
+ resultsCount: () => number;
330
+ resetResultsCount: () => void;
331
+ };
332
+ lastResult: () => Record<string, number>;
333
+ dependencies: [(state: DevicesState) => Record<string, {
334
+ counts: DeviceTierLimits & {
335
+ total: number;
336
+ };
337
+ deviceIds: string[];
338
+ }>];
339
+ recomputations: () => number;
340
+ resetRecomputations: () => void;
341
+ dependencyRecomputations: () => number;
342
+ resetDependencyRecomputations: () => void;
343
+ } & {
344
+ memoize: typeof import("reselect").weakMapMemoize;
345
+ argsMemoize: typeof import("reselect").weakMapMemoize;
346
+ }, ((state: DevicesState) => number) & {
347
+ clearCache: () => void;
348
+ resultsCount: () => number;
349
+ resetResultsCount: () => void;
350
+ } & {
351
+ resultFunc: (resultFuncArgs_0: DeviceTierLimits) => number;
352
+ memoizedResultFunc: ((resultFuncArgs_0: DeviceTierLimits) => number) & {
353
+ clearCache: () => void;
354
+ resultsCount: () => number;
355
+ resetResultsCount: () => void;
356
+ };
357
+ lastResult: () => number;
358
+ dependencies: [(state: DevicesState) => DeviceTierLimits];
359
+ recomputations: () => number;
360
+ resetRecomputations: () => void;
361
+ dependencyRecomputations: () => number;
362
+ resetDependencyRecomputations: () => void;
363
+ } & {
364
+ memoize: typeof import("reselect").weakMapMemoize;
365
+ argsMemoize: typeof import("reselect").weakMapMemoize;
366
+ }];
367
+ recomputations: () => number;
368
+ resetRecomputations: () => void;
369
+ dependencyRecomputations: () => number;
370
+ resetDependencyRecomputations: () => void;
371
+ } & {
372
+ memoize: typeof import("reselect").weakMapMemoize;
373
+ argsMemoize: typeof import("reselect").weakMapMemoize;
374
+ };
375
+ declare const getGroupsByIdWithoutUngrouped: ((state: DevicesState) => {
376
+ [x: string]: DeviceGroup;
377
+ }) & {
378
+ clearCache: () => void;
379
+ resultsCount: () => number;
380
+ resetResultsCount: () => void;
381
+ } & {
382
+ resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>) => {
383
+ [x: string]: DeviceGroup;
384
+ };
385
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>) => {
386
+ [x: string]: DeviceGroup;
387
+ }) & {
388
+ clearCache: () => void;
389
+ resultsCount: () => number;
390
+ resetResultsCount: () => void;
391
+ };
392
+ lastResult: () => {
393
+ [x: string]: DeviceGroup;
394
+ };
395
+ dependencies: [(state: DevicesState) => Record<string, DeviceGroup>];
396
+ recomputations: () => number;
397
+ resetRecomputations: () => void;
398
+ dependencyRecomputations: () => number;
399
+ resetDependencyRecomputations: () => void;
400
+ } & {
401
+ memoize: typeof import("reselect").weakMapMemoize;
402
+ argsMemoize: typeof import("reselect").weakMapMemoize;
403
+ };
404
+ declare const getGroupData: ((state: DevicesState) => {
405
+ createdGroup: string | undefined;
406
+ hasDynamicGroups: boolean;
407
+ groups: {
408
+ [x: string]: DeviceGroup;
409
+ };
410
+ }) & {
411
+ clearCache: () => void;
412
+ resultsCount: () => number;
413
+ resetResultsCount: () => void;
414
+ } & {
415
+ resultFunc: (resultFuncArgs_0: {
416
+ [x: string]: DeviceGroup;
417
+ }) => {
418
+ createdGroup: string | undefined;
419
+ hasDynamicGroups: boolean;
420
+ groups: {
421
+ [x: string]: DeviceGroup;
422
+ };
423
+ };
424
+ memoizedResultFunc: ((resultFuncArgs_0: {
425
+ [x: string]: DeviceGroup;
426
+ }) => {
427
+ createdGroup: string | undefined;
428
+ hasDynamicGroups: boolean;
429
+ groups: {
430
+ [x: string]: DeviceGroup;
431
+ };
432
+ }) & {
433
+ clearCache: () => void;
434
+ resultsCount: () => number;
435
+ resetResultsCount: () => void;
436
+ };
437
+ lastResult: () => {
438
+ createdGroup: string | undefined;
439
+ hasDynamicGroups: boolean;
440
+ groups: {
441
+ [x: string]: DeviceGroup;
442
+ };
443
+ };
444
+ dependencies: [((state: DevicesState) => {
445
+ [x: string]: DeviceGroup;
446
+ }) & {
447
+ clearCache: () => void;
448
+ resultsCount: () => number;
449
+ resetResultsCount: () => void;
450
+ } & {
451
+ resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>) => {
452
+ [x: string]: DeviceGroup;
453
+ };
454
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>) => {
455
+ [x: string]: DeviceGroup;
456
+ }) & {
457
+ clearCache: () => void;
458
+ resultsCount: () => number;
459
+ resetResultsCount: () => void;
460
+ };
461
+ lastResult: () => {
462
+ [x: string]: DeviceGroup;
463
+ };
464
+ dependencies: [(state: DevicesState) => Record<string, DeviceGroup>];
465
+ recomputations: () => number;
466
+ resetRecomputations: () => void;
467
+ dependencyRecomputations: () => number;
468
+ resetDependencyRecomputations: () => void;
469
+ } & {
470
+ memoize: typeof import("reselect").weakMapMemoize;
471
+ argsMemoize: typeof import("reselect").weakMapMemoize;
472
+ }];
473
+ recomputations: () => number;
474
+ resetRecomputations: () => void;
475
+ dependencyRecomputations: () => number;
476
+ resetDependencyRecomputations: () => void;
477
+ } & {
478
+ memoize: typeof import("reselect").weakMapMemoize;
479
+ argsMemoize: typeof import("reselect").weakMapMemoize;
480
+ };
481
+ type SelectorGroup = DeviceGroup & {
482
+ groupId: string;
483
+ };
484
+ declare const getGroups: ((state: DevicesState) => {
485
+ dynamic: SelectorGroup[];
486
+ static: SelectorGroup[];
487
+ ungrouped: SelectorGroup[];
488
+ groupNames: string[];
489
+ }) & {
490
+ clearCache: () => void;
491
+ resultsCount: () => number;
492
+ resetResultsCount: () => void;
493
+ } & {
494
+ resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>) => {
495
+ dynamic: SelectorGroup[];
496
+ static: SelectorGroup[];
497
+ ungrouped: SelectorGroup[];
498
+ groupNames: string[];
499
+ };
500
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>) => {
501
+ dynamic: SelectorGroup[];
502
+ static: SelectorGroup[];
503
+ ungrouped: SelectorGroup[];
504
+ groupNames: string[];
505
+ }) & {
506
+ clearCache: () => void;
507
+ resultsCount: () => number;
508
+ resetResultsCount: () => void;
509
+ };
510
+ lastResult: () => {
511
+ dynamic: SelectorGroup[];
512
+ static: SelectorGroup[];
513
+ ungrouped: SelectorGroup[];
514
+ groupNames: string[];
515
+ };
516
+ dependencies: [(state: DevicesState) => Record<string, DeviceGroup>];
517
+ recomputations: () => number;
518
+ resetRecomputations: () => void;
519
+ dependencyRecomputations: () => number;
520
+ resetDependencyRecomputations: () => void;
521
+ } & {
522
+ memoize: typeof import("reselect").weakMapMemoize;
523
+ argsMemoize: typeof import("reselect").weakMapMemoize;
524
+ };
525
+ declare const getAttributesList: ((state: DevicesState) => string[]) & {
526
+ clearCache: () => void;
527
+ resultsCount: () => number;
528
+ resetResultsCount: () => void;
529
+ } & {
530
+ resultFunc: (resultFuncArgs_0: {
531
+ identityAttributes: string[];
532
+ inventoryAttributes: string[];
533
+ systemAttributes: string[];
534
+ tagAttributes: string[];
535
+ }, resultFuncArgs_1: Record<string, string[]>) => string[];
536
+ memoizedResultFunc: ((resultFuncArgs_0: {
537
+ identityAttributes: string[];
538
+ inventoryAttributes: string[];
539
+ systemAttributes: string[];
540
+ tagAttributes: string[];
541
+ }, resultFuncArgs_1: Record<string, string[]>) => string[]) & {
542
+ clearCache: () => void;
543
+ resultsCount: () => number;
544
+ resetResultsCount: () => void;
545
+ };
546
+ lastResult: () => string[];
547
+ dependencies: [(state: DevicesState) => {
548
+ identityAttributes: string[];
549
+ inventoryAttributes: string[];
550
+ systemAttributes: string[];
551
+ tagAttributes: string[];
552
+ }, (state: DevicesState) => Record<string, string[]>];
553
+ recomputations: () => number;
554
+ resetRecomputations: () => void;
555
+ dependencyRecomputations: () => number;
556
+ resetDependencyRecomputations: () => void;
557
+ } & {
558
+ memoize: typeof import("reselect").weakMapMemoize;
559
+ argsMemoize: typeof import("reselect").weakMapMemoize;
560
+ };
561
+ declare const getEnabledTiers: ((state: DevicesState) => string[]) & {
562
+ clearCache: () => void;
563
+ resultsCount: () => number;
564
+ resetResultsCount: () => void;
565
+ } & {
566
+ resultFunc: (resultFuncArgs_0: [string, number][]) => string[];
567
+ memoizedResultFunc: ((resultFuncArgs_0: [string, number][]) => string[]) & {
568
+ clearCache: () => void;
569
+ resultsCount: () => number;
570
+ resetResultsCount: () => void;
571
+ };
572
+ lastResult: () => string[];
573
+ dependencies: [((state: DevicesState) => [string, number][]) & {
574
+ clearCache: () => void;
575
+ resultsCount: () => number;
576
+ resetResultsCount: () => void;
577
+ } & {
578
+ resultFunc: (resultFuncArgs_0: DeviceTierLimits) => [string, number][];
579
+ memoizedResultFunc: ((resultFuncArgs_0: DeviceTierLimits) => [string, number][]) & {
580
+ clearCache: () => void;
581
+ resultsCount: () => number;
582
+ resetResultsCount: () => void;
583
+ };
584
+ lastResult: () => [string, number][];
585
+ dependencies: [(state: DevicesState) => DeviceTierLimits];
586
+ recomputations: () => number;
587
+ resetRecomputations: () => void;
588
+ dependencyRecomputations: () => number;
589
+ resetDependencyRecomputations: () => void;
590
+ } & {
591
+ memoize: typeof import("reselect").weakMapMemoize;
592
+ argsMemoize: typeof import("reselect").weakMapMemoize;
593
+ }];
594
+ recomputations: () => number;
595
+ resetRecomputations: () => void;
596
+ dependencyRecomputations: () => number;
597
+ resetDependencyRecomputations: () => void;
598
+ } & {
599
+ memoize: typeof import("reselect").weakMapMemoize;
600
+ argsMemoize: typeof import("reselect").weakMapMemoize;
601
+ };
602
+ declare const getDeviceLimitStats: ((state: DevicesState) => {
603
+ type: string;
604
+ limit: number;
605
+ total: any;
606
+ }[]) & {
607
+ clearCache: () => void;
608
+ resultsCount: () => number;
609
+ resetResultsCount: () => void;
610
+ } & {
611
+ resultFunc: (resultFuncArgs_0: [string, number][], resultFuncArgs_1: {
612
+ counts: DeviceTierLimits & {
613
+ total: number;
614
+ };
615
+ deviceIds: string[];
616
+ }) => {
617
+ type: string;
618
+ limit: number;
619
+ total: any;
620
+ }[];
621
+ memoizedResultFunc: ((resultFuncArgs_0: [string, number][], resultFuncArgs_1: {
622
+ counts: DeviceTierLimits & {
623
+ total: number;
624
+ };
625
+ deviceIds: string[];
626
+ }) => {
627
+ type: string;
628
+ limit: number;
629
+ total: any;
630
+ }[]) & {
631
+ clearCache: () => void;
632
+ resultsCount: () => number;
633
+ resetResultsCount: () => void;
634
+ };
635
+ lastResult: () => {
636
+ type: string;
637
+ limit: number;
638
+ total: any;
639
+ }[];
640
+ dependencies: [((state: DevicesState) => [string, number][]) & {
641
+ clearCache: () => void;
642
+ resultsCount: () => number;
643
+ resetResultsCount: () => void;
644
+ } & {
645
+ resultFunc: (resultFuncArgs_0: DeviceTierLimits) => [string, number][];
646
+ memoizedResultFunc: ((resultFuncArgs_0: DeviceTierLimits) => [string, number][]) & {
647
+ clearCache: () => void;
648
+ resultsCount: () => number;
649
+ resetResultsCount: () => void;
650
+ };
651
+ lastResult: () => [string, number][];
652
+ dependencies: [(state: DevicesState) => DeviceTierLimits];
653
+ recomputations: () => number;
654
+ resetRecomputations: () => void;
655
+ dependencyRecomputations: () => number;
656
+ resetDependencyRecomputations: () => void;
657
+ } & {
658
+ memoize: typeof import("reselect").weakMapMemoize;
659
+ argsMemoize: typeof import("reselect").weakMapMemoize;
660
+ }, (state: DevicesState) => {
661
+ counts: DeviceTierLimits & {
662
+ total: number;
663
+ };
664
+ deviceIds: string[];
665
+ }];
666
+ recomputations: () => number;
667
+ resetRecomputations: () => void;
668
+ dependencyRecomputations: () => number;
669
+ resetDependencyRecomputations: () => void;
670
+ } & {
671
+ memoize: typeof import("reselect").weakMapMemoize;
672
+ argsMemoize: typeof import("reselect").weakMapMemoize;
673
+ };
674
+ declare const getDeviceTypes: ((state: DevicesState) => string[]) & {
675
+ clearCache: () => void;
676
+ resultsCount: () => number;
677
+ resetResultsCount: () => void;
678
+ } & {
679
+ resultFunc: (resultFuncArgs_0: {
680
+ counts: DeviceTierLimits & {
681
+ total: number;
682
+ };
683
+ deviceIds: string[];
684
+ }, resultFuncArgs_1: Record<string, Device>) => string[];
685
+ memoizedResultFunc: ((resultFuncArgs_0: {
686
+ counts: DeviceTierLimits & {
687
+ total: number;
688
+ };
689
+ deviceIds: string[];
690
+ }, resultFuncArgs_1: Record<string, Device>) => string[]) & {
691
+ clearCache: () => void;
692
+ resultsCount: () => number;
693
+ resetResultsCount: () => void;
694
+ };
695
+ lastResult: () => string[];
696
+ dependencies: [(state: DevicesState) => {
697
+ counts: DeviceTierLimits & {
698
+ total: number;
699
+ };
700
+ deviceIds: string[];
701
+ }, (state: DevicesState) => Record<string, Device>];
702
+ recomputations: () => number;
703
+ resetRecomputations: () => void;
704
+ dependencyRecomputations: () => number;
705
+ resetDependencyRecomputations: () => void;
706
+ } & {
707
+ memoize: typeof import("reselect").weakMapMemoize;
708
+ argsMemoize: typeof import("reselect").weakMapMemoize;
709
+ };
710
+ //#endregion
711
+ export { getListedDevices as C, getTestDeviceCount as D, getSortedFilteringAttributes as E, getTestDeviceLimit as O, getLimitMaxed as S, getSelectedGroupInfo as T, getFilteringAttributes as _, getDeviceById as a, getGroupsById as b, getDeviceIdentityAttributes as c, getDeviceListState as d, getDeviceReports as f, getEnabledTiers as g, getDevicesByStatus as h, getCombinedLimit as i, getDeviceLimitStats as l, getDevicesById as m, getAcceptedDevices as n, getDeviceCountsByStatus as o, getDeviceTypes as p, getAttributesList as r, getDeviceFilters as s, DevicesState as t, getDeviceLimits as u, getGroupData as v, getSelectedGroup as w, getGroupsByIdWithoutUngrouped as x, getGroups as y };
712
+ //# sourceMappingURL=selectors-DuHGqmMJ.d.cts.map