@northern.tech/store 0.31.0 → 0.32.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 +5 -2
- package/dist/actions.d.ts +5 -2
- package/dist/api/general-api.cjs +2 -2
- package/dist/api/general-api.cjs.map +1 -1
- package/dist/api/general-api.js.map +1 -1
- package/dist/api/users-api.cjs +1 -1
- package/dist/api/users-api.cjs.map +1 -1
- package/dist/api/users-api.js.map +1 -1
- package/dist/appSlice/constants.cjs +1 -1
- package/dist/appSlice/constants.cjs.map +1 -1
- package/dist/appSlice/constants.js +2 -2
- package/dist/appSlice/constants.js.map +1 -1
- package/dist/appSlice/index.cjs.map +1 -1
- package/dist/appSlice/index.js.map +1 -1
- package/dist/appSlice/selectors.d.cts +2 -2
- package/dist/appSlice/selectors.d.ts +2 -2
- package/dist/appSlice/thunks.d.cts +1 -1
- package/dist/appSlice/thunks.d.ts +1 -1
- package/dist/auth.cjs +1 -1
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.js.map +1 -1
- package/dist/commonSelectors.cjs +1 -1
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.d.cts +2 -2
- package/dist/commonSelectors.d.ts +2 -2
- package/dist/commonSelectors.js.map +1 -1
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/deploymentsSlice/index.cjs.map +1 -1
- package/dist/deploymentsSlice/index.js.map +1 -1
- package/dist/deploymentsSlice/selectors.cjs.map +1 -1
- package/dist/deploymentsSlice/selectors.d.cts +2 -2
- package/dist/deploymentsSlice/selectors.d.ts +2 -2
- package/dist/deploymentsSlice/selectors.js.map +1 -1
- package/dist/deploymentsSlice/thunks.d.cts +1 -1
- package/dist/deploymentsSlice/thunks.d.ts +1 -1
- package/dist/devicesSlice/index.cjs.map +1 -1
- package/dist/devicesSlice/index.js.map +1 -1
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +2 -2
- package/dist/devicesSlice/selectors.d.ts +2 -2
- package/dist/devicesSlice/selectors.js.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +1 -1
- package/dist/devicesSlice/thunks.d.ts +1 -1
- package/dist/{index-WXwgRjLt.d.cts → index-C-q632wO.d.cts} +13 -6
- package/dist/{index-CQo3yTUa.d.ts → index-CyokFK2e.d.ts} +13 -6
- package/dist/liststatehook.cjs +5 -3
- package/dist/liststatehook.cjs.map +1 -1
- package/dist/liststatehook.js +5 -3
- package/dist/liststatehook.js.map +1 -1
- package/dist/locationutils.cjs.map +1 -1
- package/dist/locationutils.js.map +1 -1
- package/dist/monitorSlice/index.cjs.map +1 -1
- package/dist/monitorSlice/index.js.map +1 -1
- package/dist/monitorSlice/mocks.cjs.map +1 -1
- package/dist/monitorSlice/mocks.js.map +1 -1
- package/dist/monitorSlice/selectors.d.cts +1 -1
- package/dist/monitorSlice/selectors.d.ts +1 -1
- 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.map +1 -1
- package/dist/onboardingSlice/index.cjs.map +1 -1
- package/dist/onboardingSlice/index.js.map +1 -1
- package/dist/onboardingSlice/mocks.cjs.map +1 -1
- package/dist/onboardingSlice/selectors.d.cts +1 -1
- package/dist/onboardingSlice/selectors.d.ts +1 -1
- package/dist/onboardingSlice/thunks.d.cts +1 -1
- package/dist/onboardingSlice/thunks.d.ts +1 -1
- package/dist/organizationSlice/index.cjs.map +1 -1
- package/dist/organizationSlice/index.js.map +1 -1
- package/dist/organizationSlice/selectors.cjs.map +1 -1
- package/dist/organizationSlice/selectors.d.cts +2 -2
- package/dist/organizationSlice/selectors.d.ts +2 -2
- package/dist/organizationSlice/selectors.js.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +1 -1
- package/dist/organizationSlice/thunks.d.ts +1 -1
- package/dist/releasesSlice/index.cjs +26 -2
- package/dist/releasesSlice/index.cjs.map +1 -1
- package/dist/releasesSlice/index.d.cts +2 -2
- package/dist/releasesSlice/index.d.ts +2 -2
- package/dist/releasesSlice/index.js +26 -2
- package/dist/releasesSlice/index.js.map +1 -1
- package/dist/releasesSlice/mocks.d.cts +1 -1
- package/dist/releasesSlice/mocks.d.ts +1 -1
- package/dist/releasesSlice/selectors.cjs +15 -5
- package/dist/releasesSlice/selectors.cjs.map +1 -1
- package/dist/releasesSlice/selectors.d.cts +245 -9
- package/dist/releasesSlice/selectors.d.ts +245 -9
- package/dist/releasesSlice/selectors.js +12 -6
- package/dist/releasesSlice/selectors.js.map +1 -1
- package/dist/releasesSlice/thunks.cjs +121 -2
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.d.cts +91 -7
- package/dist/releasesSlice/thunks.d.ts +91 -7
- package/dist/releasesSlice/thunks.js +115 -3
- package/dist/releasesSlice/thunks.js.map +1 -1
- package/dist/selectors.cjs +4 -0
- package/dist/selectors.d.cts +2 -2
- package/dist/selectors.d.ts +2 -2
- package/dist/selectors.js +2 -2
- package/dist/sockethook.cjs +2 -2
- package/dist/sockethook.cjs.map +1 -1
- package/dist/sockethook.js.map +1 -1
- package/dist/{store-Boqp1x2t.d.ts → store-D-xvZXiY.d.ts} +2 -2
- package/dist/{store-NOBz-rVZ.d.cts → store-b5cF2WB5.d.cts} +2 -2
- package/dist/store.cjs.map +1 -1
- package/dist/store.d.cts +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/store.js.map +1 -1
- package/dist/storehooks.cjs +3 -3
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.d.cts +1 -1
- package/dist/storehooks.d.ts +1 -1
- package/dist/storehooks.js.map +1 -1
- package/dist/thunks.cjs +18 -10
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +2 -2
- package/dist/thunks.d.ts +2 -2
- package/dist/thunks.js +8 -6
- package/dist/thunks.js.map +1 -1
- package/dist/useDeploymentDevice.cjs +1 -1
- package/dist/useDeploymentDevice.cjs.map +1 -1
- package/dist/useDeploymentDevice.js.map +1 -1
- package/dist/usersSlice/index.cjs.map +1 -1
- package/dist/usersSlice/index.js.map +1 -1
- package/dist/usersSlice/selectors.cjs.map +1 -1
- package/dist/usersSlice/selectors.d.cts +2 -2
- package/dist/usersSlice/selectors.d.ts +2 -2
- package/dist/usersSlice/selectors.js.map +1 -1
- package/dist/usersSlice/thunks.d.cts +1 -1
- package/dist/usersSlice/thunks.d.ts +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { o as UserSliceType } from "../index-BFlHWzjv.cjs";
|
|
2
|
-
import { a as ReleasesList, i as ReleaseSliceType, n as ManifestsList, r as Release } from "../index-
|
|
2
|
+
import { a as ReleasesList, i as ReleaseSliceType, n as ManifestsList, r as Release } from "../index-C-q632wO.cjs";
|
|
3
3
|
import { n as OnboardingSliceType } from "../index-UPc3wvVd.cjs";
|
|
4
4
|
import { o as DeploymentsSliceType } from "../index-BP0uAq36.cjs";
|
|
5
5
|
import { s as DeviceSliceType } from "../index-B64X5ozM.cjs";
|
|
6
6
|
import { t as AppSliceType } from "../index-DwACbyUg.cjs";
|
|
7
7
|
import { t as MonitorSliceType } from "../index-CT5hgXm9.cjs";
|
|
8
8
|
import { t as OrganizationSliceType } from "../index-BbaS7MzW.cjs";
|
|
9
|
-
import { r as RootState } from "../store-
|
|
9
|
+
import { r as RootState } from "../store-b5cF2WB5.cjs";
|
|
10
10
|
import { Manifest, ReleaseV2 } from "@northern.tech/types/MenderTypes";
|
|
11
11
|
import * as _$_northern_tech_utils_constants0 from "@northern.tech/utils/constants";
|
|
12
12
|
import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
|
|
@@ -15,9 +15,97 @@ import * as _$reselect from "reselect";
|
|
|
15
15
|
//#region src/releasesSlice/selectors.d.ts
|
|
16
16
|
declare const getActiveTab: (state: RootState) => "releases" | "delta" | "manifests" | undefined;
|
|
17
17
|
declare const getReleasesById: (state: RootState) => Record<string, Release>;
|
|
18
|
-
declare const getReleaseTags: (state: RootState) => string[];
|
|
19
18
|
declare const getReleaseListState: (state: RootState) => ReleasesList;
|
|
20
19
|
declare const getUpdateTypes: (state: RootState) => string[];
|
|
20
|
+
declare const getSoftwareTags: ((state: {
|
|
21
|
+
app: AppSliceType;
|
|
22
|
+
devices: DeviceSliceType;
|
|
23
|
+
deployments: DeploymentsSliceType;
|
|
24
|
+
monitor: MonitorSliceType;
|
|
25
|
+
onboarding: OnboardingSliceType;
|
|
26
|
+
organization: OrganizationSliceType;
|
|
27
|
+
releases: ReleaseSliceType;
|
|
28
|
+
users: UserSliceType;
|
|
29
|
+
}) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
30
|
+
clearCache: () => void;
|
|
31
|
+
resultsCount: () => number;
|
|
32
|
+
resetResultsCount: () => void;
|
|
33
|
+
} & {
|
|
34
|
+
resultFunc: (resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags;
|
|
35
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
36
|
+
clearCache: () => void;
|
|
37
|
+
resultsCount: () => number;
|
|
38
|
+
resetResultsCount: () => void;
|
|
39
|
+
};
|
|
40
|
+
lastResult: () => _$_northern_tech_types_types_gen0.Tags;
|
|
41
|
+
dependencies: [(state: RootState) => Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>];
|
|
42
|
+
recomputations: () => number;
|
|
43
|
+
resetRecomputations: () => void;
|
|
44
|
+
dependencyRecomputations: () => number;
|
|
45
|
+
resetDependencyRecomputations: () => void;
|
|
46
|
+
} & {
|
|
47
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
48
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
49
|
+
};
|
|
50
|
+
declare const getSoftwareTagsById: ((state: {
|
|
51
|
+
app: AppSliceType;
|
|
52
|
+
devices: DeviceSliceType;
|
|
53
|
+
deployments: DeploymentsSliceType;
|
|
54
|
+
monitor: MonitorSliceType;
|
|
55
|
+
onboarding: OnboardingSliceType;
|
|
56
|
+
organization: OrganizationSliceType;
|
|
57
|
+
releases: ReleaseSliceType;
|
|
58
|
+
users: UserSliceType;
|
|
59
|
+
}) => any) & {
|
|
60
|
+
clearCache: () => void;
|
|
61
|
+
resultsCount: () => number;
|
|
62
|
+
resetResultsCount: () => void;
|
|
63
|
+
} & {
|
|
64
|
+
resultFunc: (resultFuncArgs_0: _$_northern_tech_types_types_gen0.Tags) => any;
|
|
65
|
+
memoizedResultFunc: ((resultFuncArgs_0: _$_northern_tech_types_types_gen0.Tags) => any) & {
|
|
66
|
+
clearCache: () => void;
|
|
67
|
+
resultsCount: () => number;
|
|
68
|
+
resetResultsCount: () => void;
|
|
69
|
+
};
|
|
70
|
+
lastResult: () => any;
|
|
71
|
+
dependencies: [((state: {
|
|
72
|
+
app: AppSliceType;
|
|
73
|
+
devices: DeviceSliceType;
|
|
74
|
+
deployments: DeploymentsSliceType;
|
|
75
|
+
monitor: MonitorSliceType;
|
|
76
|
+
onboarding: OnboardingSliceType;
|
|
77
|
+
organization: OrganizationSliceType;
|
|
78
|
+
releases: ReleaseSliceType;
|
|
79
|
+
users: UserSliceType;
|
|
80
|
+
}) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
81
|
+
clearCache: () => void;
|
|
82
|
+
resultsCount: () => number;
|
|
83
|
+
resetResultsCount: () => void;
|
|
84
|
+
} & {
|
|
85
|
+
resultFunc: (resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags;
|
|
86
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
87
|
+
clearCache: () => void;
|
|
88
|
+
resultsCount: () => number;
|
|
89
|
+
resetResultsCount: () => void;
|
|
90
|
+
};
|
|
91
|
+
lastResult: () => _$_northern_tech_types_types_gen0.Tags;
|
|
92
|
+
dependencies: [(state: RootState) => Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>];
|
|
93
|
+
recomputations: () => number;
|
|
94
|
+
resetRecomputations: () => void;
|
|
95
|
+
dependencyRecomputations: () => number;
|
|
96
|
+
resetDependencyRecomputations: () => void;
|
|
97
|
+
} & {
|
|
98
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
99
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
100
|
+
}];
|
|
101
|
+
recomputations: () => number;
|
|
102
|
+
resetRecomputations: () => void;
|
|
103
|
+
dependencyRecomputations: () => number;
|
|
104
|
+
resetDependencyRecomputations: () => void;
|
|
105
|
+
} & {
|
|
106
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
107
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
108
|
+
};
|
|
21
109
|
declare const getReleasesList: ((state: {
|
|
22
110
|
app: AppSliceType;
|
|
23
111
|
devices: DeviceSliceType;
|
|
@@ -48,6 +136,36 @@ declare const getReleasesList: ((state: {
|
|
|
48
136
|
memoize: typeof _$reselect.weakMapMemoize;
|
|
49
137
|
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
50
138
|
};
|
|
139
|
+
declare const getReleaseTags: ((state: {
|
|
140
|
+
app: AppSliceType;
|
|
141
|
+
devices: DeviceSliceType;
|
|
142
|
+
deployments: DeploymentsSliceType;
|
|
143
|
+
monitor: MonitorSliceType;
|
|
144
|
+
onboarding: OnboardingSliceType;
|
|
145
|
+
organization: OrganizationSliceType;
|
|
146
|
+
releases: ReleaseSliceType;
|
|
147
|
+
users: UserSliceType;
|
|
148
|
+
}) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
149
|
+
clearCache: () => void;
|
|
150
|
+
resultsCount: () => number;
|
|
151
|
+
resetResultsCount: () => void;
|
|
152
|
+
} & {
|
|
153
|
+
resultFunc: (resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags;
|
|
154
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
155
|
+
clearCache: () => void;
|
|
156
|
+
resultsCount: () => number;
|
|
157
|
+
resetResultsCount: () => void;
|
|
158
|
+
};
|
|
159
|
+
lastResult: () => _$_northern_tech_types_types_gen0.Tags;
|
|
160
|
+
dependencies: [(state: RootState) => Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>];
|
|
161
|
+
recomputations: () => number;
|
|
162
|
+
resetRecomputations: () => void;
|
|
163
|
+
dependencyRecomputations: () => number;
|
|
164
|
+
resetDependencyRecomputations: () => void;
|
|
165
|
+
} & {
|
|
166
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
167
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
168
|
+
};
|
|
51
169
|
declare const getReleaseTagsById: ((state: {
|
|
52
170
|
app: AppSliceType;
|
|
53
171
|
devices: DeviceSliceType;
|
|
@@ -57,19 +175,48 @@ declare const getReleaseTagsById: ((state: {
|
|
|
57
175
|
organization: OrganizationSliceType;
|
|
58
176
|
releases: ReleaseSliceType;
|
|
59
177
|
users: UserSliceType;
|
|
60
|
-
}) =>
|
|
178
|
+
}) => any) & {
|
|
61
179
|
clearCache: () => void;
|
|
62
180
|
resultsCount: () => number;
|
|
63
181
|
resetResultsCount: () => void;
|
|
64
182
|
} & {
|
|
65
|
-
resultFunc: (resultFuncArgs_0:
|
|
66
|
-
memoizedResultFunc: ((resultFuncArgs_0:
|
|
183
|
+
resultFunc: (resultFuncArgs_0: _$_northern_tech_types_types_gen0.Tags) => any;
|
|
184
|
+
memoizedResultFunc: ((resultFuncArgs_0: _$_northern_tech_types_types_gen0.Tags) => any) & {
|
|
67
185
|
clearCache: () => void;
|
|
68
186
|
resultsCount: () => number;
|
|
69
187
|
resetResultsCount: () => void;
|
|
70
188
|
};
|
|
71
|
-
lastResult: () =>
|
|
72
|
-
dependencies: [(state:
|
|
189
|
+
lastResult: () => any;
|
|
190
|
+
dependencies: [((state: {
|
|
191
|
+
app: AppSliceType;
|
|
192
|
+
devices: DeviceSliceType;
|
|
193
|
+
deployments: DeploymentsSliceType;
|
|
194
|
+
monitor: MonitorSliceType;
|
|
195
|
+
onboarding: OnboardingSliceType;
|
|
196
|
+
organization: OrganizationSliceType;
|
|
197
|
+
releases: ReleaseSliceType;
|
|
198
|
+
users: UserSliceType;
|
|
199
|
+
}) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
200
|
+
clearCache: () => void;
|
|
201
|
+
resultsCount: () => number;
|
|
202
|
+
resetResultsCount: () => void;
|
|
203
|
+
} & {
|
|
204
|
+
resultFunc: (resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags;
|
|
205
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
206
|
+
clearCache: () => void;
|
|
207
|
+
resultsCount: () => number;
|
|
208
|
+
resetResultsCount: () => void;
|
|
209
|
+
};
|
|
210
|
+
lastResult: () => _$_northern_tech_types_types_gen0.Tags;
|
|
211
|
+
dependencies: [(state: RootState) => Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>];
|
|
212
|
+
recomputations: () => number;
|
|
213
|
+
resetRecomputations: () => void;
|
|
214
|
+
dependencyRecomputations: () => number;
|
|
215
|
+
resetDependencyRecomputations: () => void;
|
|
216
|
+
} & {
|
|
217
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
218
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
219
|
+
}];
|
|
73
220
|
recomputations: () => number;
|
|
74
221
|
resetRecomputations: () => void;
|
|
75
222
|
dependencyRecomputations: () => number;
|
|
@@ -346,6 +493,95 @@ declare const getSelectedJob: ((state: {
|
|
|
346
493
|
memoize: typeof _$reselect.weakMapMemoize;
|
|
347
494
|
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
348
495
|
};
|
|
496
|
+
declare const getManifestTags: ((state: {
|
|
497
|
+
app: AppSliceType;
|
|
498
|
+
devices: DeviceSliceType;
|
|
499
|
+
deployments: DeploymentsSliceType;
|
|
500
|
+
monitor: MonitorSliceType;
|
|
501
|
+
onboarding: OnboardingSliceType;
|
|
502
|
+
organization: OrganizationSliceType;
|
|
503
|
+
releases: ReleaseSliceType;
|
|
504
|
+
users: UserSliceType;
|
|
505
|
+
}) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
506
|
+
clearCache: () => void;
|
|
507
|
+
resultsCount: () => number;
|
|
508
|
+
resetResultsCount: () => void;
|
|
509
|
+
} & {
|
|
510
|
+
resultFunc: (resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags;
|
|
511
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
512
|
+
clearCache: () => void;
|
|
513
|
+
resultsCount: () => number;
|
|
514
|
+
resetResultsCount: () => void;
|
|
515
|
+
};
|
|
516
|
+
lastResult: () => _$_northern_tech_types_types_gen0.Tags;
|
|
517
|
+
dependencies: [(state: RootState) => Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>];
|
|
518
|
+
recomputations: () => number;
|
|
519
|
+
resetRecomputations: () => void;
|
|
520
|
+
dependencyRecomputations: () => number;
|
|
521
|
+
resetDependencyRecomputations: () => void;
|
|
522
|
+
} & {
|
|
523
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
524
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
525
|
+
};
|
|
526
|
+
declare const getManifestTagsById: ((state: {
|
|
527
|
+
app: AppSliceType;
|
|
528
|
+
devices: DeviceSliceType;
|
|
529
|
+
deployments: DeploymentsSliceType;
|
|
530
|
+
monitor: MonitorSliceType;
|
|
531
|
+
onboarding: OnboardingSliceType;
|
|
532
|
+
organization: OrganizationSliceType;
|
|
533
|
+
releases: ReleaseSliceType;
|
|
534
|
+
users: UserSliceType;
|
|
535
|
+
}) => any) & {
|
|
536
|
+
clearCache: () => void;
|
|
537
|
+
resultsCount: () => number;
|
|
538
|
+
resetResultsCount: () => void;
|
|
539
|
+
} & {
|
|
540
|
+
resultFunc: (resultFuncArgs_0: _$_northern_tech_types_types_gen0.Tags) => any;
|
|
541
|
+
memoizedResultFunc: ((resultFuncArgs_0: _$_northern_tech_types_types_gen0.Tags) => any) & {
|
|
542
|
+
clearCache: () => void;
|
|
543
|
+
resultsCount: () => number;
|
|
544
|
+
resetResultsCount: () => void;
|
|
545
|
+
};
|
|
546
|
+
lastResult: () => any;
|
|
547
|
+
dependencies: [((state: {
|
|
548
|
+
app: AppSliceType;
|
|
549
|
+
devices: DeviceSliceType;
|
|
550
|
+
deployments: DeploymentsSliceType;
|
|
551
|
+
monitor: MonitorSliceType;
|
|
552
|
+
onboarding: OnboardingSliceType;
|
|
553
|
+
organization: OrganizationSliceType;
|
|
554
|
+
releases: ReleaseSliceType;
|
|
555
|
+
users: UserSliceType;
|
|
556
|
+
}) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
557
|
+
clearCache: () => void;
|
|
558
|
+
resultsCount: () => number;
|
|
559
|
+
resetResultsCount: () => void;
|
|
560
|
+
} & {
|
|
561
|
+
resultFunc: (resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags;
|
|
562
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
563
|
+
clearCache: () => void;
|
|
564
|
+
resultsCount: () => number;
|
|
565
|
+
resetResultsCount: () => void;
|
|
566
|
+
};
|
|
567
|
+
lastResult: () => _$_northern_tech_types_types_gen0.Tags;
|
|
568
|
+
dependencies: [(state: RootState) => Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>];
|
|
569
|
+
recomputations: () => number;
|
|
570
|
+
resetRecomputations: () => void;
|
|
571
|
+
dependencyRecomputations: () => number;
|
|
572
|
+
resetDependencyRecomputations: () => void;
|
|
573
|
+
} & {
|
|
574
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
575
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
576
|
+
}];
|
|
577
|
+
recomputations: () => number;
|
|
578
|
+
resetRecomputations: () => void;
|
|
579
|
+
dependencyRecomputations: () => number;
|
|
580
|
+
resetDependencyRecomputations: () => void;
|
|
581
|
+
} & {
|
|
582
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
583
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
584
|
+
};
|
|
349
585
|
declare const getManifestsById: (state: RootState) => Record<string, Manifest>;
|
|
350
586
|
declare const getManifestsListState: (state: RootState) => ManifestsList;
|
|
351
587
|
declare const getManifestsList: ((state: {
|
|
@@ -498,5 +734,5 @@ declare const getSelectedManifests: ((state: {
|
|
|
498
734
|
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
499
735
|
};
|
|
500
736
|
//#endregion
|
|
501
|
-
export { getActiveTab, getDeltaJobById, getDeltaJobsById, getDeltaJobsListState, getHasManifests, getHasReleases, getManifestsById, getManifestsList, getManifestsListState, getReleaseListState, getReleaseTags, getReleaseTagsById, getReleasesById, getReleasesList, getSelectedJob, getSelectedManifest, getSelectedManifests, getSelectedRelease, getSelectedReleases, getUpdateTypes };
|
|
737
|
+
export { getActiveTab, getDeltaJobById, getDeltaJobsById, getDeltaJobsListState, getHasManifests, getHasReleases, getManifestTags, getManifestTagsById, getManifestsById, getManifestsList, getManifestsListState, getReleaseListState, getReleaseTags, getReleaseTagsById, getReleasesById, getReleasesList, getSelectedJob, getSelectedManifest, getSelectedManifests, getSelectedRelease, getSelectedReleases, getSoftwareTags, getSoftwareTagsById, getUpdateTypes };
|
|
502
738
|
//# sourceMappingURL=selectors.d.cts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { o as UserSliceType } from "../index-ez3oxfRo.js";
|
|
2
|
-
import { a as ReleasesList, i as ReleaseSliceType, n as ManifestsList, r as Release } from "../index-
|
|
2
|
+
import { a as ReleasesList, i as ReleaseSliceType, n as ManifestsList, r as Release } from "../index-CyokFK2e.js";
|
|
3
3
|
import { n as OnboardingSliceType } from "../index-CJkrL0oA.js";
|
|
4
4
|
import { o as DeploymentsSliceType } from "../index-CkwVnIqd.js";
|
|
5
5
|
import { s as DeviceSliceType } from "../index-BI9O8JWe.js";
|
|
6
6
|
import { t as AppSliceType } from "../index-Bp1WpATs.js";
|
|
7
7
|
import { t as MonitorSliceType } from "../index-DUvrw_Ed.js";
|
|
8
8
|
import { t as OrganizationSliceType } from "../index-C6wNUfiV.js";
|
|
9
|
-
import { r as RootState } from "../store-
|
|
9
|
+
import { r as RootState } from "../store-D-xvZXiY.js";
|
|
10
10
|
import * as _$_northern_tech_utils_constants0 from "@northern.tech/utils/constants";
|
|
11
11
|
import { Manifest, ReleaseV2 } from "@northern.tech/types/MenderTypes";
|
|
12
12
|
import * as _$_northern_tech_types_types_gen0 from "@northern.tech/types/types.gen";
|
|
@@ -15,9 +15,97 @@ import * as _$reselect from "reselect";
|
|
|
15
15
|
//#region src/releasesSlice/selectors.d.ts
|
|
16
16
|
declare const getActiveTab: (state: RootState) => "releases" | "delta" | "manifests" | undefined;
|
|
17
17
|
declare const getReleasesById: (state: RootState) => Record<string, Release>;
|
|
18
|
-
declare const getReleaseTags: (state: RootState) => string[];
|
|
19
18
|
declare const getReleaseListState: (state: RootState) => ReleasesList;
|
|
20
19
|
declare const getUpdateTypes: (state: RootState) => string[];
|
|
20
|
+
declare const getSoftwareTags: ((state: {
|
|
21
|
+
app: AppSliceType;
|
|
22
|
+
devices: DeviceSliceType;
|
|
23
|
+
deployments: DeploymentsSliceType;
|
|
24
|
+
monitor: MonitorSliceType;
|
|
25
|
+
onboarding: OnboardingSliceType;
|
|
26
|
+
organization: OrganizationSliceType;
|
|
27
|
+
releases: ReleaseSliceType;
|
|
28
|
+
users: UserSliceType;
|
|
29
|
+
}) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
30
|
+
clearCache: () => void;
|
|
31
|
+
resultsCount: () => number;
|
|
32
|
+
resetResultsCount: () => void;
|
|
33
|
+
} & {
|
|
34
|
+
resultFunc: (resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags;
|
|
35
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
36
|
+
clearCache: () => void;
|
|
37
|
+
resultsCount: () => number;
|
|
38
|
+
resetResultsCount: () => void;
|
|
39
|
+
};
|
|
40
|
+
lastResult: () => _$_northern_tech_types_types_gen0.Tags;
|
|
41
|
+
dependencies: [(state: RootState) => Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>];
|
|
42
|
+
recomputations: () => number;
|
|
43
|
+
resetRecomputations: () => void;
|
|
44
|
+
dependencyRecomputations: () => number;
|
|
45
|
+
resetDependencyRecomputations: () => void;
|
|
46
|
+
} & {
|
|
47
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
48
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
49
|
+
};
|
|
50
|
+
declare const getSoftwareTagsById: ((state: {
|
|
51
|
+
app: AppSliceType;
|
|
52
|
+
devices: DeviceSliceType;
|
|
53
|
+
deployments: DeploymentsSliceType;
|
|
54
|
+
monitor: MonitorSliceType;
|
|
55
|
+
onboarding: OnboardingSliceType;
|
|
56
|
+
organization: OrganizationSliceType;
|
|
57
|
+
releases: ReleaseSliceType;
|
|
58
|
+
users: UserSliceType;
|
|
59
|
+
}) => any) & {
|
|
60
|
+
clearCache: () => void;
|
|
61
|
+
resultsCount: () => number;
|
|
62
|
+
resetResultsCount: () => void;
|
|
63
|
+
} & {
|
|
64
|
+
resultFunc: (resultFuncArgs_0: _$_northern_tech_types_types_gen0.Tags) => any;
|
|
65
|
+
memoizedResultFunc: ((resultFuncArgs_0: _$_northern_tech_types_types_gen0.Tags) => any) & {
|
|
66
|
+
clearCache: () => void;
|
|
67
|
+
resultsCount: () => number;
|
|
68
|
+
resetResultsCount: () => void;
|
|
69
|
+
};
|
|
70
|
+
lastResult: () => any;
|
|
71
|
+
dependencies: [((state: {
|
|
72
|
+
app: AppSliceType;
|
|
73
|
+
devices: DeviceSliceType;
|
|
74
|
+
deployments: DeploymentsSliceType;
|
|
75
|
+
monitor: MonitorSliceType;
|
|
76
|
+
onboarding: OnboardingSliceType;
|
|
77
|
+
organization: OrganizationSliceType;
|
|
78
|
+
releases: ReleaseSliceType;
|
|
79
|
+
users: UserSliceType;
|
|
80
|
+
}) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
81
|
+
clearCache: () => void;
|
|
82
|
+
resultsCount: () => number;
|
|
83
|
+
resetResultsCount: () => void;
|
|
84
|
+
} & {
|
|
85
|
+
resultFunc: (resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags;
|
|
86
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
87
|
+
clearCache: () => void;
|
|
88
|
+
resultsCount: () => number;
|
|
89
|
+
resetResultsCount: () => void;
|
|
90
|
+
};
|
|
91
|
+
lastResult: () => _$_northern_tech_types_types_gen0.Tags;
|
|
92
|
+
dependencies: [(state: RootState) => Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>];
|
|
93
|
+
recomputations: () => number;
|
|
94
|
+
resetRecomputations: () => void;
|
|
95
|
+
dependencyRecomputations: () => number;
|
|
96
|
+
resetDependencyRecomputations: () => void;
|
|
97
|
+
} & {
|
|
98
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
99
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
100
|
+
}];
|
|
101
|
+
recomputations: () => number;
|
|
102
|
+
resetRecomputations: () => void;
|
|
103
|
+
dependencyRecomputations: () => number;
|
|
104
|
+
resetDependencyRecomputations: () => void;
|
|
105
|
+
} & {
|
|
106
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
107
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
108
|
+
};
|
|
21
109
|
declare const getReleasesList: ((state: {
|
|
22
110
|
app: AppSliceType;
|
|
23
111
|
devices: DeviceSliceType;
|
|
@@ -48,6 +136,36 @@ declare const getReleasesList: ((state: {
|
|
|
48
136
|
memoize: typeof _$reselect.weakMapMemoize;
|
|
49
137
|
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
50
138
|
};
|
|
139
|
+
declare const getReleaseTags: ((state: {
|
|
140
|
+
app: AppSliceType;
|
|
141
|
+
devices: DeviceSliceType;
|
|
142
|
+
deployments: DeploymentsSliceType;
|
|
143
|
+
monitor: MonitorSliceType;
|
|
144
|
+
onboarding: OnboardingSliceType;
|
|
145
|
+
organization: OrganizationSliceType;
|
|
146
|
+
releases: ReleaseSliceType;
|
|
147
|
+
users: UserSliceType;
|
|
148
|
+
}) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
149
|
+
clearCache: () => void;
|
|
150
|
+
resultsCount: () => number;
|
|
151
|
+
resetResultsCount: () => void;
|
|
152
|
+
} & {
|
|
153
|
+
resultFunc: (resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags;
|
|
154
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
155
|
+
clearCache: () => void;
|
|
156
|
+
resultsCount: () => number;
|
|
157
|
+
resetResultsCount: () => void;
|
|
158
|
+
};
|
|
159
|
+
lastResult: () => _$_northern_tech_types_types_gen0.Tags;
|
|
160
|
+
dependencies: [(state: RootState) => Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>];
|
|
161
|
+
recomputations: () => number;
|
|
162
|
+
resetRecomputations: () => void;
|
|
163
|
+
dependencyRecomputations: () => number;
|
|
164
|
+
resetDependencyRecomputations: () => void;
|
|
165
|
+
} & {
|
|
166
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
167
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
168
|
+
};
|
|
51
169
|
declare const getReleaseTagsById: ((state: {
|
|
52
170
|
app: AppSliceType;
|
|
53
171
|
devices: DeviceSliceType;
|
|
@@ -57,19 +175,48 @@ declare const getReleaseTagsById: ((state: {
|
|
|
57
175
|
organization: OrganizationSliceType;
|
|
58
176
|
releases: ReleaseSliceType;
|
|
59
177
|
users: UserSliceType;
|
|
60
|
-
}) =>
|
|
178
|
+
}) => any) & {
|
|
61
179
|
clearCache: () => void;
|
|
62
180
|
resultsCount: () => number;
|
|
63
181
|
resetResultsCount: () => void;
|
|
64
182
|
} & {
|
|
65
|
-
resultFunc: (resultFuncArgs_0:
|
|
66
|
-
memoizedResultFunc: ((resultFuncArgs_0:
|
|
183
|
+
resultFunc: (resultFuncArgs_0: _$_northern_tech_types_types_gen0.Tags) => any;
|
|
184
|
+
memoizedResultFunc: ((resultFuncArgs_0: _$_northern_tech_types_types_gen0.Tags) => any) & {
|
|
67
185
|
clearCache: () => void;
|
|
68
186
|
resultsCount: () => number;
|
|
69
187
|
resetResultsCount: () => void;
|
|
70
188
|
};
|
|
71
|
-
lastResult: () =>
|
|
72
|
-
dependencies: [(state:
|
|
189
|
+
lastResult: () => any;
|
|
190
|
+
dependencies: [((state: {
|
|
191
|
+
app: AppSliceType;
|
|
192
|
+
devices: DeviceSliceType;
|
|
193
|
+
deployments: DeploymentsSliceType;
|
|
194
|
+
monitor: MonitorSliceType;
|
|
195
|
+
onboarding: OnboardingSliceType;
|
|
196
|
+
organization: OrganizationSliceType;
|
|
197
|
+
releases: ReleaseSliceType;
|
|
198
|
+
users: UserSliceType;
|
|
199
|
+
}) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
200
|
+
clearCache: () => void;
|
|
201
|
+
resultsCount: () => number;
|
|
202
|
+
resetResultsCount: () => void;
|
|
203
|
+
} & {
|
|
204
|
+
resultFunc: (resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags;
|
|
205
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
206
|
+
clearCache: () => void;
|
|
207
|
+
resultsCount: () => number;
|
|
208
|
+
resetResultsCount: () => void;
|
|
209
|
+
};
|
|
210
|
+
lastResult: () => _$_northern_tech_types_types_gen0.Tags;
|
|
211
|
+
dependencies: [(state: RootState) => Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>];
|
|
212
|
+
recomputations: () => number;
|
|
213
|
+
resetRecomputations: () => void;
|
|
214
|
+
dependencyRecomputations: () => number;
|
|
215
|
+
resetDependencyRecomputations: () => void;
|
|
216
|
+
} & {
|
|
217
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
218
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
219
|
+
}];
|
|
73
220
|
recomputations: () => number;
|
|
74
221
|
resetRecomputations: () => void;
|
|
75
222
|
dependencyRecomputations: () => number;
|
|
@@ -346,6 +493,95 @@ declare const getSelectedJob: ((state: {
|
|
|
346
493
|
memoize: typeof _$reselect.weakMapMemoize;
|
|
347
494
|
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
348
495
|
};
|
|
496
|
+
declare const getManifestTags: ((state: {
|
|
497
|
+
app: AppSliceType;
|
|
498
|
+
devices: DeviceSliceType;
|
|
499
|
+
deployments: DeploymentsSliceType;
|
|
500
|
+
monitor: MonitorSliceType;
|
|
501
|
+
onboarding: OnboardingSliceType;
|
|
502
|
+
organization: OrganizationSliceType;
|
|
503
|
+
releases: ReleaseSliceType;
|
|
504
|
+
users: UserSliceType;
|
|
505
|
+
}) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
506
|
+
clearCache: () => void;
|
|
507
|
+
resultsCount: () => number;
|
|
508
|
+
resetResultsCount: () => void;
|
|
509
|
+
} & {
|
|
510
|
+
resultFunc: (resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags;
|
|
511
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
512
|
+
clearCache: () => void;
|
|
513
|
+
resultsCount: () => number;
|
|
514
|
+
resetResultsCount: () => void;
|
|
515
|
+
};
|
|
516
|
+
lastResult: () => _$_northern_tech_types_types_gen0.Tags;
|
|
517
|
+
dependencies: [(state: RootState) => Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>];
|
|
518
|
+
recomputations: () => number;
|
|
519
|
+
resetRecomputations: () => void;
|
|
520
|
+
dependencyRecomputations: () => number;
|
|
521
|
+
resetDependencyRecomputations: () => void;
|
|
522
|
+
} & {
|
|
523
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
524
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
525
|
+
};
|
|
526
|
+
declare const getManifestTagsById: ((state: {
|
|
527
|
+
app: AppSliceType;
|
|
528
|
+
devices: DeviceSliceType;
|
|
529
|
+
deployments: DeploymentsSliceType;
|
|
530
|
+
monitor: MonitorSliceType;
|
|
531
|
+
onboarding: OnboardingSliceType;
|
|
532
|
+
organization: OrganizationSliceType;
|
|
533
|
+
releases: ReleaseSliceType;
|
|
534
|
+
users: UserSliceType;
|
|
535
|
+
}) => any) & {
|
|
536
|
+
clearCache: () => void;
|
|
537
|
+
resultsCount: () => number;
|
|
538
|
+
resetResultsCount: () => void;
|
|
539
|
+
} & {
|
|
540
|
+
resultFunc: (resultFuncArgs_0: _$_northern_tech_types_types_gen0.Tags) => any;
|
|
541
|
+
memoizedResultFunc: ((resultFuncArgs_0: _$_northern_tech_types_types_gen0.Tags) => any) & {
|
|
542
|
+
clearCache: () => void;
|
|
543
|
+
resultsCount: () => number;
|
|
544
|
+
resetResultsCount: () => void;
|
|
545
|
+
};
|
|
546
|
+
lastResult: () => any;
|
|
547
|
+
dependencies: [((state: {
|
|
548
|
+
app: AppSliceType;
|
|
549
|
+
devices: DeviceSliceType;
|
|
550
|
+
deployments: DeploymentsSliceType;
|
|
551
|
+
monitor: MonitorSliceType;
|
|
552
|
+
onboarding: OnboardingSliceType;
|
|
553
|
+
organization: OrganizationSliceType;
|
|
554
|
+
releases: ReleaseSliceType;
|
|
555
|
+
users: UserSliceType;
|
|
556
|
+
}) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
557
|
+
clearCache: () => void;
|
|
558
|
+
resultsCount: () => number;
|
|
559
|
+
resetResultsCount: () => void;
|
|
560
|
+
} & {
|
|
561
|
+
resultFunc: (resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags;
|
|
562
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>) => _$_northern_tech_types_types_gen0.Tags) & {
|
|
563
|
+
clearCache: () => void;
|
|
564
|
+
resultsCount: () => number;
|
|
565
|
+
resetResultsCount: () => void;
|
|
566
|
+
};
|
|
567
|
+
lastResult: () => _$_northern_tech_types_types_gen0.Tags;
|
|
568
|
+
dependencies: [(state: RootState) => Record<"software" | "releases" | "manifests", _$_northern_tech_types_types_gen0.Tags>];
|
|
569
|
+
recomputations: () => number;
|
|
570
|
+
resetRecomputations: () => void;
|
|
571
|
+
dependencyRecomputations: () => number;
|
|
572
|
+
resetDependencyRecomputations: () => void;
|
|
573
|
+
} & {
|
|
574
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
575
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
576
|
+
}];
|
|
577
|
+
recomputations: () => number;
|
|
578
|
+
resetRecomputations: () => void;
|
|
579
|
+
dependencyRecomputations: () => number;
|
|
580
|
+
resetDependencyRecomputations: () => void;
|
|
581
|
+
} & {
|
|
582
|
+
memoize: typeof _$reselect.weakMapMemoize;
|
|
583
|
+
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
584
|
+
};
|
|
349
585
|
declare const getManifestsById: (state: RootState) => Record<string, Manifest>;
|
|
350
586
|
declare const getManifestsListState: (state: RootState) => ManifestsList;
|
|
351
587
|
declare const getManifestsList: ((state: {
|
|
@@ -498,5 +734,5 @@ declare const getSelectedManifests: ((state: {
|
|
|
498
734
|
argsMemoize: typeof _$reselect.weakMapMemoize;
|
|
499
735
|
};
|
|
500
736
|
//#endregion
|
|
501
|
-
export { getActiveTab, getDeltaJobById, getDeltaJobsById, getDeltaJobsListState, getHasManifests, getHasReleases, getManifestsById, getManifestsList, getManifestsListState, getReleaseListState, getReleaseTags, getReleaseTagsById, getReleasesById, getReleasesList, getSelectedJob, getSelectedManifest, getSelectedManifests, getSelectedRelease, getSelectedReleases, getUpdateTypes };
|
|
737
|
+
export { getActiveTab, getDeltaJobById, getDeltaJobsById, getDeltaJobsListState, getHasManifests, getHasReleases, getManifestTags, getManifestTagsById, getManifestsById, getManifestsList, getManifestsListState, getReleaseListState, getReleaseTags, getReleaseTagsById, getReleasesById, getReleasesList, getSelectedJob, getSelectedManifest, getSelectedManifests, getSelectedRelease, getSelectedReleases, getSoftwareTags, getSoftwareTagsById, getUpdateTypes };
|
|
502
738
|
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import { listItemMapper } from "../utils.js";
|
|
2
2
|
import { createSelector } from "@reduxjs/toolkit";
|
|
3
3
|
//#region src/releasesSlice/selectors.ts
|
|
4
|
+
const transformToId = (tags) => tags.reduce((accu, key) => ({
|
|
5
|
+
...accu,
|
|
6
|
+
[key]: key
|
|
7
|
+
}), {});
|
|
4
8
|
const getActiveTab = (state) => state.releases.tab;
|
|
5
9
|
const getSelectedReleaseId = (state) => state.releases.selectedRelease;
|
|
6
10
|
const getReleasesById = (state) => state.releases.byId;
|
|
7
|
-
const
|
|
11
|
+
const getTags = (state) => state.releases.tags;
|
|
8
12
|
const getReleaseListState = (state) => state.releases.releasesList;
|
|
9
13
|
const getListedReleases = (state) => state.releases.releasesList.releaseIds;
|
|
10
14
|
const getUpdateTypes = (state) => state.releases.updateTypes;
|
|
11
15
|
const releaseDefaults = {};
|
|
12
16
|
const getReleaseMappingDefaults = () => releaseDefaults;
|
|
17
|
+
const getSoftwareTags = createSelector([getTags], ({ software }) => software);
|
|
18
|
+
const getSoftwareTagsById = createSelector([getSoftwareTags], transformToId);
|
|
13
19
|
const getReleasesList = createSelector([
|
|
14
20
|
getReleasesById,
|
|
15
21
|
getListedReleases,
|
|
16
22
|
getReleaseMappingDefaults
|
|
17
23
|
], listItemMapper);
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
[key]: key
|
|
21
|
-
}), {}));
|
|
24
|
+
const getReleaseTags = createSelector([getTags], ({ releases }) => releases);
|
|
25
|
+
const getReleaseTagsById = createSelector([getReleaseTags], transformToId);
|
|
22
26
|
const getHasReleases = createSelector([getReleaseListState, getReleasesById], ({ searchTotal, total }, byId) => !!(Object.keys(byId).length || total || searchTotal));
|
|
23
27
|
const getSelectedRelease = createSelector([getReleasesById, getSelectedReleaseId], (byId, id) => byId[id || ""] ?? {});
|
|
24
28
|
const getSelectedReleases = createSelector([getReleaseListState, getReleasesList], ({ selection }, releases) => selection.map((index) => releases[index]));
|
|
@@ -28,6 +32,8 @@ const getDeltaJobById = createSelector([getDeltaJobsById, (_, jobId) => jobId],
|
|
|
28
32
|
const getSelectedJobId = (state) => state.releases.selectedJob;
|
|
29
33
|
const getSelectedJob = createSelector([getDeltaJobsById, getSelectedJobId], (byId, jobId) => byId[jobId || ""]);
|
|
30
34
|
const getSelectedManifestId = (state) => state.releases.selectedManifest;
|
|
35
|
+
const getManifestTags = createSelector([getTags], ({ manifests }) => manifests);
|
|
36
|
+
const getManifestTagsById = createSelector([getManifestTags], transformToId);
|
|
31
37
|
const getManifestsById = (state) => state.releases.manifestsById;
|
|
32
38
|
const getManifestsListState = (state) => state.releases.manifestsList;
|
|
33
39
|
const getListedManifests = (state) => state.releases.manifestsList.manifestIds;
|
|
@@ -42,6 +48,6 @@ const getHasManifests = createSelector([getManifestsListState, getManifestsById]
|
|
|
42
48
|
const getSelectedManifest = createSelector([getManifestsById, getSelectedManifestId], (byId, id) => byId[id || ""] ?? {});
|
|
43
49
|
const getSelectedManifests = createSelector([getManifestsListState, getManifestsList], ({ selection }, manifests) => selection.map((index) => manifests[index]));
|
|
44
50
|
//#endregion
|
|
45
|
-
export { getActiveTab, getDeltaJobById, getDeltaJobsById, getDeltaJobsListState, getHasManifests, getHasReleases, getManifestsById, getManifestsList, getManifestsListState, getReleaseListState, getReleaseTags, getReleaseTagsById, getReleasesById, getReleasesList, getSelectedJob, getSelectedManifest, getSelectedManifests, getSelectedRelease, getSelectedReleases, getUpdateTypes };
|
|
51
|
+
export { getActiveTab, getDeltaJobById, getDeltaJobsById, getDeltaJobsListState, getHasManifests, getHasReleases, getManifestTags, getManifestTagsById, getManifestsById, getManifestsList, getManifestsListState, getReleaseListState, getReleaseTags, getReleaseTagsById, getReleasesById, getReleasesList, getSelectedJob, getSelectedManifest, getSelectedManifests, getSelectedRelease, getSelectedReleases, getSoftwareTags, getSoftwareTagsById, getUpdateTypes };
|
|
46
52
|
|
|
47
53
|
//# sourceMappingURL=selectors.js.map
|