@northern.tech/store 0.12.0 → 0.13.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 (176) hide show
  1. package/dist/actions.cjs +20 -16
  2. package/dist/actions.cjs.map +1 -1
  3. package/dist/actions.d.cts +7 -22
  4. package/dist/actions.d.ts +7 -22
  5. package/dist/actions.js +8 -8
  6. package/dist/appSlice/index.cjs.map +1 -1
  7. package/dist/appSlice/index.d.cts +1 -1
  8. package/dist/appSlice/index.d.ts +1 -1
  9. package/dist/appSlice/index.js +1 -1
  10. package/dist/appSlice/mocks.cjs.map +1 -1
  11. package/dist/appSlice/mocks.js +1 -1
  12. package/dist/appSlice/selectors.d.cts +34 -528
  13. package/dist/appSlice/selectors.d.ts +34 -528
  14. package/dist/appSlice/thunks.cjs +45 -41
  15. package/dist/appSlice/thunks.cjs.map +1 -1
  16. package/dist/appSlice/thunks.d.cts +5 -3
  17. package/dist/appSlice/thunks.d.ts +5 -3
  18. package/dist/appSlice/thunks.js +14 -14
  19. package/dist/{chunk-QOFVCPRW.js → chunk-5PUF4LA5.js} +1 -1
  20. package/dist/chunk-5PUF4LA5.js.map +1 -0
  21. package/dist/{chunk-TKIOEF3B.js → chunk-6KAV62BW.js} +6 -6
  22. package/dist/{chunk-OFGCC3GM.js → chunk-7MTM3BDT.js} +1 -1
  23. package/dist/chunk-7MTM3BDT.js.map +1 -0
  24. package/dist/{chunk-4HSH7RH3.js → chunk-AR4FTKSL.js} +8 -8
  25. package/dist/{chunk-ZRMB4U7Z.js → chunk-BZAXFAGT.js} +4 -4
  26. package/dist/{chunk-ZNAJKEP2.js → chunk-CQXDAXQF.js} +1 -1
  27. package/dist/chunk-CQXDAXQF.js.map +1 -0
  28. package/dist/{chunk-5ZCZTTYX.js → chunk-EOZ665GA.js} +2 -2
  29. package/dist/{chunk-C5NXNZ7F.js → chunk-ETZVJXPD.js} +23 -30
  30. package/dist/chunk-ETZVJXPD.js.map +1 -0
  31. package/dist/{chunk-WCBHYLUK.js → chunk-KJ4BPXMB.js} +1 -1
  32. package/dist/chunk-KJ4BPXMB.js.map +1 -0
  33. package/dist/{chunk-C2LGE3P6.js → chunk-OLKM53RL.js} +1 -1
  34. package/dist/chunk-OLKM53RL.js.map +1 -0
  35. package/dist/{chunk-HLX5L3IM.js → chunk-PVCHKW35.js} +1 -1
  36. package/dist/chunk-PVCHKW35.js.map +1 -0
  37. package/dist/{chunk-REZWSU22.js → chunk-VODRLEDP.js} +21 -17
  38. package/dist/chunk-VODRLEDP.js.map +1 -0
  39. package/dist/{chunk-MH5WPYQI.js → chunk-X7NEALMI.js} +16 -9
  40. package/dist/chunk-X7NEALMI.js.map +1 -0
  41. package/dist/{chunk-OGUVURJ5.js → chunk-YFAIYNQG.js} +9 -9
  42. package/dist/commonSelectors.cjs +15 -8
  43. package/dist/commonSelectors.cjs.map +1 -1
  44. package/dist/commonSelectors.d.cts +178 -3523
  45. package/dist/commonSelectors.d.ts +178 -3523
  46. package/dist/commonSelectors.js +2 -2
  47. package/dist/deploymentsSlice/index.cjs.map +1 -1
  48. package/dist/deploymentsSlice/index.d.cts +1 -1
  49. package/dist/deploymentsSlice/index.d.ts +1 -1
  50. package/dist/deploymentsSlice/index.js +1 -1
  51. package/dist/deploymentsSlice/mocks.cjs.map +1 -1
  52. package/dist/deploymentsSlice/mocks.js +1 -1
  53. package/dist/deploymentsSlice/selectors.d.cts +16 -138
  54. package/dist/deploymentsSlice/selectors.d.ts +16 -138
  55. package/dist/deploymentsSlice/thunks.cjs +45 -41
  56. package/dist/deploymentsSlice/thunks.cjs.map +1 -1
  57. package/dist/deploymentsSlice/thunks.d.cts +4 -2
  58. package/dist/deploymentsSlice/thunks.d.ts +4 -2
  59. package/dist/deploymentsSlice/thunks.js +14 -14
  60. package/dist/devicesSlice/index.cjs +20 -16
  61. package/dist/devicesSlice/index.cjs.map +1 -1
  62. package/dist/devicesSlice/index.d.cts +11 -20
  63. package/dist/devicesSlice/index.d.ts +11 -20
  64. package/dist/devicesSlice/index.js +1 -1
  65. package/dist/devicesSlice/mocks.cjs +24 -22
  66. package/dist/devicesSlice/mocks.cjs.map +1 -1
  67. package/dist/devicesSlice/mocks.d.cts +20 -12
  68. package/dist/devicesSlice/mocks.d.ts +20 -12
  69. package/dist/devicesSlice/mocks.js +5 -7
  70. package/dist/devicesSlice/mocks.js.map +1 -1
  71. package/dist/devicesSlice/selectors.cjs +15 -8
  72. package/dist/devicesSlice/selectors.cjs.map +1 -1
  73. package/dist/devicesSlice/selectors.d.cts +207 -1730
  74. package/dist/devicesSlice/selectors.d.ts +207 -1730
  75. package/dist/devicesSlice/selectors.js +1 -1
  76. package/dist/devicesSlice/thunks.cjs +45 -43
  77. package/dist/devicesSlice/thunks.cjs.map +1 -1
  78. package/dist/devicesSlice/thunks.d.cts +12 -46
  79. package/dist/devicesSlice/thunks.d.ts +12 -46
  80. package/dist/devicesSlice/thunks.js +14 -16
  81. package/dist/monitorSlice/index.cjs.map +1 -1
  82. package/dist/monitorSlice/index.d.cts +1 -1
  83. package/dist/monitorSlice/index.d.ts +1 -1
  84. package/dist/monitorSlice/index.js +1 -1
  85. package/dist/monitorSlice/mocks.cjs.map +1 -1
  86. package/dist/monitorSlice/mocks.js +1 -1
  87. package/dist/monitorSlice/thunks.cjs +35 -24
  88. package/dist/monitorSlice/thunks.cjs.map +1 -1
  89. package/dist/monitorSlice/thunks.d.cts +3 -2
  90. package/dist/monitorSlice/thunks.d.ts +3 -2
  91. package/dist/monitorSlice/thunks.js +12 -12
  92. package/dist/onboardingSlice/index.cjs.map +1 -1
  93. package/dist/onboardingSlice/index.d.cts +1 -1
  94. package/dist/onboardingSlice/index.d.ts +1 -1
  95. package/dist/onboardingSlice/index.js +1 -1
  96. package/dist/onboardingSlice/mocks.cjs.map +1 -1
  97. package/dist/onboardingSlice/mocks.js +1 -1
  98. package/dist/onboardingSlice/thunks.cjs +45 -41
  99. package/dist/onboardingSlice/thunks.cjs.map +1 -1
  100. package/dist/onboardingSlice/thunks.d.cts +7 -15
  101. package/dist/onboardingSlice/thunks.d.ts +7 -15
  102. package/dist/onboardingSlice/thunks.js +14 -14
  103. package/dist/organizationSlice/index.cjs.map +1 -1
  104. package/dist/organizationSlice/index.d.cts +41 -31
  105. package/dist/organizationSlice/index.d.ts +41 -31
  106. package/dist/organizationSlice/index.js +1 -1
  107. package/dist/organizationSlice/mocks.cjs.map +1 -1
  108. package/dist/organizationSlice/mocks.js +1 -1
  109. package/dist/organizationSlice/selectors.d.cts +42 -659
  110. package/dist/organizationSlice/selectors.d.ts +42 -659
  111. package/dist/organizationSlice/thunks.cjs +45 -41
  112. package/dist/organizationSlice/thunks.cjs.map +1 -1
  113. package/dist/organizationSlice/thunks.d.cts +4 -1
  114. package/dist/organizationSlice/thunks.d.ts +4 -1
  115. package/dist/organizationSlice/thunks.js +14 -14
  116. package/dist/organizationSlice/types.cjs.map +1 -1
  117. package/dist/organizationSlice/types.d.cts +2 -12
  118. package/dist/organizationSlice/types.d.ts +2 -12
  119. package/dist/releasesSlice/mocks.d.cts +7 -1
  120. package/dist/releasesSlice/mocks.d.ts +7 -1
  121. package/dist/releasesSlice/selectors.d.cts +155 -930
  122. package/dist/releasesSlice/selectors.d.ts +155 -930
  123. package/dist/releasesSlice/thunks.cjs +35 -24
  124. package/dist/releasesSlice/thunks.cjs.map +1 -1
  125. package/dist/releasesSlice/thunks.d.cts +4 -2
  126. package/dist/releasesSlice/thunks.d.ts +4 -2
  127. package/dist/releasesSlice/thunks.js +12 -12
  128. package/dist/selectors.cjs +15 -8
  129. package/dist/selectors.cjs.map +1 -1
  130. package/dist/selectors.d.cts +6 -3
  131. package/dist/selectors.d.ts +6 -3
  132. package/dist/selectors.js +2 -2
  133. package/dist/store.cjs +20 -16
  134. package/dist/store.cjs.map +1 -1
  135. package/dist/store.d.cts +40 -658
  136. package/dist/store.d.ts +40 -658
  137. package/dist/store.js +9 -9
  138. package/dist/storehooks.cjs +45 -41
  139. package/dist/storehooks.cjs.map +1 -1
  140. package/dist/storehooks.js +14 -14
  141. package/dist/thunks.cjs +45 -43
  142. package/dist/thunks.cjs.map +1 -1
  143. package/dist/thunks.d.cts +7 -5
  144. package/dist/thunks.d.ts +7 -5
  145. package/dist/thunks.js +14 -16
  146. package/dist/useDeploymentDevice.cjs +45 -41
  147. package/dist/useDeploymentDevice.cjs.map +1 -1
  148. package/dist/useDeploymentDevice.js +14 -14
  149. package/dist/usersSlice/index.cjs.map +1 -1
  150. package/dist/usersSlice/index.d.cts +46 -46
  151. package/dist/usersSlice/index.d.ts +46 -46
  152. package/dist/usersSlice/index.js +1 -1
  153. package/dist/usersSlice/mocks.cjs.map +1 -1
  154. package/dist/usersSlice/mocks.js +1 -1
  155. package/dist/usersSlice/selectors.d.cts +75 -1436
  156. package/dist/usersSlice/selectors.d.ts +75 -1436
  157. package/dist/usersSlice/thunks.cjs +45 -41
  158. package/dist/usersSlice/thunks.cjs.map +1 -1
  159. package/dist/usersSlice/thunks.d.cts +3 -1
  160. package/dist/usersSlice/thunks.d.ts +3 -1
  161. package/dist/usersSlice/thunks.js +14 -14
  162. package/package.json +1 -1
  163. package/dist/chunk-C2LGE3P6.js.map +0 -1
  164. package/dist/chunk-C5NXNZ7F.js.map +0 -1
  165. package/dist/chunk-HLX5L3IM.js.map +0 -1
  166. package/dist/chunk-MH5WPYQI.js.map +0 -1
  167. package/dist/chunk-OFGCC3GM.js.map +0 -1
  168. package/dist/chunk-QOFVCPRW.js.map +0 -1
  169. package/dist/chunk-REZWSU22.js.map +0 -1
  170. package/dist/chunk-WCBHYLUK.js.map +0 -1
  171. package/dist/chunk-ZNAJKEP2.js.map +0 -1
  172. /package/dist/{chunk-TKIOEF3B.js.map → chunk-6KAV62BW.js.map} +0 -0
  173. /package/dist/{chunk-4HSH7RH3.js.map → chunk-AR4FTKSL.js.map} +0 -0
  174. /package/dist/{chunk-ZRMB4U7Z.js.map → chunk-BZAXFAGT.js.map} +0 -0
  175. /package/dist/{chunk-5ZCZTTYX.js.map → chunk-EOZ665GA.js.map} +0 -0
  176. /package/dist/{chunk-OGUVURJ5.js.map → chunk-YFAIYNQG.js.map} +0 -0
