@northern.tech/store 0.5.3 → 0.6.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.map +1 -1
- package/dist/actions.d.cts +8 -13
- package/dist/actions.d.ts +8 -13
- package/dist/actions.js +10 -10
- package/dist/api/general-api.cjs +4 -5
- package/dist/api/general-api.cjs.map +1 -1
- package/dist/api/general-api.js +4 -4
- package/dist/api/users-api.cjs +4 -5
- package/dist/api/users-api.cjs.map +1 -1
- package/dist/api/users-api.js +5 -5
- package/dist/appSlice/constants.cjs +1 -1
- package/dist/appSlice/constants.cjs.map +1 -1
- package/dist/appSlice/constants.d.cts +1 -1
- package/dist/appSlice/constants.d.ts +1 -1
- package/dist/appSlice/constants.js +1 -1
- package/dist/appSlice/index.js +3 -3
- package/dist/appSlice/mocks.js +3 -3
- package/dist/appSlice/selectors.d.cts +9 -9
- package/dist/appSlice/selectors.d.ts +9 -9
- package/dist/appSlice/thunks.cjs +8 -7
- package/dist/appSlice/thunks.cjs.map +1 -1
- package/dist/appSlice/thunks.d.cts +1 -1
- package/dist/appSlice/thunks.d.ts +1 -1
- package/dist/appSlice/thunks.js +26 -26
- package/dist/auth.cjs +4 -5
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.js +3 -3
- package/dist/{chunk-DYN7AU7R.js → chunk-2ASLHSBV.js} +9 -9
- package/dist/{chunk-HLTP624H.js → chunk-2M5W3IDP.js} +2 -2
- package/dist/{chunk-J74LNK6P.js → chunk-3ECSADAW.js} +13 -13
- package/dist/{chunk-W37ETKI6.js → chunk-67GS7ERY.js} +2 -2
- package/dist/{chunk-CWZKWW74.js → chunk-7BKDELUQ.js} +2 -2
- package/dist/{chunk-ZZ3YDCYZ.js → chunk-B7GXA42G.js} +3 -3
- package/dist/{chunk-AVCIWAZB.js → chunk-CEH2D355.js} +2 -2
- package/dist/{chunk-5HYHE4HO.js → chunk-EIIFEV62.js} +2 -2
- package/dist/chunk-EIIFEV62.js.map +1 -0
- package/dist/{chunk-DE25YP6N.js → chunk-GN2HC6HW.js} +29 -28
- package/dist/chunk-GN2HC6HW.js.map +1 -0
- package/dist/{chunk-IY76MO6R.js → chunk-MVK6W7ZH.js} +2 -2
- package/dist/chunk-MVK6W7ZH.js.map +1 -0
- package/dist/{chunk-PY6ID7TL.js → chunk-N3XU7WJM.js} +2 -2
- package/dist/chunk-N3XU7WJM.js.map +1 -0
- package/dist/{chunk-DXJ2WS3N.js → chunk-PB36MEEN.js} +2 -2
- package/dist/{chunk-I6JE3OLT.js → chunk-PTQS3JDZ.js} +10 -10
- package/dist/{chunk-JOK26PI7.js → chunk-QPHDDTQC.js} +14 -13
- package/dist/chunk-QPHDDTQC.js.map +1 -0
- package/dist/{chunk-4DOSYAJY.js → chunk-RRL7OZHU.js} +2 -2
- package/dist/{chunk-KGSJ7CSA.js → chunk-RWGVRDFG.js} +2 -2
- package/dist/chunk-RWGVRDFG.js.map +1 -0
- package/dist/{chunk-BNSSPYCA.js → chunk-TL6KSTZZ.js} +3 -3
- package/dist/{chunk-VCTZ25Q5.js → chunk-TU4IVT3M.js} +14 -14
- package/dist/{chunk-4UJXT6RF.js → chunk-VIV6U46F.js} +6 -4
- package/dist/chunk-VIV6U46F.js.map +1 -0
- package/dist/{chunk-66NK2ZV2.js → chunk-W2RDUU5Q.js} +2 -2
- package/dist/{chunk-KJJ47UIO.js → chunk-WD7MIPCO.js} +2 -2
- package/dist/chunk-WD7MIPCO.js.map +1 -0
- package/dist/{chunk-JZXNRDO2.js → chunk-XLXLFSZA.js} +2 -2
- package/dist/{chunk-CEEXZF5E.js → chunk-XZDCXV4H.js} +3 -3
- package/dist/chunk-XZDCXV4H.js.map +1 -0
- package/dist/{chunk-MRXTMI6O.js → chunk-YEQ7D6AW.js} +5 -6
- package/dist/chunk-YEQ7D6AW.js.map +1 -0
- package/dist/{chunk-GRVTVLIZ.js → chunk-ZABYTBKG.js} +2 -2
- package/dist/commonConstants.cjs +4 -5
- package/dist/commonConstants.cjs.map +1 -1
- package/dist/commonConstants.d.cts +8 -8
- package/dist/commonConstants.d.ts +8 -8
- package/dist/commonConstants.js +2 -2
- package/dist/commonSelectors.cjs +6 -7
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.d.cts +127 -138
- package/dist/commonSelectors.d.ts +127 -138
- package/dist/commonSelectors.js +10 -10
- package/dist/constants.cjs +5 -6
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.js +2 -2
- package/dist/deploymentsSlice/constants.cjs.map +1 -1
- package/dist/deploymentsSlice/constants.d.cts +2 -2
- package/dist/deploymentsSlice/constants.d.ts +2 -2
- package/dist/deploymentsSlice/constants.js +2 -2
- package/dist/deploymentsSlice/index.cjs.map +1 -1
- package/dist/deploymentsSlice/index.d.cts +5 -4
- package/dist/deploymentsSlice/index.d.ts +5 -4
- package/dist/deploymentsSlice/index.js +3 -3
- package/dist/deploymentsSlice/mocks.cjs.map +1 -1
- package/dist/deploymentsSlice/mocks.js +3 -3
- package/dist/deploymentsSlice/selectors.cjs.map +1 -1
- package/dist/deploymentsSlice/selectors.d.cts +3 -3
- package/dist/deploymentsSlice/selectors.d.ts +3 -3
- package/dist/deploymentsSlice/selectors.js +3 -3
- package/dist/deploymentsSlice/thunks.cjs +8 -7
- package/dist/deploymentsSlice/thunks.cjs.map +1 -1
- package/dist/deploymentsSlice/thunks.d.cts +3 -3
- package/dist/deploymentsSlice/thunks.d.ts +3 -3
- package/dist/deploymentsSlice/thunks.js +26 -26
- package/dist/devicesSlice/constants.js +2 -2
- package/dist/devicesSlice/index.cjs.map +1 -1
- package/dist/devicesSlice/index.d.cts +4 -4
- package/dist/devicesSlice/index.d.ts +4 -4
- package/dist/devicesSlice/index.js +3 -3
- package/dist/devicesSlice/mocks.cjs +4 -4
- package/dist/devicesSlice/mocks.cjs.map +1 -1
- package/dist/devicesSlice/mocks.js +7 -7
- package/dist/devicesSlice/mocks.js.map +1 -1
- package/dist/devicesSlice/selectors.cjs +4 -5
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +23 -23
- package/dist/devicesSlice/selectors.d.ts +23 -23
- package/dist/devicesSlice/selectors.js +3 -3
- package/dist/devicesSlice/thunks.cjs +8 -7
- package/dist/devicesSlice/thunks.cjs.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +5 -5
- package/dist/devicesSlice/thunks.d.ts +5 -5
- package/dist/devicesSlice/thunks.js +26 -26
- package/dist/liststatehook.cjs +4 -5
- package/dist/liststatehook.cjs.map +1 -1
- package/dist/liststatehook.js +3 -3
- package/dist/locationutils.cjs +4 -5
- package/dist/locationutils.cjs.map +1 -1
- package/dist/locationutils.js +3 -3
- package/dist/monitorSlice/index.js +3 -3
- package/dist/monitorSlice/mocks.js +3 -3
- package/dist/monitorSlice/thunks.cjs +6 -7
- package/dist/monitorSlice/thunks.cjs.map +1 -1
- package/dist/monitorSlice/thunks.d.cts +1 -1
- package/dist/monitorSlice/thunks.d.ts +1 -1
- package/dist/monitorSlice/thunks.js +22 -22
- package/dist/onboardingSlice/thunks.cjs +8 -7
- package/dist/onboardingSlice/thunks.cjs.map +1 -1
- package/dist/onboardingSlice/thunks.d.cts +1 -1
- package/dist/onboardingSlice/thunks.d.ts +1 -1
- package/dist/onboardingSlice/thunks.js +26 -26
- package/dist/organizationSlice/constants.js +2 -2
- package/dist/organizationSlice/index.js +3 -3
- package/dist/organizationSlice/mocks.d.cts +2 -2
- package/dist/organizationSlice/mocks.d.ts +2 -2
- package/dist/organizationSlice/mocks.js +3 -3
- package/dist/organizationSlice/selectors.cjs +4 -5
- package/dist/organizationSlice/selectors.cjs.map +1 -1
- package/dist/organizationSlice/selectors.d.cts +44 -48
- package/dist/organizationSlice/selectors.d.ts +44 -48
- package/dist/organizationSlice/selectors.js +3 -3
- package/dist/organizationSlice/thunks.cjs +10 -10
- package/dist/organizationSlice/thunks.cjs.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +1 -1
- package/dist/organizationSlice/thunks.d.ts +1 -1
- package/dist/organizationSlice/thunks.js +26 -26
- package/dist/organizationSlice/types.cjs.map +1 -1
- package/dist/organizationSlice/types.d.cts +8 -30
- package/dist/organizationSlice/types.d.ts +8 -30
- package/dist/releasesSlice/index.cjs.map +1 -1
- package/dist/releasesSlice/index.d.cts +7 -5
- package/dist/releasesSlice/index.d.ts +7 -5
- package/dist/releasesSlice/index.js +3 -3
- package/dist/releasesSlice/mocks.cjs.map +1 -1
- package/dist/releasesSlice/mocks.d.cts +1 -3
- package/dist/releasesSlice/mocks.d.ts +1 -3
- package/dist/releasesSlice/mocks.js +3 -3
- package/dist/releasesSlice/selectors.cjs +4 -5
- package/dist/releasesSlice/selectors.cjs.map +1 -1
- package/dist/releasesSlice/selectors.d.cts +39 -41
- package/dist/releasesSlice/selectors.d.ts +39 -41
- package/dist/releasesSlice/selectors.js +4 -4
- package/dist/releasesSlice/thunks.cjs +10 -10
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.d.cts +3 -3
- package/dist/releasesSlice/thunks.d.ts +3 -3
- package/dist/releasesSlice/thunks.js +23 -23
- package/dist/selectors.cjs +10 -8
- package/dist/selectors.cjs.map +1 -1
- package/dist/selectors.d.cts +2 -18
- package/dist/selectors.d.ts +2 -18
- package/dist/selectors.js +21 -19
- package/dist/sockethook.cjs +4 -5
- package/dist/sockethook.cjs.map +1 -1
- package/dist/sockethook.js +2 -2
- package/dist/store.cjs.map +1 -1
- package/dist/store.d.cts +11 -11
- package/dist/store.d.ts +11 -11
- package/dist/store.js +12 -12
- package/dist/storehooks.cjs +14 -13
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.js +26 -26
- package/dist/thunks.cjs +14 -13
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +1 -1
- package/dist/thunks.d.ts +1 -1
- package/dist/thunks.js +26 -26
- package/dist/useDeploymentDevice.cjs +8 -7
- package/dist/useDeploymentDevice.cjs.map +1 -1
- package/dist/useDeploymentDevice.js +26 -26
- package/dist/usersSlice/constants.js +2 -2
- package/dist/usersSlice/index.js +3 -3
- package/dist/usersSlice/mocks.cjs +1 -0
- package/dist/usersSlice/mocks.cjs.map +1 -1
- package/dist/usersSlice/mocks.d.cts +3 -3
- package/dist/usersSlice/mocks.d.ts +3 -3
- package/dist/usersSlice/mocks.js +4 -3
- package/dist/usersSlice/mocks.js.map +1 -1
- package/dist/usersSlice/selectors.cjs +8 -6
- package/dist/usersSlice/selectors.cjs.map +1 -1
- package/dist/usersSlice/selectors.d.cts +33 -34
- package/dist/usersSlice/selectors.d.ts +33 -34
- package/dist/usersSlice/selectors.js +6 -4
- package/dist/usersSlice/thunks.cjs +8 -7
- package/dist/usersSlice/thunks.cjs.map +1 -1
- package/dist/usersSlice/thunks.d.cts +1 -1
- package/dist/usersSlice/thunks.d.ts +1 -1
- package/dist/usersSlice/thunks.js +26 -26
- package/dist/utils.cjs +4 -5
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-4UJXT6RF.js.map +0 -1
- package/dist/chunk-5HYHE4HO.js.map +0 -1
- package/dist/chunk-CEEXZF5E.js.map +0 -1
- package/dist/chunk-DE25YP6N.js.map +0 -1
- package/dist/chunk-IY76MO6R.js.map +0 -1
- package/dist/chunk-JOK26PI7.js.map +0 -1
- package/dist/chunk-KGSJ7CSA.js.map +0 -1
- package/dist/chunk-KJJ47UIO.js.map +0 -1
- package/dist/chunk-MRXTMI6O.js.map +0 -1
- package/dist/chunk-PY6ID7TL.js.map +0 -1
- /package/dist/{chunk-DYN7AU7R.js.map → chunk-2ASLHSBV.js.map} +0 -0
- /package/dist/{chunk-HLTP624H.js.map → chunk-2M5W3IDP.js.map} +0 -0
- /package/dist/{chunk-J74LNK6P.js.map → chunk-3ECSADAW.js.map} +0 -0
- /package/dist/{chunk-W37ETKI6.js.map → chunk-67GS7ERY.js.map} +0 -0
- /package/dist/{chunk-CWZKWW74.js.map → chunk-7BKDELUQ.js.map} +0 -0
- /package/dist/{chunk-ZZ3YDCYZ.js.map → chunk-B7GXA42G.js.map} +0 -0
- /package/dist/{chunk-AVCIWAZB.js.map → chunk-CEH2D355.js.map} +0 -0
- /package/dist/{chunk-DXJ2WS3N.js.map → chunk-PB36MEEN.js.map} +0 -0
- /package/dist/{chunk-I6JE3OLT.js.map → chunk-PTQS3JDZ.js.map} +0 -0
- /package/dist/{chunk-4DOSYAJY.js.map → chunk-RRL7OZHU.js.map} +0 -0
- /package/dist/{chunk-BNSSPYCA.js.map → chunk-TL6KSTZZ.js.map} +0 -0
- /package/dist/{chunk-VCTZ25Q5.js.map → chunk-TU4IVT3M.js.map} +0 -0
- /package/dist/{chunk-66NK2ZV2.js.map → chunk-W2RDUU5Q.js.map} +0 -0
- /package/dist/{chunk-JZXNRDO2.js.map → chunk-XLXLFSZA.js.map} +0 -0
- /package/dist/{chunk-GRVTVLIZ.js.map → chunk-ZABYTBKG.js.map} +0 -0
|
@@ -4,15 +4,11 @@ import { ReadState } from '../usersSlice/constants.js';
|
|
|
4
4
|
import { User, UserSession, CustomColumn, GlobalSettings, UserSettings } from '../usersSlice/index.js';
|
|
5
5
|
import { ReleaseSliceType } from '../releasesSlice/index.js';
|
|
6
6
|
import { OnboardingApproach } from '../onboardingSlice/index.js';
|
|
7
|
-
import * as _northern_tech_types_Alert from '@northern.tech/types/Alert';
|
|
8
7
|
import { Deployment, DeploymentByStatus, DeploymentConfig, SelectionState } from '../deploymentsSlice/index.js';
|
|
9
8
|
import { DeviceSliceType } from '../devicesSlice/index.js';
|
|
10
9
|
import { SearchState, SentryConfig, SnackbarContent, Upload } from '../appSlice/index.js';
|
|
11
|
-
import * as
|
|
12
|
-
import
|
|
13
|
-
import * as _northern_tech_types_AuditLog from '@northern.tech/types/AuditLog';
|
|
14
|
-
import * as _northern_tech_types_Integration from '@northern.tech/types/Integration';
|
|
15
|
-
import { Organization, AuditLogSelectionState, Subscription, Card, SSOConfig, TenantList, OrganizationState } from './types.js';
|
|
10
|
+
import * as _northern_tech_types_types_gen from '@northern.tech/types/types.gen';
|
|
11
|
+
import { Organization, AuditLogSelectionState, Card, SSOConfig, TenantList, OrganizationState } from './types.js';
|
|
16
12
|
import { RootState } from '../store.js';
|
|
17
13
|
import 'redux';
|
|
18
14
|
import '@reduxjs/toolkit';
|
|
@@ -28,16 +24,16 @@ import './constants.js';
|
|
|
28
24
|
import 'redux-thunk';
|
|
29
25
|
|
|
30
26
|
declare const getOrganization: (state: RootState) => Partial<Organization>;
|
|
31
|
-
declare const getExternalIntegrations: (state: RootState) =>
|
|
27
|
+
declare const getExternalIntegrations: (state: RootState) => _northern_tech_types_types_gen.Integration[];
|
|
32
28
|
declare const getAuditlogState: (state: RootState) => AuditLogSelectionState;
|
|
33
|
-
declare const getAuditLog: (state: RootState) =>
|
|
29
|
+
declare const getAuditLog: (state: RootState) => _northern_tech_types_types_gen.AuditLog[];
|
|
34
30
|
declare const getAuditLogSelectionState: (state: RootState) => AuditLogSelectionState;
|
|
35
|
-
declare const getBillingProfile: (state: RootState) =>
|
|
36
|
-
declare const getSubscription: (state: RootState) =>
|
|
31
|
+
declare const getBillingProfile: (state: RootState) => _northern_tech_types_types_gen.BillingProfile | undefined;
|
|
32
|
+
declare const getSubscription: (state: RootState) => _northern_tech_types_types_gen.SubscriptionData | undefined;
|
|
37
33
|
declare const getCard: (state: RootState) => Card;
|
|
38
34
|
declare const getSsoConfig: ({ organization: { ssoConfigs } }: RootState) => SSOConfig;
|
|
39
35
|
declare const getTenantsList: (state: RootState) => TenantList;
|
|
40
|
-
declare const getWebhookEvents: (state: RootState) =>
|
|
36
|
+
declare const getWebhookEvents: (state: RootState) => _northern_tech_types_types_gen.Event[];
|
|
41
37
|
declare const getWebhookEventTotal: (state: RootState) => number;
|
|
42
38
|
declare const getDeviceTwinIntegrations: ((state: {
|
|
43
39
|
app: {
|
|
@@ -90,10 +86,10 @@ declare const getDeviceTwinIntegrations: ((state: {
|
|
|
90
86
|
total: number;
|
|
91
87
|
};
|
|
92
88
|
byDeviceId: {
|
|
93
|
-
alerts?: Record<string,
|
|
89
|
+
alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
94
90
|
fullName?: string;
|
|
95
91
|
}>;
|
|
96
|
-
latest?: Record<string,
|
|
92
|
+
latest?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
97
93
|
fullName?: string;
|
|
98
94
|
}>;
|
|
99
95
|
};
|
|
@@ -172,19 +168,19 @@ declare const getDeviceTwinIntegrations: ((state: {
|
|
|
172
168
|
userSettings: UserSettings;
|
|
173
169
|
userSettingsInitialized: boolean;
|
|
174
170
|
};
|
|
175
|
-
}) =>
|
|
171
|
+
}) => _northern_tech_types_types_gen.Integration[]) & {
|
|
176
172
|
clearCache: () => void;
|
|
177
173
|
resultsCount: () => number;
|
|
178
174
|
resetResultsCount: () => void;
|
|
179
175
|
} & {
|
|
180
|
-
resultFunc: (resultFuncArgs_0:
|
|
181
|
-
memoizedResultFunc: ((resultFuncArgs_0:
|
|
176
|
+
resultFunc: (resultFuncArgs_0: _northern_tech_types_types_gen.Integration[]) => _northern_tech_types_types_gen.Integration[];
|
|
177
|
+
memoizedResultFunc: ((resultFuncArgs_0: _northern_tech_types_types_gen.Integration[]) => _northern_tech_types_types_gen.Integration[]) & {
|
|
182
178
|
clearCache: () => void;
|
|
183
179
|
resultsCount: () => number;
|
|
184
180
|
resetResultsCount: () => void;
|
|
185
181
|
};
|
|
186
|
-
lastResult: () =>
|
|
187
|
-
dependencies: [(state: RootState) =>
|
|
182
|
+
lastResult: () => _northern_tech_types_types_gen.Integration[];
|
|
183
|
+
dependencies: [(state: RootState) => _northern_tech_types_types_gen.Integration[]];
|
|
188
184
|
recomputations: () => number;
|
|
189
185
|
resetRecomputations: () => void;
|
|
190
186
|
dependencyRecomputations: () => number;
|
|
@@ -245,10 +241,10 @@ declare const getWebhooks: ((state: {
|
|
|
245
241
|
total: number;
|
|
246
242
|
};
|
|
247
243
|
byDeviceId: {
|
|
248
|
-
alerts?: Record<string,
|
|
244
|
+
alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
249
245
|
fullName?: string;
|
|
250
246
|
}>;
|
|
251
|
-
latest?: Record<string,
|
|
247
|
+
latest?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
252
248
|
fullName?: string;
|
|
253
249
|
}>;
|
|
254
250
|
};
|
|
@@ -327,19 +323,19 @@ declare const getWebhooks: ((state: {
|
|
|
327
323
|
userSettings: UserSettings;
|
|
328
324
|
userSettingsInitialized: boolean;
|
|
329
325
|
};
|
|
330
|
-
}) =>
|
|
326
|
+
}) => _northern_tech_types_types_gen.Integration[]) & {
|
|
331
327
|
clearCache: () => void;
|
|
332
328
|
resultsCount: () => number;
|
|
333
329
|
resetResultsCount: () => void;
|
|
334
330
|
} & {
|
|
335
|
-
resultFunc: (resultFuncArgs_0:
|
|
336
|
-
memoizedResultFunc: ((resultFuncArgs_0:
|
|
331
|
+
resultFunc: (resultFuncArgs_0: _northern_tech_types_types_gen.Integration[]) => _northern_tech_types_types_gen.Integration[];
|
|
332
|
+
memoizedResultFunc: ((resultFuncArgs_0: _northern_tech_types_types_gen.Integration[]) => _northern_tech_types_types_gen.Integration[]) & {
|
|
337
333
|
clearCache: () => void;
|
|
338
334
|
resultsCount: () => number;
|
|
339
335
|
resetResultsCount: () => void;
|
|
340
336
|
};
|
|
341
|
-
lastResult: () =>
|
|
342
|
-
dependencies: [(state: RootState) =>
|
|
337
|
+
lastResult: () => _northern_tech_types_types_gen.Integration[];
|
|
338
|
+
dependencies: [(state: RootState) => _northern_tech_types_types_gen.Integration[]];
|
|
343
339
|
recomputations: () => number;
|
|
344
340
|
resetRecomputations: () => void;
|
|
345
341
|
dependencyRecomputations: () => number;
|
|
@@ -399,10 +395,10 @@ declare const getWebhookEventInfo: ((state: {
|
|
|
399
395
|
total: number;
|
|
400
396
|
};
|
|
401
397
|
byDeviceId: {
|
|
402
|
-
alerts?: Record<string,
|
|
398
|
+
alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
403
399
|
fullName?: string;
|
|
404
400
|
}>;
|
|
405
|
-
latest?: Record<string,
|
|
401
|
+
latest?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
406
402
|
fullName?: string;
|
|
407
403
|
}>;
|
|
408
404
|
};
|
|
@@ -482,19 +478,19 @@ declare const getWebhookEventInfo: ((state: {
|
|
|
482
478
|
userSettingsInitialized: boolean;
|
|
483
479
|
};
|
|
484
480
|
}) => {
|
|
485
|
-
events:
|
|
481
|
+
events: _northern_tech_types_types_gen.Event[];
|
|
486
482
|
eventTotal: number;
|
|
487
483
|
}) & {
|
|
488
484
|
clearCache: () => void;
|
|
489
485
|
resultsCount: () => number;
|
|
490
486
|
resetResultsCount: () => void;
|
|
491
487
|
} & {
|
|
492
|
-
resultFunc: (resultFuncArgs_0:
|
|
493
|
-
events:
|
|
488
|
+
resultFunc: (resultFuncArgs_0: _northern_tech_types_types_gen.Integration[], resultFuncArgs_1: _northern_tech_types_types_gen.Event[], resultFuncArgs_2: number) => {
|
|
489
|
+
events: _northern_tech_types_types_gen.Event[];
|
|
494
490
|
eventTotal: number;
|
|
495
491
|
};
|
|
496
|
-
memoizedResultFunc: ((resultFuncArgs_0:
|
|
497
|
-
events:
|
|
492
|
+
memoizedResultFunc: ((resultFuncArgs_0: _northern_tech_types_types_gen.Integration[], resultFuncArgs_1: _northern_tech_types_types_gen.Event[], resultFuncArgs_2: number) => {
|
|
493
|
+
events: _northern_tech_types_types_gen.Event[];
|
|
498
494
|
eventTotal: number;
|
|
499
495
|
}) & {
|
|
500
496
|
clearCache: () => void;
|
|
@@ -502,7 +498,7 @@ declare const getWebhookEventInfo: ((state: {
|
|
|
502
498
|
resetResultsCount: () => void;
|
|
503
499
|
};
|
|
504
500
|
lastResult: () => {
|
|
505
|
-
events:
|
|
501
|
+
events: _northern_tech_types_types_gen.Event[];
|
|
506
502
|
eventTotal: number;
|
|
507
503
|
};
|
|
508
504
|
dependencies: [((state: {
|
|
@@ -556,10 +552,10 @@ declare const getWebhookEventInfo: ((state: {
|
|
|
556
552
|
total: number;
|
|
557
553
|
};
|
|
558
554
|
byDeviceId: {
|
|
559
|
-
alerts?: Record<string,
|
|
555
|
+
alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
560
556
|
fullName?: string;
|
|
561
557
|
}>;
|
|
562
|
-
latest?: Record<string,
|
|
558
|
+
latest?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
563
559
|
fullName?: string;
|
|
564
560
|
}>;
|
|
565
561
|
};
|
|
@@ -638,19 +634,19 @@ declare const getWebhookEventInfo: ((state: {
|
|
|
638
634
|
userSettings: UserSettings;
|
|
639
635
|
userSettingsInitialized: boolean;
|
|
640
636
|
};
|
|
641
|
-
}) =>
|
|
637
|
+
}) => _northern_tech_types_types_gen.Integration[]) & {
|
|
642
638
|
clearCache: () => void;
|
|
643
639
|
resultsCount: () => number;
|
|
644
640
|
resetResultsCount: () => void;
|
|
645
641
|
} & {
|
|
646
|
-
resultFunc: (resultFuncArgs_0:
|
|
647
|
-
memoizedResultFunc: ((resultFuncArgs_0:
|
|
642
|
+
resultFunc: (resultFuncArgs_0: _northern_tech_types_types_gen.Integration[]) => _northern_tech_types_types_gen.Integration[];
|
|
643
|
+
memoizedResultFunc: ((resultFuncArgs_0: _northern_tech_types_types_gen.Integration[]) => _northern_tech_types_types_gen.Integration[]) & {
|
|
648
644
|
clearCache: () => void;
|
|
649
645
|
resultsCount: () => number;
|
|
650
646
|
resetResultsCount: () => void;
|
|
651
647
|
};
|
|
652
|
-
lastResult: () =>
|
|
653
|
-
dependencies: [(state: RootState) =>
|
|
648
|
+
lastResult: () => _northern_tech_types_types_gen.Integration[];
|
|
649
|
+
dependencies: [(state: RootState) => _northern_tech_types_types_gen.Integration[]];
|
|
654
650
|
recomputations: () => number;
|
|
655
651
|
resetRecomputations: () => void;
|
|
656
652
|
dependencyRecomputations: () => number;
|
|
@@ -658,7 +654,7 @@ declare const getWebhookEventInfo: ((state: {
|
|
|
658
654
|
} & {
|
|
659
655
|
memoize: typeof reselect.weakMapMemoize;
|
|
660
656
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
661
|
-
}, (state: RootState) =>
|
|
657
|
+
}, (state: RootState) => _northern_tech_types_types_gen.Event[], (state: RootState) => number];
|
|
662
658
|
recomputations: () => number;
|
|
663
659
|
resetRecomputations: () => void;
|
|
664
660
|
dependencyRecomputations: () => number;
|
|
@@ -718,10 +714,10 @@ declare const getAuditLogEntry: ((state: {
|
|
|
718
714
|
total: number;
|
|
719
715
|
};
|
|
720
716
|
byDeviceId: {
|
|
721
|
-
alerts?: Record<string,
|
|
717
|
+
alerts?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
722
718
|
fullName?: string;
|
|
723
719
|
}>;
|
|
724
|
-
latest?: Record<string,
|
|
720
|
+
latest?: Record<string, _northern_tech_types_types_gen.Alert & {
|
|
725
721
|
fullName?: string;
|
|
726
722
|
}>;
|
|
727
723
|
};
|
|
@@ -800,19 +796,19 @@ declare const getAuditLogEntry: ((state: {
|
|
|
800
796
|
userSettings: UserSettings;
|
|
801
797
|
userSettingsInitialized: boolean;
|
|
802
798
|
};
|
|
803
|
-
}) =>
|
|
799
|
+
}) => _northern_tech_types_types_gen.AuditLog | undefined) & {
|
|
804
800
|
clearCache: () => void;
|
|
805
801
|
resultsCount: () => number;
|
|
806
802
|
resetResultsCount: () => void;
|
|
807
803
|
} & {
|
|
808
|
-
resultFunc: (resultFuncArgs_0:
|
|
809
|
-
memoizedResultFunc: ((resultFuncArgs_0:
|
|
804
|
+
resultFunc: (resultFuncArgs_0: _northern_tech_types_types_gen.AuditLog[], resultFuncArgs_1: AuditLogSelectionState) => _northern_tech_types_types_gen.AuditLog | undefined;
|
|
805
|
+
memoizedResultFunc: ((resultFuncArgs_0: _northern_tech_types_types_gen.AuditLog[], resultFuncArgs_1: AuditLogSelectionState) => _northern_tech_types_types_gen.AuditLog | undefined) & {
|
|
810
806
|
clearCache: () => void;
|
|
811
807
|
resultsCount: () => number;
|
|
812
808
|
resetResultsCount: () => void;
|
|
813
809
|
};
|
|
814
|
-
lastResult: () =>
|
|
815
|
-
dependencies: [(state: RootState) =>
|
|
810
|
+
lastResult: () => _northern_tech_types_types_gen.AuditLog | undefined;
|
|
811
|
+
dependencies: [(state: RootState) => _northern_tech_types_types_gen.AuditLog[], (state: RootState) => AuditLogSelectionState];
|
|
816
812
|
recomputations: () => number;
|
|
817
813
|
resetRecomputations: () => void;
|
|
818
814
|
dependencyRecomputations: () => number;
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
getWebhookEventTotal,
|
|
17
17
|
getWebhookEvents,
|
|
18
18
|
getWebhooks
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-67GS7ERY.js";
|
|
20
|
+
import "../chunk-YEQ7D6AW.js";
|
|
21
21
|
import "../chunk-2DYA3X77.js";
|
|
22
22
|
import "../chunk-FAJ3I2UQ.js";
|
|
23
23
|
import "../chunk-ZKAH3APE.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-N3XU7WJM.js";
|
|
25
25
|
export {
|
|
26
26
|
getAuditLog,
|
|
27
27
|
getAuditLogEntry,
|
|
@@ -71,7 +71,6 @@ __export(thunks_exports, {
|
|
|
71
71
|
tenantDataDivergedMessage: () => tenantDataDivergedMessage
|
|
72
72
|
});
|
|
73
73
|
module.exports = __toCommonJS(thunks_exports);
|
|
74
|
-
var import_MenderTypes2 = require("@northern.tech/types/MenderTypes");
|
|
75
74
|
var import_helpers11 = require("@northern.tech/utils/helpers");
|
|
76
75
|
var import_dayjs = __toESM(require("dayjs"), 1);
|
|
77
76
|
var import_utc = __toESM(require("dayjs/plugin/utc.js"), 1);
|
|
@@ -99,7 +98,7 @@ var emptyChartSelection = { software: "", group: "", chartType: chartTypes.bar.k
|
|
|
99
98
|
var defaultReportType = "distribution";
|
|
100
99
|
var defaultReports = [{ ...emptyChartSelection, group: null, attribute: "artifact_name", type: defaultReportType }];
|
|
101
100
|
var locations = {
|
|
102
|
-
cn: { key: "cn", title: "China", location: "
|
|
101
|
+
cn: { key: "cn", title: "China", location: "hosted.mender.cn" },
|
|
103
102
|
eu: { key: "eu", title: "EU", location: "eu.hosted.mender.io" },
|
|
104
103
|
us: { key: "us", title: "US", location: "hosted.mender.io" }
|
|
105
104
|
};
|
|
@@ -219,7 +218,6 @@ var DARK_MODE = "dark";
|
|
|
219
218
|
|
|
220
219
|
// src/commonConstants.tsx
|
|
221
220
|
var import_js = require("@mdi/js");
|
|
222
|
-
var import_MenderTypes = require("@northern.tech/types/MenderTypes");
|
|
223
221
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
224
222
|
var timeUnits = {
|
|
225
223
|
days: "days",
|
|
@@ -243,9 +241,9 @@ var TIMEOUTS = {
|
|
|
243
241
|
var DEVICE_ONLINE_CUTOFF = { interval: 1, intervalName: timeUnits.days };
|
|
244
242
|
var defaultIdAttribute = Object.freeze({ attribute: "id", scope: import_constants5.ATTRIBUTE_SCOPES.identity });
|
|
245
243
|
var credentialTypes = {
|
|
246
|
-
aws:
|
|
247
|
-
http:
|
|
248
|
-
sas:
|
|
244
|
+
aws: "aws",
|
|
245
|
+
http: "http",
|
|
246
|
+
sas: "sas",
|
|
249
247
|
x509: "x509"
|
|
250
248
|
};
|
|
251
249
|
var EXTERNAL_PROVIDER = {
|
|
@@ -293,7 +291,7 @@ var EXTERNAL_PROVIDER = {
|
|
|
293
291
|
};
|
|
294
292
|
var emptyWebhook = {
|
|
295
293
|
description: "",
|
|
296
|
-
provider:
|
|
294
|
+
provider: "webhook",
|
|
297
295
|
credentials: {
|
|
298
296
|
type: EXTERNAL_PROVIDER.webhook.credentialsType,
|
|
299
297
|
[EXTERNAL_PROVIDER.webhook.credentialsType]: {
|
|
@@ -1815,9 +1813,9 @@ var getIsUploading = (0, import_toolkit9.createSelector)([getUploads], (uploadsB
|
|
|
1815
1813
|
var getSearchedDevices = (0, import_toolkit9.createSelector)([getSearchState], ({ deviceIds }) => deviceIds);
|
|
1816
1814
|
var getVersionInformation = (0, import_toolkit9.createSelector)(
|
|
1817
1815
|
[getFullVersionInformation, getFeatures],
|
|
1818
|
-
({ Integration
|
|
1816
|
+
({ Integration, ...remainder }, { isHosted }) => isHosted && Integration !== "next" ? remainder : { ...remainder, Integration }
|
|
1819
1817
|
);
|
|
1820
|
-
var getIsPreview = (0, import_toolkit9.createSelector)([getFullVersionInformation], ({ Integration
|
|
1818
|
+
var getIsPreview = (0, import_toolkit9.createSelector)([getFullVersionInformation], ({ Integration }) => (0, import_helpers2.versionCompare)(Integration, "next") > -1);
|
|
1821
1819
|
|
|
1822
1820
|
// src/commonSelectors.ts
|
|
1823
1821
|
var import_helpers5 = require("@northern.tech/utils/helpers");
|
|
@@ -2630,6 +2628,8 @@ var transformDeployments = (deployments, deploymentsById) => deployments.sort((0
|
|
|
2630
2628
|
...deploymentPrototype,
|
|
2631
2629
|
...deploymentsById[item.id],
|
|
2632
2630
|
...item,
|
|
2631
|
+
// TODO: explicitly set filter term types to address scope type mismatch in deployment specs
|
|
2632
|
+
// @ts-expect-error: type misalignment in filter terms type
|
|
2633
2633
|
filter: filter ? { ...filter, name: filter.name ?? filter.id, filters: mapTermsToFilters(filter.terms) } : void 0,
|
|
2634
2634
|
name: decodeURIComponent(item.name)
|
|
2635
2635
|
};
|
|
@@ -4822,7 +4822,7 @@ var getUserBilling = createAppAsyncThunk(
|
|
|
4822
4822
|
);
|
|
4823
4823
|
var getUserSubscription = createAppAsyncThunk(`${sliceName}/getUserSubscription`, async (_, { dispatch }) => {
|
|
4824
4824
|
const currentSubscription = await dispatch(getCurrentSubscription()).unwrap();
|
|
4825
|
-
const currentPreview = await dispatch(getBillingPreview({ preview_mode:
|
|
4825
|
+
const currentPreview = await dispatch(getBillingPreview({ preview_mode: "next" })).unwrap();
|
|
4826
4826
|
return dispatch(actions.setSubscription({ ...currentPreview, ...currentSubscription }));
|
|
4827
4827
|
});
|
|
4828
4828
|
var getBillingPreview = createAppAsyncThunk(
|