@northern.tech/store 0.12.0 → 0.14.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 (179) hide show
  1. package/dist/actions.cjs +21 -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 +1 -0
  7. package/dist/appSlice/index.cjs.map +1 -1
  8. package/dist/appSlice/index.d.cts +1 -1
  9. package/dist/appSlice/index.d.ts +1 -1
  10. package/dist/appSlice/index.js +1 -1
  11. package/dist/appSlice/mocks.cjs +1 -0
  12. package/dist/appSlice/mocks.cjs.map +1 -1
  13. package/dist/appSlice/mocks.js +1 -1
  14. package/dist/appSlice/selectors.d.cts +34 -528
  15. package/dist/appSlice/selectors.d.ts +34 -528
  16. package/dist/appSlice/thunks.cjs +46 -41
  17. package/dist/appSlice/thunks.cjs.map +1 -1
  18. package/dist/appSlice/thunks.d.cts +5 -3
  19. package/dist/appSlice/thunks.d.ts +5 -3
  20. package/dist/appSlice/thunks.js +15 -15
  21. package/dist/{chunk-C5NXNZ7F.js → chunk-2SAH2AN2.js} +23 -30
  22. package/dist/chunk-2SAH2AN2.js.map +1 -0
  23. package/dist/{chunk-QOFVCPRW.js → chunk-5PUF4LA5.js} +1 -1
  24. package/dist/chunk-5PUF4LA5.js.map +1 -0
  25. package/dist/{chunk-ZRMB4U7Z.js → chunk-5XUPXMYV.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-OFGCC3GM.js → chunk-IUGHRJV2.js} +2 -1
  29. package/dist/chunk-IUGHRJV2.js.map +1 -0
  30. package/dist/{chunk-WCBHYLUK.js → chunk-KJ4BPXMB.js} +1 -1
  31. package/dist/chunk-KJ4BPXMB.js.map +1 -0
  32. package/dist/{chunk-OGUVURJ5.js → chunk-KVZEKHVC.js} +12 -12
  33. package/dist/{chunk-5ZCZTTYX.js → chunk-LX4YRTYY.js} +5 -5
  34. package/dist/{chunk-C2LGE3P6.js → chunk-OLKM53RL.js} +1 -1
  35. package/dist/chunk-OLKM53RL.js.map +1 -0
  36. package/dist/{chunk-4HSH7RH3.js → chunk-PIFXECFW.js} +10 -10
  37. package/dist/{chunk-HLX5L3IM.js → chunk-PVCHKW35.js} +1 -1
  38. package/dist/chunk-PVCHKW35.js.map +1 -0
  39. package/dist/{chunk-REZWSU22.js → chunk-VODRLEDP.js} +21 -17
  40. package/dist/chunk-VODRLEDP.js.map +1 -0
  41. package/dist/{chunk-MH5WPYQI.js → chunk-X7NEALMI.js} +16 -9
  42. package/dist/chunk-X7NEALMI.js.map +1 -0
  43. package/dist/{chunk-TKIOEF3B.js → chunk-ZWLCUOQN.js} +6 -6
  44. package/dist/commonSelectors.cjs +15 -8
  45. package/dist/commonSelectors.cjs.map +1 -1
  46. package/dist/commonSelectors.d.cts +178 -3523
  47. package/dist/commonSelectors.d.ts +178 -3523
  48. package/dist/commonSelectors.js +3 -3
  49. package/dist/deploymentsSlice/index.cjs.map +1 -1
  50. package/dist/deploymentsSlice/index.d.cts +1 -1
  51. package/dist/deploymentsSlice/index.d.ts +1 -1
  52. package/dist/deploymentsSlice/index.js +1 -1
  53. package/dist/deploymentsSlice/mocks.cjs.map +1 -1
  54. package/dist/deploymentsSlice/mocks.js +1 -1
  55. package/dist/deploymentsSlice/selectors.d.cts +16 -138
  56. package/dist/deploymentsSlice/selectors.d.ts +16 -138
  57. package/dist/deploymentsSlice/thunks.cjs +46 -41
  58. package/dist/deploymentsSlice/thunks.cjs.map +1 -1
  59. package/dist/deploymentsSlice/thunks.d.cts +4 -2
  60. package/dist/deploymentsSlice/thunks.d.ts +4 -2
  61. package/dist/deploymentsSlice/thunks.js +15 -15
  62. package/dist/devicesSlice/index.cjs +20 -16
  63. package/dist/devicesSlice/index.cjs.map +1 -1
  64. package/dist/devicesSlice/index.d.cts +11 -20
  65. package/dist/devicesSlice/index.d.ts +11 -20
  66. package/dist/devicesSlice/index.js +1 -1
  67. package/dist/devicesSlice/mocks.cjs +24 -22
  68. package/dist/devicesSlice/mocks.cjs.map +1 -1
  69. package/dist/devicesSlice/mocks.d.cts +20 -12
  70. package/dist/devicesSlice/mocks.d.ts +20 -12
  71. package/dist/devicesSlice/mocks.js +5 -7
  72. package/dist/devicesSlice/mocks.js.map +1 -1
  73. package/dist/devicesSlice/selectors.cjs +15 -8
  74. package/dist/devicesSlice/selectors.cjs.map +1 -1
  75. package/dist/devicesSlice/selectors.d.cts +207 -1730
  76. package/dist/devicesSlice/selectors.d.ts +207 -1730
  77. package/dist/devicesSlice/selectors.js +1 -1
  78. package/dist/devicesSlice/thunks.cjs +46 -43
  79. package/dist/devicesSlice/thunks.cjs.map +1 -1
  80. package/dist/devicesSlice/thunks.d.cts +12 -46
  81. package/dist/devicesSlice/thunks.d.ts +12 -46
  82. package/dist/devicesSlice/thunks.js +15 -17
  83. package/dist/monitorSlice/index.cjs.map +1 -1
  84. package/dist/monitorSlice/index.d.cts +1 -1
  85. package/dist/monitorSlice/index.d.ts +1 -1
  86. package/dist/monitorSlice/index.js +1 -1
  87. package/dist/monitorSlice/mocks.cjs.map +1 -1
  88. package/dist/monitorSlice/mocks.js +1 -1
  89. package/dist/monitorSlice/thunks.cjs +36 -24
  90. package/dist/monitorSlice/thunks.cjs.map +1 -1
  91. package/dist/monitorSlice/thunks.d.cts +3 -2
  92. package/dist/monitorSlice/thunks.d.ts +3 -2
  93. package/dist/monitorSlice/thunks.js +13 -13
  94. package/dist/onboardingSlice/index.cjs.map +1 -1
  95. package/dist/onboardingSlice/index.d.cts +1 -1
  96. package/dist/onboardingSlice/index.d.ts +1 -1
  97. package/dist/onboardingSlice/index.js +1 -1
  98. package/dist/onboardingSlice/mocks.cjs.map +1 -1
  99. package/dist/onboardingSlice/mocks.js +1 -1
  100. package/dist/onboardingSlice/thunks.cjs +46 -41
  101. package/dist/onboardingSlice/thunks.cjs.map +1 -1
  102. package/dist/onboardingSlice/thunks.d.cts +7 -15
  103. package/dist/onboardingSlice/thunks.d.ts +7 -15
  104. package/dist/onboardingSlice/thunks.js +15 -15
  105. package/dist/organizationSlice/index.cjs.map +1 -1
  106. package/dist/organizationSlice/index.d.cts +41 -31
  107. package/dist/organizationSlice/index.d.ts +41 -31
  108. package/dist/organizationSlice/index.js +1 -1
  109. package/dist/organizationSlice/mocks.cjs.map +1 -1
  110. package/dist/organizationSlice/mocks.js +1 -1
  111. package/dist/organizationSlice/selectors.d.cts +42 -659
  112. package/dist/organizationSlice/selectors.d.ts +42 -659
  113. package/dist/organizationSlice/thunks.cjs +46 -41
  114. package/dist/organizationSlice/thunks.cjs.map +1 -1
  115. package/dist/organizationSlice/thunks.d.cts +4 -1
  116. package/dist/organizationSlice/thunks.d.ts +4 -1
  117. package/dist/organizationSlice/thunks.js +15 -15
  118. package/dist/organizationSlice/types.cjs.map +1 -1
  119. package/dist/organizationSlice/types.d.cts +2 -12
  120. package/dist/organizationSlice/types.d.ts +2 -12
  121. package/dist/releasesSlice/mocks.d.cts +7 -1
  122. package/dist/releasesSlice/mocks.d.ts +7 -1
  123. package/dist/releasesSlice/selectors.d.cts +155 -930
  124. package/dist/releasesSlice/selectors.d.ts +155 -930
  125. package/dist/releasesSlice/thunks.cjs +36 -24
  126. package/dist/releasesSlice/thunks.cjs.map +1 -1
  127. package/dist/releasesSlice/thunks.d.cts +4 -2
  128. package/dist/releasesSlice/thunks.d.ts +4 -2
  129. package/dist/releasesSlice/thunks.js +13 -13
  130. package/dist/selectors.cjs +15 -8
  131. package/dist/selectors.cjs.map +1 -1
  132. package/dist/selectors.d.cts +6 -3
  133. package/dist/selectors.d.ts +6 -3
  134. package/dist/selectors.js +17 -17
  135. package/dist/store.cjs +21 -16
  136. package/dist/store.cjs.map +1 -1
  137. package/dist/store.d.cts +40 -658
  138. package/dist/store.d.ts +40 -658
  139. package/dist/store.js +9 -9
  140. package/dist/storehooks.cjs +47 -41
  141. package/dist/storehooks.cjs.map +1 -1
  142. package/dist/storehooks.js +16 -15
  143. package/dist/storehooks.js.map +1 -1
  144. package/dist/thunks.cjs +46 -43
  145. package/dist/thunks.cjs.map +1 -1
  146. package/dist/thunks.d.cts +7 -5
  147. package/dist/thunks.d.ts +7 -5
  148. package/dist/thunks.js +15 -17
  149. package/dist/useDeploymentDevice.cjs +46 -41
  150. package/dist/useDeploymentDevice.cjs.map +1 -1
  151. package/dist/useDeploymentDevice.js +15 -15
  152. package/dist/usersSlice/index.cjs.map +1 -1
  153. package/dist/usersSlice/index.d.cts +46 -46
  154. package/dist/usersSlice/index.d.ts +46 -46
  155. package/dist/usersSlice/index.js +1 -1
  156. package/dist/usersSlice/mocks.cjs.map +1 -1
  157. package/dist/usersSlice/mocks.js +1 -1
  158. package/dist/usersSlice/selectors.d.cts +75 -1436
  159. package/dist/usersSlice/selectors.d.ts +75 -1436
  160. package/dist/usersSlice/thunks.cjs +46 -41
  161. package/dist/usersSlice/thunks.cjs.map +1 -1
  162. package/dist/usersSlice/thunks.d.cts +3 -1
  163. package/dist/usersSlice/thunks.d.ts +3 -1
  164. package/dist/usersSlice/thunks.js +15 -15
  165. package/package.json +7 -7
  166. package/dist/chunk-C2LGE3P6.js.map +0 -1
  167. package/dist/chunk-C5NXNZ7F.js.map +0 -1
  168. package/dist/chunk-HLX5L3IM.js.map +0 -1
  169. package/dist/chunk-MH5WPYQI.js.map +0 -1
  170. package/dist/chunk-OFGCC3GM.js.map +0 -1
  171. package/dist/chunk-QOFVCPRW.js.map +0 -1
  172. package/dist/chunk-REZWSU22.js.map +0 -1
  173. package/dist/chunk-WCBHYLUK.js.map +0 -1
  174. package/dist/chunk-ZNAJKEP2.js.map +0 -1
  175. /package/dist/{chunk-ZRMB4U7Z.js.map → chunk-5XUPXMYV.js.map} +0 -0
  176. /package/dist/{chunk-OGUVURJ5.js.map → chunk-KVZEKHVC.js.map} +0 -0
  177. /package/dist/{chunk-5ZCZTTYX.js.map → chunk-LX4YRTYY.js.map} +0 -0
  178. /package/dist/{chunk-4HSH7RH3.js.map → chunk-PIFXECFW.js.map} +0 -0
  179. /package/dist/{chunk-TKIOEF3B.js.map → chunk-ZWLCUOQN.js.map} +0 -0
