@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.
- package/dist/actions.cjs +20 -16
- package/dist/actions.cjs.map +1 -1
- package/dist/actions.d.cts +7 -22
- package/dist/actions.d.ts +7 -22
- package/dist/actions.js +8 -8
- package/dist/appSlice/index.cjs.map +1 -1
- package/dist/appSlice/index.d.cts +1 -1
- package/dist/appSlice/index.d.ts +1 -1
- package/dist/appSlice/index.js +1 -1
- package/dist/appSlice/mocks.cjs.map +1 -1
- package/dist/appSlice/mocks.js +1 -1
- package/dist/appSlice/selectors.d.cts +34 -528
- package/dist/appSlice/selectors.d.ts +34 -528
- package/dist/appSlice/thunks.cjs +45 -41
- package/dist/appSlice/thunks.cjs.map +1 -1
- package/dist/appSlice/thunks.d.cts +5 -3
- package/dist/appSlice/thunks.d.ts +5 -3
- package/dist/appSlice/thunks.js +14 -14
- package/dist/{chunk-QOFVCPRW.js → chunk-5PUF4LA5.js} +1 -1
- package/dist/chunk-5PUF4LA5.js.map +1 -0
- package/dist/{chunk-TKIOEF3B.js → chunk-6KAV62BW.js} +6 -6
- package/dist/{chunk-OFGCC3GM.js → chunk-7MTM3BDT.js} +1 -1
- package/dist/chunk-7MTM3BDT.js.map +1 -0
- package/dist/{chunk-4HSH7RH3.js → chunk-AR4FTKSL.js} +8 -8
- package/dist/{chunk-ZRMB4U7Z.js → chunk-BZAXFAGT.js} +4 -4
- package/dist/{chunk-ZNAJKEP2.js → chunk-CQXDAXQF.js} +1 -1
- package/dist/chunk-CQXDAXQF.js.map +1 -0
- package/dist/{chunk-5ZCZTTYX.js → chunk-EOZ665GA.js} +2 -2
- package/dist/{chunk-C5NXNZ7F.js → chunk-ETZVJXPD.js} +23 -30
- package/dist/chunk-ETZVJXPD.js.map +1 -0
- package/dist/{chunk-WCBHYLUK.js → chunk-KJ4BPXMB.js} +1 -1
- package/dist/chunk-KJ4BPXMB.js.map +1 -0
- package/dist/{chunk-C2LGE3P6.js → chunk-OLKM53RL.js} +1 -1
- package/dist/chunk-OLKM53RL.js.map +1 -0
- package/dist/{chunk-HLX5L3IM.js → chunk-PVCHKW35.js} +1 -1
- package/dist/chunk-PVCHKW35.js.map +1 -0
- package/dist/{chunk-REZWSU22.js → chunk-VODRLEDP.js} +21 -17
- package/dist/chunk-VODRLEDP.js.map +1 -0
- package/dist/{chunk-MH5WPYQI.js → chunk-X7NEALMI.js} +16 -9
- package/dist/chunk-X7NEALMI.js.map +1 -0
- package/dist/{chunk-OGUVURJ5.js → chunk-YFAIYNQG.js} +9 -9
- package/dist/commonSelectors.cjs +15 -8
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.d.cts +178 -3523
- package/dist/commonSelectors.d.ts +178 -3523
- package/dist/commonSelectors.js +2 -2
- package/dist/deploymentsSlice/index.cjs.map +1 -1
- package/dist/deploymentsSlice/index.d.cts +1 -1
- package/dist/deploymentsSlice/index.d.ts +1 -1
- package/dist/deploymentsSlice/index.js +1 -1
- package/dist/deploymentsSlice/mocks.cjs.map +1 -1
- package/dist/deploymentsSlice/mocks.js +1 -1
- package/dist/deploymentsSlice/selectors.d.cts +16 -138
- package/dist/deploymentsSlice/selectors.d.ts +16 -138
- package/dist/deploymentsSlice/thunks.cjs +45 -41
- package/dist/deploymentsSlice/thunks.cjs.map +1 -1
- package/dist/deploymentsSlice/thunks.d.cts +4 -2
- package/dist/deploymentsSlice/thunks.d.ts +4 -2
- package/dist/deploymentsSlice/thunks.js +14 -14
- package/dist/devicesSlice/index.cjs +20 -16
- package/dist/devicesSlice/index.cjs.map +1 -1
- package/dist/devicesSlice/index.d.cts +11 -20
- package/dist/devicesSlice/index.d.ts +11 -20
- package/dist/devicesSlice/index.js +1 -1
- package/dist/devicesSlice/mocks.cjs +24 -22
- package/dist/devicesSlice/mocks.cjs.map +1 -1
- package/dist/devicesSlice/mocks.d.cts +20 -12
- package/dist/devicesSlice/mocks.d.ts +20 -12
- package/dist/devicesSlice/mocks.js +5 -7
- package/dist/devicesSlice/mocks.js.map +1 -1
- package/dist/devicesSlice/selectors.cjs +15 -8
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +207 -1730
- package/dist/devicesSlice/selectors.d.ts +207 -1730
- package/dist/devicesSlice/selectors.js +1 -1
- package/dist/devicesSlice/thunks.cjs +45 -43
- package/dist/devicesSlice/thunks.cjs.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +12 -46
- package/dist/devicesSlice/thunks.d.ts +12 -46
- package/dist/devicesSlice/thunks.js +14 -16
- package/dist/monitorSlice/index.cjs.map +1 -1
- package/dist/monitorSlice/index.d.cts +1 -1
- package/dist/monitorSlice/index.d.ts +1 -1
- package/dist/monitorSlice/index.js +1 -1
- package/dist/monitorSlice/mocks.cjs.map +1 -1
- package/dist/monitorSlice/mocks.js +1 -1
- package/dist/monitorSlice/thunks.cjs +35 -24
- package/dist/monitorSlice/thunks.cjs.map +1 -1
- package/dist/monitorSlice/thunks.d.cts +3 -2
- package/dist/monitorSlice/thunks.d.ts +3 -2
- package/dist/monitorSlice/thunks.js +12 -12
- package/dist/onboardingSlice/index.cjs.map +1 -1
- package/dist/onboardingSlice/index.d.cts +1 -1
- package/dist/onboardingSlice/index.d.ts +1 -1
- package/dist/onboardingSlice/index.js +1 -1
- package/dist/onboardingSlice/mocks.cjs.map +1 -1
- package/dist/onboardingSlice/mocks.js +1 -1
- package/dist/onboardingSlice/thunks.cjs +45 -41
- package/dist/onboardingSlice/thunks.cjs.map +1 -1
- package/dist/onboardingSlice/thunks.d.cts +7 -15
- package/dist/onboardingSlice/thunks.d.ts +7 -15
- package/dist/onboardingSlice/thunks.js +14 -14
- package/dist/organizationSlice/index.cjs.map +1 -1
- package/dist/organizationSlice/index.d.cts +41 -31
- package/dist/organizationSlice/index.d.ts +41 -31
- package/dist/organizationSlice/index.js +1 -1
- package/dist/organizationSlice/mocks.cjs.map +1 -1
- package/dist/organizationSlice/mocks.js +1 -1
- package/dist/organizationSlice/selectors.d.cts +42 -659
- package/dist/organizationSlice/selectors.d.ts +42 -659
- package/dist/organizationSlice/thunks.cjs +45 -41
- package/dist/organizationSlice/thunks.cjs.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +4 -1
- package/dist/organizationSlice/thunks.d.ts +4 -1
- package/dist/organizationSlice/thunks.js +14 -14
- package/dist/organizationSlice/types.cjs.map +1 -1
- package/dist/organizationSlice/types.d.cts +2 -12
- package/dist/organizationSlice/types.d.ts +2 -12
- package/dist/releasesSlice/mocks.d.cts +7 -1
- package/dist/releasesSlice/mocks.d.ts +7 -1
- package/dist/releasesSlice/selectors.d.cts +155 -930
- package/dist/releasesSlice/selectors.d.ts +155 -930
- package/dist/releasesSlice/thunks.cjs +35 -24
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.d.cts +4 -2
- package/dist/releasesSlice/thunks.d.ts +4 -2
- package/dist/releasesSlice/thunks.js +12 -12
- package/dist/selectors.cjs +15 -8
- package/dist/selectors.cjs.map +1 -1
- package/dist/selectors.d.cts +6 -3
- package/dist/selectors.d.ts +6 -3
- package/dist/selectors.js +2 -2
- package/dist/store.cjs +20 -16
- package/dist/store.cjs.map +1 -1
- package/dist/store.d.cts +40 -658
- package/dist/store.d.ts +40 -658
- package/dist/store.js +9 -9
- package/dist/storehooks.cjs +45 -41
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.js +14 -14
- package/dist/thunks.cjs +45 -43
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +7 -5
- package/dist/thunks.d.ts +7 -5
- package/dist/thunks.js +14 -16
- package/dist/useDeploymentDevice.cjs +45 -41
- package/dist/useDeploymentDevice.cjs.map +1 -1
- package/dist/useDeploymentDevice.js +14 -14
- package/dist/usersSlice/index.cjs.map +1 -1
- package/dist/usersSlice/index.d.cts +46 -46
- package/dist/usersSlice/index.d.ts +46 -46
- package/dist/usersSlice/index.js +1 -1
- package/dist/usersSlice/mocks.cjs.map +1 -1
- package/dist/usersSlice/mocks.js +1 -1
- package/dist/usersSlice/selectors.d.cts +75 -1436
- package/dist/usersSlice/selectors.d.ts +75 -1436
- package/dist/usersSlice/thunks.cjs +45 -41
- package/dist/usersSlice/thunks.cjs.map +1 -1
- package/dist/usersSlice/thunks.d.cts +3 -1
- package/dist/usersSlice/thunks.d.ts +3 -1
- package/dist/usersSlice/thunks.js +14 -14
- package/package.json +1 -1
- package/dist/chunk-C2LGE3P6.js.map +0 -1
- package/dist/chunk-C5NXNZ7F.js.map +0 -1
- package/dist/chunk-HLX5L3IM.js.map +0 -1
- package/dist/chunk-MH5WPYQI.js.map +0 -1
- package/dist/chunk-OFGCC3GM.js.map +0 -1
- package/dist/chunk-QOFVCPRW.js.map +0 -1
- package/dist/chunk-REZWSU22.js.map +0 -1
- package/dist/chunk-WCBHYLUK.js.map +0 -1
- package/dist/chunk-ZNAJKEP2.js.map +0 -1
- /package/dist/{chunk-TKIOEF3B.js.map → chunk-6KAV62BW.js.map} +0 -0
- /package/dist/{chunk-4HSH7RH3.js.map → chunk-AR4FTKSL.js.map} +0 -0
- /package/dist/{chunk-ZRMB4U7Z.js.map → chunk-BZAXFAGT.js.map} +0 -0
- /package/dist/{chunk-5ZCZTTYX.js.map → chunk-EOZ665GA.js.map} +0 -0
- /package/dist/{chunk-OGUVURJ5.js.map → chunk-YFAIYNQG.js.map} +0 -0
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import * as reselect from 'reselect';
|
|
2
|
-
import
|
|
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 {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
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';
|
|
10
8
|
import { DeviceSliceType } from '../devicesSlice/index.cjs';
|
|
11
|
-
import { SearchState, Upload, SnackbarContent, SentryConfig } from './index.cjs';
|
|
9
|
+
import { SearchState, Upload, SnackbarContent, SentryConfig, AppSliceType } from './index.cjs';
|
|
12
10
|
import { RootState } from '../store.cjs';
|
|
13
11
|
import 'redux';
|
|
14
12
|
import '@reduxjs/toolkit';
|
|
15
13
|
import 'immer';
|
|
16
14
|
import '@northern.tech/types/MenderTypes';
|
|
15
|
+
import '@northern.tech/utils/constants';
|
|
17
16
|
import '../commonConstants.cjs';
|
|
18
17
|
import 'react/jsx-runtime';
|
|
18
|
+
import '../usersSlice/constants.cjs';
|
|
19
|
+
import '../organizationSlice/types.cjs';
|
|
19
20
|
import './constants.cjs';
|
|
20
21
|
import '@mui/material/OverridableComponent';
|
|
21
22
|
import '@mui/material';
|
|
22
23
|
import '../organizationSlice/constants.cjs';
|
|
24
|
+
import '../monitorSlice/constants.cjs';
|
|
23
25
|
import '../devicesSlice/constants.cjs';
|
|
24
26
|
import 'redux-thunk';
|
|
25
27
|
|
|
@@ -50,138 +52,14 @@ declare const getCommit: (state: RootState) => string;
|
|
|
50
52
|
declare const getIsFirstLogin: (state: RootState) => boolean;
|
|
51
53
|
declare const getFeedbackProbability: (state: RootState) => number;
|
|
52
54
|
declare const getIsUploading: ((state: {
|
|
53
|
-
app:
|
|
54
|
-
cancelSource: any;
|
|
55
|
-
commit: string;
|
|
56
|
-
demoArtifactLink: string;
|
|
57
|
-
docsVersion: string;
|
|
58
|
-
features: Record<string, boolean>;
|
|
59
|
-
feedbackProbability: number;
|
|
60
|
-
firstLoginAfterSignup: boolean;
|
|
61
|
-
hostAddress: string | null;
|
|
62
|
-
hostedAnnouncement: string;
|
|
63
|
-
newThreshold: string;
|
|
64
|
-
offlineThreshold: string;
|
|
65
|
-
recaptchaSiteKey: string;
|
|
66
|
-
searchState: SearchState;
|
|
67
|
-
sentry: SentryConfig;
|
|
68
|
-
snackbar: SnackbarContent;
|
|
69
|
-
stripeAPIKey: string;
|
|
70
|
-
trackerCode: string;
|
|
71
|
-
uploadsById: Record<string, Upload>;
|
|
72
|
-
versionInformation: {
|
|
73
|
-
[key: string]: string | {
|
|
74
|
-
releaseDate: string;
|
|
75
|
-
repos: Record<string, string>;
|
|
76
|
-
} | undefined;
|
|
77
|
-
backend?: string;
|
|
78
|
-
GUI?: string;
|
|
79
|
-
latestRelease?: {
|
|
80
|
-
releaseDate: string;
|
|
81
|
-
repos: Record<string, string>;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
yesterday?: string;
|
|
85
|
-
};
|
|
55
|
+
app: AppSliceType;
|
|
86
56
|
devices: DeviceSliceType;
|
|
87
|
-
deployments:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
deploymentDeviceLimit: number;
|
|
92
|
-
selectedDeviceIds: string[];
|
|
93
|
-
selectionState: SelectionState;
|
|
94
|
-
};
|
|
95
|
-
monitor: {
|
|
96
|
-
alerts: {
|
|
97
|
-
alertList: {
|
|
98
|
-
page: number;
|
|
99
|
-
perPage: number;
|
|
100
|
-
total: number;
|
|
101
|
-
};
|
|
102
|
-
byDeviceId: {
|
|
103
|
-
alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
104
|
-
fullName?: string;
|
|
105
|
-
}>;
|
|
106
|
-
latest?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
107
|
-
fullName?: string;
|
|
108
|
-
}>;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
issueCounts: {
|
|
112
|
-
byType: {
|
|
113
|
-
issues: {
|
|
114
|
-
filtered: number;
|
|
115
|
-
total: number;
|
|
116
|
-
};
|
|
117
|
-
offline: {
|
|
118
|
-
filtered: number;
|
|
119
|
-
total: number;
|
|
120
|
-
};
|
|
121
|
-
failedLastUpdate: {
|
|
122
|
-
filtered: number;
|
|
123
|
-
total: number;
|
|
124
|
-
};
|
|
125
|
-
monitoring: {
|
|
126
|
-
filtered: number;
|
|
127
|
-
total: number;
|
|
128
|
-
};
|
|
129
|
-
authRequests: {
|
|
130
|
-
filtered: number;
|
|
131
|
-
total: number;
|
|
132
|
-
};
|
|
133
|
-
gatewayDevices: {
|
|
134
|
-
filtered: number;
|
|
135
|
-
total: number;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
settings: {
|
|
140
|
-
global: {
|
|
141
|
-
channels: {
|
|
142
|
-
email: {
|
|
143
|
-
enabled: boolean;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
onboarding: {
|
|
150
|
-
address?: string;
|
|
151
|
-
approach: OnboardingApproach | null;
|
|
152
|
-
complete: boolean;
|
|
153
|
-
demoArtifactPort: number;
|
|
154
|
-
deviceConnection?: string;
|
|
155
|
-
deviceType: string[] | string | null;
|
|
156
|
-
progress: string | null;
|
|
157
|
-
showTips: boolean | null;
|
|
158
|
-
showTipsDialog: boolean;
|
|
159
|
-
};
|
|
160
|
-
organization: OrganizationState;
|
|
57
|
+
deployments: DeploymentsSliceType;
|
|
58
|
+
monitor: MonitorSliceType;
|
|
59
|
+
onboarding: OnboardingSliceType;
|
|
60
|
+
organization: OrganizationSliceType;
|
|
161
61
|
releases: ReleaseSliceType;
|
|
162
|
-
users:
|
|
163
|
-
activationCode?: string;
|
|
164
|
-
byId: Record<string, User>;
|
|
165
|
-
currentSession?: UserSession | object;
|
|
166
|
-
currentUser: string | null;
|
|
167
|
-
customColumns: CustomColumn[];
|
|
168
|
-
globalSettings: GlobalSettings;
|
|
169
|
-
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
170
|
-
qrCode: string | null;
|
|
171
|
-
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
172
|
-
rolesInitialized: boolean;
|
|
173
|
-
settingsInitialized: boolean;
|
|
174
|
-
showConnectDeviceDialog: boolean;
|
|
175
|
-
showFeedbackDialog: boolean;
|
|
176
|
-
showStartupNotification: boolean;
|
|
177
|
-
tooltips: {
|
|
178
|
-
byId: Record<string, {
|
|
179
|
-
readState: ReadState;
|
|
180
|
-
}>;
|
|
181
|
-
};
|
|
182
|
-
userSettings: UserSettings;
|
|
183
|
-
userSettingsInitialized: boolean;
|
|
184
|
-
};
|
|
62
|
+
users: UserSliceType;
|
|
185
63
|
}) => boolean) & {
|
|
186
64
|
clearCache: () => void;
|
|
187
65
|
resultsCount: () => number;
|
|
@@ -204,138 +82,14 @@ declare const getIsUploading: ((state: {
|
|
|
204
82
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
205
83
|
};
|
|
206
84
|
declare const getSearchedDevices: ((state: {
|
|
207
|
-
app:
|
|
208
|
-
cancelSource: any;
|
|
209
|
-
commit: string;
|
|
210
|
-
demoArtifactLink: string;
|
|
211
|
-
docsVersion: string;
|
|
212
|
-
features: Record<string, boolean>;
|
|
213
|
-
feedbackProbability: number;
|
|
214
|
-
firstLoginAfterSignup: boolean;
|
|
215
|
-
hostAddress: string | null;
|
|
216
|
-
hostedAnnouncement: string;
|
|
217
|
-
newThreshold: string;
|
|
218
|
-
offlineThreshold: string;
|
|
219
|
-
recaptchaSiteKey: string;
|
|
220
|
-
searchState: SearchState;
|
|
221
|
-
sentry: SentryConfig;
|
|
222
|
-
snackbar: SnackbarContent;
|
|
223
|
-
stripeAPIKey: string;
|
|
224
|
-
trackerCode: string;
|
|
225
|
-
uploadsById: Record<string, Upload>;
|
|
226
|
-
versionInformation: {
|
|
227
|
-
[key: string]: string | {
|
|
228
|
-
releaseDate: string;
|
|
229
|
-
repos: Record<string, string>;
|
|
230
|
-
} | undefined;
|
|
231
|
-
backend?: string;
|
|
232
|
-
GUI?: string;
|
|
233
|
-
latestRelease?: {
|
|
234
|
-
releaseDate: string;
|
|
235
|
-
repos: Record<string, string>;
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
yesterday?: string;
|
|
239
|
-
};
|
|
85
|
+
app: AppSliceType;
|
|
240
86
|
devices: DeviceSliceType;
|
|
241
|
-
deployments:
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
deploymentDeviceLimit: number;
|
|
246
|
-
selectedDeviceIds: string[];
|
|
247
|
-
selectionState: SelectionState;
|
|
248
|
-
};
|
|
249
|
-
monitor: {
|
|
250
|
-
alerts: {
|
|
251
|
-
alertList: {
|
|
252
|
-
page: number;
|
|
253
|
-
perPage: number;
|
|
254
|
-
total: number;
|
|
255
|
-
};
|
|
256
|
-
byDeviceId: {
|
|
257
|
-
alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
258
|
-
fullName?: string;
|
|
259
|
-
}>;
|
|
260
|
-
latest?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
261
|
-
fullName?: string;
|
|
262
|
-
}>;
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
issueCounts: {
|
|
266
|
-
byType: {
|
|
267
|
-
issues: {
|
|
268
|
-
filtered: number;
|
|
269
|
-
total: number;
|
|
270
|
-
};
|
|
271
|
-
offline: {
|
|
272
|
-
filtered: number;
|
|
273
|
-
total: number;
|
|
274
|
-
};
|
|
275
|
-
failedLastUpdate: {
|
|
276
|
-
filtered: number;
|
|
277
|
-
total: number;
|
|
278
|
-
};
|
|
279
|
-
monitoring: {
|
|
280
|
-
filtered: number;
|
|
281
|
-
total: number;
|
|
282
|
-
};
|
|
283
|
-
authRequests: {
|
|
284
|
-
filtered: number;
|
|
285
|
-
total: number;
|
|
286
|
-
};
|
|
287
|
-
gatewayDevices: {
|
|
288
|
-
filtered: number;
|
|
289
|
-
total: number;
|
|
290
|
-
};
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
|
-
settings: {
|
|
294
|
-
global: {
|
|
295
|
-
channels: {
|
|
296
|
-
email: {
|
|
297
|
-
enabled: boolean;
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
};
|
|
301
|
-
};
|
|
302
|
-
};
|
|
303
|
-
onboarding: {
|
|
304
|
-
address?: string;
|
|
305
|
-
approach: OnboardingApproach | null;
|
|
306
|
-
complete: boolean;
|
|
307
|
-
demoArtifactPort: number;
|
|
308
|
-
deviceConnection?: string;
|
|
309
|
-
deviceType: string[] | string | null;
|
|
310
|
-
progress: string | null;
|
|
311
|
-
showTips: boolean | null;
|
|
312
|
-
showTipsDialog: boolean;
|
|
313
|
-
};
|
|
314
|
-
organization: OrganizationState;
|
|
87
|
+
deployments: DeploymentsSliceType;
|
|
88
|
+
monitor: MonitorSliceType;
|
|
89
|
+
onboarding: OnboardingSliceType;
|
|
90
|
+
organization: OrganizationSliceType;
|
|
315
91
|
releases: ReleaseSliceType;
|
|
316
|
-
users:
|
|
317
|
-
activationCode?: string;
|
|
318
|
-
byId: Record<string, User>;
|
|
319
|
-
currentSession?: UserSession | object;
|
|
320
|
-
currentUser: string | null;
|
|
321
|
-
customColumns: CustomColumn[];
|
|
322
|
-
globalSettings: GlobalSettings;
|
|
323
|
-
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
324
|
-
qrCode: string | null;
|
|
325
|
-
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
326
|
-
rolesInitialized: boolean;
|
|
327
|
-
settingsInitialized: boolean;
|
|
328
|
-
showConnectDeviceDialog: boolean;
|
|
329
|
-
showFeedbackDialog: boolean;
|
|
330
|
-
showStartupNotification: boolean;
|
|
331
|
-
tooltips: {
|
|
332
|
-
byId: Record<string, {
|
|
333
|
-
readState: ReadState;
|
|
334
|
-
}>;
|
|
335
|
-
};
|
|
336
|
-
userSettings: UserSettings;
|
|
337
|
-
userSettingsInitialized: boolean;
|
|
338
|
-
};
|
|
92
|
+
users: UserSliceType;
|
|
339
93
|
}) => string[]) & {
|
|
340
94
|
clearCache: () => void;
|
|
341
95
|
resultsCount: () => number;
|
|
@@ -358,138 +112,14 @@ declare const getSearchedDevices: ((state: {
|
|
|
358
112
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
359
113
|
};
|
|
360
114
|
declare const getVersionInformation: ((state: {
|
|
361
|
-
app:
|
|
362
|
-
cancelSource: any;
|
|
363
|
-
commit: string;
|
|
364
|
-
demoArtifactLink: string;
|
|
365
|
-
docsVersion: string;
|
|
366
|
-
features: Record<string, boolean>;
|
|
367
|
-
feedbackProbability: number;
|
|
368
|
-
firstLoginAfterSignup: boolean;
|
|
369
|
-
hostAddress: string | null;
|
|
370
|
-
hostedAnnouncement: string;
|
|
371
|
-
newThreshold: string;
|
|
372
|
-
offlineThreshold: string;
|
|
373
|
-
recaptchaSiteKey: string;
|
|
374
|
-
searchState: SearchState;
|
|
375
|
-
sentry: SentryConfig;
|
|
376
|
-
snackbar: SnackbarContent;
|
|
377
|
-
stripeAPIKey: string;
|
|
378
|
-
trackerCode: string;
|
|
379
|
-
uploadsById: Record<string, Upload>;
|
|
380
|
-
versionInformation: {
|
|
381
|
-
[key: string]: string | {
|
|
382
|
-
releaseDate: string;
|
|
383
|
-
repos: Record<string, string>;
|
|
384
|
-
} | undefined;
|
|
385
|
-
backend?: string;
|
|
386
|
-
GUI?: string;
|
|
387
|
-
latestRelease?: {
|
|
388
|
-
releaseDate: string;
|
|
389
|
-
repos: Record<string, string>;
|
|
390
|
-
};
|
|
391
|
-
};
|
|
392
|
-
yesterday?: string;
|
|
393
|
-
};
|
|
115
|
+
app: AppSliceType;
|
|
394
116
|
devices: DeviceSliceType;
|
|
395
|
-
deployments:
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
deploymentDeviceLimit: number;
|
|
400
|
-
selectedDeviceIds: string[];
|
|
401
|
-
selectionState: SelectionState;
|
|
402
|
-
};
|
|
403
|
-
monitor: {
|
|
404
|
-
alerts: {
|
|
405
|
-
alertList: {
|
|
406
|
-
page: number;
|
|
407
|
-
perPage: number;
|
|
408
|
-
total: number;
|
|
409
|
-
};
|
|
410
|
-
byDeviceId: {
|
|
411
|
-
alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
412
|
-
fullName?: string;
|
|
413
|
-
}>;
|
|
414
|
-
latest?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
415
|
-
fullName?: string;
|
|
416
|
-
}>;
|
|
417
|
-
};
|
|
418
|
-
};
|
|
419
|
-
issueCounts: {
|
|
420
|
-
byType: {
|
|
421
|
-
issues: {
|
|
422
|
-
filtered: number;
|
|
423
|
-
total: number;
|
|
424
|
-
};
|
|
425
|
-
offline: {
|
|
426
|
-
filtered: number;
|
|
427
|
-
total: number;
|
|
428
|
-
};
|
|
429
|
-
failedLastUpdate: {
|
|
430
|
-
filtered: number;
|
|
431
|
-
total: number;
|
|
432
|
-
};
|
|
433
|
-
monitoring: {
|
|
434
|
-
filtered: number;
|
|
435
|
-
total: number;
|
|
436
|
-
};
|
|
437
|
-
authRequests: {
|
|
438
|
-
filtered: number;
|
|
439
|
-
total: number;
|
|
440
|
-
};
|
|
441
|
-
gatewayDevices: {
|
|
442
|
-
filtered: number;
|
|
443
|
-
total: number;
|
|
444
|
-
};
|
|
445
|
-
};
|
|
446
|
-
};
|
|
447
|
-
settings: {
|
|
448
|
-
global: {
|
|
449
|
-
channels: {
|
|
450
|
-
email: {
|
|
451
|
-
enabled: boolean;
|
|
452
|
-
};
|
|
453
|
-
};
|
|
454
|
-
};
|
|
455
|
-
};
|
|
456
|
-
};
|
|
457
|
-
onboarding: {
|
|
458
|
-
address?: string;
|
|
459
|
-
approach: OnboardingApproach | null;
|
|
460
|
-
complete: boolean;
|
|
461
|
-
demoArtifactPort: number;
|
|
462
|
-
deviceConnection?: string;
|
|
463
|
-
deviceType: string[] | string | null;
|
|
464
|
-
progress: string | null;
|
|
465
|
-
showTips: boolean | null;
|
|
466
|
-
showTipsDialog: boolean;
|
|
467
|
-
};
|
|
468
|
-
organization: OrganizationState;
|
|
117
|
+
deployments: DeploymentsSliceType;
|
|
118
|
+
monitor: MonitorSliceType;
|
|
119
|
+
onboarding: OnboardingSliceType;
|
|
120
|
+
organization: OrganizationSliceType;
|
|
469
121
|
releases: ReleaseSliceType;
|
|
470
|
-
users:
|
|
471
|
-
activationCode?: string;
|
|
472
|
-
byId: Record<string, User>;
|
|
473
|
-
currentSession?: UserSession | object;
|
|
474
|
-
currentUser: string | null;
|
|
475
|
-
customColumns: CustomColumn[];
|
|
476
|
-
globalSettings: GlobalSettings;
|
|
477
|
-
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
478
|
-
qrCode: string | null;
|
|
479
|
-
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
480
|
-
rolesInitialized: boolean;
|
|
481
|
-
settingsInitialized: boolean;
|
|
482
|
-
showConnectDeviceDialog: boolean;
|
|
483
|
-
showFeedbackDialog: boolean;
|
|
484
|
-
showStartupNotification: boolean;
|
|
485
|
-
tooltips: {
|
|
486
|
-
byId: Record<string, {
|
|
487
|
-
readState: ReadState;
|
|
488
|
-
}>;
|
|
489
|
-
};
|
|
490
|
-
userSettings: UserSettings;
|
|
491
|
-
userSettingsInitialized: boolean;
|
|
492
|
-
};
|
|
122
|
+
users: UserSliceType;
|
|
493
123
|
}) => {
|
|
494
124
|
[key: string]: string | {
|
|
495
125
|
releaseDate: string;
|
|
@@ -589,138 +219,14 @@ declare const getVersionInformation: ((state: {
|
|
|
589
219
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
590
220
|
};
|
|
591
221
|
declare const getIsPreview: ((state: {
|
|
592
|
-
app:
|
|
593
|
-
cancelSource: any;
|
|
594
|
-
commit: string;
|
|
595
|
-
demoArtifactLink: string;
|
|
596
|
-
docsVersion: string;
|
|
597
|
-
features: Record<string, boolean>;
|
|
598
|
-
feedbackProbability: number;
|
|
599
|
-
firstLoginAfterSignup: boolean;
|
|
600
|
-
hostAddress: string | null;
|
|
601
|
-
hostedAnnouncement: string;
|
|
602
|
-
newThreshold: string;
|
|
603
|
-
offlineThreshold: string;
|
|
604
|
-
recaptchaSiteKey: string;
|
|
605
|
-
searchState: SearchState;
|
|
606
|
-
sentry: SentryConfig;
|
|
607
|
-
snackbar: SnackbarContent;
|
|
608
|
-
stripeAPIKey: string;
|
|
609
|
-
trackerCode: string;
|
|
610
|
-
uploadsById: Record<string, Upload>;
|
|
611
|
-
versionInformation: {
|
|
612
|
-
[key: string]: string | {
|
|
613
|
-
releaseDate: string;
|
|
614
|
-
repos: Record<string, string>;
|
|
615
|
-
} | undefined;
|
|
616
|
-
backend?: string;
|
|
617
|
-
GUI?: string;
|
|
618
|
-
latestRelease?: {
|
|
619
|
-
releaseDate: string;
|
|
620
|
-
repos: Record<string, string>;
|
|
621
|
-
};
|
|
622
|
-
};
|
|
623
|
-
yesterday?: string;
|
|
624
|
-
};
|
|
222
|
+
app: AppSliceType;
|
|
625
223
|
devices: DeviceSliceType;
|
|
626
|
-
deployments:
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
deploymentDeviceLimit: number;
|
|
631
|
-
selectedDeviceIds: string[];
|
|
632
|
-
selectionState: SelectionState;
|
|
633
|
-
};
|
|
634
|
-
monitor: {
|
|
635
|
-
alerts: {
|
|
636
|
-
alertList: {
|
|
637
|
-
page: number;
|
|
638
|
-
perPage: number;
|
|
639
|
-
total: number;
|
|
640
|
-
};
|
|
641
|
-
byDeviceId: {
|
|
642
|
-
alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
643
|
-
fullName?: string;
|
|
644
|
-
}>;
|
|
645
|
-
latest?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
646
|
-
fullName?: string;
|
|
647
|
-
}>;
|
|
648
|
-
};
|
|
649
|
-
};
|
|
650
|
-
issueCounts: {
|
|
651
|
-
byType: {
|
|
652
|
-
issues: {
|
|
653
|
-
filtered: number;
|
|
654
|
-
total: number;
|
|
655
|
-
};
|
|
656
|
-
offline: {
|
|
657
|
-
filtered: number;
|
|
658
|
-
total: number;
|
|
659
|
-
};
|
|
660
|
-
failedLastUpdate: {
|
|
661
|
-
filtered: number;
|
|
662
|
-
total: number;
|
|
663
|
-
};
|
|
664
|
-
monitoring: {
|
|
665
|
-
filtered: number;
|
|
666
|
-
total: number;
|
|
667
|
-
};
|
|
668
|
-
authRequests: {
|
|
669
|
-
filtered: number;
|
|
670
|
-
total: number;
|
|
671
|
-
};
|
|
672
|
-
gatewayDevices: {
|
|
673
|
-
filtered: number;
|
|
674
|
-
total: number;
|
|
675
|
-
};
|
|
676
|
-
};
|
|
677
|
-
};
|
|
678
|
-
settings: {
|
|
679
|
-
global: {
|
|
680
|
-
channels: {
|
|
681
|
-
email: {
|
|
682
|
-
enabled: boolean;
|
|
683
|
-
};
|
|
684
|
-
};
|
|
685
|
-
};
|
|
686
|
-
};
|
|
687
|
-
};
|
|
688
|
-
onboarding: {
|
|
689
|
-
address?: string;
|
|
690
|
-
approach: OnboardingApproach | null;
|
|
691
|
-
complete: boolean;
|
|
692
|
-
demoArtifactPort: number;
|
|
693
|
-
deviceConnection?: string;
|
|
694
|
-
deviceType: string[] | string | null;
|
|
695
|
-
progress: string | null;
|
|
696
|
-
showTips: boolean | null;
|
|
697
|
-
showTipsDialog: boolean;
|
|
698
|
-
};
|
|
699
|
-
organization: OrganizationState;
|
|
224
|
+
deployments: DeploymentsSliceType;
|
|
225
|
+
monitor: MonitorSliceType;
|
|
226
|
+
onboarding: OnboardingSliceType;
|
|
227
|
+
organization: OrganizationSliceType;
|
|
700
228
|
releases: ReleaseSliceType;
|
|
701
|
-
users:
|
|
702
|
-
activationCode?: string;
|
|
703
|
-
byId: Record<string, User>;
|
|
704
|
-
currentSession?: UserSession | object;
|
|
705
|
-
currentUser: string | null;
|
|
706
|
-
customColumns: CustomColumn[];
|
|
707
|
-
globalSettings: GlobalSettings;
|
|
708
|
-
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
709
|
-
qrCode: string | null;
|
|
710
|
-
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
711
|
-
rolesInitialized: boolean;
|
|
712
|
-
settingsInitialized: boolean;
|
|
713
|
-
showConnectDeviceDialog: boolean;
|
|
714
|
-
showFeedbackDialog: boolean;
|
|
715
|
-
showStartupNotification: boolean;
|
|
716
|
-
tooltips: {
|
|
717
|
-
byId: Record<string, {
|
|
718
|
-
readState: ReadState;
|
|
719
|
-
}>;
|
|
720
|
-
};
|
|
721
|
-
userSettings: UserSettings;
|
|
722
|
-
userSettingsInitialized: boolean;
|
|
723
|
-
};
|
|
229
|
+
users: UserSliceType;
|
|
724
230
|
}) => boolean) & {
|
|
725
231
|
clearCache: () => void;
|
|
726
232
|
resultsCount: () => number;
|