@northern.tech/store 0.46.4 → 0.47.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.d.cts +6 -6
- package/dist/actions.d.ts +6 -6
- package/dist/api/general-api.cjs +2 -2
- package/dist/api/general-api.cjs.map +1 -1
- package/dist/api/general-api.js +1 -1
- package/dist/api/general-api.js.map +1 -1
- package/dist/appSlice/constants.cjs +3 -4
- 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 -2
- package/dist/appSlice/constants.js.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.d.cts +1 -1
- package/dist/appSlice/mocks.d.ts +1 -1
- package/dist/appSlice/selectors.cjs.map +1 -1
- package/dist/appSlice/selectors.d.cts +2 -130
- package/dist/appSlice/selectors.d.ts +2 -130
- package/dist/appSlice/selectors.js.map +1 -1
- package/dist/appSlice/thunks.d.cts +2 -2
- package/dist/appSlice/thunks.d.ts +2 -2
- package/dist/auth.cjs +3 -3
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.d.cts +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +2 -1
- package/dist/auth.js.map +1 -1
- package/dist/commonConstants.cjs +4 -3
- package/dist/commonConstants.d.cts +2 -2
- package/dist/commonConstants.d.ts +2 -2
- package/dist/commonConstants.js +1 -1
- package/dist/commonSelectors.cjs +1 -1
- package/dist/commonSelectors.d.cts +76 -369
- package/dist/commonSelectors.d.ts +76 -369
- package/dist/commonSelectors.js +1 -1
- package/dist/constants-CCkKh9KM.d.ts +109 -0
- package/dist/constants-CUwYPOYK.d.cts +109 -0
- package/dist/{constants-D5hACLhF.js → constants-DjiC_FnZ.js} +3 -269
- package/dist/constants-DjiC_FnZ.js.map +1 -0
- package/dist/{constants-MVizYy89.cjs → constants-DsOnY5o5.cjs} +1 -279
- package/dist/constants-DsOnY5o5.cjs.map +1 -0
- package/dist/{constants-nKSWZ8oD.d.ts → constants-tC3RR_Oo.d.cts} +2 -3
- package/dist/{constants-nKSWZ8oD.d.cts → constants-tC3RR_Oo.d.ts} +2 -3
- package/dist/constants.cjs +5 -5
- package/dist/constants.d.cts +3 -3
- package/dist/constants.d.ts +3 -3
- package/dist/constants.js +1 -1
- package/dist/deploymentsSlice/constants.cjs +1 -1
- package/dist/deploymentsSlice/constants.js +1 -1
- package/dist/deploymentsSlice/index.cjs +1 -1
- package/dist/deploymentsSlice/index.js +1 -1
- package/dist/deploymentsSlice/selectors.cjs +1 -1
- package/dist/deploymentsSlice/selectors.cjs.map +1 -1
- package/dist/deploymentsSlice/selectors.d.cts +2 -97
- package/dist/deploymentsSlice/selectors.d.ts +2 -97
- package/dist/deploymentsSlice/selectors.js +1 -1
- package/dist/deploymentsSlice/selectors.js.map +1 -1
- package/dist/deploymentsSlice/thunks.d.cts +4 -4
- package/dist/deploymentsSlice/thunks.d.ts +4 -4
- package/dist/devicesSlice/constants.cjs +1 -1
- package/dist/devicesSlice/constants.d.cts +1 -1
- package/dist/devicesSlice/constants.d.ts +1 -1
- package/dist/devicesSlice/constants.js +1 -1
- package/dist/devicesSlice/index.d.cts +1 -1
- package/dist/devicesSlice/index.d.ts +1 -1
- package/dist/devicesSlice/index.js +1 -1
- package/dist/devicesSlice/mocks.js +1 -1
- package/dist/devicesSlice/selectors.cjs +2 -2
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +2 -887
- package/dist/devicesSlice/selectors.d.ts +2 -887
- package/dist/devicesSlice/selectors.js +2 -2
- package/dist/devicesSlice/selectors.js.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +4 -4
- package/dist/devicesSlice/thunks.d.ts +4 -4
- package/dist/{index-KxRmyFLr.d.cts → index-7jVuB4tG.d.cts} +2 -2
- package/dist/{index-fGVC5s1C.d.cts → index-BWtIaimn.d.cts} +2 -2
- package/dist/{index-BfmRpbiJ.d.cts → index-BcrZxKLw.d.cts} +2 -2
- package/dist/{index--SKVGToc.d.ts → index-C1vNDCYR.d.ts} +2 -2
- package/dist/{index-CRqnH_go.d.ts → index-C2za83Qs.d.ts} +2 -2
- package/dist/{index-xxqlerg5.d.ts → index-CThE5Gfh.d.ts} +2 -2
- package/dist/{index-BKU1G9-x.d.cts → index-CaNZaXie.d.cts} +2 -2
- package/dist/{index-BVNS-Aut.d.ts → index-CvMpbsOo.d.ts} +2 -2
- package/dist/{index-HjOSTTGF.d.cts → index-CzQRHJ6f.d.cts} +2 -2
- package/dist/{index-CqhXqGLt.d.cts → index-DNYeo7wc.d.cts} +2 -2
- package/dist/{index-D9GJhX1I.d.ts → index-DOPRnlaC.d.ts} +2 -2
- package/dist/{index-BMsafOyJ.d.ts → index-o_m7WKiR.d.ts} +2 -2
- package/dist/locationutils.cjs +1 -1
- package/dist/locationutils.d.cts +2 -2
- package/dist/locationutils.d.ts +2 -2
- package/dist/locationutils.js +1 -1
- package/dist/mockState.cjs +24 -0
- package/dist/mockState.cjs.map +1 -0
- package/dist/mockState.d.cts +7 -0
- package/dist/mockState.d.ts +7 -0
- package/dist/mockState.js +23 -0
- package/dist/mockState.js.map +1 -0
- package/dist/monitorSlice/constants.d.cts +1 -1
- package/dist/monitorSlice/constants.d.ts +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.d.cts +1 -1
- package/dist/monitorSlice/mocks.d.ts +1 -1
- package/dist/monitorSlice/mocks.js +1 -1
- package/dist/monitorSlice/selectors.cjs.map +1 -1
- package/dist/monitorSlice/selectors.d.cts +2 -10
- package/dist/monitorSlice/selectors.d.ts +2 -10
- package/dist/monitorSlice/selectors.js.map +1 -1
- package/dist/monitorSlice/thunks.cjs +2 -3
- package/dist/monitorSlice/thunks.cjs.map +1 -1
- package/dist/monitorSlice/thunks.d.cts +4 -4
- package/dist/monitorSlice/thunks.d.ts +4 -4
- package/dist/monitorSlice/thunks.js +3 -2
- package/dist/monitorSlice/thunks.js.map +1 -1
- package/dist/onboardingSlice/selectors.cjs.map +1 -1
- package/dist/onboardingSlice/selectors.d.cts +2 -6
- package/dist/onboardingSlice/selectors.d.ts +2 -6
- package/dist/onboardingSlice/selectors.js.map +1 -1
- package/dist/onboardingSlice/thunks.d.cts +3 -3
- package/dist/onboardingSlice/thunks.d.ts +3 -3
- package/dist/organizationSlice/constants.cjs +1 -1
- package/dist/organizationSlice/constants.js +1 -1
- package/dist/organizationSlice/index.cjs +1 -1
- package/dist/organizationSlice/index.d.cts +1 -1
- package/dist/organizationSlice/index.d.ts +1 -1
- package/dist/organizationSlice/index.js +1 -1
- package/dist/organizationSlice/mocks.d.cts +3 -3
- package/dist/organizationSlice/mocks.d.ts +3 -3
- package/dist/organizationSlice/mocks.js +1 -1
- package/dist/organizationSlice/selectors.cjs +1 -1
- package/dist/organizationSlice/selectors.cjs.map +1 -1
- package/dist/organizationSlice/selectors.d.cts +2 -472
- package/dist/organizationSlice/selectors.d.ts +2 -472
- package/dist/organizationSlice/selectors.js +1 -1
- package/dist/organizationSlice/selectors.js.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +25 -21
- package/dist/organizationSlice/thunks.d.ts +25 -21
- package/dist/organizationSlice/types.d.cts +1 -1
- package/dist/organizationSlice/types.d.ts +1 -1
- package/dist/releasesSlice/index.d.cts +1 -1
- package/dist/releasesSlice/index.d.ts +1 -1
- package/dist/releasesSlice/index.js +1 -1
- package/dist/releasesSlice/mocks.js +1 -1
- package/dist/releasesSlice/selectors.cjs.map +1 -1
- package/dist/releasesSlice/selectors.d.cts +2 -795
- package/dist/releasesSlice/selectors.d.ts +2 -795
- package/dist/releasesSlice/selectors.js.map +1 -1
- package/dist/releasesSlice/thunks.cjs +17 -17
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.d.cts +5 -5
- package/dist/releasesSlice/thunks.d.ts +5 -5
- package/dist/releasesSlice/thunks.js +2 -1
- package/dist/releasesSlice/thunks.js.map +1 -1
- package/dist/selectors-1394DVvN.d.ts +712 -0
- package/dist/selectors-Ba9LUr_0.d.ts +593 -0
- package/dist/selectors-CAo0fzIZ.d.ts +99 -0
- package/dist/selectors-CH-yXu-7.d.cts +84 -0
- package/dist/selectors-CQYkG1VI.d.cts +9 -0
- package/dist/selectors-D9t4It2i.d.ts +84 -0
- package/dist/selectors-DDsFLtxz.d.cts +712 -0
- package/dist/selectors-DFSv4A_m.d.ts +378 -0
- package/dist/selectors-DQKg681M.d.ts +363 -0
- package/dist/selectors-DeqP_VLU.d.cts +593 -0
- package/dist/selectors-LhR8TyWU.d.cts +378 -0
- package/dist/selectors-XzNyGFJI.d.cts +99 -0
- package/dist/selectors-aLOjKkxN.d.cts +14 -0
- package/dist/selectors-elCimAHX.d.ts +9 -0
- package/dist/selectors-jusUdUdc.d.cts +363 -0
- package/dist/selectors-vk0GUGHf.d.ts +14 -0
- package/dist/selectors.d.cts +9 -9
- package/dist/selectors.d.ts +9 -9
- package/dist/sockethook.cjs +4 -4
- package/dist/sockethook.cjs.map +1 -1
- package/dist/sockethook.js +2 -1
- package/dist/sockethook.js.map +1 -1
- package/dist/{store-Dw8Uo_Df.d.cts → store-CCvk8X-k.d.cts} +14 -33
- package/dist/{store-DLp6ajT8.d.ts → store-v5V-bbB_.d.ts} +15 -34
- package/dist/store.cjs +2 -4
- package/dist/store.cjs.map +1 -1
- package/dist/store.d.cts +2 -2
- package/dist/store.d.ts +2 -2
- package/dist/store.js +2 -4
- package/dist/store.js.map +1 -1
- package/dist/thunks.cjs +30 -38
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +10 -17
- package/dist/thunks.js.map +1 -1
- package/dist/{types-DY0J79yF.d.ts → types-B2gphGj8.d.ts} +3 -3
- package/dist/{types-B67YW1jV.d.cts → types-CLASWtVP.d.cts} +3 -3
- package/dist/usersSlice/constants.cjs +1 -1
- package/dist/usersSlice/constants.js +1 -1
- package/dist/usersSlice/index.cjs +1 -1
- package/dist/usersSlice/index.d.cts +1 -1
- package/dist/usersSlice/index.d.ts +1 -1
- package/dist/usersSlice/index.js +1 -1
- package/dist/usersSlice/mocks.d.cts +1 -1
- package/dist/usersSlice/mocks.d.ts +1 -1
- package/dist/usersSlice/mocks.js +1 -1
- package/dist/usersSlice/selectors.cjs +3 -3
- package/dist/usersSlice/selectors.cjs.map +1 -1
- package/dist/usersSlice/selectors.d.cts +2 -466
- package/dist/usersSlice/selectors.d.ts +2 -466
- package/dist/usersSlice/selectors.js +2 -2
- package/dist/usersSlice/selectors.js.map +1 -1
- package/dist/usersSlice/thunks.d.cts +88 -88
- package/dist/usersSlice/thunks.d.ts +88 -88
- package/dist/utils.cjs +5 -10
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +4 -8
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
- package/dist/constants-BJuY-ODE.d.ts +0 -124
- package/dist/constants-C2O55iZu.d.cts +0 -124
- package/dist/constants-D5hACLhF.js.map +0 -1
- package/dist/constants-MVizYy89.cjs.map +0 -1
- package/dist/storehooks.cjs +0 -249
- package/dist/storehooks.cjs.map +0 -1
- package/dist/storehooks.d.cts +0 -49
- package/dist/storehooks.d.ts +0 -49
- package/dist/storehooks.js +0 -241
- package/dist/storehooks.js.map +0 -1
|
@@ -0,0 +1,712 @@
|
|
|
1
|
+
import { c as DeviceSliceType, i as DeviceGroup, l as DeviceTierLimits, o as DeviceListState, r as DeviceFilter, t as Device } from "./index-DOPRnlaC.js";
|
|
2
|
+
//#region src/devicesSlice/selectors.d.ts
|
|
3
|
+
type DevicesState = {
|
|
4
|
+
devices: DeviceSliceType;
|
|
5
|
+
};
|
|
6
|
+
declare const getAcceptedDevices: (state: DevicesState) => {
|
|
7
|
+
counts: DeviceTierLimits & {
|
|
8
|
+
total: number;
|
|
9
|
+
};
|
|
10
|
+
deviceIds: string[];
|
|
11
|
+
};
|
|
12
|
+
declare const getDevicesByStatus: (state: DevicesState) => Record<string, {
|
|
13
|
+
counts: DeviceTierLimits & {
|
|
14
|
+
total: number;
|
|
15
|
+
};
|
|
16
|
+
deviceIds: string[];
|
|
17
|
+
}>;
|
|
18
|
+
declare const getDevicesById: (state: DevicesState) => Record<string, Device>;
|
|
19
|
+
declare const getDeviceReports: (state: DevicesState) => {
|
|
20
|
+
items: {
|
|
21
|
+
count: number;
|
|
22
|
+
key: string;
|
|
23
|
+
}[];
|
|
24
|
+
otherCount: number;
|
|
25
|
+
total: number;
|
|
26
|
+
}[];
|
|
27
|
+
declare const getGroupsById: (state: DevicesState) => Record<string, DeviceGroup>;
|
|
28
|
+
declare const getSelectedGroup: (state: DevicesState) => string | undefined;
|
|
29
|
+
declare const getDeviceListState: (state: DevicesState) => DeviceListState;
|
|
30
|
+
declare const getListedDevices: (state: DevicesState) => string[];
|
|
31
|
+
declare const getFilteringAttributes: (state: DevicesState) => {
|
|
32
|
+
identityAttributes: string[];
|
|
33
|
+
inventoryAttributes: string[];
|
|
34
|
+
systemAttributes: string[];
|
|
35
|
+
tagAttributes: string[];
|
|
36
|
+
};
|
|
37
|
+
declare const getDeviceFilters: (state: DevicesState) => DeviceFilter[];
|
|
38
|
+
declare const getTestDeviceLimit: (state: DevicesState) => number;
|
|
39
|
+
declare const getSortedFilteringAttributes: ((state: DevicesState) => {
|
|
40
|
+
identityAttributes: string[];
|
|
41
|
+
inventoryAttributes: string[];
|
|
42
|
+
systemAttributes: string[];
|
|
43
|
+
tagAttributes: string[];
|
|
44
|
+
}) & {
|
|
45
|
+
clearCache: () => void;
|
|
46
|
+
resultsCount: () => number;
|
|
47
|
+
resetResultsCount: () => void;
|
|
48
|
+
} & {
|
|
49
|
+
resultFunc: (resultFuncArgs_0: {
|
|
50
|
+
identityAttributes: string[];
|
|
51
|
+
inventoryAttributes: string[];
|
|
52
|
+
systemAttributes: string[];
|
|
53
|
+
tagAttributes: string[];
|
|
54
|
+
}) => {
|
|
55
|
+
identityAttributes: string[];
|
|
56
|
+
inventoryAttributes: string[];
|
|
57
|
+
systemAttributes: string[];
|
|
58
|
+
tagAttributes: string[];
|
|
59
|
+
};
|
|
60
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
61
|
+
identityAttributes: string[];
|
|
62
|
+
inventoryAttributes: string[];
|
|
63
|
+
systemAttributes: string[];
|
|
64
|
+
tagAttributes: string[];
|
|
65
|
+
}) => {
|
|
66
|
+
identityAttributes: string[];
|
|
67
|
+
inventoryAttributes: string[];
|
|
68
|
+
systemAttributes: string[];
|
|
69
|
+
tagAttributes: string[];
|
|
70
|
+
}) & {
|
|
71
|
+
clearCache: () => void;
|
|
72
|
+
resultsCount: () => number;
|
|
73
|
+
resetResultsCount: () => void;
|
|
74
|
+
};
|
|
75
|
+
lastResult: () => {
|
|
76
|
+
identityAttributes: string[];
|
|
77
|
+
inventoryAttributes: string[];
|
|
78
|
+
systemAttributes: string[];
|
|
79
|
+
tagAttributes: string[];
|
|
80
|
+
};
|
|
81
|
+
dependencies: [(state: DevicesState) => {
|
|
82
|
+
identityAttributes: string[];
|
|
83
|
+
inventoryAttributes: string[];
|
|
84
|
+
systemAttributes: string[];
|
|
85
|
+
tagAttributes: string[];
|
|
86
|
+
}];
|
|
87
|
+
recomputations: () => number;
|
|
88
|
+
resetRecomputations: () => void;
|
|
89
|
+
dependencyRecomputations: () => number;
|
|
90
|
+
resetDependencyRecomputations: () => void;
|
|
91
|
+
} & {
|
|
92
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
93
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
94
|
+
};
|
|
95
|
+
declare const getDeviceLimits: (state: DevicesState) => DeviceTierLimits;
|
|
96
|
+
declare const getTestDeviceCount: (state: DevicesState) => number;
|
|
97
|
+
declare const getDeviceIdentityAttributes: ((state: DevicesState) => {
|
|
98
|
+
value: string;
|
|
99
|
+
label: string;
|
|
100
|
+
scope: string;
|
|
101
|
+
}[]) & {
|
|
102
|
+
clearCache: () => void;
|
|
103
|
+
resultsCount: () => number;
|
|
104
|
+
resetResultsCount: () => void;
|
|
105
|
+
} & {
|
|
106
|
+
resultFunc: (resultFuncArgs_0: {
|
|
107
|
+
identityAttributes: string[];
|
|
108
|
+
inventoryAttributes: string[];
|
|
109
|
+
systemAttributes: string[];
|
|
110
|
+
tagAttributes: string[];
|
|
111
|
+
}, resultFuncArgs_1: number) => {
|
|
112
|
+
value: string;
|
|
113
|
+
label: string;
|
|
114
|
+
scope: string;
|
|
115
|
+
}[];
|
|
116
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
117
|
+
identityAttributes: string[];
|
|
118
|
+
inventoryAttributes: string[];
|
|
119
|
+
systemAttributes: string[];
|
|
120
|
+
tagAttributes: string[];
|
|
121
|
+
}, resultFuncArgs_1: number) => {
|
|
122
|
+
value: string;
|
|
123
|
+
label: string;
|
|
124
|
+
scope: string;
|
|
125
|
+
}[]) & {
|
|
126
|
+
clearCache: () => void;
|
|
127
|
+
resultsCount: () => number;
|
|
128
|
+
resetResultsCount: () => void;
|
|
129
|
+
};
|
|
130
|
+
lastResult: () => {
|
|
131
|
+
value: string;
|
|
132
|
+
label: string;
|
|
133
|
+
scope: string;
|
|
134
|
+
}[];
|
|
135
|
+
dependencies: [(state: DevicesState) => {
|
|
136
|
+
identityAttributes: string[];
|
|
137
|
+
inventoryAttributes: string[];
|
|
138
|
+
systemAttributes: string[];
|
|
139
|
+
tagAttributes: string[];
|
|
140
|
+
}, (state: DevicesState) => number];
|
|
141
|
+
recomputations: () => number;
|
|
142
|
+
resetRecomputations: () => void;
|
|
143
|
+
dependencyRecomputations: () => number;
|
|
144
|
+
resetDependencyRecomputations: () => void;
|
|
145
|
+
} & {
|
|
146
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
147
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
148
|
+
};
|
|
149
|
+
declare const getDeviceCountsByStatus: ((state: DevicesState) => Record<string, number>) & {
|
|
150
|
+
clearCache: () => void;
|
|
151
|
+
resultsCount: () => number;
|
|
152
|
+
resetResultsCount: () => void;
|
|
153
|
+
} & {
|
|
154
|
+
resultFunc: (resultFuncArgs_0: Record<string, {
|
|
155
|
+
counts: DeviceTierLimits & {
|
|
156
|
+
total: number;
|
|
157
|
+
};
|
|
158
|
+
deviceIds: string[];
|
|
159
|
+
}>) => Record<string, number>;
|
|
160
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
|
|
161
|
+
counts: DeviceTierLimits & {
|
|
162
|
+
total: number;
|
|
163
|
+
};
|
|
164
|
+
deviceIds: string[];
|
|
165
|
+
}>) => Record<string, number>) & {
|
|
166
|
+
clearCache: () => void;
|
|
167
|
+
resultsCount: () => number;
|
|
168
|
+
resetResultsCount: () => void;
|
|
169
|
+
};
|
|
170
|
+
lastResult: () => Record<string, number>;
|
|
171
|
+
dependencies: [(state: DevicesState) => Record<string, {
|
|
172
|
+
counts: DeviceTierLimits & {
|
|
173
|
+
total: number;
|
|
174
|
+
};
|
|
175
|
+
deviceIds: string[];
|
|
176
|
+
}>];
|
|
177
|
+
recomputations: () => number;
|
|
178
|
+
resetRecomputations: () => void;
|
|
179
|
+
dependencyRecomputations: () => number;
|
|
180
|
+
resetDependencyRecomputations: () => void;
|
|
181
|
+
} & {
|
|
182
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
183
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
184
|
+
};
|
|
185
|
+
declare const getDeviceById: ((state: any, deviceId: any) => Device) & {
|
|
186
|
+
clearCache: () => void;
|
|
187
|
+
resultsCount: () => number;
|
|
188
|
+
resetResultsCount: () => void;
|
|
189
|
+
} & {
|
|
190
|
+
resultFunc: (resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => Device;
|
|
191
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => Device) & {
|
|
192
|
+
clearCache: () => void;
|
|
193
|
+
resultsCount: () => number;
|
|
194
|
+
resetResultsCount: () => void;
|
|
195
|
+
};
|
|
196
|
+
lastResult: () => Device;
|
|
197
|
+
dependencies: [(state: DevicesState) => Record<string, Device>, (_: any, deviceId: any) => any];
|
|
198
|
+
recomputations: () => number;
|
|
199
|
+
resetRecomputations: () => void;
|
|
200
|
+
dependencyRecomputations: () => number;
|
|
201
|
+
resetDependencyRecomputations: () => void;
|
|
202
|
+
} & {
|
|
203
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
204
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
205
|
+
};
|
|
206
|
+
declare const getSelectedGroupInfo: ((state: DevicesState) => {
|
|
207
|
+
groupCount: number;
|
|
208
|
+
selectedGroup: string | undefined;
|
|
209
|
+
groupFilters: DeviceFilter[];
|
|
210
|
+
}) & {
|
|
211
|
+
clearCache: () => void;
|
|
212
|
+
resultsCount: () => number;
|
|
213
|
+
resetResultsCount: () => void;
|
|
214
|
+
} & {
|
|
215
|
+
resultFunc: (resultFuncArgs_0: Record<string, number>, resultFuncArgs_1: Record<string, DeviceGroup>, resultFuncArgs_2: string | undefined) => {
|
|
216
|
+
groupCount: number;
|
|
217
|
+
selectedGroup: string | undefined;
|
|
218
|
+
groupFilters: DeviceFilter[];
|
|
219
|
+
};
|
|
220
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, number>, resultFuncArgs_1: Record<string, DeviceGroup>, resultFuncArgs_2: string | undefined) => {
|
|
221
|
+
groupCount: number;
|
|
222
|
+
selectedGroup: string | undefined;
|
|
223
|
+
groupFilters: DeviceFilter[];
|
|
224
|
+
}) & {
|
|
225
|
+
clearCache: () => void;
|
|
226
|
+
resultsCount: () => number;
|
|
227
|
+
resetResultsCount: () => void;
|
|
228
|
+
};
|
|
229
|
+
lastResult: () => {
|
|
230
|
+
groupCount: number;
|
|
231
|
+
selectedGroup: string | undefined;
|
|
232
|
+
groupFilters: DeviceFilter[];
|
|
233
|
+
};
|
|
234
|
+
dependencies: [((state: DevicesState) => Record<string, number>) & {
|
|
235
|
+
clearCache: () => void;
|
|
236
|
+
resultsCount: () => number;
|
|
237
|
+
resetResultsCount: () => void;
|
|
238
|
+
} & {
|
|
239
|
+
resultFunc: (resultFuncArgs_0: Record<string, {
|
|
240
|
+
counts: DeviceTierLimits & {
|
|
241
|
+
total: number;
|
|
242
|
+
};
|
|
243
|
+
deviceIds: string[];
|
|
244
|
+
}>) => Record<string, number>;
|
|
245
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
|
|
246
|
+
counts: DeviceTierLimits & {
|
|
247
|
+
total: number;
|
|
248
|
+
};
|
|
249
|
+
deviceIds: string[];
|
|
250
|
+
}>) => Record<string, number>) & {
|
|
251
|
+
clearCache: () => void;
|
|
252
|
+
resultsCount: () => number;
|
|
253
|
+
resetResultsCount: () => void;
|
|
254
|
+
};
|
|
255
|
+
lastResult: () => Record<string, number>;
|
|
256
|
+
dependencies: [(state: DevicesState) => Record<string, {
|
|
257
|
+
counts: DeviceTierLimits & {
|
|
258
|
+
total: number;
|
|
259
|
+
};
|
|
260
|
+
deviceIds: string[];
|
|
261
|
+
}>];
|
|
262
|
+
recomputations: () => number;
|
|
263
|
+
resetRecomputations: () => void;
|
|
264
|
+
dependencyRecomputations: () => number;
|
|
265
|
+
resetDependencyRecomputations: () => void;
|
|
266
|
+
} & {
|
|
267
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
268
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
269
|
+
}, (state: DevicesState) => Record<string, DeviceGroup>, (state: DevicesState) => string | undefined];
|
|
270
|
+
recomputations: () => number;
|
|
271
|
+
resetRecomputations: () => void;
|
|
272
|
+
dependencyRecomputations: () => number;
|
|
273
|
+
resetDependencyRecomputations: () => void;
|
|
274
|
+
} & {
|
|
275
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
276
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
277
|
+
};
|
|
278
|
+
declare const getCombinedLimit: ((state: DevicesState) => number) & {
|
|
279
|
+
clearCache: () => void;
|
|
280
|
+
resultsCount: () => number;
|
|
281
|
+
resetResultsCount: () => void;
|
|
282
|
+
} & {
|
|
283
|
+
resultFunc: (resultFuncArgs_0: DeviceTierLimits) => number;
|
|
284
|
+
memoizedResultFunc: ((resultFuncArgs_0: DeviceTierLimits) => number) & {
|
|
285
|
+
clearCache: () => void;
|
|
286
|
+
resultsCount: () => number;
|
|
287
|
+
resetResultsCount: () => void;
|
|
288
|
+
};
|
|
289
|
+
lastResult: () => number;
|
|
290
|
+
dependencies: [(state: DevicesState) => DeviceTierLimits];
|
|
291
|
+
recomputations: () => number;
|
|
292
|
+
resetRecomputations: () => void;
|
|
293
|
+
dependencyRecomputations: () => number;
|
|
294
|
+
resetDependencyRecomputations: () => void;
|
|
295
|
+
} & {
|
|
296
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
297
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
298
|
+
};
|
|
299
|
+
declare const getLimitMaxed: ((state: DevicesState) => boolean) & {
|
|
300
|
+
clearCache: () => void;
|
|
301
|
+
resultsCount: () => number;
|
|
302
|
+
resetResultsCount: () => void;
|
|
303
|
+
} & {
|
|
304
|
+
resultFunc: (resultFuncArgs_0: Record<string, number>, resultFuncArgs_1: number) => boolean;
|
|
305
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, number>, resultFuncArgs_1: number) => boolean) & {
|
|
306
|
+
clearCache: () => void;
|
|
307
|
+
resultsCount: () => number;
|
|
308
|
+
resetResultsCount: () => void;
|
|
309
|
+
};
|
|
310
|
+
lastResult: () => boolean;
|
|
311
|
+
dependencies: [((state: DevicesState) => Record<string, number>) & {
|
|
312
|
+
clearCache: () => void;
|
|
313
|
+
resultsCount: () => number;
|
|
314
|
+
resetResultsCount: () => void;
|
|
315
|
+
} & {
|
|
316
|
+
resultFunc: (resultFuncArgs_0: Record<string, {
|
|
317
|
+
counts: DeviceTierLimits & {
|
|
318
|
+
total: number;
|
|
319
|
+
};
|
|
320
|
+
deviceIds: string[];
|
|
321
|
+
}>) => Record<string, number>;
|
|
322
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
|
|
323
|
+
counts: DeviceTierLimits & {
|
|
324
|
+
total: number;
|
|
325
|
+
};
|
|
326
|
+
deviceIds: string[];
|
|
327
|
+
}>) => Record<string, number>) & {
|
|
328
|
+
clearCache: () => void;
|
|
329
|
+
resultsCount: () => number;
|
|
330
|
+
resetResultsCount: () => void;
|
|
331
|
+
};
|
|
332
|
+
lastResult: () => Record<string, number>;
|
|
333
|
+
dependencies: [(state: DevicesState) => Record<string, {
|
|
334
|
+
counts: DeviceTierLimits & {
|
|
335
|
+
total: number;
|
|
336
|
+
};
|
|
337
|
+
deviceIds: string[];
|
|
338
|
+
}>];
|
|
339
|
+
recomputations: () => number;
|
|
340
|
+
resetRecomputations: () => void;
|
|
341
|
+
dependencyRecomputations: () => number;
|
|
342
|
+
resetDependencyRecomputations: () => void;
|
|
343
|
+
} & {
|
|
344
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
345
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
346
|
+
}, ((state: DevicesState) => number) & {
|
|
347
|
+
clearCache: () => void;
|
|
348
|
+
resultsCount: () => number;
|
|
349
|
+
resetResultsCount: () => void;
|
|
350
|
+
} & {
|
|
351
|
+
resultFunc: (resultFuncArgs_0: DeviceTierLimits) => number;
|
|
352
|
+
memoizedResultFunc: ((resultFuncArgs_0: DeviceTierLimits) => number) & {
|
|
353
|
+
clearCache: () => void;
|
|
354
|
+
resultsCount: () => number;
|
|
355
|
+
resetResultsCount: () => void;
|
|
356
|
+
};
|
|
357
|
+
lastResult: () => number;
|
|
358
|
+
dependencies: [(state: DevicesState) => DeviceTierLimits];
|
|
359
|
+
recomputations: () => number;
|
|
360
|
+
resetRecomputations: () => void;
|
|
361
|
+
dependencyRecomputations: () => number;
|
|
362
|
+
resetDependencyRecomputations: () => void;
|
|
363
|
+
} & {
|
|
364
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
365
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
366
|
+
}];
|
|
367
|
+
recomputations: () => number;
|
|
368
|
+
resetRecomputations: () => void;
|
|
369
|
+
dependencyRecomputations: () => number;
|
|
370
|
+
resetDependencyRecomputations: () => void;
|
|
371
|
+
} & {
|
|
372
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
373
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
374
|
+
};
|
|
375
|
+
declare const getGroupsByIdWithoutUngrouped: ((state: DevicesState) => {
|
|
376
|
+
[x: string]: DeviceGroup;
|
|
377
|
+
}) & {
|
|
378
|
+
clearCache: () => void;
|
|
379
|
+
resultsCount: () => number;
|
|
380
|
+
resetResultsCount: () => void;
|
|
381
|
+
} & {
|
|
382
|
+
resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>) => {
|
|
383
|
+
[x: string]: DeviceGroup;
|
|
384
|
+
};
|
|
385
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>) => {
|
|
386
|
+
[x: string]: DeviceGroup;
|
|
387
|
+
}) & {
|
|
388
|
+
clearCache: () => void;
|
|
389
|
+
resultsCount: () => number;
|
|
390
|
+
resetResultsCount: () => void;
|
|
391
|
+
};
|
|
392
|
+
lastResult: () => {
|
|
393
|
+
[x: string]: DeviceGroup;
|
|
394
|
+
};
|
|
395
|
+
dependencies: [(state: DevicesState) => Record<string, DeviceGroup>];
|
|
396
|
+
recomputations: () => number;
|
|
397
|
+
resetRecomputations: () => void;
|
|
398
|
+
dependencyRecomputations: () => number;
|
|
399
|
+
resetDependencyRecomputations: () => void;
|
|
400
|
+
} & {
|
|
401
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
402
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
403
|
+
};
|
|
404
|
+
declare const getGroupData: ((state: DevicesState) => {
|
|
405
|
+
createdGroup: string | undefined;
|
|
406
|
+
hasDynamicGroups: boolean;
|
|
407
|
+
groups: {
|
|
408
|
+
[x: string]: DeviceGroup;
|
|
409
|
+
};
|
|
410
|
+
}) & {
|
|
411
|
+
clearCache: () => void;
|
|
412
|
+
resultsCount: () => number;
|
|
413
|
+
resetResultsCount: () => void;
|
|
414
|
+
} & {
|
|
415
|
+
resultFunc: (resultFuncArgs_0: {
|
|
416
|
+
[x: string]: DeviceGroup;
|
|
417
|
+
}) => {
|
|
418
|
+
createdGroup: string | undefined;
|
|
419
|
+
hasDynamicGroups: boolean;
|
|
420
|
+
groups: {
|
|
421
|
+
[x: string]: DeviceGroup;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
425
|
+
[x: string]: DeviceGroup;
|
|
426
|
+
}) => {
|
|
427
|
+
createdGroup: string | undefined;
|
|
428
|
+
hasDynamicGroups: boolean;
|
|
429
|
+
groups: {
|
|
430
|
+
[x: string]: DeviceGroup;
|
|
431
|
+
};
|
|
432
|
+
}) & {
|
|
433
|
+
clearCache: () => void;
|
|
434
|
+
resultsCount: () => number;
|
|
435
|
+
resetResultsCount: () => void;
|
|
436
|
+
};
|
|
437
|
+
lastResult: () => {
|
|
438
|
+
createdGroup: string | undefined;
|
|
439
|
+
hasDynamicGroups: boolean;
|
|
440
|
+
groups: {
|
|
441
|
+
[x: string]: DeviceGroup;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
dependencies: [((state: DevicesState) => {
|
|
445
|
+
[x: string]: DeviceGroup;
|
|
446
|
+
}) & {
|
|
447
|
+
clearCache: () => void;
|
|
448
|
+
resultsCount: () => number;
|
|
449
|
+
resetResultsCount: () => void;
|
|
450
|
+
} & {
|
|
451
|
+
resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>) => {
|
|
452
|
+
[x: string]: DeviceGroup;
|
|
453
|
+
};
|
|
454
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>) => {
|
|
455
|
+
[x: string]: DeviceGroup;
|
|
456
|
+
}) & {
|
|
457
|
+
clearCache: () => void;
|
|
458
|
+
resultsCount: () => number;
|
|
459
|
+
resetResultsCount: () => void;
|
|
460
|
+
};
|
|
461
|
+
lastResult: () => {
|
|
462
|
+
[x: string]: DeviceGroup;
|
|
463
|
+
};
|
|
464
|
+
dependencies: [(state: DevicesState) => Record<string, DeviceGroup>];
|
|
465
|
+
recomputations: () => number;
|
|
466
|
+
resetRecomputations: () => void;
|
|
467
|
+
dependencyRecomputations: () => number;
|
|
468
|
+
resetDependencyRecomputations: () => void;
|
|
469
|
+
} & {
|
|
470
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
471
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
472
|
+
}];
|
|
473
|
+
recomputations: () => number;
|
|
474
|
+
resetRecomputations: () => void;
|
|
475
|
+
dependencyRecomputations: () => number;
|
|
476
|
+
resetDependencyRecomputations: () => void;
|
|
477
|
+
} & {
|
|
478
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
479
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
480
|
+
};
|
|
481
|
+
type SelectorGroup = DeviceGroup & {
|
|
482
|
+
groupId: string;
|
|
483
|
+
};
|
|
484
|
+
declare const getGroups: ((state: DevicesState) => {
|
|
485
|
+
dynamic: SelectorGroup[];
|
|
486
|
+
static: SelectorGroup[];
|
|
487
|
+
ungrouped: SelectorGroup[];
|
|
488
|
+
groupNames: string[];
|
|
489
|
+
}) & {
|
|
490
|
+
clearCache: () => void;
|
|
491
|
+
resultsCount: () => number;
|
|
492
|
+
resetResultsCount: () => void;
|
|
493
|
+
} & {
|
|
494
|
+
resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>) => {
|
|
495
|
+
dynamic: SelectorGroup[];
|
|
496
|
+
static: SelectorGroup[];
|
|
497
|
+
ungrouped: SelectorGroup[];
|
|
498
|
+
groupNames: string[];
|
|
499
|
+
};
|
|
500
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>) => {
|
|
501
|
+
dynamic: SelectorGroup[];
|
|
502
|
+
static: SelectorGroup[];
|
|
503
|
+
ungrouped: SelectorGroup[];
|
|
504
|
+
groupNames: string[];
|
|
505
|
+
}) & {
|
|
506
|
+
clearCache: () => void;
|
|
507
|
+
resultsCount: () => number;
|
|
508
|
+
resetResultsCount: () => void;
|
|
509
|
+
};
|
|
510
|
+
lastResult: () => {
|
|
511
|
+
dynamic: SelectorGroup[];
|
|
512
|
+
static: SelectorGroup[];
|
|
513
|
+
ungrouped: SelectorGroup[];
|
|
514
|
+
groupNames: string[];
|
|
515
|
+
};
|
|
516
|
+
dependencies: [(state: DevicesState) => Record<string, DeviceGroup>];
|
|
517
|
+
recomputations: () => number;
|
|
518
|
+
resetRecomputations: () => void;
|
|
519
|
+
dependencyRecomputations: () => number;
|
|
520
|
+
resetDependencyRecomputations: () => void;
|
|
521
|
+
} & {
|
|
522
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
523
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
524
|
+
};
|
|
525
|
+
declare const getAttributesList: ((state: DevicesState) => string[]) & {
|
|
526
|
+
clearCache: () => void;
|
|
527
|
+
resultsCount: () => number;
|
|
528
|
+
resetResultsCount: () => void;
|
|
529
|
+
} & {
|
|
530
|
+
resultFunc: (resultFuncArgs_0: {
|
|
531
|
+
identityAttributes: string[];
|
|
532
|
+
inventoryAttributes: string[];
|
|
533
|
+
systemAttributes: string[];
|
|
534
|
+
tagAttributes: string[];
|
|
535
|
+
}, resultFuncArgs_1: Record<string, string[]>) => string[];
|
|
536
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
537
|
+
identityAttributes: string[];
|
|
538
|
+
inventoryAttributes: string[];
|
|
539
|
+
systemAttributes: string[];
|
|
540
|
+
tagAttributes: string[];
|
|
541
|
+
}, resultFuncArgs_1: Record<string, string[]>) => string[]) & {
|
|
542
|
+
clearCache: () => void;
|
|
543
|
+
resultsCount: () => number;
|
|
544
|
+
resetResultsCount: () => void;
|
|
545
|
+
};
|
|
546
|
+
lastResult: () => string[];
|
|
547
|
+
dependencies: [(state: DevicesState) => {
|
|
548
|
+
identityAttributes: string[];
|
|
549
|
+
inventoryAttributes: string[];
|
|
550
|
+
systemAttributes: string[];
|
|
551
|
+
tagAttributes: string[];
|
|
552
|
+
}, (state: DevicesState) => Record<string, string[]>];
|
|
553
|
+
recomputations: () => number;
|
|
554
|
+
resetRecomputations: () => void;
|
|
555
|
+
dependencyRecomputations: () => number;
|
|
556
|
+
resetDependencyRecomputations: () => void;
|
|
557
|
+
} & {
|
|
558
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
559
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
560
|
+
};
|
|
561
|
+
declare const getEnabledTiers: ((state: DevicesState) => string[]) & {
|
|
562
|
+
clearCache: () => void;
|
|
563
|
+
resultsCount: () => number;
|
|
564
|
+
resetResultsCount: () => void;
|
|
565
|
+
} & {
|
|
566
|
+
resultFunc: (resultFuncArgs_0: [string, number][]) => string[];
|
|
567
|
+
memoizedResultFunc: ((resultFuncArgs_0: [string, number][]) => string[]) & {
|
|
568
|
+
clearCache: () => void;
|
|
569
|
+
resultsCount: () => number;
|
|
570
|
+
resetResultsCount: () => void;
|
|
571
|
+
};
|
|
572
|
+
lastResult: () => string[];
|
|
573
|
+
dependencies: [((state: DevicesState) => [string, number][]) & {
|
|
574
|
+
clearCache: () => void;
|
|
575
|
+
resultsCount: () => number;
|
|
576
|
+
resetResultsCount: () => void;
|
|
577
|
+
} & {
|
|
578
|
+
resultFunc: (resultFuncArgs_0: DeviceTierLimits) => [string, number][];
|
|
579
|
+
memoizedResultFunc: ((resultFuncArgs_0: DeviceTierLimits) => [string, number][]) & {
|
|
580
|
+
clearCache: () => void;
|
|
581
|
+
resultsCount: () => number;
|
|
582
|
+
resetResultsCount: () => void;
|
|
583
|
+
};
|
|
584
|
+
lastResult: () => [string, number][];
|
|
585
|
+
dependencies: [(state: DevicesState) => DeviceTierLimits];
|
|
586
|
+
recomputations: () => number;
|
|
587
|
+
resetRecomputations: () => void;
|
|
588
|
+
dependencyRecomputations: () => number;
|
|
589
|
+
resetDependencyRecomputations: () => void;
|
|
590
|
+
} & {
|
|
591
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
592
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
593
|
+
}];
|
|
594
|
+
recomputations: () => number;
|
|
595
|
+
resetRecomputations: () => void;
|
|
596
|
+
dependencyRecomputations: () => number;
|
|
597
|
+
resetDependencyRecomputations: () => void;
|
|
598
|
+
} & {
|
|
599
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
600
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
601
|
+
};
|
|
602
|
+
declare const getDeviceLimitStats: ((state: DevicesState) => {
|
|
603
|
+
type: string;
|
|
604
|
+
limit: number;
|
|
605
|
+
total: any;
|
|
606
|
+
}[]) & {
|
|
607
|
+
clearCache: () => void;
|
|
608
|
+
resultsCount: () => number;
|
|
609
|
+
resetResultsCount: () => void;
|
|
610
|
+
} & {
|
|
611
|
+
resultFunc: (resultFuncArgs_0: [string, number][], resultFuncArgs_1: {
|
|
612
|
+
counts: DeviceTierLimits & {
|
|
613
|
+
total: number;
|
|
614
|
+
};
|
|
615
|
+
deviceIds: string[];
|
|
616
|
+
}) => {
|
|
617
|
+
type: string;
|
|
618
|
+
limit: number;
|
|
619
|
+
total: any;
|
|
620
|
+
}[];
|
|
621
|
+
memoizedResultFunc: ((resultFuncArgs_0: [string, number][], resultFuncArgs_1: {
|
|
622
|
+
counts: DeviceTierLimits & {
|
|
623
|
+
total: number;
|
|
624
|
+
};
|
|
625
|
+
deviceIds: string[];
|
|
626
|
+
}) => {
|
|
627
|
+
type: string;
|
|
628
|
+
limit: number;
|
|
629
|
+
total: any;
|
|
630
|
+
}[]) & {
|
|
631
|
+
clearCache: () => void;
|
|
632
|
+
resultsCount: () => number;
|
|
633
|
+
resetResultsCount: () => void;
|
|
634
|
+
};
|
|
635
|
+
lastResult: () => {
|
|
636
|
+
type: string;
|
|
637
|
+
limit: number;
|
|
638
|
+
total: any;
|
|
639
|
+
}[];
|
|
640
|
+
dependencies: [((state: DevicesState) => [string, number][]) & {
|
|
641
|
+
clearCache: () => void;
|
|
642
|
+
resultsCount: () => number;
|
|
643
|
+
resetResultsCount: () => void;
|
|
644
|
+
} & {
|
|
645
|
+
resultFunc: (resultFuncArgs_0: DeviceTierLimits) => [string, number][];
|
|
646
|
+
memoizedResultFunc: ((resultFuncArgs_0: DeviceTierLimits) => [string, number][]) & {
|
|
647
|
+
clearCache: () => void;
|
|
648
|
+
resultsCount: () => number;
|
|
649
|
+
resetResultsCount: () => void;
|
|
650
|
+
};
|
|
651
|
+
lastResult: () => [string, number][];
|
|
652
|
+
dependencies: [(state: DevicesState) => DeviceTierLimits];
|
|
653
|
+
recomputations: () => number;
|
|
654
|
+
resetRecomputations: () => void;
|
|
655
|
+
dependencyRecomputations: () => number;
|
|
656
|
+
resetDependencyRecomputations: () => void;
|
|
657
|
+
} & {
|
|
658
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
659
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
660
|
+
}, (state: DevicesState) => {
|
|
661
|
+
counts: DeviceTierLimits & {
|
|
662
|
+
total: number;
|
|
663
|
+
};
|
|
664
|
+
deviceIds: string[];
|
|
665
|
+
}];
|
|
666
|
+
recomputations: () => number;
|
|
667
|
+
resetRecomputations: () => void;
|
|
668
|
+
dependencyRecomputations: () => number;
|
|
669
|
+
resetDependencyRecomputations: () => void;
|
|
670
|
+
} & {
|
|
671
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
672
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
673
|
+
};
|
|
674
|
+
declare const getDeviceTypes: ((state: DevicesState) => string[]) & {
|
|
675
|
+
clearCache: () => void;
|
|
676
|
+
resultsCount: () => number;
|
|
677
|
+
resetResultsCount: () => void;
|
|
678
|
+
} & {
|
|
679
|
+
resultFunc: (resultFuncArgs_0: {
|
|
680
|
+
counts: DeviceTierLimits & {
|
|
681
|
+
total: number;
|
|
682
|
+
};
|
|
683
|
+
deviceIds: string[];
|
|
684
|
+
}, resultFuncArgs_1: Record<string, Device>) => string[];
|
|
685
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
686
|
+
counts: DeviceTierLimits & {
|
|
687
|
+
total: number;
|
|
688
|
+
};
|
|
689
|
+
deviceIds: string[];
|
|
690
|
+
}, resultFuncArgs_1: Record<string, Device>) => string[]) & {
|
|
691
|
+
clearCache: () => void;
|
|
692
|
+
resultsCount: () => number;
|
|
693
|
+
resetResultsCount: () => void;
|
|
694
|
+
};
|
|
695
|
+
lastResult: () => string[];
|
|
696
|
+
dependencies: [(state: DevicesState) => {
|
|
697
|
+
counts: DeviceTierLimits & {
|
|
698
|
+
total: number;
|
|
699
|
+
};
|
|
700
|
+
deviceIds: string[];
|
|
701
|
+
}, (state: DevicesState) => Record<string, Device>];
|
|
702
|
+
recomputations: () => number;
|
|
703
|
+
resetRecomputations: () => void;
|
|
704
|
+
dependencyRecomputations: () => number;
|
|
705
|
+
resetDependencyRecomputations: () => void;
|
|
706
|
+
} & {
|
|
707
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
708
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
709
|
+
};
|
|
710
|
+
//#endregion
|
|
711
|
+
export { getListedDevices as C, getTestDeviceCount as D, getSortedFilteringAttributes as E, getTestDeviceLimit as O, getLimitMaxed as S, getSelectedGroupInfo as T, getFilteringAttributes as _, getDeviceById as a, getGroupsById as b, getDeviceIdentityAttributes as c, getDeviceListState as d, getDeviceReports as f, getEnabledTiers as g, getDevicesByStatus as h, getCombinedLimit as i, getDeviceLimitStats as l, getDevicesById as m, getAcceptedDevices as n, getDeviceCountsByStatus as o, getDeviceTypes as p, getAttributesList as r, getDeviceFilters as s, DevicesState as t, getDeviceLimits as u, getGroupData as v, getSelectedGroup as w, getGroupsByIdWithoutUngrouped as x, getGroups as y };
|
|
712
|
+
//# sourceMappingURL=selectors-1394DVvN.d.ts.map
|