@@ -1,12 +1,13 @@
1
+ import * as _northern_tech_types_types_gen from '@northern.tech/types/types.gen';
1
2
  import * as reselect from 'reselect';
2
3
  import { ReleaseSliceType } from '../releasesSlice/index.cjs';
3
- import { OrganizationState } from '../organizationSlice/types.cjs';
4
- import { OnboardingApproach } from '../onboardingSlice/index.cjs';
5
- import * as _northern_tech_types_types_gen from '@northern.tech/types/types.gen';
6
- import { Deployment, DeploymentByStatus, DeploymentConfig, SelectionState } from '../deploymentsSlice/index.cjs';
4
+ import { OrganizationSliceType } from '../organizationSlice/index.cjs';
5
+ import { OnboardingSliceType } from '../onboardingSlice/index.cjs';
6
+ import { MonitorSliceType } from '../monitorSlice/index.cjs';
7
+ import { DeploymentsSliceType } from '../deploymentsSlice/index.cjs';
7
8
  import { DeviceSliceType } from '../devicesSlice/index.cjs';
8
- import { SearchState, SentryConfig, SnackbarContent, Upload } from '../appSlice/index.cjs';
9
- import { GlobalSettings, User, UserSession, CustomColumn, UserSettings } from './index.cjs';
9
+ import { AppSliceType } from '../appSlice/index.cjs';
10
+ import { GlobalSettings, User, UserSliceType, UserSettings, UserSession } from './index.cjs';
10
11
  import { ReadState } from './constants.cjs';
11
12
  import * as _northern_tech_utils_constants from '@northern.tech/utils/constants';
12
13
  import { RootState } from '../store.cjs';
@@ -14,10 +15,12 @@ import 'redux';
14
15
  import '@reduxjs/toolkit';
15
16
  import 'immer';
16
17
  import '@northern.tech/types/MenderTypes';
18
+ import '../organizationSlice/types.cjs';
17
19
  import '../appSlice/constants.cjs';
18
20
  import '@mui/material/OverridableComponent';
19
21
  import '@mui/material';
20
22
  import '../organizationSlice/constants.cjs';
23
+ import '../monitorSlice/constants.cjs';
21
24
  import '../commonConstants.cjs';
22
25
  import 'react/jsx-runtime';
23
26
  import '../devicesSlice/constants.cjs';
@@ -32,138 +35,14 @@ declare const getGlobalSettingsInitialized: (state: RootState) => boolean;
32
35
  declare const getUserSettingsInitialized: (state: RootState) => boolean;
33
36
  declare const getUsersById: (state: RootState) => Record<string, User>;
