@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,26 +1,29 @@
1
1
  import * as reselect from 'reselect';
2
- import * as _northern_tech_utils_constants from '@northern.tech/utils/constants';
3
- import { ReadState } from '../usersSlice/constants.cjs';
4
- import { User, UserSession, CustomColumn, GlobalSettings, UserSettings } from '../usersSlice/index.cjs';
2
+ import { UserSliceType } from '../usersSlice/index.cjs';
5
3
  import { ReleaseSliceType } from '../releasesSlice/index.cjs';
6
- import { OnboardingApproach } from '../onboardingSlice/index.cjs';
7
- import { Deployment, DeploymentByStatus, DeploymentConfig, SelectionState } from '../deploymentsSlice/index.cjs';
4
+ import { OrganizationSliceType } from './index.cjs';
5
+ import { OnboardingSliceType } from '../onboardingSlice/index.cjs';
6
+ import { MonitorSliceType } from '../monitorSlice/index.cjs';
7
+ import { DeploymentsSliceType } from '../deploymentsSlice/index.cjs';
8
8
  import { DeviceSliceType } from '../devicesSlice/index.cjs';
9
- import { SearchState, SentryConfig, SnackbarContent, Upload } from '../appSlice/index.cjs';
9
+ import { AppSliceType } from '../appSlice/index.cjs';
10
10
  import * as _northern_tech_types_types_gen from '@northern.tech/types/types.gen';
11
- import { Organization, AuditLogSelectionState, Card, SSOConfig, TenantList, OrganizationState } from './types.cjs';
11
+ import { Organization, AuditLogSelectionState, Card, SSOConfig, TenantList } from './types.cjs';
12
12
  import { RootState } from '../store.cjs';
13
13
  import 'redux';
14
14
  import '@reduxjs/toolkit';
15
15
  import 'immer';
16
16
  import '@northern.tech/types/MenderTypes';
17
+ import '@northern.tech/utils/constants';
17
18
  import '../commonConstants.cjs';
18
19
  import 'react/jsx-runtime';
19
- import '../devicesSlice/constants.cjs';
20
- import '@mui/material';
20
+ import '../usersSlice/constants.cjs';
21
21
  import '../appSlice/constants.cjs';
22
22
  import '@mui/material/OverridableComponent';
23
+ import '@mui/material';
23
24
  import './constants.cjs';
25
+ import '../monitorSlice/constants.cjs';
26
+ import '../devicesSlice/constants.cjs';
24
27
  import 'redux-thunk';
25
28
 
26
29
  declare const getOrganization: (state: RootState) => Partial<Organization>;
@@ -36,138 +39,14 @@ declare const getTenantsList: (state: RootState) => TenantList;
36
39
  declare const getWebhookEvents: (state: RootState) => _northern_tech_types_types_gen.Event[];
37
40
  declare const getWebhookEventTotal: (state: RootState) => number;