@@ -1,35 +1,42 @@
1
1
  import * as reselect from 'reselect';
2
- import * as _northern_tech_utils_constants from '@northern.tech/utils/constants';
3
- import { ReadState } from '../usersSlice/constants.cjs';
4
- import { User, UserSession, CustomColumn, GlobalSettings, UserSettings } from '../usersSlice/index.cjs';
2
+ import { UserSliceType } from '../usersSlice/index.cjs';
5
3
  import { ReleaseSliceType } from '../releasesSlice/index.cjs';
6
- import { OrganizationState } from '../organizationSlice/types.cjs';
7
- import { OnboardingApproach } from '../onboardingSlice/index.cjs';
8
- import * as _northern_tech_types_types_gen from '@northern.tech/types/types.gen';
9
- import { Deployment, DeploymentByStatus, DeploymentConfig, SelectionState } from '../deploymentsSlice/index.cjs';
10
- import { SearchState, SentryConfig, SnackbarContent, Upload } from '../appSlice/index.cjs';
4
+ import { OrganizationSliceType } from '../organizationSlice/index.cjs';
5
+ import { OnboardingSliceType } from '../onboardingSlice/index.cjs';
6
+ import { MonitorSliceType } from '../monitorSlice/index.cjs';
7
+ import { DeploymentsSliceType } from '../deploymentsSlice/index.cjs';
8
+ import { AppSliceType } from '../appSlice/index.cjs';
11
9
  import { Device, DeviceGroup, DeviceListState, DeviceFilter, DeviceSliceType } from './index.cjs';
10
+ import * as _northern_tech_types_types_gen from '@northern.tech/types/types.gen';
12
11
  import { RootState } from '../store.cjs';
13
12
  import 'redux';
14
13
  import '@reduxjs/toolkit';
15
14
  import 'immer';
16
15
  import '@northern.tech/types/MenderTypes';
16
+ import '@northern.tech/utils/constants';
17
17
  import '../commonConstants.cjs';
18
18
  import 'react/jsx-runtime';
19
+ import '../usersSlice/constants.cjs';
20
+ import '../organizationSlice/types.cjs';
19
21
  import '../appSlice/constants.cjs';
20
22
  import '@mui/material/OverridableComponent';
21
23
  import '@mui/material';
22
24
  import '../organizationSlice/constants.cjs';
25
+ import '../monitorSlice/constants.cjs';
23
26
  import './constants.cjs';
24
27
  import 'redux-thunk';
25
28
 
26
29
  declare const getAcceptedDevices: (state: RootState) => {
30
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
31
+ total: number;
32
+ };
27
33
  deviceIds: string[];
28
- total: number;
29
34
  };
30
35
  declare const getDevicesByStatus: (state: RootState) => Record<string, {
36
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
37
+ total: number;
38
+ };
31
39
  deviceIds: string[];
32
- total: number;
33
40
  }>;
34
41
  declare const getDevicesById: (state: RootState) => Record<string, Device>;
