@northern.tech/store 0.27.0 → 0.28.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.js +5 -5
- package/dist/api/general-api.js +1 -1
- package/dist/api/users-api.js +1 -1
- package/dist/appSlice/index.js +1 -1
- package/dist/appSlice/mocks.js +1 -1
- package/dist/appSlice/thunks.cjs +4 -2
- package/dist/appSlice/thunks.cjs.map +1 -1
- package/dist/appSlice/thunks.js +13 -13
- package/dist/auth.js +1 -1
- package/dist/{chunk-3JFB22RN.js → chunk-2S5F4CQS.js} +21 -21
- package/dist/{chunk-WIGVDU4L.js → chunk-66LI4BJO.js} +6 -3
- package/dist/{chunk-WIGVDU4L.js.map → chunk-66LI4BJO.js.map} +1 -1
- package/dist/{chunk-DWK4R74O.js → chunk-CQT3GJNR.js} +8 -8
- package/dist/{chunk-GDJES5SY.js → chunk-G2OECV4D.js} +9 -9
- package/dist/{chunk-GEJJVRND.js → chunk-GDB5IZMC.js} +7 -7
- package/dist/{chunk-MTY2ODOS.js → chunk-GEJDA2ZF.js} +8 -8
- package/dist/{chunk-DXMRQEP6.js → chunk-ILSHXLJ3.js} +11 -11
- package/dist/commonConstants.js +1 -1
- package/dist/commonSelectors.cjs +4 -2
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.js +5 -5
- package/dist/constants.js +4 -4
- package/dist/deploymentsSlice/constants.js +1 -1
- package/dist/deploymentsSlice/index.js +1 -1
- package/dist/deploymentsSlice/mocks.js +1 -1
- package/dist/deploymentsSlice/selectors.js +1 -1
- package/dist/deploymentsSlice/thunks.cjs +4 -2
- package/dist/deploymentsSlice/thunks.cjs.map +1 -1
- package/dist/deploymentsSlice/thunks.js +13 -13
- package/dist/devicesSlice/constants.js +1 -1
- package/dist/devicesSlice/index.js +1 -1
- package/dist/devicesSlice/mocks.js +1 -1
- package/dist/devicesSlice/selectors.cjs +6 -2
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +92 -4
- package/dist/devicesSlice/selectors.d.ts +92 -4
- package/dist/devicesSlice/selectors.js +4 -2
- package/dist/devicesSlice/thunks.cjs +4 -2
- package/dist/devicesSlice/thunks.cjs.map +1 -1
- package/dist/devicesSlice/thunks.js +13 -13
- package/dist/liststatehook.js +1 -1
- package/dist/locationutils.js +1 -1
- package/dist/monitorSlice/index.js +1 -1
- package/dist/monitorSlice/mocks.js +1 -1
- package/dist/monitorSlice/thunks.cjs +4 -2
- package/dist/monitorSlice/thunks.cjs.map +1 -1
- package/dist/monitorSlice/thunks.js +11 -11
- package/dist/onboardingSlice/thunks.cjs +4 -2
- package/dist/onboardingSlice/thunks.cjs.map +1 -1
- package/dist/onboardingSlice/thunks.js +13 -13
- package/dist/organizationSlice/constants.js +1 -1
- package/dist/organizationSlice/index.js +1 -1
- package/dist/organizationSlice/mocks.js +1 -1
- package/dist/organizationSlice/selectors.js +1 -1
- package/dist/organizationSlice/thunks.cjs +4 -2
- package/dist/organizationSlice/thunks.cjs.map +1 -1
- package/dist/organizationSlice/thunks.js +13 -13
- package/dist/releasesSlice/index.js +1 -1
- package/dist/releasesSlice/mocks.js +1 -1
- package/dist/releasesSlice/selectors.js +1 -1
- package/dist/releasesSlice/thunks.cjs +4 -2
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.js +11 -11
- package/dist/selectors.cjs +6 -2
- package/dist/selectors.cjs.map +1 -1
- package/dist/selectors.d.cts +1 -1
- package/dist/selectors.d.ts +1 -1
- package/dist/selectors.js +11 -9
- package/dist/sockethook.js +1 -1
- package/dist/store.js +6 -6
- package/dist/storehooks.cjs +4 -2
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.js +13 -13
- package/dist/thunks.cjs +4 -2
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +13 -13
- package/dist/useDeploymentDevice.cjs +4 -2
- package/dist/useDeploymentDevice.cjs.map +1 -1
- package/dist/useDeploymentDevice.js +15 -15
- package/dist/usersSlice/constants.js +1 -1
- package/dist/usersSlice/index.js +1 -1
- package/dist/usersSlice/mocks.js +1 -1
- package/dist/usersSlice/selectors.js +1 -1
- package/dist/usersSlice/thunks.cjs +4 -2
- package/dist/usersSlice/thunks.cjs.map +1 -1
- package/dist/usersSlice/thunks.js +13 -13
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-3JFB22RN.js.map → chunk-2S5F4CQS.js.map} +0 -0
- /package/dist/{chunk-DWK4R74O.js.map → chunk-CQT3GJNR.js.map} +0 -0
- /package/dist/{chunk-GDJES5SY.js.map → chunk-G2OECV4D.js.map} +0 -0
- /package/dist/{chunk-GEJJVRND.js.map → chunk-GDB5IZMC.js.map} +0 -0
- /package/dist/{chunk-MTY2ODOS.js.map → chunk-GEJDA2ZF.js.map} +0 -0
- /package/dist/{chunk-DXMRQEP6.js.map → chunk-ILSHXLJ3.js.map} +0 -0
package/dist/selectors.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { getAppInitDone, getCommit, getDocsVersion, getFeatures, getFeedbackProbability, getFullVersionInformation, getHostAddress, getHostedAnnouncement, getIsFirstLogin, getIsPreview, getIsUploading, getRecaptchaKey, getSearchState, getSearchedDevices, getSentryConfig, getSnackbar, getStripeKey, getTrackerCode, getUploads, getVersionInformation } from './appSlice/selectors.js';
|
|
2
2
|
export { getAttrsEndpoint, getAuditlogDevice, getAvailableIssueOptionsByType, getDemoDeviceAddress, getDeploymentRelease, getDeviceConfigDeployment, getDeviceReportsForUser, getFilterAttributes, getGroupNames, getIsEnterprise, getMappedDevicesList, getOnboardingState, getRelevantRoles, getSearchEndpoint, getSelectedDeploymentData, getShowSecurityAlert, getTenantCapabilities, getUserCapabilities, getUserRoles } from './commonSelectors.js';
|
|
3
3
|
export { DEPLOYMENT_CUTOFF, getDeploymentById, getDeploymentsById, getDeploymentsByStatus, getDeploymentsSelectionState, getMappedDeploymentSelection, getRecentDeployments, getSelectedDeploymentDeviceIds } from './deploymentsSlice/selectors.js';
|
|
4
|
-
export { getAcceptedDevices, getAttributesList, getCombinedLimit, getDeviceById, getDeviceCountsByStatus, getDeviceFilters, getDeviceIdentityAttributes, getDeviceLimitStats, getDeviceLimits, getDeviceListState, getDeviceReports, getDeviceTypes, getDevicesById, getDevicesByStatus, getFilteringAttributes, getGroupData, getGroups, getGroupsById, getGroupsByIdWithoutUngrouped, getLimitMaxed, getListedDevices, getSelectedGroup, getSelectedGroupInfo, getSortedFilteringAttributes } from './devicesSlice/selectors.js';
|
|
4
|
+
export { getAcceptedDevices, getAttributesList, getCombinedLimit, getDeviceById, getDeviceCountsByStatus, getDeviceFilters, getDeviceIdentityAttributes, getDeviceLimitStats, getDeviceLimits, getDeviceListState, getDeviceReports, getDeviceTypes, getDevicesById, getDevicesByStatus, getEnabledTiers, getFilteringAttributes, getGroupData, getGroups, getGroupsById, getGroupsByIdWithoutUngrouped, getLimitMaxed, getListedDevices, getSelectedGroup, getSelectedGroupInfo, getSortedFilteringAttributes } from './devicesSlice/selectors.js';
|
|
5
5
|
export { getIssueCountsByType } from './monitorSlice/selectors.js';
|
|
6
6
|
export { getOnboarding } from './onboardingSlice/selectors.js';
|
|
7
7
|
export { getAuditLog, getAuditLogEntry, getAuditLogSelectionState, getAuditlogState, getBillingProfile, getCard, getDeviceTwinIntegrations, getDisabledTiers, getExternalIntegrations, getIsServiceProvider, getOrganization, getProducts, getSpLimits, getSsoConfig, getSubscription, getTenantListWithLimits, getTenantsList, getWebhookEventInfo, getWebhookEventTotal, getWebhookEvents, getWebhooks } from './organizationSlice/selectors.js';
|
package/dist/selectors.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getTenantCapabilities,
|
|
20
20
|
getUserCapabilities,
|
|
21
21
|
getUserRoles
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CQT3GJNR.js";
|
|
23
23
|
import {
|
|
24
24
|
getDeltaJobById,
|
|
25
25
|
getDeltaJobsById,
|
|
@@ -57,6 +57,12 @@ import {
|
|
|
57
57
|
getUsersById,
|
|
58
58
|
getUsersList
|
|
59
59
|
} from "./chunk-QX67O5A2.js";
|
|
60
|
+
import {
|
|
61
|
+
getOnboarding
|
|
62
|
+
} from "./chunk-JIS4PA3R.js";
|
|
63
|
+
import {
|
|
64
|
+
getIssueCountsByType
|
|
65
|
+
} from "./chunk-YO22XLHI.js";
|
|
60
66
|
import {
|
|
61
67
|
getAuditLog,
|
|
62
68
|
getAuditLogEntry,
|
|
@@ -90,9 +96,6 @@ import {
|
|
|
90
96
|
getRecentDeployments,
|
|
91
97
|
getSelectedDeploymentDeviceIds
|
|
92
98
|
} from "./chunk-FAKWYYOB.js";
|
|
93
|
-
import {
|
|
94
|
-
getOnboarding
|
|
95
|
-
} from "./chunk-JIS4PA3R.js";
|
|
96
99
|
import {
|
|
97
100
|
getAcceptedDevices,
|
|
98
101
|
getAttributesList,
|
|
@@ -108,6 +111,7 @@ import {
|
|
|
108
111
|
getDeviceTypes,
|
|
109
112
|
getDevicesById,
|
|
110
113
|
getDevicesByStatus,
|
|
114
|
+
getEnabledTiers,
|
|
111
115
|
getFilteringAttributes,
|
|
112
116
|
getGroupData,
|
|
113
117
|
getGroups,
|
|
@@ -118,10 +122,7 @@ import {
|
|
|
118
122
|
getSelectedGroup,
|
|
119
123
|
getSelectedGroupInfo,
|
|
120
124
|
getSortedFilteringAttributes
|
|
121
|
-
} from "./chunk-
|
|
122
|
-
import {
|
|
123
|
-
getIssueCountsByType
|
|
124
|
-
} from "./chunk-YO22XLHI.js";
|
|
125
|
+
} from "./chunk-66LI4BJO.js";
|
|
125
126
|
import {
|
|
126
127
|
getAppInitDone,
|
|
127
128
|
getCommit,
|
|
@@ -146,8 +147,8 @@ import {
|
|
|
146
147
|
} from "./chunk-4BHM6WVX.js";
|
|
147
148
|
import "./chunk-SDHCQ62K.js";
|
|
148
149
|
import "./chunk-CMXRPUOF.js";
|
|
149
|
-
import "./chunk-2DYA3X77.js";
|
|
150
150
|
import "./chunk-FAJ3I2UQ.js";
|
|
151
|
+
import "./chunk-2DYA3X77.js";
|
|
151
152
|
import "./chunk-ZKAH3APE.js";
|
|
152
153
|
import "./chunk-DBBE6D36.js";
|
|
153
154
|
export {
|
|
@@ -193,6 +194,7 @@ export {
|
|
|
193
194
|
getDevicesByStatus,
|
|
194
195
|
getDisabledTiers,
|
|
195
196
|
getDocsVersion,
|
|
197
|
+
getEnabledTiers,
|
|
196
198
|
getExternalIntegrations,
|
|
197
199
|
getFeatures,
|
|
198
200
|
getFeedbackProbability,
|
package/dist/sockethook.js
CHANGED
package/dist/store.js
CHANGED
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
sessionReducer,
|
|
7
7
|
store,
|
|
8
8
|
useAppDispatch
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ILSHXLJ3.js";
|
|
10
|
+
import "./chunk-G2OECV4D.js";
|
|
11
11
|
import "./chunk-525LX7VL.js";
|
|
12
12
|
import "./chunk-4YLOOOZH.js";
|
|
13
|
-
import "./chunk-LSAJE3IU.js";
|
|
14
|
-
import "./chunk-2QIGK5IU.js";
|
|
15
13
|
import "./chunk-CQXDAXQF.js";
|
|
16
14
|
import "./chunk-HVZ5BOM6.js";
|
|
17
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-LSAJE3IU.js";
|
|
18
16
|
import "./chunk-UBFFGYQ4.js";
|
|
17
|
+
import "./chunk-2QIGK5IU.js";
|
|
18
|
+
import "./chunk-GX3X2E57.js";
|
|
19
19
|
import "./chunk-WXRYJOL3.js";
|
|
20
20
|
import "./chunk-CMXRPUOF.js";
|
|
21
|
-
import "./chunk-2DYA3X77.js";
|
|
22
21
|
import "./chunk-FAJ3I2UQ.js";
|
|
22
|
+
import "./chunk-2DYA3X77.js";
|
|
23
23
|
import "./chunk-ZKAH3APE.js";
|
|
24
24
|
import "./chunk-DBBE6D36.js";
|
|
25
25
|
export {
|
package/dist/storehooks.cjs
CHANGED
|
@@ -1876,9 +1876,11 @@ var getAttributesList = (0, import_toolkit11.createSelector)(
|
|
|
1876
1876
|
[getFilteringAttributes, getFilteringAttributesFromConfig],
|
|
1877
1877
|
({ identityAttributes = [], inventoryAttributes = [] }, { identity = [], inventory = [] }) => [...identityAttributes, ...inventoryAttributes, ...identity, ...inventory].filter(import_helpers3.duplicateFilter)
|
|
1878
1878
|
);
|
|
1879
|
-
var
|
|
1879
|
+
var getEnabledTierLimits = (0, import_toolkit11.createSelector)([getDeviceLimits], (limits) => Object.entries(limits).filter(([, limit]) => limit !== 0));
|
|
1880
|
+
var getEnabledTiers = (0, import_toolkit11.createSelector)([getEnabledTierLimits], (enabledTierLimits) => enabledTierLimits.map(([type]) => type));
|
|
1881
|
+
var getDeviceLimitStats = (0, import_toolkit11.createSelector)([getEnabledTierLimits, getAcceptedDevices], (enabledTierLimits, accepted) => {
|
|
1880
1882
|
const { counts } = accepted;
|
|
1881
|
-
return
|
|
1883
|
+
return enabledTierLimits.map(([type, limit]) => ({
|
|
1882
1884
|
type,
|
|
1883
1885
|
limit,
|
|
1884
1886
|
total: counts[type] || 0
|