@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,161 +1,40 @@
1
- import * as reselect from 'reselect';
2
- import { RootState } from './store.js';
1
+ import * as _northern_tech_types_types_gen from '@northern.tech/types/types.gen';
3
2
  import * as _northern_tech_utils_constants from '@northern.tech/utils/constants';
4
3
  import { AvailablePlans } from './appSlice/constants.js';
5
- import { ReadState } from './usersSlice/constants.js';
6
- import { User, UserSession, CustomColumn, GlobalSettings, UserSettings } from './usersSlice/index.js';
4
+ import * as reselect from 'reselect';
5
+ import { RootState } from './store.js';
6
+ import { Organization, AuditLogSelectionState } from './organizationSlice/types.js';
7
+ import { UserSliceType, User, GlobalSettings, UserSettings } from './usersSlice/index.js';
7
8
  import { ReleaseSliceType, Release } from './releasesSlice/index.js';
8
- import { OrganizationState, Organization, AuditLogSelectionState } from './organizationSlice/types.js';
9
- import { OnboardingApproach } from './onboardingSlice/index.js';
10
- import * as _northern_tech_types_types_gen from '@northern.tech/types/types.gen';
11
- import { Deployment, DeploymentByStatus, DeploymentConfig, SelectionState, DeviceDeployment } from './deploymentsSlice/index.js';
9
+ import { OrganizationSliceType } from './organizationSlice/index.js';
10
+ import { OnboardingSliceType } from './onboardingSlice/index.js';
11
+ import { MonitorSliceType } from './monitorSlice/index.js';
12
+ import { DeploymentsSliceType, Deployment, SelectionState, DeviceDeployment } from './deploymentsSlice/index.js';
12
13
  import { DeviceSliceType, Device, DeviceGroup, InventoryAttributes } from './devicesSlice/index.js';
13
- import { SearchState, SentryConfig, SnackbarContent, Upload } from './appSlice/index.js';
14
+ import { AppSliceType } from './appSlice/index.js';
15
+ import '@mui/material/OverridableComponent';
16
+ import '@mui/material';
14
17
  import '@reduxjs/toolkit';
15
18
  import 'redux-thunk';
16
19
  import 'redux';
17
- import '@mui/material/OverridableComponent';
18
- import '@mui/material';
19
- import 'immer';
20
20
  import '@northern.tech/types/MenderTypes';
21
+ import './organizationSlice/constants.js';
22
+ import 'immer';
21
23
  import './commonConstants.js';
22
24
  import 'react/jsx-runtime';
23
- import './organizationSlice/constants.js';
25
+ import './usersSlice/constants.js';
26
+ import './monitorSlice/constants.js';
24
27
  import './devicesSlice/constants.js';
25
28
 