38
41
  declare const getDeviceTwinIntegrations: ((state: {
39
- app: {
40
- cancelSource: any;
41
- commit: string;
42
- demoArtifactLink: string;
43
- docsVersion: string;
44
- features: Record<string, boolean>;
45
- feedbackProbability: number;
46
- firstLoginAfterSignup: boolean;
47
- hostAddress: string | null;
48
- hostedAnnouncement: string;
49
- newThreshold: string;
50
- offlineThreshold: string;
51
- recaptchaSiteKey: string;
52
- searchState: SearchState;
53
- sentry: SentryConfig;
54
- snackbar: SnackbarContent;
55
- stripeAPIKey: string;
56
- trackerCode: string;
57
- uploadsById: Record<string, Upload>;
58
- versionInformation: {
59
- [key: string]: string | {
60
- releaseDate: string;
61
- repos: Record<string, string>;
62
- } | undefined;
63
- backend?: string;
64
- GUI?: string;
65
- latestRelease?: {
66
- releaseDate: string;
67
- repos: Record<string, string>;
68
- };
69
- };
70
- yesterday?: string;
71
- };
42
+ app: AppSliceType;
72
43
  devices: DeviceSliceType;
73
- deployments: {
74
- byId: Record<string, Deployment>;
75
- byStatus: DeploymentByStatus;
76
- config: DeploymentConfig;
77
- deploymentDeviceLimit: number;
78
- selectedDeviceIds: string[];
79
- selectionState: SelectionState;
80
- };
81
- monitor: {
82
- alerts: {
83
- alertList: {
84
- page: number;
85
- perPage: number;
86
- total: number;
87
- };
88
- byDeviceId: {
89
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
90
- fullName?: string;
91
- }>;
92
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
93
- fullName?: string;
94
- }>;
95
- };
96
- };
97
- issueCounts: {
98
- byType: {
99
- issues: {
100
- filtered: number;
101
- total: number;
102
- };
103
- offline: {
104
- filtered: number;
105
- total: number;
106
- };
107
- failedLastUpdate: {
108
- filtered: number;
109
- total: number;
110
- };
111
- monitoring: {
112
- filtered: number;
113
- total: number;
114
- };
115
- authRequests: {
116
- filtered: number;
117
- total: number;
118
- };
119
- gatewayDevices: {
120
- filtered: number;
121
- total: number;
122
- };
123
- };
124
- };
125
- settings: {
126
- global: {
127
- channels: {
128
- email: {
129
- enabled: boolean;
130
- };
131
- };
132
- };
133
- };
134
- };
135
- onboarding: {
136
- address?: string;
137
- approach: OnboardingApproach | null;
138
- complete: boolean;
139
- demoArtifactPort: number;
140
- deviceConnection?: string;
141
- deviceType: string[] | string | null;
142
- progress: string | null;
143
- showTips: boolean | null;
144
- showTipsDialog: boolean;
145
- };
146
- organization: OrganizationState;
44
+ deployments: DeploymentsSliceType;
45
+ monitor: MonitorSliceType;
46
+ onboarding: OnboardingSliceType;
47
+ organization: OrganizationSliceType;
147
48
  releases: ReleaseSliceType;
148
- users: {
149
- activationCode?: string;
150
- byId: Record<string, User>;
151
- currentSession?: UserSession | object;
152
- currentUser: string | null;
153
- customColumns: CustomColumn[];
154
- globalSettings: GlobalSettings;
155
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
156
- qrCode: string | null;
157
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
158
- rolesInitialized: boolean;
159
- settingsInitialized: boolean;
160
- showConnectDeviceDialog: boolean;
161
- showFeedbackDialog: boolean;
162
- showStartupNotification: boolean;
163
- tooltips: {
164
- byId: Record<string, {
165
- readState: ReadState;
166
- }>;
167
- };
168
- userSettings: UserSettings;
169
- userSettingsInitialized: boolean;
170
- };
49
+ users: UserSliceType;
171
50
  }) => _northern_tech_types_types_gen.Integration[]) & {
172
51
  clearCache: () => void;
173
52
  resultsCount: () => number;
@@ -191,138 +70,14 @@ declare const getDeviceTwinIntegrations: ((state: {
191
70
  };
192
71
  declare const getIsServiceProvider: (state: RootState) => boolean | undefined;
193
72
  declare const getWebhooks: ((state: {
194
- app: {
195
- cancelSource: any;
196
- commit: string;
197
- demoArtifactLink: string;
198
- docsVersion: string;
199
- features: Record<string, boolean>;
200
- feedbackProbability: number;
201
- firstLoginAfterSignup: boolean;
202
- hostAddress: string | null;
203
- hostedAnnouncement: string;
204
- newThreshold: string;
205
- offlineThreshold: string;
206
- recaptchaSiteKey: string;
207
- searchState: SearchState;
208
- sentry: SentryConfig;
209
- snackbar: SnackbarContent;
210
- stripeAPIKey: string;
211
- trackerCode: string;
212
- uploadsById: Record<string, Upload>;
213
- versionInformation: {
214
- [key: string]: string | {
215
- releaseDate: string;
216
- repos: Record<string, string>;
217
- } | undefined;
218
- backend?: string;
219
- GUI?: string;
220
- latestRelease?: {
221
- releaseDate: string;
222
- repos: Record<string, string>;
223
- };
224
- };
225
- yesterday?: string;
226
- };
73
+ app: AppSliceType;
227
74
  devices: DeviceSliceType;
228
- deployments: {
229
- byId: Record<string, Deployment>;
230
- byStatus: DeploymentByStatus;
231
- config: DeploymentConfig;
232
- deploymentDeviceLimit: number;
233
- selectedDeviceIds: string[];
234
- selectionState: SelectionState;
235
- };
236
- monitor: {
237
- alerts: {
238
- alertList: {
239
- page: number;
240
- perPage: number;
241
- total: number;
242
- };
243
- byDeviceId: {
244
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
245
- fullName?: string;
246
- }>;
247
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
248
- fullName?: string;
249
- }>;
250
- };
251
- };
252
- issueCounts: {
253
- byType: {
254
- issues: {
255
- filtered: number;
256
- total: number;
257
- };
258
- offline: {
259
- filtered: number;
260
- total: number;
261
- };
262
- failedLastUpdate: {
263
- filtered: number;
264
- total: number;
265
- };
266
- monitoring: {
267
- filtered: number;
268
- total: number;
269
- };
270
- authRequests: {
271
- filtered: number;
272
- total: number;
273
- };
274
- gatewayDevices: {
275
- filtered: number;
276
- total: number;
277
- };
278
- };
279
- };
280
- settings: {
281
- global: {
282
- channels: {
283
- email: {
284
- enabled: boolean;
285
- };
286
- };
287
- };
288
- };
289
- };
290
- onboarding: {
291
- address?: string;
292
- approach: OnboardingApproach | null;
293
- complete: boolean;
294
- demoArtifactPort: number;
295
- deviceConnection?: string;
296
- deviceType: string[] | string | null;
297
- progress: string | null;
298
- showTips: boolean | null;
299
- showTipsDialog: boolean;
300
- };
301
- organization: OrganizationState;
75
+ deployments: DeploymentsSliceType;
76
+ monitor: MonitorSliceType;
77
+ onboarding: OnboardingSliceType;
78
+ organization: OrganizationSliceType;
302
79
  releases: ReleaseSliceType;
303
- users: {
304
- activationCode?: string;
305
- byId: Record<string, User>;
306
- currentSession?: UserSession | object;
307
- currentUser: string | null;
308
- customColumns: CustomColumn[];
309
- globalSettings: GlobalSettings;
310
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
311
- qrCode: string | null;
312
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
313
- rolesInitialized: boolean;
314
- settingsInitialized: boolean;
315
- showConnectDeviceDialog: boolean;
316
- showFeedbackDialog: boolean;
317
- showStartupNotification: boolean;
318
- tooltips: {
319
- byId: Record<string, {
320
- readState: ReadState;
321
- }>;
322
- };
323
- userSettings: UserSettings;
324
- userSettingsInitialized: boolean;
325
- };
80
+ users: UserSliceType;
326
81
  }) => _northern_tech_types_types_gen.Integration[]) & {
327
82
  clearCache: () => void;
328
83
  resultsCount: () => number;
@@ -345,138 +100,14 @@ declare const getWebhooks: ((state: {
345
100
  argsMemoize: typeof reselect.weakMapMemoize;
346
101
  };
347
102
  declare const getWebhookEventInfo: ((state: {
348
- app: {
349
- cancelSource: any;
350
- commit: string;
351
- demoArtifactLink: string;
352
- docsVersion: string;
353
- features: Record<string, boolean>;
354
- feedbackProbability: number;
355
- firstLoginAfterSignup: boolean;
356
- hostAddress: string | null;
357
- hostedAnnouncement: string;
358
- newThreshold: string;
359
- offlineThreshold: string;
360
- recaptchaSiteKey: string;
361
- searchState: SearchState;
362
- sentry: SentryConfig;
363
- snackbar: SnackbarContent;
364
- stripeAPIKey: string;
365
- trackerCode: string;
366
- uploadsById: Record<string, Upload>;
367
- versionInformation: {
368
- [key: string]: string | {
369
- releaseDate: string;
370
- repos: Record<string, string>;
371
- } | undefined;
372
- backend?: string;
373
- GUI?: string;
374
- latestRelease?: {
375
- releaseDate: string;
376
- repos: Record<string, string>;
377
- };
378
- };
379
- yesterday?: string;
380
- };
103
+ app: AppSliceType;
381
104
  devices: DeviceSliceType;
382
- deployments: {
383
- byId: Record<string, Deployment>;
384
- byStatus: DeploymentByStatus;
385
- config: DeploymentConfig;
386
- deploymentDeviceLimit: number;
387
- selectedDeviceIds: string[];
388
- selectionState: SelectionState;
389
- };
390
- monitor: {
391
- alerts: {
392
- alertList: {
393
- page: number;
394
- perPage: number;
395
- total: number;
396
- };
397
- byDeviceId: {
398
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
399
- fullName?: string;
400
- }>;
401
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
402
- fullName?: string;
403
- }>;
404
- };
405
- };
406
- issueCounts: {
407
- byType: {
408
- issues: {
409
- filtered: number;
410
- total: number;
411
- };
412
- offline: {
413
- filtered: number;
414
- total: number;
415
- };
416
- failedLastUpdate: {
417
- filtered: number;
418
- total: number;
419
- };
420
- monitoring: {
421
- filtered: number;
422
- total: number;
423
- };
424
- authRequests: {
425
- filtered: number;
426
- total: number;
427
- };
428
- gatewayDevices: {
429
- filtered: number;
430
- total: number;
431
- };
432
- };
433
- };
434
- settings: {
435
- global: {
436
- channels: {
437
- email: {
438
- enabled: boolean;
439
- };
440
- };
441
- };
442
- };
443
- };
444
- onboarding: {
445
- address?: string;
446
- approach: OnboardingApproach | null;
447
- complete: boolean;
448
- demoArtifactPort: number;
449
- deviceConnection?: string;
450
- deviceType: string[] | string | null;
451
- progress: string | null;
452
- showTips: boolean | null;
453
- showTipsDialog: boolean;
454
- };
455
- organization: OrganizationState;
105
+ deployments: DeploymentsSliceType;
106
+ monitor: MonitorSliceType;
107
+ onboarding: OnboardingSliceType;
108
+ organization: OrganizationSliceType;
456
109
  releases: ReleaseSliceType;
457
- users: {
458
- activationCode?: string;
459
- byId: Record<string, User>;
460
- currentSession?: UserSession | object;
461
- currentUser: string | null;
462
- customColumns: CustomColumn[];
463
- globalSettings: GlobalSettings;
464
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
465
- qrCode: string | null;
466
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
467
- rolesInitialized: boolean;
468
- settingsInitialized: boolean;
469
- showConnectDeviceDialog: boolean;
470
- showFeedbackDialog: boolean;
471
- showStartupNotification: boolean;
472
- tooltips: {
473
- byId: Record<string, {
474
- readState: ReadState;
475
- }>;
476
- };
477
- userSettings: UserSettings;
478
- userSettingsInitialized: boolean;
479
- };
110
+ users: UserSliceType;
480
111
  }) => {
481
112
  events: _northern_tech_types_types_gen.Event[];
482
113
  eventTotal: number;
@@ -502,138 +133,14 @@ declare const getWebhookEventInfo: ((state: {
502
133
  eventTotal: number;
503
134
  };
504
135
  dependencies: [((state: {
505
- app: {
506
- cancelSource: any;
507
- commit: string;
508
- demoArtifactLink: string;
509
- docsVersion: string;
510
- features: Record<string, boolean>;
511
- feedbackProbability: number;
512
- firstLoginAfterSignup: boolean;
513
- hostAddress: string | null;
514
- hostedAnnouncement: string;
515
- newThreshold: string;
516
- offlineThreshold: string;
517
- recaptchaSiteKey: string;
518
- searchState: SearchState;
519
- sentry: SentryConfig;
520
- snackbar: SnackbarContent;
521
- stripeAPIKey: string;
522
- trackerCode: string;
523
- uploadsById: Record<string, Upload>;
524
- versionInformation: {
525
- [key: string]: string | {
526
- releaseDate: string;
527
- repos: Record<string, string>;
528
- } | undefined;
529
- backend?: string;
530
- GUI?: string;
531
- latestRelease?: {
532
- releaseDate: string;
533
- repos: Record<string, string>;
534
- };
535
- };
536
- yesterday?: string;
537
- };
136
+ app: AppSliceType;
538
137
  devices: DeviceSliceType;
539
- deployments: {
540
- byId: Record<string, Deployment>;
541
- byStatus: DeploymentByStatus;
542
- config: DeploymentConfig;
543
- deploymentDeviceLimit: number;
544
- selectedDeviceIds: string[];
545
- selectionState: SelectionState;
546
- };
547
- monitor: {
548
- alerts: {
549
- alertList: {
550
- page: number;
551
- perPage: number;
552
- total: number;
553
- };
554
- byDeviceId: {
555
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
556
- fullName?: string;
557
- }>;
558
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
559
- fullName?: string;
560
- }>;
561
- };
562
- };
563
- issueCounts: {
564
- byType: {
565
- issues: {
566
- filtered: number;
567
- total: number;
568
- };
569
- offline: {
570
- filtered: number;
571
- total: number;
572
- };
573
- failedLastUpdate: {
574
- filtered: number;
575
- total: number;
576
- };
577
- monitoring: {
578
- filtered: number;
579
- total: number;
580
- };
581
- authRequests: {
582
- filtered: number;
583
- total: number;
584
- };
585
- gatewayDevices: {
586
- filtered: number;
587
- total: number;
588
- };
589
- };
590
- };
591
- settings: {
592
- global: {
593
- channels: {
594
- email: {
595
- enabled: boolean;
596
- };
597
- };
598
- };
599
- };
600
- };
601
- onboarding: {
602
- address?: string;
603
- approach: OnboardingApproach | null;
604
- complete: boolean;
605
- demoArtifactPort: number;
606
- deviceConnection?: string;
607
- deviceType: string[] | string | null;
608
- progress: string | null;
609
- showTips: boolean | null;
610
- showTipsDialog: boolean;
611
- };
612
- organization: OrganizationState;
138
+ deployments: DeploymentsSliceType;
139
+ monitor: MonitorSliceType;
140
+ onboarding: OnboardingSliceType;
141
+ organization: OrganizationSliceType;
613
142
  releases: ReleaseSliceType;
614
- users: {
615
- activationCode?: string;
616
- byId: Record<string, User>;
617
- currentSession?: UserSession | object;
618
- currentUser: string | null;
619
- customColumns: CustomColumn[];
620
- globalSettings: GlobalSettings;
621
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
622
- qrCode: string | null;
623
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
624
- rolesInitialized: boolean;
625
- settingsInitialized: boolean;
626
- showConnectDeviceDialog: boolean;
627
- showFeedbackDialog: boolean;
628
- showStartupNotification: boolean;
629
- tooltips: {
630
- byId: Record<string, {
631
- readState: ReadState;
632
- }>;
633
- };
634
- userSettings: UserSettings;
635
- userSettingsInitialized: boolean;
636
- };
143
+ users: UserSliceType;
637
144
  }) => _northern_tech_types_types_gen.Integration[]) & {
638
145
  clearCache: () => void;
639
146
  resultsCount: () => number;
@@ -664,138 +171,14 @@ declare const getWebhookEventInfo: ((state: {
664
171
  argsMemoize: typeof reselect.weakMapMemoize;
665
172
  };
666
173
  declare const getAuditLogEntry: ((state: {
667
- app: {
668
- cancelSource: any;
669
- commit: string;
670
- demoArtifactLink: string;
671
- docsVersion: string;
672
- features: Record<string, boolean>;
673
- feedbackProbability: number;
674
- firstLoginAfterSignup: boolean;
675
- hostAddress: string | null;
676
- hostedAnnouncement: string;
677
- newThreshold: string;
678
- offlineThreshold: string;
679
- recaptchaSiteKey: string;
680
- searchState: SearchState;
681
- sentry: SentryConfig;
682
- snackbar: SnackbarContent;
683
- stripeAPIKey: string;
684
- trackerCode: string;
685
- uploadsById: Record<string, Upload>;
686
- versionInformation: {
687
- [key: string]: string | {
688
- releaseDate: string;
689
- repos: Record<string, string>;
690
- } | undefined;
691
- backend?: string;
692
- GUI?: string;
693
- latestRelease?: {
694
- releaseDate: string;
695
- repos: Record<string, string>;
696
- };
697
- };
698
- yesterday?: string;
699
- };
174
+ app: AppSliceType;
700
175
  devices: DeviceSliceType;
701
- deployments: {
702
- byId: Record<string, Deployment>;
703
- byStatus: DeploymentByStatus;
704
- config: DeploymentConfig;
705
- deploymentDeviceLimit: number;
706
- selectedDeviceIds: string[];
707
- selectionState: SelectionState;
708
- };
709
- monitor: {
710
- alerts: {
711
- alertList: {
712
- page: number;
713
- perPage: number;
714
- total: number;
715
- };
716
- byDeviceId: {
717
- alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
718
- fullName?: string;
719
- }>;
720
- latest?: Record<string, _northern_tech_types_types_gen.Alert & {
721
- fullName?: string;
722
- }>;
723
- };
724
- };
725
- issueCounts: {
726
- byType: {
727
- issues: {
728
- filtered: number;
729
- total: number;
730
- };
731
- offline: {
732
- filtered: number;
733
- total: number;
734
- };
735
- failedLastUpdate: {
736
- filtered: number;
737
- total: number;
738
- };
739
- monitoring: {
740
- filtered: number;
741
- total: number;
742
- };
743
- authRequests: {
744
- filtered: number;
745
- total: number;
746
- };
747
- gatewayDevices: {
748
- filtered: number;
749
- total: number;
750
- };
751
- };
752
- };
753
- settings: {
754
- global: {
755
- channels: {
756
- email: {
757
- enabled: boolean;
758
- };
759
- };
760
- };
761
- };
762
- };
763
- onboarding: {
764
- address?: string;
765
- approach: OnboardingApproach | null;
766
- complete: boolean;
767
- demoArtifactPort: number;
768
- deviceConnection?: string;
769
- deviceType: string[] | string | null;
770
- progress: string | null;
771
- showTips: boolean | null;
772
- showTipsDialog: boolean;
773
- };
774
- organization: OrganizationState;
176
+ deployments: DeploymentsSliceType;
177
+ monitor: MonitorSliceType;
178
+ onboarding: OnboardingSliceType;
179
+ organization: OrganizationSliceType;
775
180
  releases: ReleaseSliceType;
776
- users: {
777
- activationCode?: string;
778
- byId: Record<string, User>;
779
- currentSession?: UserSession | object;
780
- currentUser: string | null;
781
- customColumns: CustomColumn[];
782
- globalSettings: GlobalSettings;
783
- permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
784
- qrCode: string | null;
785
- rolesById: Record<string, _northern_tech_utils_constants.Role>;
786
- rolesInitialized: boolean;
787
- settingsInitialized: boolean;
788
- showConnectDeviceDialog: boolean;
789
- showFeedbackDialog: boolean;
790
- showStartupNotification: boolean;
791
- tooltips: {
792
- byId: Record<string, {
793
- readState: ReadState;
794
- }>;
795
- };
796
- userSettings: UserSettings;
797
- userSettingsInitialized: boolean;
798
- };
181
+ users: UserSliceType;
799
182
  }) => _northern_tech_types_types_gen.AuditLog | undefined) & {
800
183
  clearCache: () => void;
801
184
  resultsCount: () => number;