35
42
  declare const getDeviceReports: (state: RootState) => {
@@ -52,138 +59,14 @@ declare const getFilteringAttributes: (state: RootState) => {
52
59
  };
53
60
  declare const getDeviceFilters: (state: RootState) => DeviceFilter[];
54
61
  declare const getSortedFilteringAttributes: ((state: {
55
- app: {
56
- cancelSource: any;
57
- commit: string;
58
- demoArtifactLink: string;
59
- docsVersion: string;
60
- features: Record<string, boolean>;
61
- feedbackProbability: number;
62
- firstLoginAfterSignup: boolean;
63
- hostAddress: string | null;
64
- hostedAnnouncement: string;
65
- newThreshold: string;
66
- offlineThreshold: string;
67
- recaptchaSiteKey: string;
68
- searchState: SearchState;
69
- sentry: SentryConfig;
70
- snackbar: SnackbarContent;
71
- stripeAPIKey: string;
72
- trackerCode: string;
73
- uploadsById: Record<string, Upload>;
74
- versionInformation: {
75
- [key: string]: string | {
76
- releaseDate: string;
77
- repos: Record<string, string>;
78
- } | undefined;
79
- backend?: string;
80
- GUI?: string;
81
- latestRelease?: {
82
- releaseDate: string;
83
- repos: Record<string, string>;
84
- };
85
- };
86
- yesterday?: string;
87
- };
62
+ app: AppSliceType;
88
63
  devices: DeviceSliceType;
89
- deployments: {
90
- byId: Record<string, Deployment>;
91
- byStatus: DeploymentByStatus;
92
- config: DeploymentConfig;
93
- deploymentDeviceLimit: number;
94
- selectedDeviceIds: string[];
95
- selectionState: SelectionState;
96
- };
97
- monitor: {
98
- alerts: {
99
- alertList: {
100
- page: number;
101
- perPage: number;
102
- total: number;
103
- };
104
- byDeviceId: {
105
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
106
- fullName?: string;
107
- }>;
108
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
109
- fullName?: string;
110
- }>;
111
- };
112
- };
113
- issueCounts: {
114
- byType: {
115
- issues: {
116
- filtered: number;
117
- total: number;
118
- };
119
- offline: {
120
- filtered: number;
121
- total: number;
122
- };
123
- failedLastUpdate: {
124
- filtered: number;
125
- total: number;
126
- };
127
- monitoring: {
128
- filtered: number;
129
- total: number;
130
- };
131
- authRequests: {
132
- filtered: number;
133
- total: number;
134
- };
135
- gatewayDevices: {
136
- filtered: number;
137
- total: number;
138
- };
139
- };
140
- };
141
- settings: {
142
- global: {
143
- channels: {
144
- email: {
145
- enabled: boolean;
146
- };
147
- };
148
- };
149
- };
150
- };
151
- onboarding: {
152
- address?: string;
153
- approach: OnboardingApproach | null;
154
- complete: boolean;
155
- demoArtifactPort: number;
156
- deviceConnection?: string;
157
- deviceType: string[] | string | null;
158
- progress: string | null;
159
- showTips: boolean | null;
160
- showTipsDialog: boolean;
161
- };
162
- organization: OrganizationState;
64
+ deployments: DeploymentsSliceType;
65
+ monitor: MonitorSliceType;
66
+ onboarding: OnboardingSliceType;
67
+ organization: OrganizationSliceType;
163
68
  releases: ReleaseSliceType;
164
- users: {
165
- activationCode?: string;
166
- byId: Record<string, User>;
167
- currentSession?: UserSession | object;
168
- currentUser: string | null;
169
- customColumns: CustomColumn[];
170
- globalSettings: GlobalSettings;
171
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
172
- qrCode: string | null;
173
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
174
- rolesInitialized: boolean;
175
- settingsInitialized: boolean;
176
- showConnectDeviceDialog: boolean;
177
- showFeedbackDialog: boolean;
178
- showStartupNotification: boolean;
179
- tooltips: {
180
- byId: Record<string, {
181
- readState: ReadState;
182
- }>;
183
- };
184
- userSettings: UserSettings;
185
- userSettingsInitialized: boolean;
186
- };
69
+ users: UserSliceType;
187
70
  }) => {
188
71
  identityAttributes: string[];
189
72
  inventoryAttributes: string[];
@@ -242,138 +125,14 @@ declare const getSortedFilteringAttributes: ((state: {
242
125
  };
243
126
  declare const getDeviceLimits: (state: RootState) => _northern_tech_types_types_gen.DeviceTierLimits;
244
127
  declare const getDeviceIdentityAttributes: ((state: {
245
- app: {
246
- cancelSource: any;
247
- commit: string;
248
- demoArtifactLink: string;
249
- docsVersion: string;
250
- features: Record<string, boolean>;
251
- feedbackProbability: number;
252
- firstLoginAfterSignup: boolean;
253
- hostAddress: string | null;
254
- hostedAnnouncement: string;
255
- newThreshold: string;
256
- offlineThreshold: string;
257
- recaptchaSiteKey: string;
258
- searchState: SearchState;
259
- sentry: SentryConfig;
260
- snackbar: SnackbarContent;
261
- stripeAPIKey: string;
262
- trackerCode: string;
263
- uploadsById: Record<string, Upload>;
264
- versionInformation: {
265
- [key: string]: string | {
266
- releaseDate: string;
267
- repos: Record<string, string>;
268
- } | undefined;
269
- backend?: string;
270
- GUI?: string;
271
- latestRelease?: {
272
- releaseDate: string;
273
- repos: Record<string, string>;
274
- };
275
- };
276
- yesterday?: string;
277
- };
128
+ app: AppSliceType;
278
129
  devices: DeviceSliceType;
279
- deployments: {
280
- byId: Record<string, Deployment>;
281
- byStatus: DeploymentByStatus;
282
- config: DeploymentConfig;
283
- deploymentDeviceLimit: number;
284
- selectedDeviceIds: string[];
285
- selectionState: SelectionState;
286
- };
287
- monitor: {
288
- alerts: {
289
- alertList: {
290
- page: number;
291
- perPage: number;
292
- total: number;
293
- };
294
- byDeviceId: {
295
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
296
- fullName?: string;
297
- }>;
298
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
299
- fullName?: string;
300
- }>;
301
- };
302
- };
303
- issueCounts: {
304
- byType: {
305
- issues: {
306
- filtered: number;
307
- total: number;
308
- };
309
- offline: {
310
- filtered: number;
311
- total: number;
312
- };
313
- failedLastUpdate: {
314
- filtered: number;
315
- total: number;
316
- };
317
- monitoring: {
318
- filtered: number;
319
- total: number;
320
- };
321
- authRequests: {
322
- filtered: number;
323
- total: number;
324
- };
325
- gatewayDevices: {
326
- filtered: number;
327
- total: number;
328
- };
329
- };
330
- };
331
- settings: {
332
- global: {
333
- channels: {
334
- email: {
335
- enabled: boolean;
336
- };
337
- };
338
- };
339
- };
340
- };
341
- onboarding: {
342
- address?: string;
343
- approach: OnboardingApproach | null;
344
- complete: boolean;
345
- demoArtifactPort: number;
346
- deviceConnection?: string;
347
- deviceType: string[] | string | null;
348
- progress: string | null;
349
- showTips: boolean | null;
350
- showTipsDialog: boolean;
351
- };
352
- organization: OrganizationState;
130
+ deployments: DeploymentsSliceType;
131
+ monitor: MonitorSliceType;
132
+ onboarding: OnboardingSliceType;
133
+ organization: OrganizationSliceType;
353
134
  releases: ReleaseSliceType;
354
- users: {
355
- activationCode?: string;
356
- byId: Record<string, User>;
357
- currentSession?: UserSession | object;
358
- currentUser: string | null;
359
- customColumns: CustomColumn[];
360
- globalSettings: GlobalSettings;
361
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
362
- qrCode: string | null;
363
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
364
- rolesInitialized: boolean;
365
- settingsInitialized: boolean;
366
- showConnectDeviceDialog: boolean;
367
- showFeedbackDialog: boolean;
368
- showStartupNotification: boolean;
369
- tooltips: {
370
- byId: Record<string, {
371
- readState: ReadState;
372
- }>;
373
- };
374
- userSettings: UserSettings;
375
- userSettingsInitialized: boolean;
376
- };
135
+ users: UserSliceType;
377
136
  }) => {
378
137
  value: string;
379
138
  label: string;
@@ -427,159 +186,41 @@ declare const getDeviceIdentityAttributes: ((state: {
427
186
  argsMemoize: typeof reselect.weakMapMemoize;
428
187
  };
429
188
  declare const getDeviceCountsByStatus: ((state: {
430
- app: {
431
- cancelSource: any;
432
- commit: string;
433
- demoArtifactLink: string;
434
- docsVersion: string;
435
- features: Record<string, boolean>;
436
- feedbackProbability: number;
437
- firstLoginAfterSignup: boolean;
438
- hostAddress: string | null;
439
- hostedAnnouncement: string;
440
- newThreshold: string;
441
- offlineThreshold: string;
442
- recaptchaSiteKey: string;
443
- searchState: SearchState;
444
- sentry: SentryConfig;
445
- snackbar: SnackbarContent;
446
- stripeAPIKey: string;
447
- trackerCode: string;
448
- uploadsById: Record<string, Upload>;
449
- versionInformation: {
450
- [key: string]: string | {
451
- releaseDate: string;
452
- repos: Record<string, string>;
453
- } | undefined;
454
- backend?: string;
455
- GUI?: string;
456
- latestRelease?: {
457
- releaseDate: string;
458
- repos: Record<string, string>;
459
- };
460
- };
461
- yesterday?: string;
462
- };
189
+ app: AppSliceType;
463
190
  devices: DeviceSliceType;
464
- deployments: {
465
- byId: Record<string, Deployment>;
466
- byStatus: DeploymentByStatus;
467
- config: DeploymentConfig;
468
- deploymentDeviceLimit: number;
469
- selectedDeviceIds: string[];
470
- selectionState: SelectionState;
471
- };
472
- monitor: {
473
- alerts: {
474
- alertList: {
475
- page: number;
476
- perPage: number;
477
- total: number;
478
- };
479
- byDeviceId: {
480
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
481
- fullName?: string;
482
- }>;
483
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
484
- fullName?: string;
485
- }>;
486
- };
487
- };
488
- issueCounts: {
489
- byType: {
490
- issues: {
491
- filtered: number;
492
- total: number;
493
- };
494
- offline: {
495
- filtered: number;
496
- total: number;
497
- };
498
- failedLastUpdate: {
499
- filtered: number;
500
- total: number;
501
- };
502
- monitoring: {
503
- filtered: number;
504
- total: number;
505
- };
506
- authRequests: {
507
- filtered: number;
508
- total: number;
509
- };
510
- gatewayDevices: {
511
- filtered: number;
512
- total: number;
513
- };
514
- };
515
- };
516
- settings: {
517
- global: {
518
- channels: {
519
- email: {
520
- enabled: boolean;
521
- };
522
- };
523
- };
524
- };
525
- };
526
- onboarding: {
527
- address?: string;
528
- approach: OnboardingApproach | null;
529
- complete: boolean;
530
- demoArtifactPort: number;
531
- deviceConnection?: string;
532
- deviceType: string[] | string | null;
533
- progress: string | null;
534
- showTips: boolean | null;
535
- showTipsDialog: boolean;
536
- };
537
- organization: OrganizationState;
191
+ deployments: DeploymentsSliceType;
192
+ monitor: MonitorSliceType;
193
+ onboarding: OnboardingSliceType;
194
+ organization: OrganizationSliceType;
538
195
  releases: ReleaseSliceType;
539
- users: {
540
- activationCode?: string;
541
- byId: Record<string, User>;
542
- currentSession?: UserSession | object;
543
- currentUser: string | null;
544
- customColumns: CustomColumn[];
545
- globalSettings: GlobalSettings;
546
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
547
- qrCode: string | null;
548
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
549
- rolesInitialized: boolean;
550
- settingsInitialized: boolean;
551
- showConnectDeviceDialog: boolean;
552
- showFeedbackDialog: boolean;
553
- showStartupNotification: boolean;
554
- tooltips: {
555
- byId: Record<string, {
556
- readState: ReadState;
557
- }>;
558
- };
559
- userSettings: UserSettings;
560
- userSettingsInitialized: boolean;
561
- };
562
- }) => {}) & {
196
+ users: UserSliceType;
197
+ }) => Record<string, number>) & {
563
198
  clearCache: () => void;
564
199
  resultsCount: () => number;
565
200
  resetResultsCount: () => void;
566
201
  } & {
567
202
  resultFunc: (resultFuncArgs_0: Record<string, {
203
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
204
+ total: number;
205
+ };
568
206
  deviceIds: string[];
569
- total: number;
570
- }>) => {};
207
+ }>) => Record<string, number>;
571
208
  memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
209
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
210
+ total: number;
211
+ };
572
212
  deviceIds: string[];
573
- total: number;
574
- }>) => {}) & {
213
+ }>) => Record<string, number>) & {
575
214
  clearCache: () => void;
576
215
  resultsCount: () => number;
577
216
  resetResultsCount: () => void;
578
217
  };
579
- lastResult: () => {};
218
+ lastResult: () => Record<string, number>;
580
219
  dependencies: [(state: RootState) => Record<string, {
220
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
221
+ total: number;
222
+ };
581
223
  deviceIds: string[];
582
- total: number;
583
224
  }>];
584
225
  recomputations: () => number;
585
226
  resetRecomputations: () => void;
@@ -611,138 +252,14 @@ declare const getDeviceById: ((state: any, deviceId: any) => Device) & {
611
252
  argsMemoize: typeof reselect.weakMapMemoize;
612
253
  };