26
29
  declare const getIsEnterprise: ((state: {
27
- app: {
28
- cancelSource: any;
29
- commit: string;
30
- demoArtifactLink: string;
31
- docsVersion: string;
32
- features: Record<string, boolean>;
33
- feedbackProbability: number;
34
- firstLoginAfterSignup: boolean;
35
- hostAddress: string | null;
36
- hostedAnnouncement: string;
37
- newThreshold: string;
38
- offlineThreshold: string;
39
- recaptchaSiteKey: string;
40
- searchState: SearchState;
41
- sentry: SentryConfig;
42
- snackbar: SnackbarContent;
43
- stripeAPIKey: string;
44
- trackerCode: string;
45
- uploadsById: Record<string, Upload>;
46
- versionInformation: {
47
- [key: string]: string | {
48
- releaseDate: string;
49
- repos: Record<string, string>;
50
- } | undefined;
51
- backend?: string;
52
- GUI?: string;
53
- latestRelease?: {
54
- releaseDate: string;
55
- repos: Record<string, string>;
56
- };
57
- };
58
- yesterday?: string;
59
- };
30
+ app: AppSliceType;
60
31
  devices: DeviceSliceType;
61
- deployments: {
62
- byId: Record<string, Deployment>;
63
- byStatus: DeploymentByStatus;
64
- config: DeploymentConfig;
65
- deploymentDeviceLimit: number;
66
- selectedDeviceIds: string[];
67
- selectionState: SelectionState;
68
- };
69
- monitor: {
70
- alerts: {
71
- alertList: {
72
- page: number;
73
- perPage: number;
74
- total: number;
75
- };
76
- byDeviceId: {
77
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
78
- fullName?: string;
79
- }>;
80
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
81
- fullName?: string;
82
- }>;
83
- };
84
- };
85
- issueCounts: {
86
- byType: {
87
- issues: {
88
- filtered: number;
89
- total: number;
90
- };
91
- offline: {
92
- filtered: number;
93
- total: number;
94
- };
95
- failedLastUpdate: {
96
- filtered: number;
97
- total: number;
98
- };
99
- monitoring: {
100
- filtered: number;
101
- total: number;
102
- };
103
- authRequests: {
104
- filtered: number;
105
- total: number;
106
- };
107
- gatewayDevices: {
108
- filtered: number;
109
- total: number;
110
- };
111
- };
112
- };
113
- settings: {
114
- global: {
115
- channels: {
116
- email: {
117
- enabled: boolean;
118
- };
119
- };
120
- };
121
- };
122
- };
123
- onboarding: {
124
- address?: string;
125
- approach: OnboardingApproach | null;
126
- complete: boolean;
127
- demoArtifactPort: number;
128
- deviceConnection?: string;
129
- deviceType: string[] | string | null;
130
- progress: string | null;
131
- showTips: boolean | null;
132
- showTipsDialog: boolean;
133
- };
134
- organization: OrganizationState;
32
+ deployments: DeploymentsSliceType;
33
+ monitor: MonitorSliceType;
34
+ onboarding: OnboardingSliceType;
35
+ organization: OrganizationSliceType;
135
36
  releases: ReleaseSliceType;
136
- users: {
137
- activationCode?: string;
138
- byId: Record<string, User>;
139
- currentSession?: UserSession | object;
140
- currentUser: string | null;
141
- customColumns: CustomColumn[];
142
- globalSettings: GlobalSettings;
143
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
144
- qrCode: string | null;
145
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
146
- rolesInitialized: boolean;
147
- settingsInitialized: boolean;
148
- showConnectDeviceDialog: boolean;
149
- showFeedbackDialog: boolean;
150
- showStartupNotification: boolean;
151
- tooltips: {
152
- byId: Record<string, {
153
- readState: ReadState;
154
- }>;
155
- };
156
- userSettings: UserSettings;
157
- userSettingsInitialized: boolean;
158
- };
37
+ users: UserSliceType;
159
38
  }) => boolean) & {
160
39
  clearCache: () => void;
161
40
  resultsCount: () => number;
@@ -178,138 +57,14 @@ declare const getIsEnterprise: ((state: {
178
57
  argsMemoize: typeof reselect.weakMapMemoize;
179
58
  };
180
59
  declare const getAttrsEndpoint: ((state: {
181
- app: {
182
- cancelSource: any;
183
- commit: string;
184
- demoArtifactLink: string;
185
- docsVersion: string;
186
- features: Record<string, boolean>;
187
- feedbackProbability: number;
188
- firstLoginAfterSignup: boolean;
189
- hostAddress: string | null;
190
- hostedAnnouncement: string;
191
- newThreshold: string;
192
- offlineThreshold: string;
193
- recaptchaSiteKey: string;
194
- searchState: SearchState;
195
- sentry: SentryConfig;
196
- snackbar: SnackbarContent;
197
- stripeAPIKey: string;
198
- trackerCode: string;
199
- uploadsById: Record<string, Upload>;
200
- versionInformation: {
201
- [key: string]: string | {
202
- releaseDate: string;
203
- repos: Record<string, string>;
204
- } | undefined;
205
- backend?: string;
206
- GUI?: string;
207
- latestRelease?: {
208
- releaseDate: string;
209
- repos: Record<string, string>;
210
- };
211
- };
212
- yesterday?: string;
213
- };
60
+ app: AppSliceType;
214
61
  devices: DeviceSliceType;
215
- deployments: {
216
- byId: Record<string, Deployment>;
217
- byStatus: DeploymentByStatus;
218
- config: DeploymentConfig;
219
- deploymentDeviceLimit: number;
220
- selectedDeviceIds: string[];
221
- selectionState: SelectionState;
222
- };
223
- monitor: {
224
- alerts: {
225
- alertList: {
226
- page: number;
227
- perPage: number;
228
- total: number;
229
- };
230
- byDeviceId: {
231
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
232
- fullName?: string;
233
- }>;
234
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
235
- fullName?: string;
236
- }>;
237
- };
238
- };
239
- issueCounts: {
240
- byType: {
241
- issues: {
242
- filtered: number;
243
- total: number;
244
- };
245
- offline: {
246
- filtered: number;
247
- total: number;
248
- };
249
- failedLastUpdate: {
250
- filtered: number;
251
- total: number;
252
- };
253
- monitoring: {
254
- filtered: number;
255
- total: number;
256
- };
257
- authRequests: {
258
- filtered: number;
259
- total: number;
260
- };
261
- gatewayDevices: {
262
- filtered: number;
263
- total: number;
264
- };
265
- };
266
- };
267
- settings: {
268
- global: {
269
- channels: {
270
- email: {
271
- enabled: boolean;
272
- };
273
- };
274
- };
275
- };
276
- };
277
- onboarding: {
278
- address?: string;
279
- approach: OnboardingApproach | null;
280
- complete: boolean;
281
- demoArtifactPort: number;
282
- deviceConnection?: string;
283
- deviceType: string[] | string | null;
284
- progress: string | null;
285
- showTips: boolean | null;
286
- showTipsDialog: boolean;
287
- };
288
- organization: OrganizationState;
62
+ deployments: DeploymentsSliceType;
63
+ monitor: MonitorSliceType;
64
+ onboarding: OnboardingSliceType;
65
+ organization: OrganizationSliceType;
289
66
  releases: ReleaseSliceType;
290
- users: {
291
- activationCode?: string;
292
- byId: Record<string, User>;
293
- currentSession?: UserSession | object;
294
- currentUser: string | null;
295
- customColumns: CustomColumn[];
296
- globalSettings: GlobalSettings;
297
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
298
- qrCode: string | null;
299
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
300
- rolesInitialized: boolean;
301
- settingsInitialized: boolean;
302
- showConnectDeviceDialog: boolean;
303
- showFeedbackDialog: boolean;
304
- showStartupNotification: boolean;
305
- tooltips: {
306
- byId: Record<string, {
307
- readState: ReadState;
308
- }>;
309
- };
310
- userSettings: UserSettings;
311
- userSettingsInitialized: boolean;
312
- };
67
+ users: UserSliceType;
313
68
  }) => string) & {
314
69
  clearCache: () => void;
315
70
  resultsCount: () => number;
@@ -332,138 +87,14 @@ declare const getAttrsEndpoint: ((state: {
332
87
  argsMemoize: typeof reselect.weakMapMemoize;
333
88
  };
334
89
  declare const getSearchEndpoint: ((state: {
335
- app: {
336
- cancelSource: any;
337
- commit: string;
338
- demoArtifactLink: string;
339
- docsVersion: string;
340
- features: Record<string, boolean>;
341
- feedbackProbability: number;
342
- firstLoginAfterSignup: boolean;
343
- hostAddress: string | null;
344
- hostedAnnouncement: string;
345
- newThreshold: string;
346
- offlineThreshold: string;
347
- recaptchaSiteKey: string;
348
- searchState: SearchState;
349
- sentry: SentryConfig;
350
- snackbar: SnackbarContent;
351
- stripeAPIKey: string;
352
- trackerCode: string;
353
- uploadsById: Record<string, Upload>;
354
- versionInformation: {
355
- [key: string]: string | {
356
- releaseDate: string;
357
- repos: Record<string, string>;
358
- } | undefined;
359
- backend?: string;
360
- GUI?: string;
361
- latestRelease?: {
362
- releaseDate: string;
363
- repos: Record<string, string>;
364
- };
365
- };
366
- yesterday?: string;
367
- };
90
+ app: AppSliceType;
368
91
  devices: DeviceSliceType;
369
- deployments: {
370
- byId: Record<string, Deployment>;
371
- byStatus: DeploymentByStatus;
372
- config: DeploymentConfig;
373
- deploymentDeviceLimit: number;
374
- selectedDeviceIds: string[];
375
- selectionState: SelectionState;
376
- };
377
- monitor: {
378
- alerts: {
379
- alertList: {
380
- page: number;
381
- perPage: number;
382
- total: number;
383
- };
384
- byDeviceId: {
385
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
386
- fullName?: string;
387
- }>;
388
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
389
- fullName?: string;
390
- }>;
391
- };
392
- };
393
- issueCounts: {
394
- byType: {
395
- issues: {
396
- filtered: number;
397
- total: number;
398
- };
399
- offline: {
400
- filtered: number;
401
- total: number;
402
- };
403
- failedLastUpdate: {
404
- filtered: number;
405
- total: number;
406
- };
407
- monitoring: {
408
- filtered: number;
409
- total: number;
410
- };
411
- authRequests: {
412
- filtered: number;
413
- total: number;
414
- };
415
- gatewayDevices: {
416
- filtered: number;
417
- total: number;
418
- };
419
- };
420
- };
421
- settings: {
422
- global: {
423
- channels: {
424
- email: {
425
- enabled: boolean;
426
- };
427
- };
428
- };
429
- };
430
- };
431
- onboarding: {
432
- address?: string;
433
- approach: OnboardingApproach | null;
434
- complete: boolean;
435
- demoArtifactPort: number;
436
- deviceConnection?: string;
437
- deviceType: string[] | string | null;
438
- progress: string | null;
439
- showTips: boolean | null;
440
- showTipsDialog: boolean;
441
- };
442
- organization: OrganizationState;
92
+ deployments: DeploymentsSliceType;
93
+ monitor: MonitorSliceType;
94
+ onboarding: OnboardingSliceType;
95
+ organization: OrganizationSliceType;
443
96
  releases: ReleaseSliceType;
444
- users: {
445
- activationCode?: string;
446
- byId: Record<string, User>;
447
- currentSession?: UserSession | object;
448
- currentUser: string | null;
449
- customColumns: CustomColumn[];
450
- globalSettings: GlobalSettings;
451
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
452
- qrCode: string | null;
453
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
454
- rolesInitialized: boolean;
455
- settingsInitialized: boolean;
456
- showConnectDeviceDialog: boolean;
457
- showFeedbackDialog: boolean;
458
- showStartupNotification: boolean;
459
- tooltips: {
460
- byId: Record<string, {
461
- readState: ReadState;
462
- }>;
463
- };
464
- userSettings: UserSettings;
465
- userSettingsInitialized: boolean;
466
- };
97
+ users: UserSliceType;
467
98
  }) => string) & {
468
99
  clearCache: () => void;
469
100
  resultsCount: () => number;
@@ -486,138 +117,14 @@ declare const getSearchEndpoint: ((state: {
486
117
  argsMemoize: typeof reselect.weakMapMemoize;
487
118
  };
488
119
  declare const getUserRoles: ((state: {
489
- app: {
490
- cancelSource: any;
491
- commit: string;
492
- demoArtifactLink: string;
493
- docsVersion: string;
494
- features: Record<string, boolean>;
495
- feedbackProbability: number;
496
- firstLoginAfterSignup: boolean;
497
- hostAddress: string | null;
498
- hostedAnnouncement: string;
499
- newThreshold: string;
500
- offlineThreshold: string;
501
- recaptchaSiteKey: string;
502
- searchState: SearchState;
503
- sentry: SentryConfig;
504
- snackbar: SnackbarContent;
505
- stripeAPIKey: string;
506
- trackerCode: string;
507
- uploadsById: Record<string, Upload>;
508
- versionInformation: {
509
- [key: string]: string | {
510
- releaseDate: string;
511
- repos: Record<string, string>;
512
- } | undefined;
513
- backend?: string;
514
- GUI?: string;
515
- latestRelease?: {
516
- releaseDate: string;
517
- repos: Record<string, string>;
518
- };
519
- };
520
- yesterday?: string;
521
- };
120
+ app: AppSliceType;
522
121
  devices: DeviceSliceType;
523
- deployments: {
524
- byId: Record<string, Deployment>;
525
- byStatus: DeploymentByStatus;
526
- config: DeploymentConfig;
527
- deploymentDeviceLimit: number;
528
- selectedDeviceIds: string[];
529
- selectionState: SelectionState;
530
- };
531
- monitor: {
532
- alerts: {
533
- alertList: {
534
- page: number;
535
- perPage: number;
536
- total: number;
537
- };
538
- byDeviceId: {
539
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
540
- fullName?: string;
541
- }>;
542
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
543
- fullName?: string;
544
- }>;
545
- };
546
- };
547
- issueCounts: {
548
- byType: {
549
- issues: {
550
- filtered: number;
551
- total: number;
552
- };
553
- offline: {
554
- filtered: number;
555
- total: number;
556
- };
557
- failedLastUpdate: {
558
- filtered: number;
559
- total: number;
560
- };
561
- monitoring: {
562
- filtered: number;
563
- total: number;
564
- };
565
- authRequests: {
566
- filtered: number;
567
- total: number;
568
- };
569
- gatewayDevices: {
570
- filtered: number;
571
- total: number;
572
- };
573
- };
574
- };
575
- settings: {
576
- global: {
577
- channels: {
578
- email: {
579
- enabled: boolean;
580
- };
581
- };
582
- };
583
- };
584
- };
585
- onboarding: {
586
- address?: string;
587
- approach: OnboardingApproach | null;
588
- complete: boolean;
589
- demoArtifactPort: number;
590
- deviceConnection?: string;
591
- deviceType: string[] | string | null;
592
- progress: string | null;
593
- showTips: boolean | null;
594
- showTipsDialog: boolean;
595
- };
596
- organization: OrganizationState;
122
+ deployments: DeploymentsSliceType;
123
+ monitor: MonitorSliceType;
124
+ onboarding: OnboardingSliceType;
125
+ organization: OrganizationSliceType;
597
126
  releases: ReleaseSliceType;
598
- users: {
599
- activationCode?: string;
600
- byId: Record<string, User>;
601
- currentSession?: UserSession | object;
602
- currentUser: string | null;
603
- customColumns: CustomColumn[];
604
- globalSettings: GlobalSettings;
605
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
606
- qrCode: string | null;
607
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
608
- rolesInitialized: boolean;
609
- settingsInitialized: boolean;
610
- showConnectDeviceDialog: boolean;
611
- showFeedbackDialog: boolean;
612
- showStartupNotification: boolean;
613
- tooltips: {
614
- byId: Record<string, {
615
- readState: ReadState;
616
- }>;
617
- };
618
- userSettings: UserSettings;
619
- userSettingsInitialized: boolean;
620
- };
127
+ users: UserSliceType;
621
128
  }) => {
622
129
  isAdmin: boolean;
623
130
  uiPermissions: any;
@@ -643,138 +150,14 @@ declare const getUserRoles: ((state: {
643
150
  uiPermissions: any;
644
151
  };
645
152
  dependencies: [((state: {
646
- app: {
647
- cancelSource: any;
648
- commit: string;
649
- demoArtifactLink: string;
650
- docsVersion: string;
651
- features: Record<string, boolean>;
652
- feedbackProbability: number;
653
- firstLoginAfterSignup: boolean;
654
- hostAddress: string | null;
655
- hostedAnnouncement: string;
656
- newThreshold: string;
657
- offlineThreshold: string;
658
- recaptchaSiteKey: string;
659
- searchState: SearchState;
660
- sentry: SentryConfig;
661
- snackbar: SnackbarContent;
662
- stripeAPIKey: string;
663
- trackerCode: string;
664
- uploadsById: Record<string, Upload>;
665
- versionInformation: {
666
- [key: string]: string | {
667
- releaseDate: string;
668
- repos: Record<string, string>;
669
- } | undefined;
670
- backend?: string;
671
- GUI?: string;
672
- latestRelease?: {
673
- releaseDate: string;
674
- repos: Record<string, string>;
675
- };
676
- };
677
- yesterday?: string;
678
- };
153
+ app: AppSliceType;
679
154
  devices: DeviceSliceType;
680
- deployments: {
681
- byId: Record<string, Deployment>;
682
- byStatus: DeploymentByStatus;
683
- config: DeploymentConfig;
684
- deploymentDeviceLimit: number;
685
- selectedDeviceIds: string[];
686
- selectionState: SelectionState;
687
- };
688
- monitor: {
689
- alerts: {
690
- alertList: {
691
- page: number;
692
- perPage: number;
693
- total: number;
694
- };
695
- byDeviceId: {
696
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
697
- fullName?: string;
698
- }>;
699
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
700
- fullName?: string;
701
- }>;
702
- };
703
- };
704
- issueCounts: {
705
- byType: {
706
- issues: {
707
- filtered: number;
708
- total: number;
709
- };
710
- offline: {
711
- filtered: number;
712
- total: number;
713
- };
714
- failedLastUpdate: {
715
- filtered: number;
716
- total: number;
717
- };
718
- monitoring: {
719
- filtered: number;
720
- total: number;
721
- };
722
- authRequests: {
723
- filtered: number;
724
- total: number;
725
- };
726
- gatewayDevices: {
727
- filtered: number;
728
- total: number;
729
- };
730
- };
731
- };
732
- settings: {
733
- global: {
734
- channels: {
735
- email: {
736
- enabled: boolean;
737
- };
738
- };
739
- };
740
- };
741
- };
742
- onboarding: {
743
- address?: string;
744
- approach: OnboardingApproach | null;
745
- complete: boolean;
746
- demoArtifactPort: number;
747
- deviceConnection?: string;
748
- deviceType: string[] | string | null;
749
- progress: string | null;
750
- showTips: boolean | null;
751
- showTipsDialog: boolean;
752
- };
753
- organization: OrganizationState;
155
+ deployments: DeploymentsSliceType;
156
+ monitor: MonitorSliceType;
157
+ onboarding: OnboardingSliceType;
158
+ organization: OrganizationSliceType;
754
159
  releases: ReleaseSliceType;
755
- users: {
756
- activationCode?: string;
757
- byId: Record<string, User>;
758
- currentSession?: UserSession | object;
759
- currentUser: string | null;
760
- customColumns: CustomColumn[];
761
- globalSettings: GlobalSettings;
762
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
763
- qrCode: string | null;
764
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
765
- rolesInitialized: boolean;
766
- settingsInitialized: boolean;
767
- showConnectDeviceDialog: boolean;
768
- showFeedbackDialog: boolean;
769
- showStartupNotification: boolean;
770
- tooltips: {
771
- byId: Record<string, {
772
- readState: ReadState;
773
- }>;
774
- };
775
- userSettings: UserSettings;
776
- userSettingsInitialized: boolean;
777
- };
160
+ users: UserSliceType;
778
161
  }) => User) & {
779
162
  clearCache: () => void;
780
163
  resultsCount: () => number;
@@ -796,138 +179,14 @@ declare const getUserRoles: ((state: {
796
179
  memoize: typeof reselect.weakMapMemoize;
797
180
  argsMemoize: typeof reselect.weakMapMemoize;
798
181
  }, (state: RootState) => Record<string, _northern_tech_utils_constants.Role>, ((state: {
799
- app: {
800
- cancelSource: any;
801
- commit: string;
802
- demoArtifactLink: string;
803
- docsVersion: string;
804
- features: Record<string, boolean>;
805
- feedbackProbability: number;
806
- firstLoginAfterSignup: boolean;
807
- hostAddress: string | null;
808
- hostedAnnouncement: string;
809
- newThreshold: string;
810
- offlineThreshold: string;
811
- recaptchaSiteKey: string;
812
- searchState: SearchState;
813
- sentry: SentryConfig;
814
- snackbar: SnackbarContent;
815
- stripeAPIKey: string;
816
- trackerCode: string;
817
- uploadsById: Record<string, Upload>;
818
- versionInformation: {
819
- [key: string]: string | {
820
- releaseDate: string;
821
- repos: Record<string, string>;
822
- } | undefined;
823
- backend?: string;
824
- GUI?: string;
825
- latestRelease?: {
826
- releaseDate: string;
827
- repos: Record<string, string>;
828
- };
829
- };
830
- yesterday?: string;
831
- };
182
+ app: AppSliceType;
832
183
  devices: DeviceSliceType;
833
- deployments: {
834
- byId: Record<string, Deployment>;
835
- byStatus: DeploymentByStatus;
836
- config: DeploymentConfig;
837
- deploymentDeviceLimit: number;
838
- selectedDeviceIds: string[];
839
- selectionState: SelectionState;
840
- };
841
- monitor: {
842
- alerts: {
843
- alertList: {
844
- page: number;
845
- perPage: number;
846
- total: number;
847
- };
848
- byDeviceId: {
849
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
850
- fullName?: string;
851
- }>;
852
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
853
- fullName?: string;
854
- }>;
855
- };
856
- };
857
- issueCounts: {
858
- byType: {
859
- issues: {
860
- filtered: number;
861
- total: number;
862
- };
863
- offline: {
864
- filtered: number;
865
- total: number;
866
- };
867
- failedLastUpdate: {
868
- filtered: number;
869
- total: number;
870
- };
871
- monitoring: {
872
- filtered: number;
873
- total: number;
874
- };
875
- authRequests: {
876
- filtered: number;
877
- total: number;
878
- };
879
- gatewayDevices: {
880
- filtered: number;
881
- total: number;
882
- };
883
- };
884
- };
885
- settings: {
886
- global: {
887
- channels: {
888
- email: {
889
- enabled: boolean;
890
- };
891
- };
892
- };
893
- };
894
- };
895
- onboarding: {
896
- address?: string;
897
- approach: OnboardingApproach | null;
898
- complete: boolean;
899
- demoArtifactPort: number;
900
- deviceConnection?: string;
901
- deviceType: string[] | string | null;
902
- progress: string | null;
903
- showTips: boolean | null;
904
- showTipsDialog: boolean;
905
- };
906
- organization: OrganizationState;
184
+ deployments: DeploymentsSliceType;
185
+ monitor: MonitorSliceType;
186
+ onboarding: OnboardingSliceType;
187
+ organization: OrganizationSliceType;
907
188
  releases: ReleaseSliceType;
908
- users: {
909
- activationCode?: string;
910
- byId: Record<string, User>;
911
- currentSession?: UserSession | object;
912
- currentUser: string | null;
913
- customColumns: CustomColumn[];
914
- globalSettings: GlobalSettings;
915
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
916
- qrCode: string | null;
917
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
918
- rolesInitialized: boolean;
919
- settingsInitialized: boolean;
920
- showConnectDeviceDialog: boolean;
921
- showFeedbackDialog: boolean;
922
- showStartupNotification: boolean;
923
- tooltips: {
924
- byId: Record<string, {
925
- readState: ReadState;
926
- }>;
927
- };
928
- userSettings: UserSettings;
929
- userSettingsInitialized: boolean;
930
- };
189
+ users: UserSliceType;
931
190
  }) => boolean) & {
932
191
  clearCache: () => void;
933
192
  resultsCount: () => number;
@@ -958,138 +217,14 @@ declare const getUserRoles: ((state: {
958
217
  argsMemoize: typeof reselect.weakMapMemoize;
959
218
  };
960
219
  declare const getUserCapabilities: ((state: {
961
- app: {
962
- cancelSource: any;
963
- commit: string;
964
- demoArtifactLink: string;
965
- docsVersion: string;
966
- features: Record<string, boolean>;
967
- feedbackProbability: number;
968
- firstLoginAfterSignup: boolean;
969
- hostAddress: string | null;
970
- hostedAnnouncement: string;
971
- newThreshold: string;
972
- offlineThreshold: string;
973
- recaptchaSiteKey: string;
974
- searchState: SearchState;
975
- sentry: SentryConfig;
976
- snackbar: SnackbarContent;
977
- stripeAPIKey: string;
978
- trackerCode: string;
979
- uploadsById: Record<string, Upload>;
980
- versionInformation: {
981
- [key: string]: string | {
982
- releaseDate: string;
983
- repos: Record<string, string>;
984
- } | undefined;
985
- backend?: string;
986
- GUI?: string;
987
- latestRelease?: {
988
- releaseDate: string;
989
- repos: Record<string, string>;
990
- };
991
- };
992
- yesterday?: string;
993
- };
220
+ app: AppSliceType;
994
221
  devices: DeviceSliceType;
995
- deployments: {
996
- byId: Record<string, Deployment>;
997
- byStatus: DeploymentByStatus;
998
- config: DeploymentConfig;
999
- deploymentDeviceLimit: number;
1000
- selectedDeviceIds: string[];
1001
- selectionState: SelectionState;
1002
- };
1003
- monitor: {
1004
- alerts: {
1005
- alertList: {
1006
- page: number;
1007
- perPage: number;
1008
- total: number;
1009
- };
1010
- byDeviceId: {
1011
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1012
- fullName?: string;
1013
- }>;
1014
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1015
- fullName?: string;
1016
- }>;
1017
- };
1018
- };
1019
- issueCounts: {
1020
- byType: {
1021
- issues: {
1022
- filtered: number;
1023
- total: number;
1024
- };
1025
- offline: {
1026
- filtered: number;
1027
- total: number;
1028
- };
1029
- failedLastUpdate: {
1030
- filtered: number;
1031
- total: number;
1032
- };
1033
- monitoring: {
1034
- filtered: number;
1035
- total: number;
1036
- };
1037
- authRequests: {
1038
- filtered: number;
1039
- total: number;
1040
- };
1041
- gatewayDevices: {
1042
- filtered: number;
1043
- total: number;
1044
- };
1045
- };
1046
- };
1047
- settings: {
1048
- global: {
1049
- channels: {
1050
- email: {
1051
- enabled: boolean;
1052
- };
1053
- };
1054
- };
1055
- };
1056
- };
1057
- onboarding: {
1058
- address?: string;
1059
- approach: OnboardingApproach | null;
1060
- complete: boolean;
1061
- demoArtifactPort: number;
1062
- deviceConnection?: string;
1063
- deviceType: string[] | string | null;
1064
- progress: string | null;
1065
- showTips: boolean | null;
1066
- showTipsDialog: boolean;
1067
- };
1068
- organization: OrganizationState;
222
+ deployments: DeploymentsSliceType;
223
+ monitor: MonitorSliceType;
224
+ onboarding: OnboardingSliceType;
225
+ organization: OrganizationSliceType;
1069
226
  releases: ReleaseSliceType;
1070
- users: {
1071
- activationCode?: string;
1072
- byId: Record<string, User>;
1073
- currentSession?: UserSession | object;
1074
- currentUser: string | null;
1075
- customColumns: CustomColumn[];
1076
- globalSettings: GlobalSettings;
1077
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1078
- qrCode: string | null;
1079
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1080
- rolesInitialized: boolean;
1081
- settingsInitialized: boolean;
1082
- showConnectDeviceDialog: boolean;
1083
- showFeedbackDialog: boolean;
1084
- showStartupNotification: boolean;
1085
- tooltips: {
1086
- byId: Record<string, {
1087
- readState: ReadState;
1088
- }>;
1089
- };
1090
- userSettings: UserSettings;
1091
- userSettingsInitialized: boolean;
1092
- };
227
+ users: UserSliceType;
1093
228
  }) => {
1094
229
  canAuditlog: any;
1095
230
  canConfigure: boolean;
@@ -1177,138 +312,14 @@ declare const getUserCapabilities: ((state: {
1177
312
  SPTenant: boolean | undefined;
1178
313
  };
1179
314
  dependencies: [((state: {
1180
- app: {
1181
- cancelSource: any;
1182
- commit: string;
1183
- demoArtifactLink: string;
1184
- docsVersion: string;
1185
- features: Record<string, boolean>;
1186
- feedbackProbability: number;
1187
- firstLoginAfterSignup: boolean;
1188
- hostAddress: string | null;
1189
- hostedAnnouncement: string;
1190
- newThreshold: string;
1191
- offlineThreshold: string;
1192
- recaptchaSiteKey: string;
1193
- searchState: SearchState;
1194
- sentry: SentryConfig;
1195
- snackbar: SnackbarContent;
1196
- stripeAPIKey: string;
1197
- trackerCode: string;
1198
- uploadsById: Record<string, Upload>;
1199
- versionInformation: {
1200
- [key: string]: string | {
1201
- releaseDate: string;
1202
- repos: Record<string, string>;
1203
- } | undefined;
1204
- backend?: string;
1205
- GUI?: string;
1206
- latestRelease?: {
1207
- releaseDate: string;
1208
- repos: Record<string, string>;
1209
- };
1210
- };
1211
- yesterday?: string;
1212
- };
315
+ app: AppSliceType;
1213
316
  devices: DeviceSliceType;
1214
- deployments: {
1215
- byId: Record<string, Deployment>;
1216
- byStatus: DeploymentByStatus;
1217
- config: DeploymentConfig;
1218
- deploymentDeviceLimit: number;
1219
- selectedDeviceIds: string[];
1220
- selectionState: SelectionState;
1221
- };
1222
- monitor: {
1223
- alerts: {
1224
- alertList: {
1225
- page: number;
1226
- perPage: number;
1227
- total: number;
1228
- };
1229
- byDeviceId: {
1230
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1231
- fullName?: string;
1232
- }>;
1233
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1234
- fullName?: string;
1235
- }>;
1236
- };
1237
- };
1238
- issueCounts: {
1239
- byType: {
1240
- issues: {
1241
- filtered: number;
1242
- total: number;
1243
- };
1244
- offline: {
1245
- filtered: number;
1246
- total: number;
1247
- };
1248
- failedLastUpdate: {
1249
- filtered: number;
1250
- total: number;
1251
- };
1252
- monitoring: {
1253
- filtered: number;
1254
- total: number;
1255
- };
1256
- authRequests: {
1257
- filtered: number;
1258
- total: number;
1259
- };
1260
- gatewayDevices: {
1261
- filtered: number;
1262
- total: number;
1263
- };
1264
- };
1265
- };
1266
- settings: {
1267
- global: {
1268
- channels: {
1269
- email: {
1270
- enabled: boolean;
1271
- };
1272
- };
1273
- };
1274
- };
1275
- };
1276
- onboarding: {
1277
- address?: string;
1278
- approach: OnboardingApproach | null;
1279
- complete: boolean;
1280
- demoArtifactPort: number;
1281
- deviceConnection?: string;
1282
- deviceType: string[] | string | null;
1283
- progress: string | null;
1284
- showTips: boolean | null;
1285
- showTipsDialog: boolean;
1286
- };
1287
- organization: OrganizationState;
317
+ deployments: DeploymentsSliceType;
318
+ monitor: MonitorSliceType;
319
+ onboarding: OnboardingSliceType;
320
+ organization: OrganizationSliceType;
1288
321
  releases: ReleaseSliceType;
1289
- users: {
1290
- activationCode?: string;
1291
- byId: Record<string, User>;
1292
- currentSession?: UserSession | object;
1293
- currentUser: string | null;
1294
- customColumns: CustomColumn[];
1295
- globalSettings: GlobalSettings;
1296
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1297
- qrCode: string | null;
1298
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1299
- rolesInitialized: boolean;
1300
- settingsInitialized: boolean;
1301
- showConnectDeviceDialog: boolean;
1302
- showFeedbackDialog: boolean;
1303
- showStartupNotification: boolean;
1304
- tooltips: {
1305
- byId: Record<string, {
1306
- readState: ReadState;
1307
- }>;
1308
- };
1309
- userSettings: UserSettings;
1310
- userSettingsInitialized: boolean;
1311
- };
322
+ users: UserSliceType;
1312
323
  }) => {
1313
324
  isAdmin: boolean;
1314
325
  uiPermissions: any;
@@ -1334,138 +345,14 @@ declare const getUserCapabilities: ((state: {
1334
345
  uiPermissions: any;
1335
346
  };
1336
347
  dependencies: [((state: {
1337
- app: {
1338
- cancelSource: any;
1339
- commit: string;
1340
- demoArtifactLink: string;
1341
- docsVersion: string;
1342
- features: Record<string, boolean>;
1343
- feedbackProbability: number;
1344
- firstLoginAfterSignup: boolean;
1345
- hostAddress: string | null;
1346
- hostedAnnouncement: string;
1347
- newThreshold: string;
1348
- offlineThreshold: string;
1349
- recaptchaSiteKey: string;
1350
- searchState: SearchState;
1351
- sentry: SentryConfig;
1352
- snackbar: SnackbarContent;
1353
- stripeAPIKey: string;
1354
- trackerCode: string;
1355
- uploadsById: Record<string, Upload>;
1356
- versionInformation: {
1357
- [key: string]: string | {
1358
- releaseDate: string;
1359
- repos: Record<string, string>;
1360
- } | undefined;
1361
- backend?: string;
1362
- GUI?: string;
1363
- latestRelease?: {
1364
- releaseDate: string;
1365
- repos: Record<string, string>;
1366
- };
1367
- };
1368
- yesterday?: string;
1369
- };
348
+ app: AppSliceType;
1370
349
  devices: DeviceSliceType;
1371
- deployments: {
1372
- byId: Record<string, Deployment>;
1373
- byStatus: DeploymentByStatus;
1374
- config: DeploymentConfig;
1375
- deploymentDeviceLimit: number;
1376
- selectedDeviceIds: string[];
1377
- selectionState: SelectionState;
1378
- };
1379
- monitor: {
1380
- alerts: {
1381
- alertList: {
1382
- page: number;
1383
- perPage: number;
1384
- total: number;
1385
- };
1386
- byDeviceId: {
1387
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1388
- fullName?: string;
1389
- }>;
1390
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1391
- fullName?: string;
1392
- }>;
1393
- };
1394
- };
1395
- issueCounts: {
1396
- byType: {
1397
- issues: {
1398
- filtered: number;
1399
- total: number;
1400
- };
1401
- offline: {
1402
- filtered: number;
1403
- total: number;
1404
- };
1405
- failedLastUpdate: {
1406
- filtered: number;
1407
- total: number;
1408
- };
1409
- monitoring: {
1410
- filtered: number;
1411
- total: number;
1412
- };
1413
- authRequests: {
1414
- filtered: number;
1415
- total: number;
1416
- };
1417
- gatewayDevices: {
1418
- filtered: number;
1419
- total: number;
1420
- };
1421
- };
1422
- };
1423
- settings: {
1424
- global: {
1425
- channels: {
1426
- email: {
1427
- enabled: boolean;
1428
- };
1429
- };
1430
- };
1431
- };
1432
- };
1433
- onboarding: {
1434
- address?: string;
1435
- approach: OnboardingApproach | null;
1436
- complete: boolean;
1437
- demoArtifactPort: number;
1438
- deviceConnection?: string;
1439
- deviceType: string[] | string | null;
1440
- progress: string | null;
1441
- showTips: boolean | null;
1442
- showTipsDialog: boolean;
1443
- };
1444
- organization: OrganizationState;
350
+ deployments: DeploymentsSliceType;
351
+ monitor: MonitorSliceType;
352
+ onboarding: OnboardingSliceType;
353
+ organization: OrganizationSliceType;
1445
354
  releases: ReleaseSliceType;
1446
- users: {
1447
- activationCode?: string;
1448
- byId: Record<string, User>;
1449
- currentSession?: UserSession | object;
1450
- currentUser: string | null;
1451
- customColumns: CustomColumn[];
1452
- globalSettings: GlobalSettings;
1453
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1454
- qrCode: string | null;
1455
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1456
- rolesInitialized: boolean;
1457
- settingsInitialized: boolean;
1458
- showConnectDeviceDialog: boolean;
1459
- showFeedbackDialog: boolean;
1460
- showStartupNotification: boolean;
1461
- tooltips: {
1462
- byId: Record<string, {
1463
- readState: ReadState;
1464
- }>;
1465
- };
1466
- userSettings: UserSettings;
1467
- userSettingsInitialized: boolean;
1468
- };
355
+ users: UserSliceType;
1469
356
  }) => User) & {
1470
357
  clearCache: () => void;
1471
358
  resultsCount: () => number;
@@ -1487,138 +374,14 @@ declare const getUserCapabilities: ((state: {
1487
374
  memoize: typeof reselect.weakMapMemoize;
1488
375
  argsMemoize: typeof reselect.weakMapMemoize;
1489
376
  }, (state: RootState) => Record<string, _northern_tech_utils_constants.Role>, ((state: {
1490
- app: {
1491
- cancelSource: any;
1492
- commit: string;
1493
- demoArtifactLink: string;
1494
- docsVersion: string;
1495
- features: Record<string, boolean>;
1496
- feedbackProbability: number;
1497
- firstLoginAfterSignup: boolean;
1498
- hostAddress: string | null;
1499
- hostedAnnouncement: string;
1500
- newThreshold: string;
1501
- offlineThreshold: string;
1502
- recaptchaSiteKey: string;
1503
- searchState: SearchState;
1504
- sentry: SentryConfig;
1505
- snackbar: SnackbarContent;
1506
- stripeAPIKey: string;
1507
- trackerCode: string;
1508
- uploadsById: Record<string, Upload>;
1509
- versionInformation: {
1510
- [key: string]: string | {
1511
- releaseDate: string;
1512
- repos: Record<string, string>;
1513
- } | undefined;
1514
- backend?: string;
1515
- GUI?: string;
1516
- latestRelease?: {
1517
- releaseDate: string;
1518
- repos: Record<string, string>;
1519
- };
1520
- };
1521
- yesterday?: string;
1522
- };
377
+ app: AppSliceType;
1523
378
  devices: DeviceSliceType;
1524
- deployments: {
1525
- byId: Record<string, Deployment>;
1526
- byStatus: DeploymentByStatus;
1527
- config: DeploymentConfig;
1528
- deploymentDeviceLimit: number;
1529
- selectedDeviceIds: string[];
1530
- selectionState: SelectionState;
1531
- };
1532
- monitor: {
1533
- alerts: {
1534
- alertList: {
1535
- page: number;
1536
- perPage: number;
1537
- total: number;
1538
- };
1539
- byDeviceId: {
1540
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1541
- fullName?: string;
1542
- }>;
1543
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1544
- fullName?: string;
1545
- }>;
1546
- };
1547
- };
1548
- issueCounts: {
1549
- byType: {
1550
- issues: {
1551
- filtered: number;
1552
- total: number;
1553
- };
1554
- offline: {
1555
- filtered: number;
1556
- total: number;
1557
- };
1558
- failedLastUpdate: {
1559
- filtered: number;
1560
- total: number;
1561
- };
1562
- monitoring: {
1563
- filtered: number;
1564
- total: number;
1565
- };
1566
- authRequests: {
1567
- filtered: number;
1568
- total: number;
1569
- };
1570
- gatewayDevices: {
1571
- filtered: number;
1572
- total: number;
1573
- };
1574
- };
1575
- };
1576
- settings: {
1577
- global: {
1578
- channels: {
1579
- email: {
1580
- enabled: boolean;
1581
- };
1582
- };
1583
- };
1584
- };
1585
- };
1586
- onboarding: {
1587
- address?: string;
1588
- approach: OnboardingApproach | null;
1589
- complete: boolean;
1590
- demoArtifactPort: number;
1591
- deviceConnection?: string;
1592
- deviceType: string[] | string | null;
1593
- progress: string | null;
1594
- showTips: boolean | null;
1595
- showTipsDialog: boolean;
1596
- };
1597
- organization: OrganizationState;
379
+ deployments: DeploymentsSliceType;
380
+ monitor: MonitorSliceType;
381
+ onboarding: OnboardingSliceType;
382
+ organization: OrganizationSliceType;
1598
383
  releases: ReleaseSliceType;
1599
- users: {
1600
- activationCode?: string;
1601
- byId: Record<string, User>;
1602
- currentSession?: UserSession | object;
1603
- currentUser: string | null;
1604
- customColumns: CustomColumn[];
1605
- globalSettings: GlobalSettings;
1606
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1607
- qrCode: string | null;
1608
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1609
- rolesInitialized: boolean;
1610
- settingsInitialized: boolean;
1611
- showConnectDeviceDialog: boolean;
1612
- showFeedbackDialog: boolean;
1613
- showStartupNotification: boolean;
1614
- tooltips: {
1615
- byId: Record<string, {
1616
- readState: ReadState;
1617
- }>;
1618
- };
1619
- userSettings: UserSettings;
1620
- userSettingsInitialized: boolean;
1621
- };
384
+ users: UserSliceType;
1622
385
  }) => boolean) & {
1623
386
  clearCache: () => void;
1624
387
  resultsCount: () => number;
@@ -1657,138 +420,14 @@ declare const getUserCapabilities: ((state: {
1657
420
  argsMemoize: typeof reselect.weakMapMemoize;
1658
421
  };
1659
422
  declare const getTenantCapabilities: ((state: {
1660
- app: {
1661
- cancelSource: any;
1662
- commit: string;
1663
- demoArtifactLink: string;
1664
- docsVersion: string;
1665
- features: Record<string, boolean>;
1666
- feedbackProbability: number;
1667
- firstLoginAfterSignup: boolean;
1668
- hostAddress: string | null;
1669
- hostedAnnouncement: string;
1670
- newThreshold: string;
1671
- offlineThreshold: string;
1672
- recaptchaSiteKey: string;
1673
- searchState: SearchState;
1674
- sentry: SentryConfig;
1675
- snackbar: SnackbarContent;
1676
- stripeAPIKey: string;
1677
- trackerCode: string;
1678
- uploadsById: Record<string, Upload>;
1679
- versionInformation: {
1680
- [key: string]: string | {
1681
- releaseDate: string;
1682
- repos: Record<string, string>;
1683
- } | undefined;
1684
- backend?: string;
1685
- GUI?: string;
1686
- latestRelease?: {
1687
- releaseDate: string;
1688
- repos: Record<string, string>;
1689
- };
1690
- };
1691
- yesterday?: string;
1692
- };
423
+ app: AppSliceType;
1693
424
  devices: DeviceSliceType;
1694
- deployments: {
1695
- byId: Record<string, Deployment>;
1696
- byStatus: DeploymentByStatus;
1697
- config: DeploymentConfig;
1698
- deploymentDeviceLimit: number;
1699
- selectedDeviceIds: string[];
1700
- selectionState: SelectionState;
1701
- };
1702
- monitor: {
1703
- alerts: {
1704
- alertList: {
1705
- page: number;
1706
- perPage: number;
1707
- total: number;
1708
- };
1709
- byDeviceId: {
1710
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1711
- fullName?: string;
1712
- }>;
1713
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1714
- fullName?: string;
1715
- }>;
1716
- };
1717
- };
1718
- issueCounts: {
1719
- byType: {
1720
- issues: {
1721
- filtered: number;
1722
- total: number;
1723
- };
1724
- offline: {
1725
- filtered: number;
1726
- total: number;
1727
- };
1728
- failedLastUpdate: {
1729
- filtered: number;
1730
- total: number;
1731
- };
1732
- monitoring: {
1733
- filtered: number;
1734
- total: number;
1735
- };
1736
- authRequests: {
1737
- filtered: number;
1738
- total: number;
1739
- };
1740
- gatewayDevices: {
1741
- filtered: number;
1742
- total: number;
1743
- };
1744
- };
1745
- };
1746
- settings: {
1747
- global: {
1748
- channels: {
1749
- email: {
1750
- enabled: boolean;
1751
- };
1752
- };
1753
- };
1754
- };
1755
- };
1756
- onboarding: {
1757
- address?: string;
1758
- approach: OnboardingApproach | null;
1759
- complete: boolean;
1760
- demoArtifactPort: number;
1761
- deviceConnection?: string;
1762
- deviceType: string[] | string | null;
1763
- progress: string | null;
1764
- showTips: boolean | null;
1765
- showTipsDialog: boolean;
1766
- };
1767
- organization: OrganizationState;
425
+ deployments: DeploymentsSliceType;
426
+ monitor: MonitorSliceType;
427
+ onboarding: OnboardingSliceType;
428
+ organization: OrganizationSliceType;
1768
429
  releases: ReleaseSliceType;
1769
- users: {
1770
- activationCode?: string;
1771
- byId: Record<string, User>;
1772
- currentSession?: UserSession | object;
1773
- currentUser: string | null;
1774
- customColumns: CustomColumn[];
1775
- globalSettings: GlobalSettings;
1776
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1777
- qrCode: string | null;
1778
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1779
- rolesInitialized: boolean;
1780
- settingsInitialized: boolean;
1781
- showConnectDeviceDialog: boolean;
1782
- showFeedbackDialog: boolean;
1783
- showStartupNotification: boolean;
1784
- tooltips: {
1785
- byId: Record<string, {
1786
- readState: ReadState;
1787
- }>;
1788
- };
1789
- userSettings: UserSettings;
1790
- userSettingsInitialized: boolean;
1791
- };
430
+ users: UserSliceType;
1792
431
  }) => {
1793
432
  canDelta: boolean;
1794
433
  canRetry: boolean;
@@ -1846,138 +485,14 @@ declare const getTenantCapabilities: ((state: {
1846
485
  plan: AvailablePlans;
1847
486
  };
1848
487
  dependencies: [(state: RootState) => Record<string, boolean>, (state: RootState) => Partial<Organization>, ((state: {
1849
- app: {
1850
- cancelSource: any;
1851
- commit: string;
1852
- demoArtifactLink: string;
1853
- docsVersion: string;
1854
- features: Record<string, boolean>;
1855
- feedbackProbability: number;
1856
- firstLoginAfterSignup: boolean;
1857
- hostAddress: string | null;
1858
- hostedAnnouncement: string;
1859
- newThreshold: string;
1860
- offlineThreshold: string;
1861
- recaptchaSiteKey: string;
1862
- searchState: SearchState;
1863
- sentry: SentryConfig;
1864
- snackbar: SnackbarContent;
1865
- stripeAPIKey: string;
1866
- trackerCode: string;
1867
- uploadsById: Record<string, Upload>;
1868
- versionInformation: {
1869
- [key: string]: string | {
1870
- releaseDate: string;
1871
- repos: Record<string, string>;
1872
- } | undefined;
1873
- backend?: string;
1874
- GUI?: string;
1875
- latestRelease?: {
1876
- releaseDate: string;
1877
- repos: Record<string, string>;
1878
- };
1879
- };
1880
- yesterday?: string;
1881
- };
488
+ app: AppSliceType;
1882
489
  devices: DeviceSliceType;
1883
- deployments: {
1884
- byId: Record<string, Deployment>;
1885
- byStatus: DeploymentByStatus;
1886
- config: DeploymentConfig;
1887
- deploymentDeviceLimit: number;
1888
- selectedDeviceIds: string[];
1889
- selectionState: SelectionState;
1890
- };
1891
- monitor: {
1892
- alerts: {
1893
- alertList: {
1894
- page: number;
1895
- perPage: number;
1896
- total: number;
1897
- };
1898
- byDeviceId: {
1899
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1900
- fullName?: string;
1901
- }>;
1902
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1903
- fullName?: string;
1904
- }>;
1905
- };
1906
- };
1907
- issueCounts: {
1908
- byType: {
1909
- issues: {
1910
- filtered: number;
1911
- total: number;
1912
- };
1913
- offline: {
1914
- filtered: number;
1915
- total: number;
1916
- };
1917
- failedLastUpdate: {
1918
- filtered: number;
1919
- total: number;
1920
- };
1921
- monitoring: {
1922
- filtered: number;
1923
- total: number;
1924
- };
1925
- authRequests: {
1926
- filtered: number;
1927
- total: number;
1928
- };
1929
- gatewayDevices: {
1930
- filtered: number;
1931
- total: number;
1932
- };
1933
- };
1934
- };
1935
- settings: {
1936
- global: {
1937
- channels: {
1938
- email: {
1939
- enabled: boolean;
1940
- };
1941
- };
1942
- };
1943
- };
1944
- };
1945
- onboarding: {
1946
- address?: string;
1947
- approach: OnboardingApproach | null;
1948
- complete: boolean;
1949
- demoArtifactPort: number;
1950
- deviceConnection?: string;
1951
- deviceType: string[] | string | null;
1952
- progress: string | null;
1953
- showTips: boolean | null;
1954
- showTipsDialog: boolean;
1955
- };
1956
- organization: OrganizationState;
490
+ deployments: DeploymentsSliceType;
491
+ monitor: MonitorSliceType;
492
+ onboarding: OnboardingSliceType;
493
+ organization: OrganizationSliceType;
1957
494
  releases: ReleaseSliceType;
1958
- users: {
1959
- activationCode?: string;
1960
- byId: Record<string, User>;
1961
- currentSession?: UserSession | object;
1962
- currentUser: string | null;
1963
- customColumns: CustomColumn[];
1964
- globalSettings: GlobalSettings;
1965
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1966
- qrCode: string | null;
1967
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1968
- rolesInitialized: boolean;
1969
- settingsInitialized: boolean;
1970
- showConnectDeviceDialog: boolean;
1971
- showFeedbackDialog: boolean;
1972
- showStartupNotification: boolean;
1973
- tooltips: {
1974
- byId: Record<string, {
1975
- readState: ReadState;
1976
- }>;
1977
- };
1978
- userSettings: UserSettings;
1979
- userSettingsInitialized: boolean;
1980
- };
495
+ users: UserSliceType;
1981
496
  }) => boolean) & {
1982
497
  clearCache: () => void;
1983
498
  resultsCount: () => number;
@@ -2008,138 +523,14 @@ declare const getTenantCapabilities: ((state: {
2008
523
  argsMemoize: typeof reselect.weakMapMemoize;
2009
524
  };
2010
525
  declare const getFilterAttributes: ((state: {
2011
- app: {
2012
- cancelSource: any;
2013
- commit: string;
2014
- demoArtifactLink: string;
2015
- docsVersion: string;
2016
- features: Record<string, boolean>;
2017
- feedbackProbability: number;
2018
- firstLoginAfterSignup: boolean;
2019
- hostAddress: string | null;
2020
- hostedAnnouncement: string;
2021
- newThreshold: string;
2022
- offlineThreshold: string;
2023
- recaptchaSiteKey: string;
2024
- searchState: SearchState;
2025
- sentry: SentryConfig;
2026
- snackbar: SnackbarContent;
2027
- stripeAPIKey: string;
2028
- trackerCode: string;
2029
- uploadsById: Record<string, Upload>;
2030
- versionInformation: {
2031
- [key: string]: string | {
2032
- releaseDate: string;
2033
- repos: Record<string, string>;
2034
- } | undefined;
2035
- backend?: string;
2036
- GUI?: string;
2037
- latestRelease?: {
2038
- releaseDate: string;
2039
- repos: Record<string, string>;
2040
- };
2041
- };
2042
- yesterday?: string;
2043
- };
526
+ app: AppSliceType;
2044
527
  devices: DeviceSliceType;
2045
- deployments: {
2046
- byId: Record<string, Deployment>;
2047
- byStatus: DeploymentByStatus;
2048
- config: DeploymentConfig;
2049
- deploymentDeviceLimit: number;
2050
- selectedDeviceIds: string[];
2051
- selectionState: SelectionState;
2052
- };
2053
- monitor: {
2054
- alerts: {
2055
- alertList: {
2056
- page: number;
2057
- perPage: number;
2058
- total: number;
2059
- };
2060
- byDeviceId: {
2061
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
2062
- fullName?: string;
2063
- }>;
2064
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
2065
- fullName?: string;
2066
- }>;
2067
- };
2068
- };
2069
- issueCounts: {
2070
- byType: {
2071
- issues: {
2072
- filtered: number;
2073
- total: number;
2074
- };
2075
- offline: {
2076
- filtered: number;
2077
- total: number;
2078
- };
2079
- failedLastUpdate: {
2080
- filtered: number;
2081
- total: number;
2082
- };
2083
- monitoring: {
2084
- filtered: number;
2085
- total: number;
2086
- };
2087
- authRequests: {
2088
- filtered: number;
2089
- total: number;
2090
- };
2091
- gatewayDevices: {
2092
- filtered: number;
2093
- total: number;
2094
- };
2095
- };
2096
- };
2097
- settings: {
2098
- global: {
2099
- channels: {
2100
- email: {
2101
- enabled: boolean;
2102
- };
2103
- };
2104
- };
2105
- };
2106
- };
2107
- onboarding: {
2108
- address?: string;
2109
- approach: OnboardingApproach | null;
2110
- complete: boolean;
2111
- demoArtifactPort: number;
2112
- deviceConnection?: string;
2113
- deviceType: string[] | string | null;
2114
- progress: string | null;
2115
- showTips: boolean | null;
2116
- showTipsDialog: boolean;
2117
- };
2118
- organization: OrganizationState;
528
+ deployments: DeploymentsSliceType;
529
+ monitor: MonitorSliceType;
530
+ onboarding: OnboardingSliceType;
531
+ organization: OrganizationSliceType;
2119
532
  releases: ReleaseSliceType;
2120
- users: {
2121
- activationCode?: string;
2122
- byId: Record<string, User>;
2123
- currentSession?: UserSession | object;
2124
- currentUser: string | null;
2125
- customColumns: CustomColumn[];
2126
- globalSettings: GlobalSettings;
2127
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
2128
- qrCode: string | null;
2129
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
2130
- rolesInitialized: boolean;
2131
- settingsInitialized: boolean;
2132
- showConnectDeviceDialog: boolean;
2133
- showFeedbackDialog: boolean;
2134
- showStartupNotification: boolean;
2135
- tooltips: {
2136
- byId: Record<string, {
2137
- readState: ReadState;
2138
- }>;
2139
- };
2140
- userSettings: UserSettings;
2141
- userSettingsInitialized: boolean;
2142
- };
533
+ users: UserSliceType;
2143
534
  }) => any) & {
2144
535
  clearCache: () => void;
2145
536
  resultsCount: () => number;
@@ -2272,138 +663,14 @@ declare const getDeviceConfigDeployment: ((state: any, deviceId: any) => {
2272
663
  argsMemoize: typeof reselect.weakMapMemoize;
2273
664
  };
2274
665
  declare const getDeploymentRelease: ((state: {
2275
- app: {
2276
- cancelSource: any;
2277
- commit: string;
2278
- demoArtifactLink: string;
2279
- docsVersion: string;
2280
- features: Record<string, boolean>;
2281
- feedbackProbability: number;
2282
- firstLoginAfterSignup: boolean;
2283
- hostAddress: string | null;
2284
- hostedAnnouncement: string;
2285
- newThreshold: string;
2286
- offlineThreshold: string;
2287
- recaptchaSiteKey: string;
2288
- searchState: SearchState;
2289
- sentry: SentryConfig;
2290
- snackbar: SnackbarContent;
2291
- stripeAPIKey: string;
2292
- trackerCode: string;
2293
- uploadsById: Record<string, Upload>;
2294
- versionInformation: {
2295
- [key: string]: string | {
2296
- releaseDate: string;
2297
- repos: Record<string, string>;
2298
- } | undefined;
2299
- backend?: string;
2300
- GUI?: string;
2301
- latestRelease?: {
2302
- releaseDate: string;
2303
- repos: Record<string, string>;
2304
- };
2305
- };
2306
- yesterday?: string;
2307
- };
666
+ app: AppSliceType;
2308
667
  devices: DeviceSliceType;
2309
- deployments: {
2310
- byId: Record<string, Deployment>;
2311
- byStatus: DeploymentByStatus;
2312
- config: DeploymentConfig;
2313
- deploymentDeviceLimit: number;
2314
- selectedDeviceIds: string[];
2315
- selectionState: SelectionState;
2316
- };
2317
- monitor: {
2318
- alerts: {
2319
- alertList: {
2320
- page: number;
2321
- perPage: number;
2322
- total: number;
2323
- };
2324
- byDeviceId: {
2325
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
2326
- fullName?: string;
2327
- }>;
2328
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
2329
- fullName?: string;
2330
- }>;
2331
- };
2332
- };
2333
- issueCounts: {
2334
- byType: {
2335
- issues: {
2336
- filtered: number;
2337
- total: number;
2338
- };
2339
- offline: {
2340
- filtered: number;
2341
- total: number;
2342
- };
2343
- failedLastUpdate: {
2344
- filtered: number;
2345
- total: number;
2346
- };
2347
- monitoring: {
2348
- filtered: number;
2349
- total: number;
2350
- };
2351
- authRequests: {
2352
- filtered: number;
2353
- total: number;
2354
- };
2355
- gatewayDevices: {
2356
- filtered: number;
2357
- total: number;
2358
- };
2359
- };
2360
- };
2361
- settings: {
2362
- global: {
2363
- channels: {
2364
- email: {
2365
- enabled: boolean;
2366
- };
2367
- };
2368
- };
2369
- };
2370
- };
2371
- onboarding: {
2372
- address?: string;
2373
- approach: OnboardingApproach | null;
2374
- complete: boolean;
2375
- demoArtifactPort: number;
2376
- deviceConnection?: string;
2377
- deviceType: string[] | string | null;
2378
- progress: string | null;
2379
- showTips: boolean | null;
2380
- showTipsDialog: boolean;
2381
- };
2382
- organization: OrganizationState;
668
+ deployments: DeploymentsSliceType;
669
+ monitor: MonitorSliceType;
670
+ onboarding: OnboardingSliceType;
671
+ organization: OrganizationSliceType;
2383
672
  releases: ReleaseSliceType;
2384
- users: {
2385
- activationCode?: string;
2386
- byId: Record<string, User>;
2387
- currentSession?: UserSession | object;
2388
- currentUser: string | null;
2389
- customColumns: CustomColumn[];
2390
- globalSettings: GlobalSettings;
2391
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
2392
- qrCode: string | null;
2393
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
2394
- rolesInitialized: boolean;
2395
- settingsInitialized: boolean;
2396
- showConnectDeviceDialog: boolean;
2397
- showFeedbackDialog: boolean;
2398
- showStartupNotification: boolean;
2399
- tooltips: {
2400
- byId: Record<string, {
2401
- readState: ReadState;
2402
- }>;
2403
- };
2404
- userSettings: UserSettings;
2405
- userSettingsInitialized: boolean;
2406
- };
673
+ users: UserSliceType;
2407
674
  }) => Release | {
2408
675
  device_types_compatible: never[];
2409
676
  }) & {
@@ -2434,138 +701,14 @@ declare const getDeploymentRelease: ((state: {
2434
701
  argsMemoize: typeof reselect.weakMapMemoize;
2435
702
  };
2436
703
  declare const getSelectedDeploymentData: ((state: {
2437
- app: {
2438
- cancelSource: any;
2439
- commit: string;
2440
- demoArtifactLink: string;
2441
- docsVersion: string;
2442
- features: Record<string, boolean>;
2443
- feedbackProbability: number;
2444
- firstLoginAfterSignup: boolean;
2445
- hostAddress: string | null;
2446
- hostedAnnouncement: string;
2447
- newThreshold: string;
2448
- offlineThreshold: string;
2449
- recaptchaSiteKey: string;
2450
- searchState: SearchState;
2451
- sentry: SentryConfig;
2452
- snackbar: SnackbarContent;
2453
- stripeAPIKey: string;
2454
- trackerCode: string;
2455
- uploadsById: Record<string, Upload>;
2456
- versionInformation: {
2457
- [key: string]: string | {
2458
- releaseDate: string;
2459
- repos: Record<string, string>;
2460
- } | undefined;
2461
- backend?: string;
2462
- GUI?: string;
2463
- latestRelease?: {
2464
- releaseDate: string;
2465
- repos: Record<string, string>;
2466
- };
2467
- };
2468
- yesterday?: string;
2469
- };
704
+ app: AppSliceType;
2470
705
  devices: DeviceSliceType;
2471
- deployments: {
2472
- byId: Record<string, Deployment>;
2473
- byStatus: DeploymentByStatus;
2474
- config: DeploymentConfig;
2475
- deploymentDeviceLimit: number;
2476
- selectedDeviceIds: string[];
2477
- selectionState: SelectionState;
2478
- };
2479
- monitor: {
2480
- alerts: {
2481
- alertList: {
2482
- page: number;
2483
- perPage: number;
2484
- total: number;
2485
- };
2486
- byDeviceId: {
2487
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
2488
- fullName?: string;
2489
- }>;
2490
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
2491
- fullName?: string;
2492
- }>;
2493
- };
2494
- };
2495
- issueCounts: {
2496
- byType: {
2497
- issues: {
2498
- filtered: number;
2499
- total: number;
2500
- };
2501
- offline: {
2502
- filtered: number;
2503
- total: number;
2504
- };
2505
- failedLastUpdate: {
2506
- filtered: number;
2507
- total: number;
2508
- };
2509
- monitoring: {
2510
- filtered: number;
2511
- total: number;
2512
- };
2513
- authRequests: {
2514
- filtered: number;
2515
- total: number;
2516
- };
2517
- gatewayDevices: {
2518
- filtered: number;
2519
- total: number;
2520
- };
2521
- };
2522
- };
2523
- settings: {
2524
- global: {
2525
- channels: {
2526
- email: {
2527
- enabled: boolean;
2528
- };
2529
- };
2530
- };
2531
- };
2532
- };
2533
- onboarding: {
2534
- address?: string;
2535
- approach: OnboardingApproach | null;
2536
- complete: boolean;
2537
- demoArtifactPort: number;
2538
- deviceConnection?: string;
2539
- deviceType: string[] | string | null;
2540
- progress: string | null;
2541
- showTips: boolean | null;
2542
- showTipsDialog: boolean;
2543
- };
2544
- organization: OrganizationState;
706
+ deployments: DeploymentsSliceType;
707
+ monitor: MonitorSliceType;
708
+ onboarding: OnboardingSliceType;
709
+ organization: OrganizationSliceType;
2545
710
  releases: ReleaseSliceType;
2546
- users: {
2547
- activationCode?: string;
2548
- byId: Record<string, User>;
2549
- currentSession?: UserSession | object;
2550
- currentUser: string | null;
2551
- customColumns: CustomColumn[];
2552
- globalSettings: GlobalSettings;
2553
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
2554
- qrCode: string | null;
2555
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
2556
- rolesInitialized: boolean;
2557
- settingsInitialized: boolean;
2558
- showConnectDeviceDialog: boolean;
2559
- showFeedbackDialog: boolean;
2560
- showStartupNotification: boolean;
2561
- tooltips: {
2562
- byId: Record<string, {
2563
- readState: ReadState;
2564
- }>;
2565
- };
2566
- userSettings: UserSettings;
2567
- userSettingsInitialized: boolean;
2568
- };
711
+ users: UserSliceType;
2569
712
  }) => {
2570
713
  deployment: any;
2571
714
  selectedDevices: any[];
@@ -2634,138 +777,14 @@ declare const getAvailableIssueOptionsByType: ((state: any) => {}) & {
2634
777
  };
2635
778
  lastResult: () => {};
2636
779
  dependencies: [(state: RootState) => Record<string, boolean>, ((state: {
2637
- app: {
2638
- cancelSource: any;
2639
- commit: string;
2640
- demoArtifactLink: string;
2641
- docsVersion: string;
2642
- features: Record<string, boolean>;
2643
- feedbackProbability: number;
2644
- firstLoginAfterSignup: boolean;
2645
- hostAddress: string | null;
2646
- hostedAnnouncement: string;
2647
- newThreshold: string;
2648
- offlineThreshold: string;
2649
- recaptchaSiteKey: string;
2650
- searchState: SearchState;
2651
- sentry: SentryConfig;
2652
- snackbar: SnackbarContent;
2653
- stripeAPIKey: string;
2654
- trackerCode: string;
2655
- uploadsById: Record<string, Upload>;
2656
- versionInformation: {
2657
- [key: string]: string | {
2658
- releaseDate: string;
2659
- repos: Record<string, string>;
2660
- } | undefined;
2661
- backend?: string;
2662
- GUI?: string;
2663
- latestRelease?: {
2664
- releaseDate: string;
2665
- repos: Record<string, string>;
2666
- };
2667
- };
2668
- yesterday?: string;
2669
- };
780
+ app: AppSliceType;
2670
781
  devices: DeviceSliceType;
2671
- deployments: {
2672
- byId: Record<string, Deployment>;
2673
- byStatus: DeploymentByStatus;
2674
- config: DeploymentConfig;
2675
- deploymentDeviceLimit: number;
2676
- selectedDeviceIds: string[];
2677
- selectionState: SelectionState;
2678
- };
2679
- monitor: {
2680
- alerts: {
2681
- alertList: {
2682
- page: number;
2683
- perPage: number;
2684
- total: number;
2685
- };
2686
- byDeviceId: {
2687
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
2688
- fullName?: string;
2689
- }>;
2690
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
2691
- fullName?: string;
2692
- }>;
2693
- };
2694
- };
2695
- issueCounts: {
2696
- byType: {
2697
- issues: {
2698
- filtered: number;
2699
- total: number;
2700
- };
2701
- offline: {
2702
- filtered: number;
2703
- total: number;
2704
- };
2705
- failedLastUpdate: {
2706
- filtered: number;
2707
- total: number;
2708
- };
2709
- monitoring: {
2710
- filtered: number;
2711
- total: number;
2712
- };
2713
- authRequests: {
2714
- filtered: number;
2715
- total: number;
2716
- };
2717
- gatewayDevices: {
2718
- filtered: number;
2719
- total: number;
2720
- };
2721
- };
2722
- };
2723
- settings: {
2724
- global: {
2725
- channels: {
2726
- email: {
2727
- enabled: boolean;
2728
- };
2729
- };
2730
- };
2731
- };
2732
- };
2733
- onboarding: {
2734
- address?: string;
2735
- approach: OnboardingApproach | null;
2736
- complete: boolean;
2737
- demoArtifactPort: number;
2738
- deviceConnection?: string;
2739
- deviceType: string[] | string | null;
2740
- progress: string | null;
2741
- showTips: boolean | null;
2742
- showTipsDialog: boolean;
2743
- };
2744
- organization: OrganizationState;
782
+ deployments: DeploymentsSliceType;
783
+ monitor: MonitorSliceType;
784
+ onboarding: OnboardingSliceType;
785
+ organization: OrganizationSliceType;
2745
786
  releases: ReleaseSliceType;
2746
- users: {
2747
- activationCode?: string;
2748
- byId: Record<string, User>;
2749
- currentSession?: UserSession | object;
2750
- currentUser: string | null;
2751
- customColumns: CustomColumn[];
2752
- globalSettings: GlobalSettings;
2753
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
2754
- qrCode: string | null;
2755
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
2756
- rolesInitialized: boolean;
2757
- settingsInitialized: boolean;
2758
- showConnectDeviceDialog: boolean;
2759
- showFeedbackDialog: boolean;
2760
- showStartupNotification: boolean;
2761
- tooltips: {
2762
- byId: Record<string, {
2763
- readState: ReadState;
2764
- }>;
2765
- };
2766
- userSettings: UserSettings;
2767
- userSettingsInitialized: boolean;
2768
- };
787
+ users: UserSliceType;
2769
788
  }) => {
2770
789
  canDelta: boolean;
2771
790
  canRetry: boolean;
@@ -2823,138 +842,14 @@ declare const getAvailableIssueOptionsByType: ((state: any) => {}) & {
2823
842
  plan: AvailablePlans;
2824
843
  };
2825
844
  dependencies: [(state: RootState) => Record<string, boolean>, (state: RootState) => Partial<Organization>, ((state: {
2826
- app: {
2827
- cancelSource: any;
2828
- commit: string;
2829
- demoArtifactLink: string;
2830
- docsVersion: string;
2831
- features: Record<string, boolean>;
2832
- feedbackProbability: number;
2833
- firstLoginAfterSignup: boolean;
2834
- hostAddress: string | null;
2835
- hostedAnnouncement: string;
2836
- newThreshold: string;
2837
- offlineThreshold: string;
2838
- recaptchaSiteKey: string;
2839
- searchState: SearchState;
2840
- sentry: SentryConfig;
2841
- snackbar: SnackbarContent;
2842
- stripeAPIKey: string;
2843
- trackerCode: string;
2844
- uploadsById: Record<string, Upload>;
2845
- versionInformation: {
2846
- [key: string]: string | {
2847
- releaseDate: string;
2848
- repos: Record<string, string>;
2849
- } | undefined;
2850
- backend?: string;
2851
- GUI?: string;
2852
- latestRelease?: {
2853
- releaseDate: string;
2854
- repos: Record<string, string>;
2855
- };
2856
- };
2857
- yesterday?: string;
2858
- };
845
+ app: AppSliceType;
2859
846
  devices: DeviceSliceType;
2860
- deployments: {
2861
- byId: Record<string, Deployment>;
2862
- byStatus: DeploymentByStatus;
2863
- config: DeploymentConfig;
2864
- deploymentDeviceLimit: number;
2865
- selectedDeviceIds: string[];
2866
- selectionState: SelectionState;
2867
- };
2868
- monitor: {
2869
- alerts: {
2870
- alertList: {
2871
- page: number;
2872
- perPage: number;
2873
- total: number;
2874
- };
2875
- byDeviceId: {
2876
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
2877
- fullName?: string;
2878
- }>;
2879
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
2880
- fullName?: string;
2881
- }>;
2882
- };
2883
- };
2884
- issueCounts: {
2885
- byType: {
2886
- issues: {
2887
- filtered: number;
2888
- total: number;
2889
- };
2890
- offline: {
2891
- filtered: number;
2892
- total: number;
2893
- };
2894
- failedLastUpdate: {
2895
- filtered: number;
2896
- total: number;
2897
- };
2898
- monitoring: {
2899
- filtered: number;
2900
- total: number;
2901
- };
2902
- authRequests: {
2903
- filtered: number;
2904
- total: number;
2905
- };
2906
- gatewayDevices: {
2907
- filtered: number;
2908
- total: number;
2909
- };
2910
- };
2911
- };
2912
- settings: {
2913
- global: {
2914
- channels: {
2915
- email: {
2916
- enabled: boolean;
2917
- };
2918
- };
2919
- };
2920
- };
2921
- };
2922
- onboarding: {
2923
- address?: string;
2924
- approach: OnboardingApproach | null;
2925
- complete: boolean;
2926
- demoArtifactPort: number;
2927
- deviceConnection?: string;
2928
- deviceType: string[] | string | null;
2929
- progress: string | null;
2930
- showTips: boolean | null;
2931
- showTipsDialog: boolean;
2932
- };
2933
- organization: OrganizationState;
847
+ deployments: DeploymentsSliceType;
848
+ monitor: MonitorSliceType;
849
+ onboarding: OnboardingSliceType;
850
+ organization: OrganizationSliceType;
2934
851
  releases: ReleaseSliceType;
2935
- users: {
2936
- activationCode?: string;
2937
- byId: Record<string, User>;
2938
- currentSession?: UserSession | object;
2939
- currentUser: string | null;
2940
- customColumns: CustomColumn[];
2941
- globalSettings: GlobalSettings;
2942
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
2943
- qrCode: string | null;
2944
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
2945
- rolesInitialized: boolean;
2946
- settingsInitialized: boolean;
2947
- showConnectDeviceDialog: boolean;
2948
- showFeedbackDialog: boolean;
2949
- showStartupNotification: boolean;
2950
- tooltips: {
2951
- byId: Record<string, {
2952
- readState: ReadState;
2953
- }>;
2954
- };
2955
- userSettings: UserSettings;
2956
- userSettingsInitialized: boolean;
2957
- };
852
+ users: UserSliceType;
2958
853
  }) => boolean) & {
2959
854
  clearCache: () => void;
2960
855
  resultsCount: () => number;
@@ -2993,138 +888,14 @@ declare const getAvailableIssueOptionsByType: ((state: any) => {}) & {
2993
888
  argsMemoize: typeof reselect.weakMapMemoize;
2994
889
  };
2995
890
  declare const getGroupNames: ((state: {
2996
- app: {
2997
- cancelSource: any;
2998
- commit: string;
2999
- demoArtifactLink: string;
3000
- docsVersion: string;
3001
- features: Record<string, boolean>;
3002
- feedbackProbability: number;
3003
- firstLoginAfterSignup: boolean;
3004
- hostAddress: string | null;
3005
- hostedAnnouncement: string;
3006
- newThreshold: string;
3007
- offlineThreshold: string;
3008
- recaptchaSiteKey: string;
3009
- searchState: SearchState;
3010
- sentry: SentryConfig;
3011
- snackbar: SnackbarContent;
3012
- stripeAPIKey: string;
3013
- trackerCode: string;
3014
- uploadsById: Record<string, Upload>;
3015
- versionInformation: {
3016
- [key: string]: string | {
3017
- releaseDate: string;
3018
- repos: Record<string, string>;
3019
- } | undefined;
3020
- backend?: string;
3021
- GUI?: string;
3022
- latestRelease?: {
3023
- releaseDate: string;
3024
- repos: Record<string, string>;
3025
- };
3026
- };
3027
- yesterday?: string;
3028
- };
891
+ app: AppSliceType;
3029
892
  devices: DeviceSliceType;
3030
- deployments: {
3031
- byId: Record<string, Deployment>;
3032
- byStatus: DeploymentByStatus;
3033
- config: DeploymentConfig;
3034
- deploymentDeviceLimit: number;
3035
- selectedDeviceIds: string[];
3036
- selectionState: SelectionState;
3037
- };
3038
- monitor: {
3039
- alerts: {
3040
- alertList: {
3041
- page: number;
3042
- perPage: number;
3043
- total: number;
3044
- };
3045
- byDeviceId: {
3046
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
3047
- fullName?: string;
3048
- }>;
3049
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
3050
- fullName?: string;
3051
- }>;
3052
- };
3053
- };
3054
- issueCounts: {
3055
- byType: {
3056
- issues: {
3057
- filtered: number;
3058
- total: number;
3059
- };
3060
- offline: {
3061
- filtered: number;
3062
- total: number;
3063
- };
3064
- failedLastUpdate: {
3065
- filtered: number;
3066
- total: number;
3067
- };
3068
- monitoring: {
3069
- filtered: number;
3070
- total: number;
3071
- };
3072
- authRequests: {
3073
- filtered: number;
3074
- total: number;
3075
- };
3076
- gatewayDevices: {
3077
- filtered: number;
3078
- total: number;
3079
- };
3080
- };
3081
- };
3082
- settings: {
3083
- global: {
3084
- channels: {
3085
- email: {
3086
- enabled: boolean;
3087
- };
3088
- };
3089
- };
3090
- };
3091
- };
3092
- onboarding: {
3093
- address?: string;
3094
- approach: OnboardingApproach | null;
3095
- complete: boolean;
3096
- demoArtifactPort: number;
3097
- deviceConnection?: string;
3098
- deviceType: string[] | string | null;
3099
- progress: string | null;
3100
- showTips: boolean | null;
3101
- showTipsDialog: boolean;
3102
- };
3103
- organization: OrganizationState;
893
+ deployments: DeploymentsSliceType;
894
+ monitor: MonitorSliceType;
895
+ onboarding: OnboardingSliceType;
896
+ organization: OrganizationSliceType;
3104
897
  releases: ReleaseSliceType;
3105
- users: {
3106
- activationCode?: string;
3107
- byId: Record<string, User>;
3108
- currentSession?: UserSession | object;
3109
- currentUser: string | null;
3110
- customColumns: CustomColumn[];
3111
- globalSettings: GlobalSettings;
3112
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
3113
- qrCode: string | null;
3114
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
3115
- rolesInitialized: boolean;
3116
- settingsInitialized: boolean;
3117
- showConnectDeviceDialog: boolean;
3118
- showFeedbackDialog: boolean;
3119
- showStartupNotification: boolean;
3120
- tooltips: {
3121
- byId: Record<string, {
3122
- readState: ReadState;
3123
- }>;
3124
- };
3125
- userSettings: UserSettings;
3126
- userSettingsInitialized: boolean;
3127
- };
898
+ users: UserSliceType;
3128
899
  }) => string[]) & {
3129
900
  clearCache: () => void;
3130
901
  resultsCount: () => number;
@@ -3144,138 +915,14 @@ declare const getGroupNames: ((state: {
3144
915
  };
3145
916
  lastResult: () => string[];
3146
917
  dependencies: [(state: RootState) => Record<string, DeviceGroup>, ((state: {
3147
- app: {
3148
- cancelSource: any;
3149
- commit: string;
3150
- demoArtifactLink: string;
3151
- docsVersion: string;
3152
- features: Record<string, boolean>;
3153
- feedbackProbability: number;
3154
- firstLoginAfterSignup: boolean;
3155
- hostAddress: string | null;
3156
- hostedAnnouncement: string;
3157
- newThreshold: string;
3158
- offlineThreshold: string;
3159
- recaptchaSiteKey: string;
3160
- searchState: SearchState;
3161
- sentry: SentryConfig;
3162
- snackbar: SnackbarContent;
3163
- stripeAPIKey: string;
3164
- trackerCode: string;
3165
- uploadsById: Record<string, Upload>;
3166
- versionInformation: {
3167
- [key: string]: string | {
3168
- releaseDate: string;
3169
- repos: Record<string, string>;
3170
- } | undefined;
3171
- backend?: string;
3172
- GUI?: string;
3173
- latestRelease?: {
3174
- releaseDate: string;
3175
- repos: Record<string, string>;
3176
- };
3177
- };
3178
- yesterday?: string;
3179
- };
918
+ app: AppSliceType;
3180
919
  devices: DeviceSliceType;
3181
- deployments: {
3182
- byId: Record<string, Deployment>;
3183
- byStatus: DeploymentByStatus;
3184
- config: DeploymentConfig;
3185
- deploymentDeviceLimit: number;
3186
- selectedDeviceIds: string[];
3187
- selectionState: SelectionState;
3188
- };
3189
- monitor: {
3190
- alerts: {
3191
- alertList: {
3192
- page: number;
3193
- perPage: number;
3194
- total: number;
3195
- };
3196
- byDeviceId: {
3197
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
3198
- fullName?: string;
3199
- }>;
3200
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
3201
- fullName?: string;
3202
- }>;
3203
- };
3204
- };
3205
- issueCounts: {
3206
- byType: {
3207
- issues: {
3208
- filtered: number;
3209
- total: number;
3210
- };
3211
- offline: {
3212
- filtered: number;
3213
- total: number;
3214
- };
3215
- failedLastUpdate: {
3216
- filtered: number;
3217
- total: number;
3218
- };
3219
- monitoring: {
3220
- filtered: number;
3221
- total: number;
3222
- };
3223
- authRequests: {
3224
- filtered: number;
3225
- total: number;
3226
- };
3227
- gatewayDevices: {
3228
- filtered: number;
3229
- total: number;
3230
- };
3231
- };
3232
- };
3233
- settings: {
3234
- global: {
3235
- channels: {
3236
- email: {
3237
- enabled: boolean;
3238
- };
3239
- };
3240
- };
3241
- };
3242
- };
3243
- onboarding: {
3244
- address?: string;
3245
- approach: OnboardingApproach | null;
3246
- complete: boolean;
3247
- demoArtifactPort: number;
3248
- deviceConnection?: string;
3249
- deviceType: string[] | string | null;
3250
- progress: string | null;
3251
- showTips: boolean | null;
3252
- showTipsDialog: boolean;
3253
- };
3254
- organization: OrganizationState;
920
+ deployments: DeploymentsSliceType;
921
+ monitor: MonitorSliceType;
922
+ onboarding: OnboardingSliceType;
923
+ organization: OrganizationSliceType;
3255
924
  releases: ReleaseSliceType;
3256
- users: {
3257
- activationCode?: string;
3258
- byId: Record<string, User>;
3259
- currentSession?: UserSession | object;
3260
- currentUser: string | null;
3261
- customColumns: CustomColumn[];
3262
- globalSettings: GlobalSettings;
3263
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
3264
- qrCode: string | null;
3265
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
3266
- rolesInitialized: boolean;
3267
- settingsInitialized: boolean;
3268
- showConnectDeviceDialog: boolean;
3269
- showFeedbackDialog: boolean;
3270
- showStartupNotification: boolean;
3271
- tooltips: {
3272
- byId: Record<string, {
3273
- readState: ReadState;
3274
- }>;
3275
- };
3276
- userSettings: UserSettings;
3277
- userSettingsInitialized: boolean;
3278
- };
925
+ users: UserSliceType;
3279
926
  }) => {
3280
927
  isAdmin: boolean;
3281
928
  uiPermissions: any;
@@ -3301,138 +948,14 @@ declare const getGroupNames: ((state: {
3301
948
  uiPermissions: any;
3302
949
  };
3303
950
  dependencies: [((state: {
3304
- app: {
3305
- cancelSource: any;
3306
- commit: string;
3307
- demoArtifactLink: string;
3308
- docsVersion: string;
3309
- features: Record<string, boolean>;
3310
- feedbackProbability: number;
3311
- firstLoginAfterSignup: boolean;
3312
- hostAddress: string | null;
3313
- hostedAnnouncement: string;
3314
- newThreshold: string;
3315
- offlineThreshold: string;
3316
- recaptchaSiteKey: string;
3317
- searchState: SearchState;
3318
- sentry: SentryConfig;
3319
- snackbar: SnackbarContent;
3320
- stripeAPIKey: string;
3321
- trackerCode: string;
3322
- uploadsById: Record<string, Upload>;
3323
- versionInformation: {
3324
- [key: string]: string | {
3325
- releaseDate: string;
3326
- repos: Record<string, string>;
3327
- } | undefined;
3328
- backend?: string;
3329
- GUI?: string;
3330
- latestRelease?: {
3331
- releaseDate: string;
3332
- repos: Record<string, string>;
3333
- };
3334
- };
3335
- yesterday?: string;
3336
- };
951
+ app: AppSliceType;
3337
952
  devices: DeviceSliceType;
3338
- deployments: {
3339
- byId: Record<string, Deployment>;
3340
- byStatus: DeploymentByStatus;
3341
- config: DeploymentConfig;
3342
- deploymentDeviceLimit: number;
3343
- selectedDeviceIds: string[];
3344
- selectionState: SelectionState;
3345
- };
3346
- monitor: {
3347
- alerts: {
3348
- alertList: {
3349
- page: number;
3350
- perPage: number;
3351
- total: number;
3352
- };
3353
- byDeviceId: {
3354
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
3355
- fullName?: string;
3356
- }>;
3357
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
3358
- fullName?: string;
3359
- }>;
3360
- };
3361
- };
3362
- issueCounts: {
3363
- byType: {
3364
- issues: {
3365
- filtered: number;
3366
- total: number;
3367
- };
3368
- offline: {
3369
- filtered: number;
3370
- total: number;
3371
- };
3372
- failedLastUpdate: {
3373
- filtered: number;
3374
- total: number;
3375
- };
3376
- monitoring: {
3377
- filtered: number;
3378
- total: number;
3379
- };
3380
- authRequests: {
3381
- filtered: number;
3382
- total: number;
3383
- };
3384
- gatewayDevices: {
3385
- filtered: number;
3386
- total: number;
3387
- };
3388
- };
3389
- };
3390
- settings: {
3391
- global: {
3392
- channels: {
3393
- email: {
3394
- enabled: boolean;
3395
- };
3396
- };
3397
- };
3398
- };
3399
- };
3400
- onboarding: {
3401
- address?: string;
3402
- approach: OnboardingApproach | null;
3403
- complete: boolean;
3404
- demoArtifactPort: number;
3405
- deviceConnection?: string;
3406
- deviceType: string[] | string | null;
3407
- progress: string | null;
3408
- showTips: boolean | null;
3409
- showTipsDialog: boolean;
3410
- };
3411
- organization: OrganizationState;
953
+ deployments: DeploymentsSliceType;
954
+ monitor: MonitorSliceType;
955
+ onboarding: OnboardingSliceType;
956
+ organization: OrganizationSliceType;
3412
957
  releases: ReleaseSliceType;
3413
- users: {
3414
- activationCode?: string;
3415
- byId: Record<string, User>;
3416
- currentSession?: UserSession | object;
3417
- currentUser: string | null;
3418
- customColumns: CustomColumn[];
3419
- globalSettings: GlobalSettings;
3420
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
3421
- qrCode: string | null;
3422
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
3423
- rolesInitialized: boolean;
3424
- settingsInitialized: boolean;
3425
- showConnectDeviceDialog: boolean;
3426
- showFeedbackDialog: boolean;
3427
- showStartupNotification: boolean;
3428
- tooltips: {
3429
- byId: Record<string, {
3430
- readState: ReadState;
3431
- }>;
3432
- };
3433
- userSettings: UserSettings;
3434
- userSettingsInitialized: boolean;
3435
- };
958
+ users: UserSliceType;
3436
959
  }) => User) & {
3437
960
  clearCache: () => void;
3438
961
  resultsCount: () => number;
@@ -3454,138 +977,14 @@ declare const getGroupNames: ((state: {
3454
977
  memoize: typeof reselect.weakMapMemoize;
3455
978
  argsMemoize: typeof reselect.weakMapMemoize;
3456
979
  }, (state: RootState) => Record<string, _northern_tech_utils_constants.Role>, ((state: {
3457
- app: {
3458
- cancelSource: any;
3459
- commit: string;
3460
- demoArtifactLink: string;
3461
- docsVersion: string;
3462
- features: Record<string, boolean>;
3463
- feedbackProbability: number;
3464
- firstLoginAfterSignup: boolean;
3465
- hostAddress: string | null;
3466
- hostedAnnouncement: string;
3467
- newThreshold: string;
3468
- offlineThreshold: string;
3469
- recaptchaSiteKey: string;
3470
- searchState: SearchState;
3471
- sentry: SentryConfig;
3472
- snackbar: SnackbarContent;
3473
- stripeAPIKey: string;
3474
- trackerCode: string;
3475
- uploadsById: Record<string, Upload>;
3476
- versionInformation: {
3477
- [key: string]: string | {
3478
- releaseDate: string;
3479
- repos: Record<string, string>;
3480
- } | undefined;
3481
- backend?: string;
3482
- GUI?: string;
3483
- latestRelease?: {
3484
- releaseDate: string;
3485
- repos: Record<string, string>;
3486
- };
3487
- };
3488
- yesterday?: string;
3489
- };
980
+ app: AppSliceType;
3490
981
  devices: DeviceSliceType;
3491
- deployments: {
3492
- byId: Record<string, Deployment>;
3493
- byStatus: DeploymentByStatus;
3494
- config: DeploymentConfig;
3495
- deploymentDeviceLimit: number;
3496
- selectedDeviceIds: string[];
3497
- selectionState: SelectionState;
3498
- };
3499
- monitor: {
3500
- alerts: {
3501
- alertList: {
3502
- page: number;
3503
- perPage: number;
3504
- total: number;
3505
- };
3506
- byDeviceId: {
3507
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
3508
- fullName?: string;
3509
- }>;
3510
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
3511
- fullName?: string;
3512
- }>;
3513
- };
3514
- };
3515
- issueCounts: {
3516
- byType: {
3517
- issues: {
3518
- filtered: number;
3519
- total: number;
3520
- };
3521
- offline: {
3522
- filtered: number;
3523
- total: number;
3524
- };
3525
- failedLastUpdate: {
3526
- filtered: number;
3527
- total: number;
3528
- };
3529
- monitoring: {
3530
- filtered: number;
3531
- total: number;
3532
- };
3533
- authRequests: {
3534
- filtered: number;
3535
- total: number;
3536
- };
3537
- gatewayDevices: {
3538
- filtered: number;
3539
- total: number;
3540
- };
3541
- };
3542
- };
3543
- settings: {
3544
- global: {
3545
- channels: {
3546
- email: {
3547
- enabled: boolean;
3548
- };
3549
- };
3550
- };
3551
- };
3552
- };
3553
- onboarding: {
3554
- address?: string;
3555
- approach: OnboardingApproach | null;
3556
- complete: boolean;
3557
- demoArtifactPort: number;
3558
- deviceConnection?: string;
3559
- deviceType: string[] | string | null;
3560
- progress: string | null;
3561
- showTips: boolean | null;
3562
- showTipsDialog: boolean;
3563
- };
3564
- organization: OrganizationState;
982
+ deployments: DeploymentsSliceType;
983
+ monitor: MonitorSliceType;
984
+ onboarding: OnboardingSliceType;
985
+ organization: OrganizationSliceType;
3565
986
  releases: ReleaseSliceType;
3566
- users: {
3567
- activationCode?: string;
3568
- byId: Record<string, User>;
3569
- currentSession?: UserSession | object;
3570
- currentUser: string | null;
3571
- customColumns: CustomColumn[];
3572
- globalSettings: GlobalSettings;
3573
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
3574
- qrCode: string | null;
3575
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
3576
- rolesInitialized: boolean;
3577
- settingsInitialized: boolean;
3578
- showConnectDeviceDialog: boolean;
3579
- showFeedbackDialog: boolean;
3580
- showStartupNotification: boolean;
3581
- tooltips: {
3582
- byId: Record<string, {
3583
- readState: ReadState;
3584
- }>;
3585
- };
3586
- userSettings: UserSettings;
3587
- userSettingsInitialized: boolean;
3588
- };
987
+ users: UserSliceType;
3589
988
  }) => boolean) & {
3590
989
  clearCache: () => void;
3591
990
  resultsCount: () => number;
@@ -3624,138 +1023,14 @@ declare const getGroupNames: ((state: {
3624
1023
  argsMemoize: typeof reselect.weakMapMemoize;
3625
1024
  };
3626
1025
  declare const getDeviceReportsForUser: ((state: {
3627
- app: {
3628
- cancelSource: any;
3629
- commit: string;
3630
- demoArtifactLink: string;
3631
- docsVersion: string;
3632
- features: Record<string, boolean>;
3633
- feedbackProbability: number;
3634
- firstLoginAfterSignup: boolean;
3635
- hostAddress: string | null;
3636
- hostedAnnouncement: string;
3637
- newThreshold: string;
3638
- offlineThreshold: string;
3639
- recaptchaSiteKey: string;
3640
- searchState: SearchState;
3641
- sentry: SentryConfig;
3642
- snackbar: SnackbarContent;
3643
- stripeAPIKey: string;
3644
- trackerCode: string;
3645
- uploadsById: Record<string, Upload>;
3646
- versionInformation: {
3647
- [key: string]: string | {
3648
- releaseDate: string;
3649
- repos: Record<string, string>;
3650
- } | undefined;
3651
- backend?: string;
3652
- GUI?: string;
3653
- latestRelease?: {
3654
- releaseDate: string;
3655
- repos: Record<string, string>;
3656
- };
3657
- };
3658
- yesterday?: string;
3659
- };
1026
+ app: AppSliceType;
3660
1027
  devices: DeviceSliceType;
3661
- deployments: {
3662
- byId: Record<string, Deployment>;
3663
- byStatus: DeploymentByStatus;
3664
- config: DeploymentConfig;
3665
- deploymentDeviceLimit: number;
3666
- selectedDeviceIds: string[];
3667
- selectionState: SelectionState;
3668
- };
3669
- monitor: {
3670
- alerts: {
3671
- alertList: {
3672
- page: number;
3673
- perPage: number;
3674
- total: number;
3675
- };
3676
- byDeviceId: {
3677
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
3678
- fullName?: string;
3679
- }>;
3680
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
3681
- fullName?: string;
3682
- }>;
3683
- };
3684
- };
3685
- issueCounts: {
3686
- byType: {
3687
- issues: {
3688
- filtered: number;
3689
- total: number;
3690
- };
3691
- offline: {
3692
- filtered: number;
3693
- total: number;
3694
- };
3695
- failedLastUpdate: {
3696
- filtered: number;
3697
- total: number;
3698
- };
3699
- monitoring: {
3700
- filtered: number;
3701
- total: number;
3702
- };
3703
- authRequests: {
3704
- filtered: number;
3705
- total: number;
3706
- };
3707
- gatewayDevices: {
3708
- filtered: number;
3709
- total: number;
3710
- };
3711
- };
3712
- };
3713
- settings: {
3714
- global: {
3715
- channels: {
3716
- email: {
3717
- enabled: boolean;
3718
- };
3719
- };
3720
- };
3721
- };
3722
- };
3723
- onboarding: {
3724
- address?: string;
3725
- approach: OnboardingApproach | null;
3726
- complete: boolean;
3727
- demoArtifactPort: number;
3728
- deviceConnection?: string;
3729
- deviceType: string[] | string | null;
3730
- progress: string | null;
3731
- showTips: boolean | null;
3732
- showTipsDialog: boolean;
3733
- };
3734
- organization: OrganizationState;
1028
+ deployments: DeploymentsSliceType;
1029
+ monitor: MonitorSliceType;
1030
+ onboarding: OnboardingSliceType;
1031
+ organization: OrganizationSliceType;
3735
1032
  releases: ReleaseSliceType;
3736
- users: {
3737
- activationCode?: string;
3738
- byId: Record<string, User>;
3739
- currentSession?: UserSession | object;
3740
- currentUser: string | null;
3741
- customColumns: CustomColumn[];
3742
- globalSettings: GlobalSettings;
3743
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
3744
- qrCode: string | null;
3745
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
3746
- rolesInitialized: boolean;
3747
- settingsInitialized: boolean;
3748
- showConnectDeviceDialog: boolean;
3749
- showFeedbackDialog: boolean;
3750
- showStartupNotification: boolean;
3751
- tooltips: {
3752
- byId: Record<string, {
3753
- readState: ReadState;
3754
- }>;
3755
- };
3756
- userSettings: UserSettings;
3757
- userSettingsInitialized: boolean;
3758
- };
1033
+ users: UserSliceType;
3759
1034
  }) => any) & {
3760
1035
  clearCache: () => void;
3761
1036
  resultsCount: () => number;
@@ -3769,138 +1044,14 @@ declare const getDeviceReportsForUser: ((state: {
3769
1044
  };
3770
1045
  lastResult: () => any;
3771
1046
  dependencies: [(state: RootState) => UserSettings, ((state: {
3772
- app: {
3773
- cancelSource: any;
3774
- commit: string;
3775
- demoArtifactLink: string;
3776
- docsVersion: string;
3777
- features: Record<string, boolean>;
3778
- feedbackProbability: number;
3779
- firstLoginAfterSignup: boolean;
3780
- hostAddress: string | null;
3781
- hostedAnnouncement: string;
3782
- newThreshold: string;
3783
- offlineThreshold: string;
3784
- recaptchaSiteKey: string;
3785
- searchState: SearchState;
3786
- sentry: SentryConfig;
3787
- snackbar: SnackbarContent;
3788
- stripeAPIKey: string;
3789
- trackerCode: string;
3790
- uploadsById: Record<string, Upload>;
3791
- versionInformation: {
3792
- [key: string]: string | {
3793
- releaseDate: string;
3794
- repos: Record<string, string>;
3795
- } | undefined;
3796
- backend?: string;
3797
- GUI?: string;
3798
- latestRelease?: {
3799
- releaseDate: string;
3800
- repos: Record<string, string>;
3801
- };
3802
- };
3803
- yesterday?: string;
3804
- };
1047
+ app: AppSliceType;
3805
1048
  devices: DeviceSliceType;
3806
- deployments: {
3807
- byId: Record<string, Deployment>;
3808
- byStatus: DeploymentByStatus;
3809
- config: DeploymentConfig;
3810
- deploymentDeviceLimit: number;
3811
- selectedDeviceIds: string[];
3812
- selectionState: SelectionState;
3813
- };
3814
- monitor: {
3815
- alerts: {
3816
- alertList: {
3817
- page: number;
3818
- perPage: number;
3819
- total: number;
3820
- };
3821
- byDeviceId: {
3822
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
3823
- fullName?: string;
3824
- }>;
3825
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
3826
- fullName?: string;
3827
- }>;
3828
- };
3829
- };
3830
- issueCounts: {
3831
- byType: {
3832
- issues: {
3833
- filtered: number;
3834
- total: number;
3835
- };
3836
- offline: {
3837
- filtered: number;
3838
- total: number;
3839
- };
3840
- failedLastUpdate: {
3841
- filtered: number;
3842
- total: number;
3843
- };
3844
- monitoring: {
3845
- filtered: number;
3846
- total: number;
3847
- };
3848
- authRequests: {
3849
- filtered: number;
3850
- total: number;
3851
- };
3852
- gatewayDevices: {
3853
- filtered: number;
3854
- total: number;
3855
- };
3856
- };
3857
- };
3858
- settings: {
3859
- global: {
3860
- channels: {
3861
- email: {
3862
- enabled: boolean;
3863
- };
3864
- };
3865
- };
3866
- };
3867
- };
3868
- onboarding: {
3869
- address?: string;
3870
- approach: OnboardingApproach | null;
3871
- complete: boolean;
3872
- demoArtifactPort: number;
3873
- deviceConnection?: string;
3874
- deviceType: string[] | string | null;
3875
- progress: string | null;
3876
- showTips: boolean | null;
3877
- showTipsDialog: boolean;
3878
- };
3879
- organization: OrganizationState;
1049
+ deployments: DeploymentsSliceType;
1050
+ monitor: MonitorSliceType;
1051
+ onboarding: OnboardingSliceType;
1052
+ organization: OrganizationSliceType;
3880
1053
  releases: ReleaseSliceType;
3881
- users: {
3882
- activationCode?: string;
3883
- byId: Record<string, User>;
3884
- currentSession?: UserSession | object;
3885
- currentUser: string | null;
3886
- customColumns: CustomColumn[];
3887
- globalSettings: GlobalSettings;
3888
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
3889
- qrCode: string | null;
3890
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
3891
- rolesInitialized: boolean;
3892
- settingsInitialized: boolean;
3893
- showConnectDeviceDialog: boolean;
3894
- showFeedbackDialog: boolean;
3895
- showStartupNotification: boolean;
3896
- tooltips: {
3897
- byId: Record<string, {
3898
- readState: ReadState;
3899
- }>;
3900
- };
3901
- userSettings: UserSettings;
3902
- userSettingsInitialized: boolean;
3903
- };
1054
+ users: UserSliceType;
3904
1055
  }) => User) & {
3905
1056
  clearCache: () => void;
3906
1057
  resultsCount: () => number;
@@ -3957,138 +1108,14 @@ declare const getMappedDevicesList: ((state: any, listType: any) => unknown[]) &
3957
1108
  argsMemoize: typeof reselect.weakMapMemoize;
3958
1109
  };
3959
1110
  declare const getAuditlogDevice: ((state: {
3960
- app: {
3961
- cancelSource: any;
3962
- commit: string;
3963
- demoArtifactLink: string;
3964
- docsVersion: string;
3965
- features: Record<string, boolean>;
3966
- feedbackProbability: number;
3967
- firstLoginAfterSignup: boolean;
3968
- hostAddress: string | null;
3969
- hostedAnnouncement: string;
3970
- newThreshold: string;
3971
- offlineThreshold: string;
3972
- recaptchaSiteKey: string;
3973
- searchState: SearchState;
3974
- sentry: SentryConfig;
3975
- snackbar: SnackbarContent;
3976
- stripeAPIKey: string;
3977
- trackerCode: string;
3978
- uploadsById: Record<string, Upload>;
3979
- versionInformation: {
3980
- [key: string]: string | {
3981
- releaseDate: string;
3982
- repos: Record<string, string>;
3983
- } | undefined;
3984
- backend?: string;
3985
- GUI?: string;
3986
- latestRelease?: {
3987
- releaseDate: string;
3988
- repos: Record<string, string>;
3989
- };
3990
- };
3991
- yesterday?: string;
3992
- };
1111
+ app: AppSliceType;
3993
1112
  devices: DeviceSliceType;
3994
- deployments: {
3995
- byId: Record<string, Deployment>;
3996
- byStatus: DeploymentByStatus;
3997
- config: DeploymentConfig;
3998
- deploymentDeviceLimit: number;
3999
- selectedDeviceIds: string[];
4000
- selectionState: SelectionState;
4001
- };
4002
- monitor: {
4003
- alerts: {
4004
- alertList: {
4005
- page: number;
4006
- perPage: number;
4007
- total: number;
4008
- };
4009
- byDeviceId: {
4010
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
4011
- fullName?: string;
4012
- }>;
4013
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
4014
- fullName?: string;
4015
- }>;
4016
- };
4017
- };
4018
- issueCounts: {
4019
- byType: {
4020
- issues: {
4021
- filtered: number;
4022
- total: number;
4023
- };
4024
- offline: {
4025
- filtered: number;
4026
- total: number;
4027
- };
4028
- failedLastUpdate: {
4029
- filtered: number;
4030
- total: number;
4031
- };
4032
- monitoring: {
4033
- filtered: number;
4034
- total: number;
4035
- };
4036
- authRequests: {
4037
- filtered: number;
4038
- total: number;
4039
- };
4040
- gatewayDevices: {
4041
- filtered: number;
4042
- total: number;
4043
- };
4044
- };
4045
- };
4046
- settings: {
4047
- global: {
4048
- channels: {
4049
- email: {
4050
- enabled: boolean;
4051
- };
4052
- };
4053
- };
4054
- };
4055
- };
4056
- onboarding: {
4057
- address?: string;
4058
- approach: OnboardingApproach | null;
4059
- complete: boolean;
4060
- demoArtifactPort: number;
4061
- deviceConnection?: string;
4062
- deviceType: string[] | string | null;
4063
- progress: string | null;
4064
- showTips: boolean | null;
4065
- showTipsDialog: boolean;
4066
- };
4067
- organization: OrganizationState;
1113
+ deployments: DeploymentsSliceType;
1114
+ monitor: MonitorSliceType;
1115
+ onboarding: OnboardingSliceType;
1116
+ organization: OrganizationSliceType;
4068
1117
  releases: ReleaseSliceType;
4069
- users: {
4070
- activationCode?: string;
4071
- byId: Record<string, User>;
4072
- currentSession?: UserSession | object;
4073
- currentUser: string | null;
4074
- customColumns: CustomColumn[];
4075
- globalSettings: GlobalSettings;
4076
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
4077
- qrCode: string | null;
4078
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
4079
- rolesInitialized: boolean;
4080
- settingsInitialized: boolean;
4081
- showConnectDeviceDialog: boolean;
4082
- showFeedbackDialog: boolean;
4083
- showStartupNotification: boolean;
4084
- tooltips: {
4085
- byId: Record<string, {
4086
- readState: ReadState;
4087
- }>;
4088
- };
4089
- userSettings: UserSettings;
4090
- userSettingsInitialized: boolean;
4091
- };
1118
+ users: UserSliceType;
4092
1119
  }) => {
4093
1120
  id: string;
4094
1121
  identity_data?: _northern_tech_types_types_gen.IdentityData;
@@ -4226,138 +1253,14 @@ declare const getAuditlogDevice: ((state: {
4226
1253
  }>;
4227
1254
  };
4228
1255
  dependencies: [((state: {
4229
- app: {
4230
- cancelSource: any;
4231
- commit: string;
4232
- demoArtifactLink: string;
4233
- docsVersion: string;
4234
- features: Record<string, boolean>;
4235
- feedbackProbability: number;
4236
- firstLoginAfterSignup: boolean;
4237
- hostAddress: string | null;
4238
- hostedAnnouncement: string;
4239
- newThreshold: string;
4240
- offlineThreshold: string;
4241
- recaptchaSiteKey: string;
4242
- searchState: SearchState;
4243
- sentry: SentryConfig;
4244
- snackbar: SnackbarContent;
4245
- stripeAPIKey: string;
4246
- trackerCode: string;
4247
- uploadsById: Record<string, Upload>;
4248
- versionInformation: {
4249
- [key: string]: string | {
4250
- releaseDate: string;
4251
- repos: Record<string, string>;
4252
- } | undefined;
4253
- backend?: string;
4254
- GUI?: string;
4255
- latestRelease?: {
4256
- releaseDate: string;
4257
- repos: Record<string, string>;
4258
- };
4259
- };
4260
- yesterday?: string;
4261
- };
1256
+ app: AppSliceType;
4262
1257
  devices: DeviceSliceType;
4263
- deployments: {
4264
- byId: Record<string, Deployment>;
4265
- byStatus: DeploymentByStatus;
4266
- config: DeploymentConfig;
4267
- deploymentDeviceLimit: number;
4268
- selectedDeviceIds: string[];
4269
- selectionState: SelectionState;
4270
- };
4271
- monitor: {
4272
- alerts: {
4273
- alertList: {
4274
- page: number;
4275
- perPage: number;
4276
- total: number;
4277
- };
4278
- byDeviceId: {
4279
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
4280
- fullName?: string;
4281
- }>;
4282
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
4283
- fullName?: string;
4284
- }>;
4285
- };
4286
- };
4287
- issueCounts: {
4288
- byType: {
4289
- issues: {
4290
- filtered: number;
4291
- total: number;
4292
- };
4293
- offline: {
4294
- filtered: number;
4295
- total: number;
4296
- };
4297
- failedLastUpdate: {
4298
- filtered: number;
4299
- total: number;
4300
- };
4301
- monitoring: {
4302
- filtered: number;
4303
- total: number;
4304
- };
4305
- authRequests: {
4306
- filtered: number;
4307
- total: number;
4308
- };
4309
- gatewayDevices: {
4310
- filtered: number;
4311
- total: number;
4312
- };
4313
- };
4314
- };
4315
- settings: {
4316
- global: {
4317
- channels: {
4318
- email: {
4319
- enabled: boolean;
4320
- };
4321
- };
4322
- };
4323
- };
4324
- };
4325
- onboarding: {
4326
- address?: string;
4327
- approach: OnboardingApproach | null;
4328
- complete: boolean;
4329
- demoArtifactPort: number;
4330
- deviceConnection?: string;
4331
- deviceType: string[] | string | null;
4332
- progress: string | null;
4333
- showTips: boolean | null;
4334
- showTipsDialog: boolean;
4335
- };
4336
- organization: OrganizationState;
1258
+ deployments: DeploymentsSliceType;
1259
+ monitor: MonitorSliceType;
1260
+ onboarding: OnboardingSliceType;
1261
+ organization: OrganizationSliceType;
4337
1262
  releases: ReleaseSliceType;
4338
- users: {
4339
- activationCode?: string;
4340
- byId: Record<string, User>;
4341
- currentSession?: UserSession | object;
4342
- currentUser: string | null;
4343
- customColumns: CustomColumn[];
4344
- globalSettings: GlobalSettings;
4345
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
4346
- qrCode: string | null;
4347
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
4348
- rolesInitialized: boolean;
4349
- settingsInitialized: boolean;
4350
- showConnectDeviceDialog: boolean;
4351
- showFeedbackDialog: boolean;
4352
- showStartupNotification: boolean;
4353
- tooltips: {
4354
- byId: Record<string, {
4355
- readState: ReadState;
4356
- }>;
4357
- };
4358
- userSettings: UserSettings;
4359
- userSettingsInitialized: boolean;
4360
- };
1263
+ users: UserSliceType;
4361
1264
  }) => _northern_tech_types_types_gen.AuditLog | undefined) & {
4362
1265
  clearCache: () => void;
4363
1266
  resultsCount: () => number;
@@ -4388,138 +1291,14 @@ declare const getAuditlogDevice: ((state: {
4388
1291
  argsMemoize: typeof reselect.weakMapMemoize;
4389
1292
  };
4390
1293
  declare const getRelevantRoles: ((state: {
4391
- app: {
4392
- cancelSource: any;
4393
- commit: string;
4394
- demoArtifactLink: string;
4395
- docsVersion: string;
4396
- features: Record<string, boolean>;
4397
- feedbackProbability: number;
4398
- firstLoginAfterSignup: boolean;
4399
- hostAddress: string | null;
4400
- hostedAnnouncement: string;
4401
- newThreshold: string;
4402
- offlineThreshold: string;
4403
- recaptchaSiteKey: string;
4404
- searchState: SearchState;
4405
- sentry: SentryConfig;
4406
- snackbar: SnackbarContent;
4407
- stripeAPIKey: string;
4408
- trackerCode: string;
4409
- uploadsById: Record<string, Upload>;
4410
- versionInformation: {
4411
- [key: string]: string | {
4412
- releaseDate: string;
4413
- repos: Record<string, string>;
4414
- } | undefined;
4415
- backend?: string;
4416
- GUI?: string;
4417
- latestRelease?: {
4418
- releaseDate: string;
4419
- repos: Record<string, string>;
4420
- };
4421
- };
4422
- yesterday?: string;
4423
- };
1294
+ app: AppSliceType;
4424
1295
  devices: DeviceSliceType;
4425
- deployments: {
4426
- byId: Record<string, Deployment>;
4427
- byStatus: DeploymentByStatus;
4428
- config: DeploymentConfig;
4429
- deploymentDeviceLimit: number;
4430
- selectedDeviceIds: string[];
4431
- selectionState: SelectionState;
4432
- };
4433
- monitor: {
4434
- alerts: {
4435
- alertList: {
4436
- page: number;
4437
- perPage: number;
4438
- total: number;
4439
- };
4440
- byDeviceId: {
4441
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
4442
- fullName?: string;
4443
- }>;
4444
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
4445
- fullName?: string;
4446
- }>;
4447
- };
4448
- };
4449
- issueCounts: {
4450
- byType: {
4451
- issues: {
4452
- filtered: number;
4453
- total: number;
4454
- };
4455
- offline: {
4456
- filtered: number;
4457
- total: number;
4458
- };
4459
- failedLastUpdate: {
4460
- filtered: number;
4461
- total: number;
4462
- };
4463
- monitoring: {
4464
- filtered: number;
4465
- total: number;
4466
- };
4467
- authRequests: {
4468
- filtered: number;
4469
- total: number;
4470
- };
4471
- gatewayDevices: {
4472
- filtered: number;
4473
- total: number;
4474
- };
4475
- };
4476
- };
4477
- settings: {
4478
- global: {
4479
- channels: {
4480
- email: {
4481
- enabled: boolean;
4482
- };
4483
- };
4484
- };
4485
- };
4486
- };
4487
- onboarding: {
4488
- address?: string;
4489
- approach: OnboardingApproach | null;
4490
- complete: boolean;
4491
- demoArtifactPort: number;
4492
- deviceConnection?: string;
4493
- deviceType: string[] | string | null;
4494
- progress: string | null;
4495
- showTips: boolean | null;
4496
- showTipsDialog: boolean;
4497
- };
4498
- organization: OrganizationState;
1296
+ deployments: DeploymentsSliceType;
1297
+ monitor: MonitorSliceType;
1298
+ onboarding: OnboardingSliceType;
1299
+ organization: OrganizationSliceType;
4499
1300
  releases: ReleaseSliceType;
4500
- users: {
4501
- activationCode?: string;
4502
- byId: Record<string, User>;
4503
- currentSession?: UserSession | object;
4504
- currentUser: string | null;
4505
- customColumns: CustomColumn[];
4506
- globalSettings: GlobalSettings;
4507
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
4508
- qrCode: string | null;
4509
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
4510
- rolesInitialized: boolean;
4511
- settingsInitialized: boolean;
4512
- showConnectDeviceDialog: boolean;
4513
- showFeedbackDialog: boolean;
4514
- showStartupNotification: boolean;
4515
- tooltips: {
4516
- byId: Record<string, {
4517
- readState: ReadState;
4518
- }>;
4519
- };
4520
- userSettings: UserSettings;
4521
- userSettingsInitialized: boolean;
4522
- };
1301
+ users: UserSliceType;
4523
1302
  }) => {
4524
1303
  name: string;
4525
1304
  description?: string;
@@ -4733,138 +1512,14 @@ declare const getRelevantRoles: ((state: {
4733
1512
  };
4734
1513
  })[];
4735
1514
  dependencies: [(state: RootState) => Partial<Organization>, ((state: {
4736
- app: {
4737
- cancelSource: any;
4738
- commit: string;
4739
- demoArtifactLink: string;
4740
- docsVersion: string;
4741
- features: Record<string, boolean>;
4742
- feedbackProbability: number;
4743
- firstLoginAfterSignup: boolean;
4744
- hostAddress: string | null;
4745
- hostedAnnouncement: string;
4746
- newThreshold: string;
4747
- offlineThreshold: string;
4748
- recaptchaSiteKey: string;
4749
- searchState: SearchState;
4750
- sentry: SentryConfig;
4751
- snackbar: SnackbarContent;
4752
- stripeAPIKey: string;
4753
- trackerCode: string;
4754
- uploadsById: Record<string, Upload>;
4755
- versionInformation: {
4756
- [key: string]: string | {
4757
- releaseDate: string;
4758
- repos: Record<string, string>;
4759
- } | undefined;
4760
- backend?: string;
4761
- GUI?: string;
4762
- latestRelease?: {
4763
- releaseDate: string;
4764
- repos: Record<string, string>;
4765
- };
4766
- };
4767
- yesterday?: string;
4768
- };
1515
+ app: AppSliceType;
4769
1516
  devices: DeviceSliceType;
4770
- deployments: {
4771
- byId: Record<string, Deployment>;
4772
- byStatus: DeploymentByStatus;
4773
- config: DeploymentConfig;
4774
- deploymentDeviceLimit: number;
4775
- selectedDeviceIds: string[];
4776
- selectionState: SelectionState;
4777
- };
4778
- monitor: {
4779
- alerts: {
4780
- alertList: {
4781
- page: number;
4782
- perPage: number;
4783
- total: number;
4784
- };
4785
- byDeviceId: {
4786
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
4787
- fullName?: string;
4788
- }>;
4789
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
4790
- fullName?: string;
4791
- }>;
4792
- };
4793
- };
4794
- issueCounts: {
4795
- byType: {
4796
- issues: {
4797
- filtered: number;
4798
- total: number;
4799
- };
4800
- offline: {
4801
- filtered: number;
4802
- total: number;
4803
- };
4804
- failedLastUpdate: {
4805
- filtered: number;
4806
- total: number;
4807
- };
4808
- monitoring: {
4809
- filtered: number;
4810
- total: number;
4811
- };
4812
- authRequests: {
4813
- filtered: number;
4814
- total: number;
4815
- };
4816
- gatewayDevices: {
4817
- filtered: number;
4818
- total: number;
4819
- };
4820
- };
4821
- };
4822
- settings: {
4823
- global: {
4824
- channels: {
4825
- email: {
4826
- enabled: boolean;
4827
- };
4828
- };
4829
- };
4830
- };
4831
- };
4832
- onboarding: {
4833
- address?: string;
4834
- approach: OnboardingApproach | null;
4835
- complete: boolean;
4836
- demoArtifactPort: number;
4837
- deviceConnection?: string;
4838
- deviceType: string[] | string | null;
4839
- progress: string | null;
4840
- showTips: boolean | null;
4841
- showTipsDialog: boolean;
4842
- };
4843
- organization: OrganizationState;
1517
+ deployments: DeploymentsSliceType;
1518
+ monitor: MonitorSliceType;
1519
+ onboarding: OnboardingSliceType;
1520
+ organization: OrganizationSliceType;
4844
1521
  releases: ReleaseSliceType;
4845
- users: {
4846
- activationCode?: string;
4847
- byId: Record<string, User>;
4848
- currentSession?: UserSession | object;
4849
- currentUser: string | null;
4850
- customColumns: CustomColumn[];
4851
- globalSettings: GlobalSettings;
4852
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
4853
- qrCode: string | null;
4854
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
4855
- rolesInitialized: boolean;
4856
- settingsInitialized: boolean;
4857
- showConnectDeviceDialog: boolean;
4858
- showFeedbackDialog: boolean;
4859
- showStartupNotification: boolean;
4860
- tooltips: {
4861
- byId: Record<string, {
4862
- readState: ReadState;
4863
- }>;
4864
- };
4865
- userSettings: UserSettings;
4866
- userSettingsInitialized: boolean;
4867
- };
1522
+ users: UserSliceType;
4868
1523
  }) => {
4869
1524
  name: string;
4870
1525
  description?: string;