34
37
  declare const getUsersList: ((state: {
35
- app: {
36
- cancelSource: any;
37
- commit: string;
38
- demoArtifactLink: string;
39
- docsVersion: string;
40
- features: Record<string, boolean>;
41
- feedbackProbability: number;
42
- firstLoginAfterSignup: boolean;
43
- hostAddress: string | null;
44
- hostedAnnouncement: string;
45
- newThreshold: string;
46
- offlineThreshold: string;
47
- recaptchaSiteKey: string;
48
- searchState: SearchState;
49
- sentry: SentryConfig;
50
- snackbar: SnackbarContent;
51
- stripeAPIKey: string;
52
- trackerCode: string;
53
- uploadsById: Record<string, Upload>;
54
- versionInformation: {
55
- [key: string]: string | {
56
- releaseDate: string;
57
- repos: Record<string, string>;
58
- } | undefined;
59
- backend?: string;
60
- GUI?: string;
61
- latestRelease?: {
62
- releaseDate: string;
63
- repos: Record<string, string>;
64
- };
65
- };
66
- yesterday?: string;
67
- };
38
+ app: AppSliceType;
68
39
  devices: DeviceSliceType;
69
- deployments: {
70
- byId: Record<string, Deployment>;
71
- byStatus: DeploymentByStatus;
72
- config: DeploymentConfig;
73
- deploymentDeviceLimit: number;
74
- selectedDeviceIds: string[];
75
- selectionState: SelectionState;
76
- };
77
- monitor: {
78
- alerts: {
79
- alertList: {
80
- page: number;
81
- perPage: number;
82
- total: number;
83
- };
84
- byDeviceId: {
85
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
86
- fullName?: string;
87
- }>;
88
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
89
- fullName?: string;
90
- }>;
91
- };
92
- };
93
- issueCounts: {
94
- byType: {
95
- issues: {
96
- filtered: number;
97
- total: number;
98
- };
99
- offline: {
100
- filtered: number;
101
- total: number;
102
- };
103
- failedLastUpdate: {
104
- filtered: number;
105
- total: number;
106
- };
107
- monitoring: {
108
- filtered: number;
109
- total: number;
110
- };
111
- authRequests: {
112
- filtered: number;
113
- total: number;
114
- };
115
- gatewayDevices: {
116
- filtered: number;
117
- total: number;
118
- };
119
- };
120
- };
121
- settings: {
122
- global: {
123
- channels: {
124
- email: {
125
- enabled: boolean;
126
- };
127
- };
128
- };
129
- };
130
- };
131
- onboarding: {
132
- address?: string;
133
- approach: OnboardingApproach | null;
134
- complete: boolean;
135
- demoArtifactPort: number;
136
- deviceConnection?: string;
137
- deviceType: string[] | string | null;
138
- progress: string | null;
139
- showTips: boolean | null;
140
- showTipsDialog: boolean;
141
- };
142
- organization: OrganizationState;
40
+ deployments: DeploymentsSliceType;
41
+ monitor: MonitorSliceType;
42
+ onboarding: OnboardingSliceType;
43
+ organization: OrganizationSliceType;
143
44
  releases: ReleaseSliceType;
144
- users: {
145
- activationCode?: string;
146
- byId: Record<string, User>;
147
- currentSession?: UserSession | object;
148
- currentUser: string | null;
149
- customColumns: CustomColumn[];
150
- globalSettings: GlobalSettings;
151
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
152
- qrCode: string | null;
153
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
154
- rolesInitialized: boolean;
155
- settingsInitialized: boolean;
156
- showConnectDeviceDialog: boolean;
157
- showFeedbackDialog: boolean;
158
- showStartupNotification: boolean;
159
- tooltips: {
160
- byId: Record<string, {
161
- readState: ReadState;
162
- }>;
163
- };
164
- userSettings: UserSettings;
165
- userSettingsInitialized: boolean;
166
- };
45
+ users: UserSliceType;
167
46
  }) => User[]) & {
168
47
  clearCache: () => void;
169
48
  resultsCount: () => number;
@@ -186,138 +65,14 @@ declare const getUsersList: ((state: {
186
65
  argsMemoize: typeof reselect.weakMapMemoize;
187
66
  };
188
67
  declare const getCurrentUser: ((state: {
189
- app: {
190
- cancelSource: any;
191
- commit: string;
192
- demoArtifactLink: string;
193
- docsVersion: string;
194
- features: Record<string, boolean>;
195
- feedbackProbability: number;
196
- firstLoginAfterSignup: boolean;
197
- hostAddress: string | null;
198
- hostedAnnouncement: string;
199
- newThreshold: string;
200
- offlineThreshold: string;
201
- recaptchaSiteKey: string;
202
- searchState: SearchState;
203
- sentry: SentryConfig;
204
- snackbar: SnackbarContent;
205
- stripeAPIKey: string;
206
- trackerCode: string;
207
- uploadsById: Record<string, Upload>;
208
- versionInformation: {
209
- [key: string]: string | {
210
- releaseDate: string;
211
- repos: Record<string, string>;
212
- } | undefined;
213
- backend?: string;
214
- GUI?: string;
215
- latestRelease?: {
216
- releaseDate: string;
217
- repos: Record<string, string>;
218
- };
219
- };
220
- yesterday?: string;
221
- };
68
+ app: AppSliceType;
222
69
  devices: DeviceSliceType;
223
- deployments: {
224
- byId: Record<string, Deployment>;
225
- byStatus: DeploymentByStatus;
226
- config: DeploymentConfig;
227
- deploymentDeviceLimit: number;
228
- selectedDeviceIds: string[];
229
- selectionState: SelectionState;
230
- };
231
- monitor: {
232
- alerts: {
233
- alertList: {
234
- page: number;
235
- perPage: number;
236
- total: number;
237
- };
238
- byDeviceId: {
239
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
240
- fullName?: string;
241
- }>;
242
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
243
- fullName?: string;
244
- }>;
245
- };
246
- };
247
- issueCounts: {
248
- byType: {
249
- issues: {
250
- filtered: number;
251
- total: number;
252
- };
253
- offline: {
254
- filtered: number;
255
- total: number;
256
- };
257
- failedLastUpdate: {
258
- filtered: number;
259
- total: number;
260
- };
261
- monitoring: {
262
- filtered: number;
263
- total: number;
264
- };
265
- authRequests: {
266
- filtered: number;
267
- total: number;
268
- };
269
- gatewayDevices: {
270
- filtered: number;
271
- total: number;
272
- };
273
- };
274
- };
275
- settings: {
276
- global: {
277
- channels: {
278
- email: {
279
- enabled: boolean;
280
- };
281
- };
282
- };
283
- };
284
- };
285
- onboarding: {
286
- address?: string;
287
- approach: OnboardingApproach | null;
288
- complete: boolean;
289
- demoArtifactPort: number;
290
- deviceConnection?: string;
291
- deviceType: string[] | string | null;
292
- progress: string | null;
293
- showTips: boolean | null;
294
- showTipsDialog: boolean;
295
- };
296
- organization: OrganizationState;
70
+ deployments: DeploymentsSliceType;
71
+ monitor: MonitorSliceType;
72
+ onboarding: OnboardingSliceType;
73
+ organization: OrganizationSliceType;
297
74
  releases: ReleaseSliceType;
298
- users: {
299
- activationCode?: string;
300
- byId: Record<string, User>;
301
- currentSession?: UserSession | object;
302
- currentUser: string | null;
303
- customColumns: CustomColumn[];
304
- globalSettings: GlobalSettings;
305
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
306
- qrCode: string | null;
307
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
308
- rolesInitialized: boolean;
309
- settingsInitialized: boolean;
310
- showConnectDeviceDialog: boolean;
311
- showFeedbackDialog: boolean;
312
- showStartupNotification: boolean;
313
- tooltips: {
314
- byId: Record<string, {
315
- readState: ReadState;
316
- }>;
317
- };
318
- userSettings: UserSettings;
319
- userSettingsInitialized: boolean;
320
- };
75
+ users: UserSliceType;
321
76
  }) => User) & {
322
77
  clearCache: () => void;
323
78
  resultsCount: () => number;
@@ -341,138 +96,14 @@ declare const getCurrentUser: ((state: {
341
96
  };
342
97
  declare const getUserSettings: (state: RootState) => UserSettings;
343
98
  declare const getSelectedDeviceAttribute: ((state: {
344
- app: {
345
- cancelSource: any;
346
- commit: string;
347
- demoArtifactLink: string;
348
- docsVersion: string;
349
- features: Record<string, boolean>;
350
- feedbackProbability: number;
351
- firstLoginAfterSignup: boolean;
352
- hostAddress: string | null;
353
- hostedAnnouncement: string;
354
- newThreshold: string;
355
- offlineThreshold: string;
356
- recaptchaSiteKey: string;
357
- searchState: SearchState;
358
- sentry: SentryConfig;
359
- snackbar: SnackbarContent;
360
- stripeAPIKey: string;
361
- trackerCode: string;
362
- uploadsById: Record<string, Upload>;
363
- versionInformation: {
364
- [key: string]: string | {
365
- releaseDate: string;
366
- repos: Record<string, string>;
367
- } | undefined;
368
- backend?: string;
369
- GUI?: string;
370
- latestRelease?: {
371
- releaseDate: string;
372
- repos: Record<string, string>;
373
- };
374
- };
375
- yesterday?: string;
376
- };
99
+ app: AppSliceType;
377
100
  devices: DeviceSliceType;
378
- deployments: {
379
- byId: Record<string, Deployment>;
380
- byStatus: DeploymentByStatus;
381
- config: DeploymentConfig;
382
- deploymentDeviceLimit: number;
383
- selectedDeviceIds: string[];
384
- selectionState: SelectionState;
385
- };
386
- monitor: {
387
- alerts: {
388
- alertList: {
389
- page: number;
390
- perPage: number;
391
- total: number;
392
- };
393
- byDeviceId: {
394
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
395
- fullName?: string;
396
- }>;
397
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
398
- fullName?: string;
399
- }>;
400
- };
401
- };
402
- issueCounts: {
403
- byType: {
404
- issues: {
405
- filtered: number;
406
- total: number;
407
- };
408
- offline: {
409
- filtered: number;
410
- total: number;
411
- };
412
- failedLastUpdate: {
413
- filtered: number;
414
- total: number;
415
- };
416
- monitoring: {
417
- filtered: number;
418
- total: number;
419
- };
420
- authRequests: {
421
- filtered: number;
422
- total: number;
423
- };
424
- gatewayDevices: {
425
- filtered: number;
426
- total: number;
427
- };
428
- };
429
- };
430
- settings: {
431
- global: {
432
- channels: {
433
- email: {
434
- enabled: boolean;
435
- };
436
- };
437
- };
438
- };
439
- };
440
- onboarding: {
441
- address?: string;
442
- approach: OnboardingApproach | null;
443
- complete: boolean;
444
- demoArtifactPort: number;
445
- deviceConnection?: string;
446
- deviceType: string[] | string | null;
447
- progress: string | null;
448
- showTips: boolean | null;
449
- showTipsDialog: boolean;
450
- };
451
- organization: OrganizationState;
101
+ deployments: DeploymentsSliceType;
102
+ monitor: MonitorSliceType;
103
+ onboarding: OnboardingSliceType;
104
+ organization: OrganizationSliceType;
452
105
  releases: ReleaseSliceType;
453
- users: {
454
- activationCode?: string;
455
- byId: Record<string, User>;
456
- currentSession?: UserSession | object;
457
- currentUser: string | null;
458
- customColumns: CustomColumn[];
459
- globalSettings: GlobalSettings;
460
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
461
- qrCode: string | null;
462
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
463
- rolesInitialized: boolean;
464
- settingsInitialized: boolean;
465
- showConnectDeviceDialog: boolean;
466
- showFeedbackDialog: boolean;
467
- showStartupNotification: boolean;
468
- tooltips: {
469
- byId: Record<string, {
470
- readState: ReadState;
471
- }>;
472
- };
473
- userSettings: UserSettings;
474
- userSettingsInitialized: boolean;
475
- };
106
+ users: UserSliceType;
476
107
  }) => {
477
108
  attribute: string;
478
109
  scope: string;
@@ -507,138 +138,14 @@ declare const getSelectedDeviceAttribute: ((state: {
507
138
  argsMemoize: typeof reselect.weakMapMemoize;
508
139
  };
509
140
  declare const getIsDarkMode: ((state: {
510
- app: {
511
- cancelSource: any;
512
- commit: string;
513
- demoArtifactLink: string;
514
- docsVersion: string;
515
- features: Record<string, boolean>;
516
- feedbackProbability: number;
517
- firstLoginAfterSignup: boolean;
518
- hostAddress: string | null;
519
- hostedAnnouncement: string;
520
- newThreshold: string;
521
- offlineThreshold: string;
522
- recaptchaSiteKey: string;
523
- searchState: SearchState;
524
- sentry: SentryConfig;
525
- snackbar: SnackbarContent;
526
- stripeAPIKey: string;
527
- trackerCode: string;
528
- uploadsById: Record<string, Upload>;
529
- versionInformation: {
530
- [key: string]: string | {
531
- releaseDate: string;
532
- repos: Record<string, string>;
533
- } | undefined;
534
- backend?: string;
535
- GUI?: string;
536
- latestRelease?: {
537
- releaseDate: string;
538
- repos: Record<string, string>;
539
- };
540
- };
541
- yesterday?: string;
542
- };
141
+ app: AppSliceType;
543
142
  devices: DeviceSliceType;
544
- deployments: {
545
- byId: Record<string, Deployment>;
546
- byStatus: DeploymentByStatus;
547
- config: DeploymentConfig;
548
- deploymentDeviceLimit: number;
549
- selectedDeviceIds: string[];
550
- selectionState: SelectionState;
551
- };
552
- monitor: {
553
- alerts: {
554
- alertList: {
555
- page: number;
556
- perPage: number;
557
- total: number;
558
- };
559
- byDeviceId: {
560
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
561
- fullName?: string;
562
- }>;
563
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
564
- fullName?: string;
565
- }>;
566
- };
567
- };
568
- issueCounts: {
569
- byType: {
570
- issues: {
571
- filtered: number;
572
- total: number;
573
- };
574
- offline: {
575
- filtered: number;
576
- total: number;
577
- };
578
- failedLastUpdate: {
579
- filtered: number;
580
- total: number;
581
- };
582
- monitoring: {
583
- filtered: number;
584
- total: number;
585
- };
586
- authRequests: {
587
- filtered: number;
588
- total: number;
589
- };
590
- gatewayDevices: {
591
- filtered: number;
592
- total: number;
593
- };
594
- };
595
- };
596
- settings: {
597
- global: {
598
- channels: {
599
- email: {
600
- enabled: boolean;
601
- };
602
- };
603
- };
604
- };
605
- };
606
- onboarding: {
607
- address?: string;
608
- approach: OnboardingApproach | null;
609
- complete: boolean;
610
- demoArtifactPort: number;
611
- deviceConnection?: string;
612
- deviceType: string[] | string | null;
613
- progress: string | null;
614
- showTips: boolean | null;
615
- showTipsDialog: boolean;
616
- };
617
- organization: OrganizationState;
143
+ deployments: DeploymentsSliceType;
144
+ monitor: MonitorSliceType;
145
+ onboarding: OnboardingSliceType;
146
+ organization: OrganizationSliceType;
618
147
  releases: ReleaseSliceType;
619
- users: {
620
- activationCode?: string;
621
- byId: Record<string, User>;
622
- currentSession?: UserSession | object;
623
- currentUser: string | null;
624
- customColumns: CustomColumn[];
625
- globalSettings: GlobalSettings;
626
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
627
- qrCode: string | null;
628
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
629
- rolesInitialized: boolean;
630
- settingsInitialized: boolean;
631
- showConnectDeviceDialog: boolean;
632
- showFeedbackDialog: boolean;
633
- showStartupNotification: boolean;
634
- tooltips: {
635
- byId: Record<string, {
636
- readState: ReadState;
637
- }>;
638
- };
639
- userSettings: UserSettings;
640
- userSettingsInitialized: boolean;
641
- };
148
+ users: UserSliceType;
642
149
  }) => boolean) & {
643
150
  clearCache: () => void;
644
151
  resultsCount: () => number;
@@ -661,138 +168,14 @@ declare const getIsDarkMode: ((state: {
661
168
  argsMemoize: typeof reselect.weakMapMemoize;
662
169
  };
663
170
  declare const getReadAllHelptips: ((state: {
664
- app: {
665
- cancelSource: any;
666
- commit: string;
667
- demoArtifactLink: string;
668
- docsVersion: string;
669
- features: Record<string, boolean>;
670
- feedbackProbability: number;
671
- firstLoginAfterSignup: boolean;
672
- hostAddress: string | null;
673
- hostedAnnouncement: string;
674
- newThreshold: string;
675
- offlineThreshold: string;
676
- recaptchaSiteKey: string;
677
- searchState: SearchState;
678
- sentry: SentryConfig;
679
- snackbar: SnackbarContent;
680
- stripeAPIKey: string;
681
- trackerCode: string;
682
- uploadsById: Record<string, Upload>;
683
- versionInformation: {
684
- [key: string]: string | {
685
- releaseDate: string;
686
- repos: Record<string, string>;
687
- } | undefined;
688
- backend?: string;
689
- GUI?: string;
690
- latestRelease?: {
691
- releaseDate: string;
692
- repos: Record<string, string>;
693
- };
694
- };
695
- yesterday?: string;
696
- };
171
+ app: AppSliceType;
697
172
  devices: DeviceSliceType;
698
- deployments: {
699
- byId: Record<string, Deployment>;
700
- byStatus: DeploymentByStatus;
701
- config: DeploymentConfig;
702
- deploymentDeviceLimit: number;
703
- selectedDeviceIds: string[];
704
- selectionState: SelectionState;
705
- };
706
- monitor: {
707
- alerts: {
708
- alertList: {
709
- page: number;
710
- perPage: number;
711
- total: number;
712
- };
713
- byDeviceId: {
714
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
715
- fullName?: string;
716
- }>;
717
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
718
- fullName?: string;
719
- }>;
720
- };
721
- };
722
- issueCounts: {
723
- byType: {
724
- issues: {
725
- filtered: number;
726
- total: number;
727
- };
728
- offline: {
729
- filtered: number;
730
- total: number;
731
- };
732
- failedLastUpdate: {
733
- filtered: number;
734
- total: number;
735
- };
736
- monitoring: {
737
- filtered: number;
738
- total: number;
739
- };
740
- authRequests: {
741
- filtered: number;
742
- total: number;
743
- };
744
- gatewayDevices: {
745
- filtered: number;
746
- total: number;
747
- };
748
- };
749
- };
750
- settings: {
751
- global: {
752
- channels: {
753
- email: {
754
- enabled: boolean;
755
- };
756
- };
757
- };
758
- };
759
- };
760
- onboarding: {
761
- address?: string;
762
- approach: OnboardingApproach | null;
763
- complete: boolean;
764
- demoArtifactPort: number;
765
- deviceConnection?: string;
766
- deviceType: string[] | string | null;
767
- progress: string | null;
768
- showTips: boolean | null;
769
- showTipsDialog: boolean;
770
- };
771
- organization: OrganizationState;
173
+ deployments: DeploymentsSliceType;
174
+ monitor: MonitorSliceType;
175
+ onboarding: OnboardingSliceType;
176
+ organization: OrganizationSliceType;
772
177
  releases: ReleaseSliceType;
773
- users: {
774
- activationCode?: string;
775
- byId: Record<string, User>;
776
- currentSession?: UserSession | object;
777
- currentUser: string | null;
778
- customColumns: CustomColumn[];
779
- globalSettings: GlobalSettings;
780
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
781
- qrCode: string | null;
782
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
783
- rolesInitialized: boolean;
784
- settingsInitialized: boolean;
785
- showConnectDeviceDialog: boolean;
786
- showFeedbackDialog: boolean;
787
- showStartupNotification: boolean;
788
- tooltips: {
789
- byId: Record<string, {
790
- readState: ReadState;
791
- }>;
792
- };
793
- userSettings: UserSettings;
794
- userSettingsInitialized: boolean;
795
- };
178
+ users: UserSliceType;
796
179
  }) => boolean) & {
797
180
  clearCache: () => void;
798
181
  resultsCount: () => number;
@@ -821,138 +204,14 @@ declare const getReadAllHelptips: ((state: {
821
204
  argsMemoize: typeof reselect.weakMapMemoize;
822
205
  };
823
206
  declare const getTooltipsState: ((state: {
824
- app: {
825
- cancelSource: any;
826
- commit: string;
827
- demoArtifactLink: string;
828
- docsVersion: string;
829
- features: Record<string, boolean>;
830
- feedbackProbability: number;
831
- firstLoginAfterSignup: boolean;
832
- hostAddress: string | null;
833
- hostedAnnouncement: string;
834
- newThreshold: string;
835
- offlineThreshold: string;
836
- recaptchaSiteKey: string;
837
- searchState: SearchState;
838
- sentry: SentryConfig;
839
- snackbar: SnackbarContent;
840
- stripeAPIKey: string;
841
- trackerCode: string;
842
- uploadsById: Record<string, Upload>;
843
- versionInformation: {
844
- [key: string]: string | {
845
- releaseDate: string;
846
- repos: Record<string, string>;
847
- } | undefined;
848
- backend?: string;
849
- GUI?: string;
850
- latestRelease?: {
851
- releaseDate: string;
852
- repos: Record<string, string>;
853
- };
854
- };
855
- yesterday?: string;
856
- };
207
+ app: AppSliceType;
857
208
  devices: DeviceSliceType;
858
- deployments: {
859
- byId: Record<string, Deployment>;
860
- byStatus: DeploymentByStatus;
861
- config: DeploymentConfig;
862
- deploymentDeviceLimit: number;
863
- selectedDeviceIds: string[];
864
- selectionState: SelectionState;
865
- };
866
- monitor: {
867
- alerts: {
868
- alertList: {
869
- page: number;
870
- perPage: number;
871
- total: number;
872
- };
873
- byDeviceId: {
874
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
875
- fullName?: string;
876
- }>;
877
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
878
- fullName?: string;
879
- }>;
880
- };
881
- };
882
- issueCounts: {
883
- byType: {
884
- issues: {
885
- filtered: number;
886
- total: number;
887
- };
888
- offline: {
889
- filtered: number;
890
- total: number;
891
- };
892
- failedLastUpdate: {
893
- filtered: number;
894
- total: number;
895
- };
896
- monitoring: {
897
- filtered: number;
898
- total: number;
899
- };
900
- authRequests: {
901
- filtered: number;
902
- total: number;
903
- };
904
- gatewayDevices: {
905
- filtered: number;
906
- total: number;
907
- };
908
- };
909
- };
910
- settings: {
911
- global: {
912
- channels: {
913
- email: {
914
- enabled: boolean;
915
- };
916
- };
917
- };
918
- };
919
- };
920
- onboarding: {
921
- address?: string;
922
- approach: OnboardingApproach | null;
923
- complete: boolean;
924
- demoArtifactPort: number;
925
- deviceConnection?: string;
926
- deviceType: string[] | string | null;
927
- progress: string | null;
928
- showTips: boolean | null;
929
- showTipsDialog: boolean;
930
- };
931
- organization: OrganizationState;
209
+ deployments: DeploymentsSliceType;
210
+ monitor: MonitorSliceType;
211
+ onboarding: OnboardingSliceType;
212
+ organization: OrganizationSliceType;
932
213
  releases: ReleaseSliceType;
933
- users: {
934
- activationCode?: string;
935
- byId: Record<string, User>;
936
- currentSession?: UserSession | object;
937
- currentUser: string | null;
938
- customColumns: CustomColumn[];
939
- globalSettings: GlobalSettings;
940
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
941
- qrCode: string | null;
942
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
943
- rolesInitialized: boolean;
944
- settingsInitialized: boolean;
945
- showConnectDeviceDialog: boolean;
946
- showFeedbackDialog: boolean;
947
- showStartupNotification: boolean;
948
- tooltips: {
949
- byId: Record<string, {
950
- readState: ReadState;
951
- }>;
952
- };
953
- userSettings: UserSettings;
954
- userSettingsInitialized: boolean;
955
- };
214
+ users: UserSliceType;
956
215
  }) => {}) & {
957
216
  clearCache: () => void;
958
217
  resultsCount: () => number;
@@ -981,138 +240,14 @@ declare const getTooltipsState: ((state: {
981
240
  argsMemoize: typeof reselect.weakMapMemoize;
982
241
  };
983
242
  declare const getHas2FA: ((state: {
984
- app: {
985
- cancelSource: any;
986
- commit: string;
987
- demoArtifactLink: string;
988
- docsVersion: string;
989
- features: Record<string, boolean>;
990
- feedbackProbability: number;
991
- firstLoginAfterSignup: boolean;
992
- hostAddress: string | null;
993
- hostedAnnouncement: string;
994
- newThreshold: string;
995
- offlineThreshold: string;
996
- recaptchaSiteKey: string;
997
- searchState: SearchState;
998
- sentry: SentryConfig;
999
- snackbar: SnackbarContent;
1000
- stripeAPIKey: string;
1001
- trackerCode: string;
1002
- uploadsById: Record<string, Upload>;
1003
- versionInformation: {
1004
- [key: string]: string | {
1005
- releaseDate: string;
1006
- repos: Record<string, string>;
1007
- } | undefined;
1008
- backend?: string;
1009
- GUI?: string;
1010
- latestRelease?: {
1011
- releaseDate: string;
1012
- repos: Record<string, string>;
1013
- };
1014
- };
1015
- yesterday?: string;
1016
- };
243
+ app: AppSliceType;
1017
244
  devices: DeviceSliceType;
1018
- deployments: {
1019
- byId: Record<string, Deployment>;
1020
- byStatus: DeploymentByStatus;
1021
- config: DeploymentConfig;
1022
- deploymentDeviceLimit: number;
1023
- selectedDeviceIds: string[];
1024
- selectionState: SelectionState;
1025
- };
1026
- monitor: {
1027
- alerts: {
1028
- alertList: {
1029
- page: number;
1030
- perPage: number;
1031
- total: number;
1032
- };
1033
- byDeviceId: {
1034
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1035
- fullName?: string;
1036
- }>;
1037
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1038
- fullName?: string;
1039
- }>;
1040
- };
1041
- };
1042
- issueCounts: {
1043
- byType: {
1044
- issues: {
1045
- filtered: number;
1046
- total: number;
1047
- };
1048
- offline: {
1049
- filtered: number;
1050
- total: number;
1051
- };
1052
- failedLastUpdate: {
1053
- filtered: number;
1054
- total: number;
1055
- };
1056
- monitoring: {
1057
- filtered: number;
1058
- total: number;
1059
- };
1060
- authRequests: {
1061
- filtered: number;
1062
- total: number;
1063
- };
1064
- gatewayDevices: {
1065
- filtered: number;
1066
- total: number;
1067
- };
1068
- };
1069
- };
1070
- settings: {
1071
- global: {
1072
- channels: {
1073
- email: {
1074
- enabled: boolean;
1075
- };
1076
- };
1077
- };
1078
- };
1079
- };
1080
- onboarding: {
1081
- address?: string;
1082
- approach: OnboardingApproach | null;
1083
- complete: boolean;
1084
- demoArtifactPort: number;
1085
- deviceConnection?: string;
1086
- deviceType: string[] | string | null;
1087
- progress: string | null;
1088
- showTips: boolean | null;
1089
- showTipsDialog: boolean;
1090
- };
1091
- organization: OrganizationState;
245
+ deployments: DeploymentsSliceType;
246
+ monitor: MonitorSliceType;
247
+ onboarding: OnboardingSliceType;
248
+ organization: OrganizationSliceType;
1092
249
  releases: ReleaseSliceType;
1093
- users: {
1094
- activationCode?: string;
1095
- byId: Record<string, User>;
1096
- currentSession?: UserSession | object;
1097
- currentUser: string | null;
1098
- customColumns: CustomColumn[];
1099
- globalSettings: GlobalSettings;
1100
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1101
- qrCode: string | null;
1102
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1103
- rolesInitialized: boolean;
1104
- settingsInitialized: boolean;
1105
- showConnectDeviceDialog: boolean;
1106
- showFeedbackDialog: boolean;
1107
- showStartupNotification: boolean;
1108
- tooltips: {
1109
- byId: Record<string, {
1110
- readState: ReadState;
1111
- }>;
1112
- };
1113
- userSettings: UserSettings;
1114
- userSettingsInitialized: boolean;
1115
- };
250
+ users: UserSliceType;
1116
251
  }) => boolean) & {
1117
252
  clearCache: () => void;
1118
253
  resultsCount: () => number;
@@ -1126,138 +261,14 @@ declare const getHas2FA: ((state: {
1126
261
  };
1127
262
  lastResult: () => boolean;
1128
263
  dependencies: [((state: {
1129
- app: {
1130
- cancelSource: any;
1131
- commit: string;
1132
- demoArtifactLink: string;
1133
- docsVersion: string;
1134
- features: Record<string, boolean>;
1135
- feedbackProbability: number;
1136
- firstLoginAfterSignup: boolean;
1137
- hostAddress: string | null;
1138
- hostedAnnouncement: string;
1139
- newThreshold: string;
1140
- offlineThreshold: string;
1141
- recaptchaSiteKey: string;
1142
- searchState: SearchState;
1143
- sentry: SentryConfig;
1144
- snackbar: SnackbarContent;
1145
- stripeAPIKey: string;
1146
- trackerCode: string;
1147
- uploadsById: Record<string, Upload>;
1148
- versionInformation: {
1149
- [key: string]: string | {
1150
- releaseDate: string;
1151
- repos: Record<string, string>;
1152
- } | undefined;
1153
- backend?: string;
1154
- GUI?: string;
1155
- latestRelease?: {
1156
- releaseDate: string;
1157
- repos: Record<string, string>;
1158
- };
1159
- };
1160
- yesterday?: string;
1161
- };
264
+ app: AppSliceType;
1162
265
  devices: DeviceSliceType;
1163
- deployments: {
1164
- byId: Record<string, Deployment>;
1165
- byStatus: DeploymentByStatus;
1166
- config: DeploymentConfig;
1167
- deploymentDeviceLimit: number;
1168
- selectedDeviceIds: string[];
1169
- selectionState: SelectionState;
1170
- };
1171
- monitor: {
1172
- alerts: {
1173
- alertList: {
1174
- page: number;
1175
- perPage: number;
1176
- total: number;
1177
- };
1178
- byDeviceId: {
1179
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1180
- fullName?: string;
1181
- }>;
1182
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1183
- fullName?: string;
1184
- }>;
1185
- };
1186
- };
1187
- issueCounts: {
1188
- byType: {
1189
- issues: {
1190
- filtered: number;
1191
- total: number;
1192
- };
1193
- offline: {
1194
- filtered: number;
1195
- total: number;
1196
- };
1197
- failedLastUpdate: {
1198
- filtered: number;
1199
- total: number;
1200
- };
1201
- monitoring: {
1202
- filtered: number;
1203
- total: number;
1204
- };
1205
- authRequests: {
1206
- filtered: number;
1207
- total: number;
1208
- };
1209
- gatewayDevices: {
1210
- filtered: number;
1211
- total: number;
1212
- };
1213
- };
1214
- };
1215
- settings: {
1216
- global: {
1217
- channels: {
1218
- email: {
1219
- enabled: boolean;
1220
- };
1221
- };
1222
- };
1223
- };
1224
- };
1225
- onboarding: {
1226
- address?: string;
1227
- approach: OnboardingApproach | null;
1228
- complete: boolean;
1229
- demoArtifactPort: number;
1230
- deviceConnection?: string;
1231
- deviceType: string[] | string | null;
1232
- progress: string | null;
1233
- showTips: boolean | null;
1234
- showTipsDialog: boolean;
1235
- };
1236
- organization: OrganizationState;
266
+ deployments: DeploymentsSliceType;
267
+ monitor: MonitorSliceType;
268
+ onboarding: OnboardingSliceType;
269
+ organization: OrganizationSliceType;
1237
270
  releases: ReleaseSliceType;
1238
- users: {
1239
- activationCode?: string;
1240
- byId: Record<string, User>;
1241
- currentSession?: UserSession | object;
1242
- currentUser: string | null;
1243
- customColumns: CustomColumn[];
1244
- globalSettings: GlobalSettings;
1245
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1246
- qrCode: string | null;
1247
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1248
- rolesInitialized: boolean;
1249
- settingsInitialized: boolean;
1250
- showConnectDeviceDialog: boolean;
1251
- showFeedbackDialog: boolean;
1252
- showStartupNotification: boolean;
1253
- tooltips: {
1254
- byId: Record<string, {
1255
- readState: ReadState;
1256
- }>;
1257
- };
1258
- userSettings: UserSettings;
1259
- userSettingsInitialized: boolean;
1260
- };
271
+ users: UserSliceType;
1261
272
  }) => User) & {
1262
273
  clearCache: () => void;
1263
274
  resultsCount: () => number;
@@ -1288,138 +299,14 @@ declare const getHas2FA: ((state: {
1288
299
  argsMemoize: typeof reselect.weakMapMemoize;
1289
300
  };
1290
301
  declare const getIdAttribute: ((state: {
1291
- app: {
1292
- cancelSource: any;
1293
- commit: string;
1294
- demoArtifactLink: string;
1295
- docsVersion: string;
1296
- features: Record<string, boolean>;
1297
- feedbackProbability: number;
1298
- firstLoginAfterSignup: boolean;
1299
- hostAddress: string | null;
1300
- hostedAnnouncement: string;
1301
- newThreshold: string;
1302
- offlineThreshold: string;
1303
- recaptchaSiteKey: string;
1304
- searchState: SearchState;
1305
- sentry: SentryConfig;
1306
- snackbar: SnackbarContent;
1307
- stripeAPIKey: string;
1308
- trackerCode: string;
1309
- uploadsById: Record<string, Upload>;
1310
- versionInformation: {
1311
- [key: string]: string | {
1312
- releaseDate: string;
1313
- repos: Record<string, string>;
1314
- } | undefined;
1315
- backend?: string;
1316
- GUI?: string;
1317
- latestRelease?: {
1318
- releaseDate: string;
1319
- repos: Record<string, string>;
1320
- };
1321
- };
1322
- yesterday?: string;
1323
- };
302
+ app: AppSliceType;
1324
303
  devices: DeviceSliceType;
1325
- deployments: {
1326
- byId: Record<string, Deployment>;
1327
- byStatus: DeploymentByStatus;
1328
- config: DeploymentConfig;
1329
- deploymentDeviceLimit: number;
1330
- selectedDeviceIds: string[];
1331
- selectionState: SelectionState;
1332
- };
1333
- monitor: {
1334
- alerts: {
1335
- alertList: {
1336
- page: number;
1337
- perPage: number;
1338
- total: number;
1339
- };
1340
- byDeviceId: {
1341
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1342
- fullName?: string;
1343
- }>;
1344
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1345
- fullName?: string;
1346
- }>;
1347
- };
1348
- };
1349
- issueCounts: {
1350
- byType: {
1351
- issues: {
1352
- filtered: number;
1353
- total: number;
1354
- };
1355
- offline: {
1356
- filtered: number;
1357
- total: number;
1358
- };
1359
- failedLastUpdate: {
1360
- filtered: number;
1361
- total: number;
1362
- };
1363
- monitoring: {
1364
- filtered: number;
1365
- total: number;
1366
- };
1367
- authRequests: {
1368
- filtered: number;
1369
- total: number;
1370
- };
1371
- gatewayDevices: {
1372
- filtered: number;
1373
- total: number;
1374
- };
1375
- };
1376
- };
1377
- settings: {
1378
- global: {
1379
- channels: {
1380
- email: {
1381
- enabled: boolean;
1382
- };
1383
- };
1384
- };
1385
- };
1386
- };
1387
- onboarding: {
1388
- address?: string;
1389
- approach: OnboardingApproach | null;
1390
- complete: boolean;
1391
- demoArtifactPort: number;
1392
- deviceConnection?: string;
1393
- deviceType: string[] | string | null;
1394
- progress: string | null;
1395
- showTips: boolean | null;
1396
- showTipsDialog: boolean;
1397
- };
1398
- organization: OrganizationState;
304
+ deployments: DeploymentsSliceType;
305
+ monitor: MonitorSliceType;
306
+ onboarding: OnboardingSliceType;
307
+ organization: OrganizationSliceType;
1399
308
  releases: ReleaseSliceType;
1400
- users: {
1401
- activationCode?: string;
1402
- byId: Record<string, User>;
1403
- currentSession?: UserSession | object;
1404
- currentUser: string | null;
1405
- customColumns: CustomColumn[];
1406
- globalSettings: GlobalSettings;
1407
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1408
- qrCode: string | null;
1409
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1410
- rolesInitialized: boolean;
1411
- settingsInitialized: boolean;
1412
- showConnectDeviceDialog: boolean;
1413
- showFeedbackDialog: boolean;
1414
- showStartupNotification: boolean;
1415
- tooltips: {
1416
- byId: Record<string, {
1417
- readState: ReadState;
1418
- }>;
1419
- };
1420
- userSettings: UserSettings;
1421
- userSettingsInitialized: boolean;
1422
- };
309
+ users: UserSliceType;
1423
310
  }) => {
1424
311
  attribute: string;
1425
312
  scope: string;
@@ -1454,138 +341,14 @@ declare const getIdAttribute: ((state: {
1454
341
  argsMemoize: typeof reselect.weakMapMemoize;
1455
342
  };
1456
343
  declare const getOfflineThresholdSettings: ((state: {
1457
- app: {
1458
- cancelSource: any;
1459
- commit: string;
1460
- demoArtifactLink: string;
1461
- docsVersion: string;
1462
- features: Record<string, boolean>;
1463
- feedbackProbability: number;
1464
- firstLoginAfterSignup: boolean;
1465
- hostAddress: string | null;
1466
- hostedAnnouncement: string;
1467
- newThreshold: string;
1468
- offlineThreshold: string;
1469
- recaptchaSiteKey: string;
1470
- searchState: SearchState;
1471
- sentry: SentryConfig;
1472
- snackbar: SnackbarContent;
1473
- stripeAPIKey: string;
1474
- trackerCode: string;
1475
- uploadsById: Record<string, Upload>;
1476
- versionInformation: {
1477
- [key: string]: string | {
1478
- releaseDate: string;
1479
- repos: Record<string, string>;
1480
- } | undefined;
1481
- backend?: string;
1482
- GUI?: string;
1483
- latestRelease?: {
1484
- releaseDate: string;
1485
- repos: Record<string, string>;
1486
- };
1487
- };
1488
- yesterday?: string;
1489
- };
344
+ app: AppSliceType;
1490
345
  devices: DeviceSliceType;
1491
- deployments: {
1492
- byId: Record<string, Deployment>;
1493
- byStatus: DeploymentByStatus;
1494
- config: DeploymentConfig;
1495
- deploymentDeviceLimit: number;
1496
- selectedDeviceIds: string[];
1497
- selectionState: SelectionState;
1498
- };
1499
- monitor: {
1500
- alerts: {
1501
- alertList: {
1502
- page: number;
1503
- perPage: number;
1504
- total: number;
1505
- };
1506
- byDeviceId: {
1507
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1508
- fullName?: string;
1509
- }>;
1510
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1511
- fullName?: string;
1512
- }>;
1513
- };
1514
- };
1515
- issueCounts: {
1516
- byType: {
1517
- issues: {
1518
- filtered: number;
1519
- total: number;
1520
- };
1521
- offline: {
1522
- filtered: number;
1523
- total: number;
1524
- };
1525
- failedLastUpdate: {
1526
- filtered: number;
1527
- total: number;
1528
- };
1529
- monitoring: {
1530
- filtered: number;
1531
- total: number;
1532
- };
1533
- authRequests: {
1534
- filtered: number;
1535
- total: number;
1536
- };
1537
- gatewayDevices: {
1538
- filtered: number;
1539
- total: number;
1540
- };
1541
- };
1542
- };
1543
- settings: {
1544
- global: {
1545
- channels: {
1546
- email: {
1547
- enabled: boolean;
1548
- };
1549
- };
1550
- };
1551
- };
1552
- };
1553
- onboarding: {
1554
- address?: string;
1555
- approach: OnboardingApproach | null;
1556
- complete: boolean;
1557
- demoArtifactPort: number;
1558
- deviceConnection?: string;
1559
- deviceType: string[] | string | null;
1560
- progress: string | null;
1561
- showTips: boolean | null;
1562
- showTipsDialog: boolean;
1563
- };
1564
- organization: OrganizationState;
346
+ deployments: DeploymentsSliceType;
347
+ monitor: MonitorSliceType;
348
+ onboarding: OnboardingSliceType;
349
+ organization: OrganizationSliceType;
1565
350
  releases: ReleaseSliceType;
1566
- users: {
1567
- activationCode?: string;
1568
- byId: Record<string, User>;
1569
- currentSession?: UserSession | object;
1570
- currentUser: string | null;
1571
- customColumns: CustomColumn[];
1572
- globalSettings: GlobalSettings;
1573
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1574
- qrCode: string | null;
1575
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1576
- rolesInitialized: boolean;
1577
- settingsInitialized: boolean;
1578
- showConnectDeviceDialog: boolean;
1579
- showFeedbackDialog: boolean;
1580
- showStartupNotification: boolean;
1581
- tooltips: {
1582
- byId: Record<string, {
1583
- readState: ReadState;
1584
- }>;
1585
- };
1586
- userSettings: UserSettings;
1587
- userSettingsInitialized: boolean;
1588
- };
351
+ users: UserSliceType;
1589
352
  }) => {
1590
353
  interval: any;
1591
354
  intervalUnit: any;
@@ -1620,138 +383,14 @@ declare const getOfflineThresholdSettings: ((state: {
1620
383
  argsMemoize: typeof reselect.weakMapMemoize;
1621
384
  };
1622
385
  declare const getRolesList: ((state: {
1623
- app: {
1624
- cancelSource: any;
1625
- commit: string;
1626
- demoArtifactLink: string;
1627
- docsVersion: string;
1628
- features: Record<string, boolean>;
1629
- feedbackProbability: number;
1630
- firstLoginAfterSignup: boolean;
1631
- hostAddress: string | null;
1632
- hostedAnnouncement: string;
1633
- newThreshold: string;
1634
- offlineThreshold: string;
1635
- recaptchaSiteKey: string;
1636
- searchState: SearchState;
1637
- sentry: SentryConfig;
1638
- snackbar: SnackbarContent;
1639
- stripeAPIKey: string;
1640
- trackerCode: string;
1641
- uploadsById: Record<string, Upload>;
1642
- versionInformation: {
1643
- [key: string]: string | {
1644
- releaseDate: string;
1645
- repos: Record<string, string>;
1646
- } | undefined;
1647
- backend?: string;
1648
- GUI?: string;
1649
- latestRelease?: {
1650
- releaseDate: string;
1651
- repos: Record<string, string>;
1652
- };
1653
- };
1654
- yesterday?: string;
1655
- };
386
+ app: AppSliceType;
1656
387
  devices: DeviceSliceType;
1657
- deployments: {
1658
- byId: Record<string, Deployment>;
1659
- byStatus: DeploymentByStatus;
1660
- config: DeploymentConfig;
1661
- deploymentDeviceLimit: number;
1662
- selectedDeviceIds: string[];
1663
- selectionState: SelectionState;
1664
- };
1665
- monitor: {
1666
- alerts: {
1667
- alertList: {
1668
- page: number;
1669
- perPage: number;
1670
- total: number;
1671
- };
1672
- byDeviceId: {
1673
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
1674
- fullName?: string;
1675
- }>;
1676
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
1677
- fullName?: string;
1678
- }>;
1679
- };
1680
- };
1681
- issueCounts: {
1682
- byType: {
1683
- issues: {
1684
- filtered: number;
1685
- total: number;
1686
- };
1687
- offline: {
1688
- filtered: number;
1689
- total: number;
1690
- };
1691
- failedLastUpdate: {
1692
- filtered: number;
1693
- total: number;
1694
- };
1695
- monitoring: {
1696
- filtered: number;
1697
- total: number;
1698
- };
1699
- authRequests: {
1700
- filtered: number;
1701
- total: number;
1702
- };
1703
- gatewayDevices: {
1704
- filtered: number;
1705
- total: number;
1706
- };
1707
- };
1708
- };
1709
- settings: {
1710
- global: {
1711
- channels: {
1712
- email: {
1713
- enabled: boolean;
1714
- };
1715
- };
1716
- };
1717
- };
1718
- };
1719
- onboarding: {
1720
- address?: string;
1721
- approach: OnboardingApproach | null;
1722
- complete: boolean;
1723
- demoArtifactPort: number;
1724
- deviceConnection?: string;
1725
- deviceType: string[] | string | null;
1726
- progress: string | null;
1727
- showTips: boolean | null;
1728
- showTipsDialog: boolean;
1729
- };
1730
- organization: OrganizationState;
388
+ deployments: DeploymentsSliceType;
389
+ monitor: MonitorSliceType;
390
+ onboarding: OnboardingSliceType;
391
+ organization: OrganizationSliceType;
1731
392
  releases: ReleaseSliceType;
1732
- users: {
1733
- activationCode?: string;
1734
- byId: Record<string, User>;
1735
- currentSession?: UserSession | object;
1736
- currentUser: string | null;
1737
- customColumns: CustomColumn[];
1738
- globalSettings: GlobalSettings;
1739
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
1740
- qrCode: string | null;
1741
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
1742
- rolesInitialized: boolean;
1743
- settingsInitialized: boolean;
1744
- showConnectDeviceDialog: boolean;
1745
- showFeedbackDialog: boolean;
1746
- showStartupNotification: boolean;
1747
- tooltips: {
1748
- byId: Record<string, {
1749
- readState: ReadState;
1750
- }>;
1751
- };
1752
- userSettings: UserSettings;
1753
- userSettingsInitialized: boolean;
1754
- };
393
+ users: UserSliceType;
1755
394
  }) => {
1756
395
  name: string;
1757
396
  description?: string;