613
254
  declare const getSelectedGroupInfo: ((state: {
614
- app: {
615
- cancelSource: any;
616
- commit: string;
617
- demoArtifactLink: string;
618
- docsVersion: string;
619
- features: Record<string, boolean>;
620
- feedbackProbability: number;
621
- firstLoginAfterSignup: boolean;
622
- hostAddress: string | null;
623
- hostedAnnouncement: string;
624
- newThreshold: string;
625
- offlineThreshold: string;
626
- recaptchaSiteKey: string;
627
- searchState: SearchState;
628
- sentry: SentryConfig;
629
- snackbar: SnackbarContent;
630
- stripeAPIKey: string;
631
- trackerCode: string;
632
- uploadsById: Record<string, Upload>;
633
- versionInformation: {
634
- [key: string]: string | {
635
- releaseDate: string;
636
- repos: Record<string, string>;
637
- } | undefined;
638
- backend?: string;
639
- GUI?: string;
640
- latestRelease?: {
641
- releaseDate: string;
642
- repos: Record<string, string>;
643
- };
644
- };
645
- yesterday?: string;
646
- };
255
+ app: AppSliceType;
647
256
  devices: DeviceSliceType;
648
- deployments: {
649
- byId: Record<string, Deployment>;
650
- byStatus: DeploymentByStatus;
651
- config: DeploymentConfig;
652
- deploymentDeviceLimit: number;
653
- selectedDeviceIds: string[];
654
- selectionState: SelectionState;
655
- };
656
- monitor: {
657
- alerts: {
658
- alertList: {
659
- page: number;
660
- perPage: number;
661
- total: number;
662
- };
663
- byDeviceId: {
664
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
665
- fullName?: string;
666
- }>;
667
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
668
- fullName?: string;
669
- }>;
670
- };
671
- };
672
- issueCounts: {
673
- byType: {
674
- issues: {
675
- filtered: number;
676
- total: number;
677
- };
678
- offline: {
679
- filtered: number;
680
- total: number;
681
- };
682
- failedLastUpdate: {
683
- filtered: number;
684
- total: number;
685
- };
686
- monitoring: {
687
- filtered: number;
688
- total: number;
689
- };
690
- authRequests: {
691
- filtered: number;
692
- total: number;
693
- };
694
- gatewayDevices: {
695
- filtered: number;
696
- total: number;
697
- };
698
- };
699
- };
700
- settings: {
701
- global: {
702
- channels: {
703
- email: {
704
- enabled: boolean;
705
- };
706
- };
707
- };
708
- };
709
- };
710
- onboarding: {
711
- address?: string;
712
- approach: OnboardingApproach | null;
713
- complete: boolean;
714
- demoArtifactPort: number;
715
- deviceConnection?: string;
716
- deviceType: string[] | string | null;
717
- progress: string | null;
718
- showTips: boolean | null;
719
- showTipsDialog: boolean;
720
- };
721
- organization: OrganizationState;
257
+ deployments: DeploymentsSliceType;
258
+ monitor: MonitorSliceType;
259
+ onboarding: OnboardingSliceType;
260
+ organization: OrganizationSliceType;
722
261
  releases: ReleaseSliceType;
723
- users: {
724
- activationCode?: string;
725
- byId: Record<string, User>;
726
- currentSession?: UserSession | object;
727
- currentUser: string | null;
728
- customColumns: CustomColumn[];
729
- globalSettings: GlobalSettings;
730
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
731
- qrCode: string | null;
732
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
733
- rolesInitialized: boolean;
734
- settingsInitialized: boolean;
735
- showConnectDeviceDialog: boolean;
736
- showFeedbackDialog: boolean;
737
- showStartupNotification: boolean;
738
- tooltips: {
739
- byId: Record<string, {
740
- readState: ReadState;
741
- }>;
742
- };
743
- userSettings: UserSettings;
744
- userSettingsInitialized: boolean;
745
- };
262
+ users: UserSliceType;
746
263
  }) => {
747
264
  groupCount: number;
748
265
  selectedGroup: string | undefined;
@@ -752,18 +269,12 @@ declare const getSelectedGroupInfo: ((state: {
752
269
  resultsCount: () => number;
753
270
  resetResultsCount: () => void;
754
271
  } & {
755
- resultFunc: (resultFuncArgs_0: {
756
- deviceIds: string[];
757
- total: number;
758
- }, resultFuncArgs_1: Record<string, DeviceGroup>, resultFuncArgs_2: string | undefined) => {
272
+ resultFunc: (resultFuncArgs_0: Record<string, number>, resultFuncArgs_1: Record<string, DeviceGroup>, resultFuncArgs_2: string | undefined) => {
759
273
  groupCount: number;
760
274
  selectedGroup: string | undefined;
761
275
  groupFilters: DeviceFilter[];
762
276
  };
763
- memoizedResultFunc: ((resultFuncArgs_0: {
764
- deviceIds: string[];
765
- total: number;
766
- }, resultFuncArgs_1: Record<string, DeviceGroup>, resultFuncArgs_2: string | undefined) => {
277
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, number>, resultFuncArgs_1: Record<string, DeviceGroup>, resultFuncArgs_2: string | undefined) => {
767
278
  groupCount: number;
768
279
  selectedGroup: string | undefined;
769
280
  groupFilters: DeviceFilter[];
@@ -777,9 +288,50 @@ declare const getSelectedGroupInfo: ((state: {
777
288
  selectedGroup: string | undefined;
778
289
  groupFilters: DeviceFilter[];
779
290
  };
780
- dependencies: [(state: RootState) => {
781
- deviceIds: string[];
782
- total: number;
291
+ dependencies: [((state: {
292
+ app: AppSliceType;
293
+ devices: DeviceSliceType;
294
+ deployments: DeploymentsSliceType;
295
+ monitor: MonitorSliceType;
296
+ onboarding: OnboardingSliceType;
297
+ organization: OrganizationSliceType;
298
+ releases: ReleaseSliceType;
299
+ users: UserSliceType;
300
+ }) => Record<string, number>) & {
301
+ clearCache: () => void;
302
+ resultsCount: () => number;
303
+ resetResultsCount: () => void;
304
+ } & {
305
+ resultFunc: (resultFuncArgs_0: Record<string, {
306
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
307
+ total: number;
308
+ };
309
+ deviceIds: string[];
310
+ }>) => Record<string, number>;
311
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
312
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
313
+ total: number;
314
+ };
315
+ deviceIds: string[];
316
+ }>) => Record<string, number>) & {
317
+ clearCache: () => void;
318
+ resultsCount: () => number;
319
+ resetResultsCount: () => void;
320
+ };
321
+ lastResult: () => Record<string, number>;
322
+ dependencies: [(state: RootState) => Record<string, {
323
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
324
+ total: number;
325
+ };
326
+ deviceIds: string[];
327
+ }>];
328
+ recomputations: () => number;
329
+ resetRecomputations: () => void;
330
+ dependencyRecomputations: () => number;
331
+ resetDependencyRecomputations: () => void;
332
+ } & {
333
+ memoize: typeof reselect.weakMapMemoize;
334
+ argsMemoize: typeof reselect.weakMapMemoize;
783
335
  }, (state: RootState) => Record<string, DeviceGroup>, (state: RootState) => string | undefined];
784
336
  recomputations: () => number;
785
337
  resetRecomputations: () => void;
@@ -790,138 +342,14 @@ declare const getSelectedGroupInfo: ((state: {
790
342
  argsMemoize: typeof reselect.weakMapMemoize;
791
343
  };
792
344
  declare const getCombinedLimit: ((state: {
793
- app: {
794
- cancelSource: any;
795
- commit: string;
796
- demoArtifactLink: string;
797
- docsVersion: string;
798
- features: Record<string, boolean>;
799
- feedbackProbability: number;
800
- firstLoginAfterSignup: boolean;
801
- hostAddress: string | null;
802
- hostedAnnouncement: string;
803
- newThreshold: string;
804
- offlineThreshold: string;
805
- recaptchaSiteKey: string;
806
- searchState: SearchState;
807
- sentry: SentryConfig;
808
- snackbar: SnackbarContent;
809
- stripeAPIKey: string;
810
- trackerCode: string;
811
- uploadsById: Record<string, Upload>;
812
- versionInformation: {
813
- [key: string]: string | {
814
- releaseDate: string;
815
- repos: Record<string, string>;
816
- } | undefined;
817
- backend?: string;
818
- GUI?: string;
819
- latestRelease?: {
820
- releaseDate: string;
821
- repos: Record<string, string>;
822
- };
823
- };
824
- yesterday?: string;
825
- };
345
+ app: AppSliceType;
826
346
  devices: DeviceSliceType;
827
- deployments: {
828
- byId: Record<string, Deployment>;
829
- byStatus: DeploymentByStatus;
830
- config: DeploymentConfig;
831
- deploymentDeviceLimit: number;
832
- selectedDeviceIds: string[];
833
- selectionState: SelectionState;
834
- };
835
- monitor: {
836
- alerts: {
837
- alertList: {
838
- page: number;
839
- perPage: number;
840
- total: number;
841
- };
842
- byDeviceId: {
843
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
844
- fullName?: string;
845
- }>;
846
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
847
- fullName?: string;
848
- }>;
849
- };
850
- };
851
- issueCounts: {
852
- byType: {
853
- issues: {
854
- filtered: number;
855
- total: number;
856
- };
857
- offline: {
858
- filtered: number;
859
- total: number;
860
- };
861
- failedLastUpdate: {
862
- filtered: number;
863
- total: number;
864
- };
865
- monitoring: {
866
- filtered: number;
867
- total: number;
868
- };
869
- authRequests: {
870
- filtered: number;
871
- total: number;
872
- };
873
- gatewayDevices: {
874
- filtered: number;
875
- total: number;
876
- };
877
- };
878
- };
879
- settings: {
880
- global: {
881
- channels: {
882
- email: {
883
- enabled: boolean;
884
- };
885
- };
886
- };
887
- };
888
- };
889
- onboarding: {
890
- address?: string;
891
- approach: OnboardingApproach | null;
892
- complete: boolean;
893
- demoArtifactPort: number;
894
- deviceConnection?: string;
895
- deviceType: string[] | string | null;
896
- progress: string | null;
897
- showTips: boolean | null;
898
- showTipsDialog: boolean;
899
- };
900
- organization: OrganizationState;
347
+ deployments: DeploymentsSliceType;
348
+ monitor: MonitorSliceType;
349
+ onboarding: OnboardingSliceType;
350
+ organization: OrganizationSliceType;
901
351
  releases: ReleaseSliceType;
902
- users: {
903
- activationCode?: string;
904
- byId: Record<string, User>;
905
- currentSession?: UserSession | object;
906
- currentUser: string | null;
907
- customColumns: CustomColumn[];
908
- globalSettings: GlobalSettings;
909
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
910
- qrCode: string | null;
911
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
912
- rolesInitialized: boolean;
913
- settingsInitialized: boolean;
914
- showConnectDeviceDialog: boolean;
915
- showFeedbackDialog: boolean;
916
- showStartupNotification: boolean;
917
- tooltips: {
918
- byId: Record<string, {
919
- readState: ReadState;
920
- }>;
921
- };
922
- userSettings: UserSettings;
923
- userSettingsInitialized: boolean;
924
- };
352
+ users: UserSliceType;
925
353
  }) => number) & {
926
354
  clearCache: () => void;
927
355
  resultsCount: () => number;
@@ -944,292 +372,79 @@ declare const getCombinedLimit: ((state: {
944
372
  argsMemoize: typeof reselect.weakMapMemoize;
945
373
  };
946
374
  declare const getLimitMaxed: ((state: {
947
- app: {
948
- cancelSource: any;
949
- commit: string;
950
- demoArtifactLink: string;
951
- docsVersion: string;
952
- features: Record<string, boolean>;
953
- feedbackProbability: number;
954
- firstLoginAfterSignup: boolean;
955
- hostAddress: string | null;
956
- hostedAnnouncement: string;
957
- newThreshold: string;
958
- offlineThreshold: string;
959
- recaptchaSiteKey: string;
960
- searchState: SearchState;
961
- sentry: SentryConfig;
962
- snackbar: SnackbarContent;
963
- stripeAPIKey: string;
964
- trackerCode: string;
965
- uploadsById: Record<string, Upload>;
966
- versionInformation: {
967
- [key: string]: string | {
968
- releaseDate: string;
969
- repos: Record<string, string>;
970
- } | undefined;
971
- backend?: string;
972
- GUI?: string;
973
- latestRelease?: {
974
- releaseDate: string;
975
- repos: Record<string, string>;
976
- };
977
- };
978
- yesterday?: string;
979
- };
375
+ app: AppSliceType;
980
376
  devices: DeviceSliceType;
981
- deployments: {
982
- byId: Record<string, Deployment>;
983
- byStatus: DeploymentByStatus;
984
- config: DeploymentConfig;
985
- deploymentDeviceLimit: number;
986
- selectedDeviceIds: string[];
987
- selectionState: SelectionState;
988
- };
989
- monitor: {
990
- alerts: {
991
- alertList: {
992
- page: number;
993
- perPage: number;
994
- total: number;
995
- };
996
- byDeviceId: {
997
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
998
- fullName?: string;
999
- }>;
1000
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1001
- fullName?: string;
1002
- }>;
1003
- };
1004
- };
1005
- issueCounts: {
1006
- byType: {
1007
- issues: {
1008
- filtered: number;
1009
- total: number;
1010
- };
1011
- offline: {
1012
- filtered: number;
1013
- total: number;
1014
- };
1015
- failedLastUpdate: {
1016
- filtered: number;
1017
- total: number;
1018
- };
1019
- monitoring: {
1020
- filtered: number;
1021
- total: number;
1022
- };
1023
- authRequests: {
1024
- filtered: number;
1025
- total: number;
1026
- };
1027
- gatewayDevices: {
1028
- filtered: number;
1029
- total: number;
1030
- };
1031
- };
1032
- };
1033
- settings: {
1034
- global: {
1035
- channels: {
1036
- email: {
1037
- enabled: boolean;
1038
- };
1039
- };
1040
- };
1041
- };
1042
- };
1043
- onboarding: {
1044
- address?: string;
1045
- approach: OnboardingApproach | null;
1046
- complete: boolean;
1047
- demoArtifactPort: number;
1048
- deviceConnection?: string;
1049
- deviceType: string[] | string | null;
1050
- progress: string | null;
1051
- showTips: boolean | null;
1052
- showTipsDialog: boolean;
1053
- };
1054
- organization: OrganizationState;
377
+ deployments: DeploymentsSliceType;
378
+ monitor: MonitorSliceType;
379
+ onboarding: OnboardingSliceType;
380
+ organization: OrganizationSliceType;
1055
381
  releases: ReleaseSliceType;
1056
- users: {
1057
- activationCode?: string;
1058
- byId: Record<string, User>;
1059
- currentSession?: UserSession | object;
1060
- currentUser: string | null;
1061
- customColumns: CustomColumn[];
1062
- globalSettings: GlobalSettings;
1063
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1064
- qrCode: string | null;
1065
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1066
- rolesInitialized: boolean;
1067
- settingsInitialized: boolean;
1068
- showConnectDeviceDialog: boolean;
1069
- showFeedbackDialog: boolean;
1070
- showStartupNotification: boolean;
1071
- tooltips: {
1072
- byId: Record<string, {
1073
- readState: ReadState;
1074
- }>;
1075
- };
1076
- userSettings: UserSettings;
1077
- userSettingsInitialized: boolean;
1078
- };
382
+ users: UserSliceType;
1079
383
  }) => boolean) & {
1080
384
  clearCache: () => void;
1081
385
  resultsCount: () => number;
1082
386
  resetResultsCount: () => void;
1083
387
  } & {
1084
- resultFunc: (resultFuncArgs_0: {
1085
- deviceIds: string[];
1086
- total: number;
1087
- }, resultFuncArgs_1: number) => boolean;
1088
- memoizedResultFunc: ((resultFuncArgs_0: {
1089
- deviceIds: string[];
1090
- total: number;
1091
- }, resultFuncArgs_1: number) => boolean) & {
388
+ resultFunc: (resultFuncArgs_0: Record<string, number>, resultFuncArgs_1: number) => boolean;
389
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, number>, resultFuncArgs_1: number) => boolean) & {
1092
390
  clearCache: () => void;
1093
391
  resultsCount: () => number;
1094
392
  resetResultsCount: () => void;
1095
393
  };
1096
394
  lastResult: () => boolean;
1097
- dependencies: [(state: RootState) => {
1098
- deviceIds: string[];
1099
- total: number;
1100
- }, ((state: {
1101
- app: {
1102
- cancelSource: any;
1103
- commit: string;
1104
- demoArtifactLink: string;
1105
- docsVersion: string;
1106
- features: Record<string, boolean>;
1107
- feedbackProbability: number;
1108
- firstLoginAfterSignup: boolean;
1109
- hostAddress: string | null;
1110
- hostedAnnouncement: string;
1111
- newThreshold: string;
1112
- offlineThreshold: string;
1113
- recaptchaSiteKey: string;
1114
- searchState: SearchState;
1115
- sentry: SentryConfig;
1116
- snackbar: SnackbarContent;
1117
- stripeAPIKey: string;
1118
- trackerCode: string;
1119
- uploadsById: Record<string, Upload>;
1120
- versionInformation: {
1121
- [key: string]: string | {
1122
- releaseDate: string;
1123
- repos: Record<string, string>;
1124
- } | undefined;
1125
- backend?: string;
1126
- GUI?: string;
1127
- latestRelease?: {
1128
- releaseDate: string;
1129
- repos: Record<string, string>;
1130
- };
1131
- };
1132
- yesterday?: string;
1133
- };
395
+ dependencies: [((state: {
396
+ app: AppSliceType;
1134
397
  devices: DeviceSliceType;
1135
- deployments: {
1136
- byId: Record<string, Deployment>;
1137
- byStatus: DeploymentByStatus;
1138
- config: DeploymentConfig;
1139
- deploymentDeviceLimit: number;
1140
- selectedDeviceIds: string[];
1141
- selectionState: SelectionState;
1142
- };
1143
- monitor: {
1144
- alerts: {
1145
- alertList: {
1146
- page: number;
1147
- perPage: number;
1148
- total: number;
1149
- };
1150
- byDeviceId: {
1151
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1152
- fullName?: string;
1153
- }>;
1154
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1155
- fullName?: string;
1156
- }>;
1157
- };
1158
- };
1159
- issueCounts: {
1160
- byType: {
1161
- issues: {
1162
- filtered: number;
1163
- total: number;
1164
- };
1165
- offline: {
1166
- filtered: number;
1167
- total: number;
1168
- };
1169
- failedLastUpdate: {
1170
- filtered: number;
1171
- total: number;
1172
- };
1173
- monitoring: {
1174
- filtered: number;
1175
- total: number;
1176
- };
1177
- authRequests: {
1178
- filtered: number;
1179
- total: number;
1180
- };
1181
- gatewayDevices: {
1182
- filtered: number;
1183
- total: number;
1184
- };
1185
- };
398
+ deployments: DeploymentsSliceType;
399
+ monitor: MonitorSliceType;
400
+ onboarding: OnboardingSliceType;
401
+ organization: OrganizationSliceType;
402
+ releases: ReleaseSliceType;
403
+ users: UserSliceType;
404
+ }) => Record<string, number>) & {
405
+ clearCache: () => void;
406
+ resultsCount: () => number;
407
+ resetResultsCount: () => void;
408
+ } & {
409
+ resultFunc: (resultFuncArgs_0: Record<string, {
410
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
411
+ total: number;
1186
412
  };
1187
- settings: {
1188
- global: {
1189
- channels: {
1190
- email: {
1191
- enabled: boolean;
1192
- };
1193
- };
1194
- };
413
+ deviceIds: string[];
414
+ }>) => Record<string, number>;
415
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
416
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
417
+ total: number;
1195
418
  };
419
+ deviceIds: string[];
420
+ }>) => Record<string, number>) & {
421
+ clearCache: () => void;
422
+ resultsCount: () => number;
423
+ resetResultsCount: () => void;
1196
424
  };
1197
- onboarding: {
1198
- address?: string;
1199
- approach: OnboardingApproach | null;
1200
- complete: boolean;
1201
- demoArtifactPort: number;
1202
- deviceConnection?: string;
1203
- deviceType: string[] | string | null;
1204
- progress: string | null;
1205
- showTips: boolean | null;
1206
- showTipsDialog: boolean;
1207
- };
1208
- organization: OrganizationState;
1209
- releases: ReleaseSliceType;
1210
- users: {
1211
- activationCode?: string;
1212
- byId: Record<string, User>;
1213
- currentSession?: UserSession | object;
1214
- currentUser: string | null;
1215
- customColumns: CustomColumn[];
1216
- globalSettings: GlobalSettings;
1217
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1218
- qrCode: string | null;
1219
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1220
- rolesInitialized: boolean;
1221
- settingsInitialized: boolean;
1222
- showConnectDeviceDialog: boolean;
1223
- showFeedbackDialog: boolean;
1224
- showStartupNotification: boolean;
1225
- tooltips: {
1226
- byId: Record<string, {
1227
- readState: ReadState;
1228
- }>;
425
+ lastResult: () => Record<string, number>;
426
+ dependencies: [(state: RootState) => Record<string, {
427
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
428
+ total: number;
1229
429
  };
1230
- userSettings: UserSettings;
1231
- userSettingsInitialized: boolean;
1232
- };
430
+ deviceIds: string[];
431
+ }>];
432
+ recomputations: () => number;
433
+ resetRecomputations: () => void;
434
+ dependencyRecomputations: () => number;
435
+ resetDependencyRecomputations: () => void;
436
+ } & {
437
+ memoize: typeof reselect.weakMapMemoize;
438
+ argsMemoize: typeof reselect.weakMapMemoize;
439
+ }, ((state: {
440
+ app: AppSliceType;
441
+ devices: DeviceSliceType;
442
+ deployments: DeploymentsSliceType;
443
+ monitor: MonitorSliceType;
444
+ onboarding: OnboardingSliceType;
445
+ organization: OrganizationSliceType;
446
+ releases: ReleaseSliceType;
447
+ users: UserSliceType;
1233
448
  }) => number) & {
1234
449
  clearCache: () => void;
1235
450
  resultsCount: () => number;
@@ -1260,138 +475,14 @@ declare const getLimitMaxed: ((state: {
1260
475
  argsMemoize: typeof reselect.weakMapMemoize;
1261
476
  };
1262
477
  declare const getGroupsByIdWithoutUngrouped: ((state: {
1263
- app: {
1264
- cancelSource: any;
1265
- commit: string;
1266
- demoArtifactLink: string;
1267
- docsVersion: string;
1268
- features: Record<string, boolean>;
1269
- feedbackProbability: number;
1270
- firstLoginAfterSignup: boolean;
1271
- hostAddress: string | null;
1272
- hostedAnnouncement: string;
1273
- newThreshold: string;
1274
- offlineThreshold: string;
1275
- recaptchaSiteKey: string;
1276
- searchState: SearchState;
1277
- sentry: SentryConfig;
1278
- snackbar: SnackbarContent;
1279
- stripeAPIKey: string;
1280
- trackerCode: string;
1281
- uploadsById: Record<string, Upload>;
1282
- versionInformation: {
1283
- [key: string]: string | {
1284
- releaseDate: string;
1285
- repos: Record<string, string>;
1286
- } | undefined;
1287
- backend?: string;
1288
- GUI?: string;
1289
- latestRelease?: {
1290
- releaseDate: string;
1291
- repos: Record<string, string>;
1292
- };
1293
- };
1294
- yesterday?: string;
1295
- };
478
+ app: AppSliceType;
1296
479
  devices: DeviceSliceType;
1297
- deployments: {
1298
- byId: Record<string, Deployment>;
1299
- byStatus: DeploymentByStatus;
1300
- config: DeploymentConfig;
1301
- deploymentDeviceLimit: number;
1302
- selectedDeviceIds: string[];
1303
- selectionState: SelectionState;
1304
- };
1305
- monitor: {
1306
- alerts: {
1307
- alertList: {
1308
- page: number;
1309
- perPage: number;
1310
- total: number;
1311
- };
1312
- byDeviceId: {
1313
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1314
- fullName?: string;
1315
- }>;
1316
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1317
- fullName?: string;
1318
- }>;
1319
- };
1320
- };
1321
- issueCounts: {
1322
- byType: {
1323
- issues: {
1324
- filtered: number;
1325
- total: number;
1326
- };
1327
- offline: {
1328
- filtered: number;
1329
- total: number;
1330
- };
1331
- failedLastUpdate: {
1332
- filtered: number;
1333
- total: number;
1334
- };
1335
- monitoring: {
1336
- filtered: number;
1337
- total: number;
1338
- };
1339
- authRequests: {
1340
- filtered: number;
1341
- total: number;
1342
- };
1343
- gatewayDevices: {
1344
- filtered: number;
1345
- total: number;
1346
- };
1347
- };
1348
- };
1349
- settings: {
1350
- global: {
1351
- channels: {
1352
- email: {
1353
- enabled: boolean;
1354
- };
1355
- };
1356
- };
1357
- };
1358
- };
1359
- onboarding: {
1360
- address?: string;
1361
- approach: OnboardingApproach | null;
1362
- complete: boolean;
1363
- demoArtifactPort: number;
1364
- deviceConnection?: string;
1365
- deviceType: string[] | string | null;
1366
- progress: string | null;
1367
- showTips: boolean | null;
1368
- showTipsDialog: boolean;
1369
- };
1370
- organization: OrganizationState;
480
+ deployments: DeploymentsSliceType;
481
+ monitor: MonitorSliceType;
482
+ onboarding: OnboardingSliceType;
483
+ organization: OrganizationSliceType;
1371
484
  releases: ReleaseSliceType;
1372
- users: {
1373
- activationCode?: string;
1374
- byId: Record<string, User>;
1375
- currentSession?: UserSession | object;
1376
- currentUser: string | null;
1377
- customColumns: CustomColumn[];
1378
- globalSettings: GlobalSettings;
1379
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1380
- qrCode: string | null;
1381
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1382
- rolesInitialized: boolean;
1383
- settingsInitialized: boolean;
1384
- showConnectDeviceDialog: boolean;
1385
- showFeedbackDialog: boolean;
1386
- showStartupNotification: boolean;
1387
- tooltips: {
1388
- byId: Record<string, {
1389
- readState: ReadState;
1390
- }>;
1391
- };
1392
- userSettings: UserSettings;
1393
- userSettingsInitialized: boolean;
1394
- };
485
+ users: UserSliceType;
1395
486
  }) => {
1396
487
  [x: string]: DeviceGroup;
1397
488
  }) & {
@@ -1422,138 +513,14 @@ declare const getGroupsByIdWithoutUngrouped: ((state: {
1422
513
  argsMemoize: typeof reselect.weakMapMemoize;
1423
514
  };
1424
515
  declare const getGroupData: ((state: {
1425
- app: {
1426
- cancelSource: any;
1427
- commit: string;
1428
- demoArtifactLink: string;
1429
- docsVersion: string;
1430
- features: Record<string, boolean>;
1431
- feedbackProbability: number;
1432
- firstLoginAfterSignup: boolean;
1433
- hostAddress: string | null;
1434
- hostedAnnouncement: string;
1435
- newThreshold: string;
1436
- offlineThreshold: string;
1437
- recaptchaSiteKey: string;
1438
- searchState: SearchState;
1439
- sentry: SentryConfig;
1440
- snackbar: SnackbarContent;
1441
- stripeAPIKey: string;
1442
- trackerCode: string;
1443
- uploadsById: Record<string, Upload>;
1444
- versionInformation: {
1445
- [key: string]: string | {
1446
- releaseDate: string;
1447
- repos: Record<string, string>;
1448
- } | undefined;
1449
- backend?: string;
1450
- GUI?: string;
1451
- latestRelease?: {
1452
- releaseDate: string;
1453
- repos: Record<string, string>;
1454
- };
1455
- };
1456
- yesterday?: string;
1457
- };
516
+ app: AppSliceType;
1458
517
  devices: DeviceSliceType;
1459
- deployments: {
1460
- byId: Record<string, Deployment>;
1461
- byStatus: DeploymentByStatus;
1462
- config: DeploymentConfig;
1463
- deploymentDeviceLimit: number;
1464
- selectedDeviceIds: string[];
1465
- selectionState: SelectionState;
1466
- };
1467
- monitor: {
1468
- alerts: {
1469
- alertList: {
1470
- page: number;
1471
- perPage: number;
1472
- total: number;
1473
- };
1474
- byDeviceId: {
1475
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1476
- fullName?: string;
1477
- }>;
1478
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1479
- fullName?: string;
1480
- }>;
1481
- };
1482
- };
1483
- issueCounts: {
1484
- byType: {
1485
- issues: {
1486
- filtered: number;
1487
- total: number;
1488
- };
1489
- offline: {
1490
- filtered: number;
1491
- total: number;
1492
- };
1493
- failedLastUpdate: {
1494
- filtered: number;
1495
- total: number;
1496
- };
1497
- monitoring: {
1498
- filtered: number;
1499
- total: number;
1500
- };
1501
- authRequests: {
1502
- filtered: number;
1503
- total: number;
1504
- };
1505
- gatewayDevices: {
1506
- filtered: number;
1507
- total: number;
1508
- };
1509
- };
1510
- };
1511
- settings: {
1512
- global: {
1513
- channels: {
1514
- email: {
1515
- enabled: boolean;
1516
- };
1517
- };
1518
- };
1519
- };
1520
- };
1521
- onboarding: {
1522
- address?: string;
1523
- approach: OnboardingApproach | null;
1524
- complete: boolean;
1525
- demoArtifactPort: number;
1526
- deviceConnection?: string;
1527
- deviceType: string[] | string | null;
1528
- progress: string | null;
1529
- showTips: boolean | null;
1530
- showTipsDialog: boolean;
1531
- };
1532
- organization: OrganizationState;
518
+ deployments: DeploymentsSliceType;
519
+ monitor: MonitorSliceType;
520
+ onboarding: OnboardingSliceType;
521
+ organization: OrganizationSliceType;
1533
522
  releases: ReleaseSliceType;
1534
- users: {
1535
- activationCode?: string;
1536
- byId: Record<string, User>;
1537
- currentSession?: UserSession | object;
1538
- currentUser: string | null;
1539
- customColumns: CustomColumn[];
1540
- globalSettings: GlobalSettings;
1541
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1542
- qrCode: string | null;
1543
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1544
- rolesInitialized: boolean;
1545
- settingsInitialized: boolean;
1546
- showConnectDeviceDialog: boolean;
1547
- showFeedbackDialog: boolean;
1548
- showStartupNotification: boolean;
1549
- tooltips: {
1550
- byId: Record<string, {
1551
- readState: ReadState;
1552
- }>;
1553
- };
1554
- userSettings: UserSettings;
1555
- userSettingsInitialized: boolean;
1556
- };
523
+ users: UserSliceType;
1557
524
  }) => {
1558
525
  createdGroup: string | undefined;
1559
526
  hasDynamicGroups: boolean;
@@ -1595,138 +562,14 @@ declare const getGroupData: ((state: {
1595
562
  };
1596
563
  };
1597
564
  dependencies: [((state: {
1598
- app: {
1599
- cancelSource: any;
1600
- commit: string;
1601
- demoArtifactLink: string;
1602
- docsVersion: string;
1603
- features: Record<string, boolean>;
1604
- feedbackProbability: number;
1605
- firstLoginAfterSignup: boolean;
1606
- hostAddress: string | null;
1607
- hostedAnnouncement: string;
1608
- newThreshold: string;
1609
- offlineThreshold: string;
1610
- recaptchaSiteKey: string;
1611
- searchState: SearchState;
1612
- sentry: SentryConfig;
1613
- snackbar: SnackbarContent;
1614
- stripeAPIKey: string;
1615
- trackerCode: string;
1616
- uploadsById: Record<string, Upload>;
1617
- versionInformation: {
1618
- [key: string]: string | {
1619
- releaseDate: string;
1620
- repos: Record<string, string>;
1621
- } | undefined;
1622
- backend?: string;
1623
- GUI?: string;
1624
- latestRelease?: {
1625
- releaseDate: string;
1626
- repos: Record<string, string>;
1627
- };
1628
- };
1629
- yesterday?: string;
1630
- };
565
+ app: AppSliceType;
1631
566
  devices: DeviceSliceType;
1632
- deployments: {
1633
- byId: Record<string, Deployment>;
1634
- byStatus: DeploymentByStatus;
1635
- config: DeploymentConfig;
1636
- deploymentDeviceLimit: number;
1637
- selectedDeviceIds: string[];
1638
- selectionState: SelectionState;
1639
- };
1640
- monitor: {
1641
- alerts: {
1642
- alertList: {
1643
- page: number;
1644
- perPage: number;
1645
- total: number;
1646
- };
1647
- byDeviceId: {
1648
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1649
- fullName?: string;
1650
- }>;
1651
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1652
- fullName?: string;
1653
- }>;
1654
- };
1655
- };
1656
- issueCounts: {
1657
- byType: {
1658
- issues: {
1659
- filtered: number;
1660
- total: number;
1661
- };
1662
- offline: {
1663
- filtered: number;
1664
- total: number;
1665
- };
1666
- failedLastUpdate: {
1667
- filtered: number;
1668
- total: number;
1669
- };
1670
- monitoring: {
1671
- filtered: number;
1672
- total: number;
1673
- };
1674
- authRequests: {
1675
- filtered: number;
1676
- total: number;
1677
- };
1678
- gatewayDevices: {
1679
- filtered: number;
1680
- total: number;
1681
- };
1682
- };
1683
- };
1684
- settings: {
1685
- global: {
1686
- channels: {
1687
- email: {
1688
- enabled: boolean;
1689
- };
1690
- };
1691
- };
1692
- };
1693
- };
1694
- onboarding: {
1695
- address?: string;
1696
- approach: OnboardingApproach | null;
1697
- complete: boolean;
1698
- demoArtifactPort: number;
1699
- deviceConnection?: string;
1700
- deviceType: string[] | string | null;
1701
- progress: string | null;
1702
- showTips: boolean | null;
1703
- showTipsDialog: boolean;
1704
- };
1705
- organization: OrganizationState;
567
+ deployments: DeploymentsSliceType;
568
+ monitor: MonitorSliceType;
569
+ onboarding: OnboardingSliceType;
570
+ organization: OrganizationSliceType;
1706
571
  releases: ReleaseSliceType;
1707
- users: {
1708
- activationCode?: string;
1709
- byId: Record<string, User>;
1710
- currentSession?: UserSession | object;
1711
- currentUser: string | null;
1712
- customColumns: CustomColumn[];
1713
- globalSettings: GlobalSettings;
1714
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1715
- qrCode: string | null;
1716
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1717
- rolesInitialized: boolean;
1718
- settingsInitialized: boolean;
1719
- showConnectDeviceDialog: boolean;
1720
- showFeedbackDialog: boolean;
1721
- showStartupNotification: boolean;
1722
- tooltips: {
1723
- byId: Record<string, {
1724
- readState: ReadState;
1725
- }>;
1726
- };
1727
- userSettings: UserSettings;
1728
- userSettingsInitialized: boolean;
1729
- };
572
+ users: UserSliceType;
1730
573
  }) => {
1731
574
  [x: string]: DeviceGroup;
1732
575
  }) & {
@@ -1768,138 +611,14 @@ type SelectorGroup = DeviceGroup & {
1768
611
  groupId: string;
1769
612
  };
1770
613
  declare const getGroups: ((state: {
1771
- app: {
1772
- cancelSource: any;
1773
- commit: string;
1774
- demoArtifactLink: string;
1775
- docsVersion: string;
1776
- features: Record<string, boolean>;
1777
- feedbackProbability: number;
1778
- firstLoginAfterSignup: boolean;
1779
- hostAddress: string | null;
1780
- hostedAnnouncement: string;
1781
- newThreshold: string;
1782
- offlineThreshold: string;
1783
- recaptchaSiteKey: string;
1784
- searchState: SearchState;
1785
- sentry: SentryConfig;
1786
- snackbar: SnackbarContent;
1787
- stripeAPIKey: string;
1788
- trackerCode: string;
1789
- uploadsById: Record<string, Upload>;
1790
- versionInformation: {
1791
- [key: string]: string | {
1792
- releaseDate: string;
1793
- repos: Record<string, string>;
1794
- } | undefined;
1795
- backend?: string;
1796
- GUI?: string;
1797
- latestRelease?: {
1798
- releaseDate: string;
1799
- repos: Record<string, string>;
1800
- };
1801
- };
1802
- yesterday?: string;
1803
- };
614
+ app: AppSliceType;
1804
615
  devices: DeviceSliceType;
1805
- deployments: {
1806
- byId: Record<string, Deployment>;
1807
- byStatus: DeploymentByStatus;
1808
- config: DeploymentConfig;
1809
- deploymentDeviceLimit: number;
1810
- selectedDeviceIds: string[];
1811
- selectionState: SelectionState;
1812
- };
1813
- monitor: {
1814
- alerts: {
1815
- alertList: {
1816
- page: number;
1817
- perPage: number;
1818
- total: number;
1819
- };
1820
- byDeviceId: {
1821
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1822
- fullName?: string;
1823
- }>;
1824
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1825
- fullName?: string;
1826
- }>;
1827
- };
1828
- };
1829
- issueCounts: {
1830
- byType: {
1831
- issues: {
1832
- filtered: number;
1833
- total: number;
1834
- };
1835
- offline: {
1836
- filtered: number;
1837
- total: number;
1838
- };
1839
- failedLastUpdate: {
1840
- filtered: number;
1841
- total: number;
1842
- };
1843
- monitoring: {
1844
- filtered: number;
1845
- total: number;
1846
- };
1847
- authRequests: {
1848
- filtered: number;
1849
- total: number;
1850
- };
1851
- gatewayDevices: {
1852
- filtered: number;
1853
- total: number;
1854
- };
1855
- };
1856
- };
1857
- settings: {
1858
- global: {
1859
- channels: {
1860
- email: {
1861
- enabled: boolean;
1862
- };
1863
- };
1864
- };
1865
- };
1866
- };
1867
- onboarding: {
1868
- address?: string;
1869
- approach: OnboardingApproach | null;
1870
- complete: boolean;
1871
- demoArtifactPort: number;
1872
- deviceConnection?: string;
1873
- deviceType: string[] | string | null;
1874
- progress: string | null;
1875
- showTips: boolean | null;
1876
- showTipsDialog: boolean;
1877
- };
1878
- organization: OrganizationState;
616
+ deployments: DeploymentsSliceType;
617
+ monitor: MonitorSliceType;
618
+ onboarding: OnboardingSliceType;
619
+ organization: OrganizationSliceType;
1879
620
  releases: ReleaseSliceType;
1880
- users: {
1881
- activationCode?: string;
1882
- byId: Record<string, User>;
1883
- currentSession?: UserSession | object;
1884
- currentUser: string | null;
1885
- customColumns: CustomColumn[];
1886
- globalSettings: GlobalSettings;
1887
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1888
- qrCode: string | null;
1889
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1890
- rolesInitialized: boolean;
1891
- settingsInitialized: boolean;
1892
- showConnectDeviceDialog: boolean;
1893
- showFeedbackDialog: boolean;
1894
- showStartupNotification: boolean;
1895
- tooltips: {
1896
- byId: Record<string, {
1897
- readState: ReadState;
1898
- }>;
1899
- };
1900
- userSettings: UserSettings;
1901
- userSettingsInitialized: boolean;
1902
- };
621
+ users: UserSliceType;
1903
622
  }) => {
1904
623
  dynamic: SelectorGroup[];
1905
624
  static: SelectorGroup[];
@@ -1942,138 +661,14 @@ declare const getGroups: ((state: {
1942
661
  argsMemoize: typeof reselect.weakMapMemoize;
1943
662
  };
1944
663
  declare const getAttributesList: ((state: {
1945
- app: {
1946
- cancelSource: any;
1947
- commit: string;
1948
- demoArtifactLink: string;
1949
- docsVersion: string;
1950
- features: Record<string, boolean>;
1951
- feedbackProbability: number;
1952
- firstLoginAfterSignup: boolean;
1953
- hostAddress: string | null;
1954
- hostedAnnouncement: string;
1955
- newThreshold: string;
1956
- offlineThreshold: string;
1957
- recaptchaSiteKey: string;
1958
- searchState: SearchState;
1959
- sentry: SentryConfig;
1960
- snackbar: SnackbarContent;
1961
- stripeAPIKey: string;
1962
- trackerCode: string;
1963
- uploadsById: Record<string, Upload>;
1964
- versionInformation: {
1965
- [key: string]: string | {
1966
- releaseDate: string;
1967
- repos: Record<string, string>;
1968
- } | undefined;
1969
- backend?: string;
1970
- GUI?: string;
1971
- latestRelease?: {
1972
- releaseDate: string;
1973
- repos: Record<string, string>;
1974
- };
1975
- };
1976
- yesterday?: string;
1977
- };
664
+ app: AppSliceType;
1978
665
  devices: DeviceSliceType;
1979
- deployments: {
1980
- byId: Record<string, Deployment>;
1981
- byStatus: DeploymentByStatus;
1982
- config: DeploymentConfig;
1983
- deploymentDeviceLimit: number;
1984
- selectedDeviceIds: string[];
1985
- selectionState: SelectionState;
1986
- };
1987
- monitor: {
1988
- alerts: {
1989
- alertList: {
1990
- page: number;
1991
- perPage: number;
1992
- total: number;
1993
- };
1994
- byDeviceId: {
1995
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1996
- fullName?: string;
1997
- }>;
1998
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1999
- fullName?: string;
2000
- }>;
2001
- };
2002
- };
2003
- issueCounts: {
2004
- byType: {
2005
- issues: {
2006
- filtered: number;
2007
- total: number;
2008
- };
2009
- offline: {
2010
- filtered: number;
2011
- total: number;
2012
- };
2013
- failedLastUpdate: {
2014
- filtered: number;
2015
- total: number;
2016
- };
2017
- monitoring: {
2018
- filtered: number;
2019
- total: number;
2020
- };
2021
- authRequests: {
2022
- filtered: number;
2023
- total: number;
2024
- };
2025
- gatewayDevices: {
2026
- filtered: number;
2027
- total: number;
2028
- };
2029
- };
2030
- };
2031
- settings: {
2032
- global: {
2033
- channels: {
2034
- email: {
2035
- enabled: boolean;
2036
- };
2037
- };
2038
- };
2039
- };
2040
- };
2041
- onboarding: {
2042
- address?: string;
2043
- approach: OnboardingApproach | null;
2044
- complete: boolean;
2045
- demoArtifactPort: number;
2046
- deviceConnection?: string;
2047
- deviceType: string[] | string | null;
2048
- progress: string | null;
2049
- showTips: boolean | null;
2050
- showTipsDialog: boolean;
2051
- };
2052
- organization: OrganizationState;
666
+ deployments: DeploymentsSliceType;
667
+ monitor: MonitorSliceType;
668
+ onboarding: OnboardingSliceType;
669
+ organization: OrganizationSliceType;
2053
670
  releases: ReleaseSliceType;
2054
- users: {
2055
- activationCode?: string;
2056
- byId: Record<string, User>;
2057
- currentSession?: UserSession | object;
2058
- currentUser: string | null;
2059
- customColumns: CustomColumn[];
2060
- globalSettings: GlobalSettings;
2061
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
2062
- qrCode: string | null;
2063
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
2064
- rolesInitialized: boolean;
2065
- settingsInitialized: boolean;
2066
- showConnectDeviceDialog: boolean;
2067
- showFeedbackDialog: boolean;
2068
- showStartupNotification: boolean;
2069
- tooltips: {
2070
- byId: Record<string, {
2071
- readState: ReadState;
2072
- }>;
2073
- };
2074
- userSettings: UserSettings;
2075
- userSettingsInitialized: boolean;
2076
- };
671
+ users: UserSliceType;
2077
672
  }) => string[]) & {
2078
673
  clearCache: () => void;
2079
674
  resultsCount: () => number;
@@ -2111,150 +706,30 @@ declare const getAttributesList: ((state: {
2111
706
  argsMemoize: typeof reselect.weakMapMemoize;
2112
707
  };
2113
708
  declare const getDeviceTypes: ((state: {
2114
- app: {
2115
- cancelSource: any;
2116
- commit: string;
2117
- demoArtifactLink: string;
2118
- docsVersion: string;
2119
- features: Record<string, boolean>;
2120
- feedbackProbability: number;
2121
- firstLoginAfterSignup: boolean;
2122
- hostAddress: string | null;
2123
- hostedAnnouncement: string;
2124
- newThreshold: string;
2125
- offlineThreshold: string;
2126
- recaptchaSiteKey: string;
2127
- searchState: SearchState;
2128
- sentry: SentryConfig;
2129
- snackbar: SnackbarContent;
2130
- stripeAPIKey: string;
2131
- trackerCode: string;
2132
- uploadsById: Record<string, Upload>;
2133
- versionInformation: {
2134
- [key: string]: string | {
2135
- releaseDate: string;
2136
- repos: Record<string, string>;
2137
- } | undefined;
2138
- backend?: string;
2139
- GUI?: string;
2140
- latestRelease?: {
2141
- releaseDate: string;
2142
- repos: Record<string, string>;
2143
- };
2144
- };
2145
- yesterday?: string;
2146
- };
709
+ app: AppSliceType;
2147
710
  devices: DeviceSliceType;
2148
- deployments: {
2149
- byId: Record<string, Deployment>;
2150
- byStatus: DeploymentByStatus;
2151
- config: DeploymentConfig;
2152
- deploymentDeviceLimit: number;
2153
- selectedDeviceIds: string[];
2154
- selectionState: SelectionState;
2155
- };
2156
- monitor: {
2157
- alerts: {
2158
- alertList: {
2159
- page: number;
2160
- perPage: number;
2161
- total: number;
2162
- };
2163
- byDeviceId: {
2164
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
2165
- fullName?: string;
2166
- }>;
2167
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
2168
- fullName?: string;
2169
- }>;
2170
- };
2171
- };
2172
- issueCounts: {
2173
- byType: {
2174
- issues: {
2175
- filtered: number;
2176
- total: number;
2177
- };
2178
- offline: {
2179
- filtered: number;
2180
- total: number;
2181
- };
2182
- failedLastUpdate: {
2183
- filtered: number;
2184
- total: number;
2185
- };
2186
- monitoring: {
2187
- filtered: number;
2188
- total: number;
2189
- };
2190
- authRequests: {
2191
- filtered: number;
2192
- total: number;
2193
- };
2194
- gatewayDevices: {
2195
- filtered: number;
2196
- total: number;
2197
- };
2198
- };
2199
- };
2200
- settings: {
2201
- global: {
2202
- channels: {
2203
- email: {
2204
- enabled: boolean;
2205
- };
2206
- };
2207
- };
2208
- };
2209
- };
2210
- onboarding: {
2211
- address?: string;
2212
- approach: OnboardingApproach | null;
2213
- complete: boolean;
2214
- demoArtifactPort: number;
2215
- deviceConnection?: string;
2216
- deviceType: string[] | string | null;
2217
- progress: string | null;
2218
- showTips: boolean | null;
2219
- showTipsDialog: boolean;
2220
- };
2221
- organization: OrganizationState;
711
+ deployments: DeploymentsSliceType;
712
+ monitor: MonitorSliceType;
713
+ onboarding: OnboardingSliceType;
714
+ organization: OrganizationSliceType;
2222
715
  releases: ReleaseSliceType;
2223
- users: {
2224
- activationCode?: string;
2225
- byId: Record<string, User>;
2226
- currentSession?: UserSession | object;
2227
- currentUser: string | null;
2228
- customColumns: CustomColumn[];
2229
- globalSettings: GlobalSettings;
2230
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
2231
- qrCode: string | null;
2232
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
2233
- rolesInitialized: boolean;
2234
- settingsInitialized: boolean;
2235
- showConnectDeviceDialog: boolean;
2236
- showFeedbackDialog: boolean;
2237
- showStartupNotification: boolean;
2238
- tooltips: {
2239
- byId: Record<string, {
2240
- readState: ReadState;
2241
- }>;
2242
- };
2243
- userSettings: UserSettings;
2244
- userSettingsInitialized: boolean;
2245
- };
716
+ users: UserSliceType;
2246
717
  }) => string[]) & {
2247
718
  clearCache: () => void;
2248
719
  resultsCount: () => number;
2249
720
  resetResultsCount: () => void;
2250
721
  } & {
2251
722
  resultFunc: (resultFuncArgs_0: {
723
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
724
+ total: number;
725
+ };
2252
726
  deviceIds: string[];
2253
- total: number;
2254
727
  }, resultFuncArgs_1: Record<string, Device>) => string[];
2255
728
  memoizedResultFunc: ((resultFuncArgs_0: {
729
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
730
+ total: number;
731
+ };
2256
732
  deviceIds: string[];
2257
- total: number;
2258
733
  }, resultFuncArgs_1: Record<string, Device>) => string[]) & {
2259
734
  clearCache: () => void;
2260
735
  resultsCount: () => number;
@@ -2262,8 +737,10 @@ declare const getDeviceTypes: ((state: {
2262
737
  };
2263
738
  lastResult: () => string[];
2264
739
  dependencies: [(state: RootState) => {
740
+ counts: _northern_tech_types_types_gen.DeviceTierLimits & {
741
+ total: number;
742
+ };
2265
743
  deviceIds: string[];
2266
- total: number;
2267
744
  }, (state: RootState) => Record<string, Device>];
2268
745
  recomputations: () => number;
2269
746
  resetRecomputations: () => void;