@northern.tech/store 0.46.2 → 0.46.3
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/api/general-api.d.cts +3 -3
- package/dist/api/general-api.d.ts +3 -3
- package/dist/appSlice/mocks.d.cts +1 -2
- package/dist/appSlice/mocks.d.ts +1 -2
- package/dist/appSlice/selectors.d.cts +19 -20
- package/dist/appSlice/selectors.d.ts +19 -20
- package/dist/appSlice/thunks.d.cts +3 -4
- package/dist/appSlice/thunks.d.ts +3 -4
- package/dist/auth.d.cts +5 -6
- package/dist/auth.d.ts +5 -6
- package/dist/commonSelectors.d.cts +21 -22
- package/dist/commonSelectors.d.ts +21 -22
- package/dist/deploymentsSlice/mocks.d.cts +1 -2
- package/dist/deploymentsSlice/mocks.d.ts +1 -2
- package/dist/deploymentsSlice/selectors.d.cts +8 -9
- package/dist/deploymentsSlice/selectors.d.ts +8 -9
- package/dist/deploymentsSlice/thunks.d.cts +16 -17
- package/dist/deploymentsSlice/thunks.d.ts +16 -17
- package/dist/devicesSlice/mocks.d.cts +1 -2
- package/dist/devicesSlice/mocks.d.ts +1 -2
- package/dist/devicesSlice/selectors.cjs +4 -3
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +27 -28
- package/dist/devicesSlice/selectors.d.ts +27 -28
- package/dist/devicesSlice/selectors.js +4 -3
- package/dist/devicesSlice/selectors.js.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +48 -49
- package/dist/devicesSlice/thunks.d.ts +48 -49
- package/dist/liststatehook.d.cts +2 -3
- package/dist/liststatehook.d.ts +2 -3
- package/dist/locationutils.d.cts +27 -28
- package/dist/locationutils.d.ts +27 -28
- package/dist/monitorSlice/mocks.d.cts +1 -2
- package/dist/monitorSlice/mocks.d.ts +1 -2
- package/dist/monitorSlice/selectors.d.cts +1 -2
- package/dist/monitorSlice/selectors.d.ts +1 -2
- package/dist/monitorSlice/thunks.d.cts +5 -6
- package/dist/monitorSlice/thunks.d.ts +5 -6
- package/dist/onboardingSlice/mocks.d.cts +1 -2
- package/dist/onboardingSlice/mocks.d.ts +1 -2
- package/dist/onboardingSlice/selectors.d.cts +1 -2
- package/dist/onboardingSlice/selectors.d.ts +1 -2
- package/dist/onboardingSlice/thunks.d.cts +6 -7
- package/dist/onboardingSlice/thunks.d.ts +6 -7
- package/dist/organizationSlice/mocks.d.cts +1 -2
- package/dist/organizationSlice/mocks.d.ts +1 -2
- package/dist/organizationSlice/selectors.d.cts +21 -22
- package/dist/organizationSlice/selectors.d.ts +21 -22
- package/dist/organizationSlice/thunks.d.cts +42 -43
- package/dist/organizationSlice/thunks.d.ts +42 -43
- package/dist/releasesSlice/mocks.d.cts +1 -2
- package/dist/releasesSlice/mocks.d.ts +1 -2
- package/dist/releasesSlice/selectors.d.cts +28 -29
- package/dist/releasesSlice/selectors.d.ts +28 -29
- package/dist/releasesSlice/thunks.d.cts +36 -37
- package/dist/releasesSlice/thunks.d.ts +36 -37
- package/dist/sockethook.d.cts +1 -2
- package/dist/sockethook.d.ts +1 -2
- package/dist/storehooks.d.cts +3 -4
- package/dist/storehooks.d.ts +3 -4
- package/dist/thunks.cjs +10 -9
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +10 -9
- package/dist/thunks.js.map +1 -1
- package/dist/useDeploymentDevice.d.cts +1 -2
- package/dist/useDeploymentDevice.d.ts +1 -2
- package/dist/usersSlice/mocks.d.cts +1 -2
- package/dist/usersSlice/mocks.d.ts +1 -2
- package/dist/usersSlice/selectors.d.cts +20 -21
- package/dist/usersSlice/selectors.d.ts +20 -21
- package/dist/usersSlice/thunks.d.cts +44 -45
- package/dist/usersSlice/thunks.d.ts +44 -45
- package/package.json +6 -5
|
@@ -12,7 +12,7 @@ import { t as OrganizationSliceType } from "./index-BVNS-Aut.js";
|
|
|
12
12
|
import { r as RootState } from "./store-DLp6ajT8.js";
|
|
13
13
|
import { AuditLog } from "@northern.tech/types/types.gen";
|
|
14
14
|
//#region src/commonSelectors.d.ts
|
|
15
|
-
declare const getIsEnterprise: ((state: {
|
|
15
|
+
export declare const getIsEnterprise: ((state: {
|
|
16
16
|
app: AppSliceType;
|
|
17
17
|
devices: DeviceSliceType;
|
|
18
18
|
deployments: DeploymentsSliceType;
|
|
@@ -42,7 +42,7 @@ declare const getIsEnterprise: ((state: {
|
|
|
42
42
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
43
43
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
44
44
|
};
|
|
45
|
-
declare const getUserRoles: ((state: {
|
|
45
|
+
export declare const getUserRoles: ((state: {
|
|
46
46
|
app: AppSliceType;
|
|
47
47
|
devices: DeviceSliceType;
|
|
48
48
|
deployments: DeploymentsSliceType;
|
|
@@ -170,7 +170,7 @@ declare const getUserRoles: ((state: {
|
|
|
170
170
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
171
171
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
172
172
|
};
|
|
173
|
-
declare const getUserCapabilities: ((state: {
|
|
173
|
+
export declare const getUserCapabilities: ((state: {
|
|
174
174
|
app: AppSliceType;
|
|
175
175
|
devices: DeviceSliceType;
|
|
176
176
|
deployments: DeploymentsSliceType;
|
|
@@ -415,7 +415,7 @@ declare const getUserCapabilities: ((state: {
|
|
|
415
415
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
416
416
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
417
417
|
};
|
|
418
|
-
declare const getTenantCapabilities: ((state: {
|
|
418
|
+
export declare const getTenantCapabilities: ((state: {
|
|
419
419
|
app: AppSliceType;
|
|
420
420
|
devices: DeviceSliceType;
|
|
421
421
|
deployments: DeploymentsSliceType;
|
|
@@ -518,7 +518,7 @@ declare const getTenantCapabilities: ((state: {
|
|
|
518
518
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
519
519
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
520
520
|
};
|
|
521
|
-
declare const getFilterAttributes: ((state: {
|
|
521
|
+
export declare const getFilterAttributes: ((state: {
|
|
522
522
|
app: AppSliceType;
|
|
523
523
|
devices: DeviceSliceType;
|
|
524
524
|
deployments: DeploymentsSliceType;
|
|
@@ -563,7 +563,7 @@ declare const getFilterAttributes: ((state: {
|
|
|
563
563
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
564
564
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
565
565
|
};
|
|
566
|
-
declare const getOnboardingState: ((state: {
|
|
566
|
+
export declare const getOnboardingState: ((state: {
|
|
567
567
|
app: AppSliceType;
|
|
568
568
|
devices: DeviceSliceType;
|
|
569
569
|
deployments: DeploymentsSliceType;
|
|
@@ -633,7 +633,7 @@ declare const getOnboardingState: ((state: {
|
|
|
633
633
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
634
634
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
635
635
|
};
|
|
636
|
-
declare const getDemoDeviceAddress: ((state: {
|
|
636
|
+
export declare const getDemoDeviceAddress: ((state: {
|
|
637
637
|
app: AppSliceType;
|
|
638
638
|
devices: DeviceSliceType;
|
|
639
639
|
deployments: DeploymentsSliceType;
|
|
@@ -663,7 +663,7 @@ declare const getDemoDeviceAddress: ((state: {
|
|
|
663
663
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
664
664
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
665
665
|
};
|
|
666
|
-
declare const getDeviceConfigDeployment: ((state: any, deviceId: any) => {
|
|
666
|
+
export declare const getDeviceConfigDeployment: ((state: any, deviceId: any) => {
|
|
667
667
|
device: Device;
|
|
668
668
|
deviceConfigDeployment: Deployment;
|
|
669
669
|
}) & {
|
|
@@ -716,7 +716,7 @@ declare const getDeviceConfigDeployment: ((state: any, deviceId: any) => {
|
|
|
716
716
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
717
717
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
718
718
|
};
|
|
719
|
-
declare const getDeploymentRelease: ((state: {
|
|
719
|
+
export declare const getDeploymentRelease: ((state: {
|
|
720
720
|
app: AppSliceType;
|
|
721
721
|
devices: DeviceSliceType;
|
|
722
722
|
deployments: DeploymentsSliceType;
|
|
@@ -754,7 +754,7 @@ declare const getDeploymentRelease: ((state: {
|
|
|
754
754
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
755
755
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
756
756
|
};
|
|
757
|
-
declare const getSelectedDeploymentData: ((state: {
|
|
757
|
+
export declare const getSelectedDeploymentData: ((state: {
|
|
758
758
|
app: AppSliceType;
|
|
759
759
|
devices: DeviceSliceType;
|
|
760
760
|
deployments: DeploymentsSliceType;
|
|
@@ -972,7 +972,7 @@ declare const getSelectedDeploymentData: ((state: {
|
|
|
972
972
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
973
973
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
974
974
|
};
|
|
975
|
-
declare const getAvailableIssueOptionsByType: ((state: {
|
|
975
|
+
export declare const getAvailableIssueOptionsByType: ((state: {
|
|
976
976
|
app: AppSliceType;
|
|
977
977
|
devices: DeviceSliceType;
|
|
978
978
|
deployments: DeploymentsSliceType;
|
|
@@ -1157,7 +1157,7 @@ declare const getAvailableIssueOptionsByType: ((state: {
|
|
|
1157
1157
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1158
1158
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1159
1159
|
};
|
|
1160
|
-
declare const getGroupNames: ((state: {
|
|
1160
|
+
export declare const getGroupNames: ((state: {
|
|
1161
1161
|
app: AppSliceType;
|
|
1162
1162
|
devices: DeviceSliceType;
|
|
1163
1163
|
deployments: DeploymentsSliceType;
|
|
@@ -1334,7 +1334,7 @@ declare const getGroupNames: ((state: {
|
|
|
1334
1334
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1335
1335
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1336
1336
|
};
|
|
1337
|
-
declare const getDeviceReportsForUser: ((state: {
|
|
1337
|
+
export declare const getDeviceReportsForUser: ((state: {
|
|
1338
1338
|
app: AppSliceType;
|
|
1339
1339
|
devices: DeviceSliceType;
|
|
1340
1340
|
deployments: DeploymentsSliceType;
|
|
@@ -1393,7 +1393,7 @@ declare const getDeviceReportsForUser: ((state: {
|
|
|
1393
1393
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1394
1394
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1395
1395
|
};
|
|
1396
|
-
declare const getMappedDevicesList: ((state: any, listType: any) => object[]) & {
|
|
1396
|
+
export declare const getMappedDevicesList: ((state: any, listType: any) => object[]) & {
|
|
1397
1397
|
clearCache: () => void;
|
|
1398
1398
|
resultsCount: () => number;
|
|
1399
1399
|
resetResultsCount: () => void;
|
|
@@ -1419,7 +1419,7 @@ declare const getMappedDevicesList: ((state: any, listType: any) => object[]) &
|
|
|
1419
1419
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1420
1420
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1421
1421
|
};
|
|
1422
|
-
declare const getAuditlogDevice: ((state: {
|
|
1422
|
+
export declare const getAuditlogDevice: ((state: {
|
|
1423
1423
|
app: AppSliceType;
|
|
1424
1424
|
devices: DeviceSliceType;
|
|
1425
1425
|
deployments: DeploymentsSliceType;
|
|
@@ -1431,7 +1431,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1431
1431
|
}) => {
|
|
1432
1432
|
id?: string;
|
|
1433
1433
|
identity_data?: import("@northern.tech/types/types.gen").IdentityData;
|
|
1434
|
-
status?: (("
|
|
1434
|
+
status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
|
|
1435
1435
|
created_ts?: string;
|
|
1436
1436
|
updated_ts?: string;
|
|
1437
1437
|
check_in_time?: string;
|
|
@@ -1469,7 +1469,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1469
1469
|
resultFunc: (resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
|
|
1470
1470
|
id?: string;
|
|
1471
1471
|
identity_data?: import("@northern.tech/types/types.gen").IdentityData;
|
|
1472
|
-
status?: (("
|
|
1472
|
+
status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
|
|
1473
1473
|
created_ts?: string;
|
|
1474
1474
|
updated_ts?: string;
|
|
1475
1475
|
check_in_time?: string;
|
|
@@ -1503,7 +1503,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1503
1503
|
memoizedResultFunc: ((resultFuncArgs_0: AuditLog | undefined, resultFuncArgs_1: Record<string, Device>) => {
|
|
1504
1504
|
id?: string;
|
|
1505
1505
|
identity_data?: import("@northern.tech/types/types.gen").IdentityData;
|
|
1506
|
-
status?: (("
|
|
1506
|
+
status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
|
|
1507
1507
|
created_ts?: string;
|
|
1508
1508
|
updated_ts?: string;
|
|
1509
1509
|
check_in_time?: string;
|
|
@@ -1541,7 +1541,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1541
1541
|
lastResult: () => {
|
|
1542
1542
|
id?: string;
|
|
1543
1543
|
identity_data?: import("@northern.tech/types/types.gen").IdentityData;
|
|
1544
|
-
status?: (("
|
|
1544
|
+
status?: (("accepted" | "pending" | "rejected" | "preauthorized" | "noauth" | undefined) & import("@northern.tech/types/types.gen").Status) | undefined;
|
|
1545
1545
|
created_ts?: string;
|
|
1546
1546
|
updated_ts?: string;
|
|
1547
1547
|
check_in_time?: string;
|
|
@@ -1613,7 +1613,7 @@ declare const getAuditlogDevice: ((state: {
|
|
|
1613
1613
|
type RoleItem = Role | {
|
|
1614
1614
|
value: string;
|
|
1615
1615
|
};
|
|
1616
|
-
declare const getRelevantRoles: ((state: {
|
|
1616
|
+
export declare const getRelevantRoles: ((state: {
|
|
1617
1617
|
app: AppSliceType;
|
|
1618
1618
|
devices: DeviceSliceType;
|
|
1619
1619
|
deployments: DeploymentsSliceType;
|
|
@@ -1768,7 +1768,7 @@ declare const getRelevantRoles: ((state: {
|
|
|
1768
1768
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1769
1769
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1770
1770
|
};
|
|
1771
|
-
declare const getShowSecurityAlert: ((state: {
|
|
1771
|
+
export declare const getShowSecurityAlert: ((state: {
|
|
1772
1772
|
app: AppSliceType;
|
|
1773
1773
|
devices: DeviceSliceType;
|
|
1774
1774
|
deployments: DeploymentsSliceType;
|
|
@@ -1915,5 +1915,4 @@ declare const getShowSecurityAlert: ((state: {
|
|
|
1915
1915
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1916
1916
|
};
|
|
1917
1917
|
//#endregion
|
|
1918
|
-
export { getAuditlogDevice, getAvailableIssueOptionsByType, getDemoDeviceAddress, getDeploymentRelease, getDeviceConfigDeployment, getDeviceReportsForUser, getFilterAttributes, getGroupNames, getIsEnterprise, getMappedDevicesList, getOnboardingState, getRelevantRoles, getSelectedDeploymentData, getShowSecurityAlert, getTenantCapabilities, getUserCapabilities, getUserRoles };
|
|
1919
1918
|
//# sourceMappingURL=commonSelectors.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as DeploymentConfig } from "../index-mvxjivTJ.cjs";
|
|
2
2
|
//#region src/deploymentsSlice/mocks.d.ts
|
|
3
|
-
declare const mockState: {
|
|
3
|
+
export declare const mockState: {
|
|
4
4
|
byId: {
|
|
5
5
|
d1: {
|
|
6
6
|
id: string;
|
|
@@ -182,5 +182,4 @@ declare const mockState: {
|
|
|
182
182
|
config: DeploymentConfig;
|
|
183
183
|
};
|
|
184
184
|
//#endregion
|
|
185
|
-
export { mockState };
|
|
186
185
|
//# sourceMappingURL=mocks.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as DeploymentConfig } from "../index-B8td4-rY.js";
|
|
2
2
|
//#region src/deploymentsSlice/mocks.d.ts
|
|
3
|
-
declare const mockState: {
|
|
3
|
+
export declare const mockState: {
|
|
4
4
|
byId: {
|
|
5
5
|
d1: {
|
|
6
6
|
id: string;
|
|
@@ -182,5 +182,4 @@ declare const mockState: {
|
|
|
182
182
|
config: DeploymentConfig;
|
|
183
183
|
};
|
|
184
184
|
//#endregion
|
|
185
|
-
export { mockState };
|
|
186
185
|
//# sourceMappingURL=mocks.d.ts.map
|
|
@@ -8,11 +8,11 @@ import { t as MonitorSliceType } from "../index-BfmRpbiJ.cjs";
|
|
|
8
8
|
import { t as OrganizationSliceType } from "../index-HjOSTTGF.cjs";
|
|
9
9
|
import { r as RootState } from "../store-Dw8Uo_Df.cjs";
|
|
10
10
|
//#region src/deploymentsSlice/selectors.d.ts
|
|
11
|
-
declare const getDeploymentsById: (state: RootState) => Record<string, Deployment>;
|
|
12
|
-
declare const getDeploymentsByStatus: (state: RootState) => DeploymentByStatus;
|
|
13
|
-
declare const getSelectedDeploymentDeviceIds: (state: RootState) => string[];
|
|
14
|
-
declare const getDeploymentsSelectionState: (state: RootState) => SelectionState;
|
|
15
|
-
declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment) & {
|
|
11
|
+
export declare const getDeploymentsById: (state: RootState) => Record<string, Deployment>;
|
|
12
|
+
export declare const getDeploymentsByStatus: (state: RootState) => DeploymentByStatus;
|
|
13
|
+
export declare const getSelectedDeploymentDeviceIds: (state: RootState) => string[];
|
|
14
|
+
export declare const getDeploymentsSelectionState: (state: RootState) => SelectionState;
|
|
15
|
+
export declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment) & {
|
|
16
16
|
clearCache: () => void;
|
|
17
17
|
resultsCount: () => number;
|
|
18
18
|
resetResultsCount: () => void;
|
|
@@ -33,7 +33,7 @@ declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment)
|
|
|
33
33
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
34
34
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
35
35
|
};
|
|
36
|
-
declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any) => any) & {
|
|
36
|
+
export declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any) => any) & {
|
|
37
37
|
clearCache: () => void;
|
|
38
38
|
resultsCount: () => number;
|
|
39
39
|
resetResultsCount: () => void;
|
|
@@ -54,8 +54,8 @@ declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any)
|
|
|
54
54
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
55
55
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
56
56
|
};
|
|
57
|
-
declare const DEPLOYMENT_CUTOFF = 3;
|
|
58
|
-
declare const getRecentDeployments: ((state: {
|
|
57
|
+
export declare const DEPLOYMENT_CUTOFF = 3;
|
|
58
|
+
export declare const getRecentDeployments: ((state: {
|
|
59
59
|
app: AppSliceType;
|
|
60
60
|
devices: DeviceSliceType;
|
|
61
61
|
deployments: DeploymentsSliceType;
|
|
@@ -94,5 +94,4 @@ declare const getRecentDeployments: ((state: {
|
|
|
94
94
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
95
95
|
};
|
|
96
96
|
//#endregion
|
|
97
|
-
export { DEPLOYMENT_CUTOFF, getDeploymentById, getDeploymentsById, getDeploymentsByStatus, getDeploymentsSelectionState, getMappedDeploymentSelection, getRecentDeployments, getSelectedDeploymentDeviceIds };
|
|
98
97
|
//# sourceMappingURL=selectors.d.cts.map
|
|
@@ -8,11 +8,11 @@ import { t as MonitorSliceType } from "../index-CRqnH_go.js";
|
|
|
8
8
|
import { t as OrganizationSliceType } from "../index-BVNS-Aut.js";
|
|
9
9
|
import { r as RootState } from "../store-DLp6ajT8.js";
|
|
10
10
|
//#region src/deploymentsSlice/selectors.d.ts
|
|
11
|
-
declare const getDeploymentsById: (state: RootState) => Record<string, Deployment>;
|
|
12
|
-
declare const getDeploymentsByStatus: (state: RootState) => DeploymentByStatus;
|
|
13
|
-
declare const getSelectedDeploymentDeviceIds: (state: RootState) => string[];
|
|
14
|
-
declare const getDeploymentsSelectionState: (state: RootState) => SelectionState;
|
|
15
|
-
declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment) & {
|
|
11
|
+
export declare const getDeploymentsById: (state: RootState) => Record<string, Deployment>;
|
|
12
|
+
export declare const getDeploymentsByStatus: (state: RootState) => DeploymentByStatus;
|
|
13
|
+
export declare const getSelectedDeploymentDeviceIds: (state: RootState) => string[];
|
|
14
|
+
export declare const getDeploymentsSelectionState: (state: RootState) => SelectionState;
|
|
15
|
+
export declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment) & {
|
|
16
16
|
clearCache: () => void;
|
|
17
17
|
resultsCount: () => number;
|
|
18
18
|
resetResultsCount: () => void;
|
|
@@ -33,7 +33,7 @@ declare const getDeploymentById: ((state: any, deploymentId: any) => Deployment)
|
|
|
33
33
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
34
34
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
35
35
|
};
|
|
36
|
-
declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any) => any) & {
|
|
36
|
+
export declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any) => any) & {
|
|
37
37
|
clearCache: () => void;
|
|
38
38
|
resultsCount: () => number;
|
|
39
39
|
resetResultsCount: () => void;
|
|
@@ -54,8 +54,8 @@ declare const getMappedDeploymentSelection: ((state: any, deploymentsState: any)
|
|
|
54
54
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
55
55
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
56
56
|
};
|
|
57
|
-
declare const DEPLOYMENT_CUTOFF = 3;
|
|
58
|
-
declare const getRecentDeployments: ((state: {
|
|
57
|
+
export declare const DEPLOYMENT_CUTOFF = 3;
|
|
58
|
+
export declare const getRecentDeployments: ((state: {
|
|
59
59
|
app: AppSliceType;
|
|
60
60
|
devices: DeviceSliceType;
|
|
61
61
|
deployments: DeploymentsSliceType;
|
|
@@ -94,5 +94,4 @@ declare const getRecentDeployments: ((state: {
|
|
|
94
94
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
95
95
|
};
|
|
96
96
|
//#endregion
|
|
97
|
-
export { DEPLOYMENT_CUTOFF, getDeploymentById, getDeploymentsById, getDeploymentsByStatus, getDeploymentsSelectionState, getMappedDeploymentSelection, getRecentDeployments, getSelectedDeploymentDeviceIds };
|
|
98
97
|
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -5,19 +5,19 @@ import { i as SnackbarContent } from "../index-BKU1G9-x.cjs";
|
|
|
5
5
|
import { r as RootState, t as AppDispatch } from "../store-Dw8Uo_Df.cjs";
|
|
6
6
|
import { DeploymentV1, DeploymentV2, NewDeploymentForGroup, NewDeploymentTypeManagement, NewDeploymentV2TypeManagement } from "@northern.tech/types/MenderTypes";
|
|
7
7
|
//#region src/deploymentsSlice/thunks.d.ts
|
|
8
|
-
declare const deriveDeploymentGroup: ({ filter, group, groups, name }: Deployment) => string | undefined;
|
|
8
|
+
export declare const deriveDeploymentGroup: ({ filter, group, groups, name }: Deployment) => string | undefined;
|
|
9
9
|
type ReceivedDeployment = DeploymentV1 | DeploymentV2;
|
|
10
|
-
declare const transformDeployments: (deployments: ReceivedDeployment[], deploymentsById: Record<string, Deployment>) => {
|
|
10
|
+
export declare const transformDeployments: (deployments: ReceivedDeployment[], deploymentsById: Record<string, Deployment>) => {
|
|
11
11
|
deploymentIds: string[];
|
|
12
12
|
deployments: Record<string, Deployment>;
|
|
13
13
|
};
|
|
14
|
-
type GetDeploymentsByStatusPayload = Partial<SelectionListState> & {
|
|
14
|
+
export type GetDeploymentsByStatusPayload = Partial<SelectionListState> & {
|
|
15
15
|
group?: string;
|
|
16
16
|
shouldSelect?: boolean;
|
|
17
17
|
sort?: SortOptions;
|
|
18
18
|
status: DeploymentByStatusKey;
|
|
19
19
|
};
|
|
20
|
-
declare const getDeploymentsByStatus: import("@reduxjs/toolkit").AsyncThunk<unknown[], GetDeploymentsByStatusPayload, {
|
|
20
|
+
export declare const getDeploymentsByStatus: import("@reduxjs/toolkit").AsyncThunk<unknown[], GetDeploymentsByStatusPayload, {
|
|
21
21
|
dispatch: AppDispatch;
|
|
22
22
|
state: RootState;
|
|
23
23
|
extra?: unknown;
|
|
@@ -27,7 +27,7 @@ declare const getDeploymentsByStatus: import("@reduxjs/toolkit").AsyncThunk<unkn
|
|
|
27
27
|
fulfilledMeta?: unknown;
|
|
28
28
|
rejectedMeta?: unknown;
|
|
29
29
|
}>;
|
|
30
|
-
declare const createDeployment: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
30
|
+
export declare const createDeployment: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
31
31
|
newDeployment: NewDeploymentTypeManagement | (NewDeploymentForGroup & {
|
|
32
32
|
group: string;
|
|
33
33
|
}) | NewDeploymentV2TypeManagement;
|
|
@@ -41,7 +41,7 @@ declare const createDeployment: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
|
41
41
|
fulfilledMeta?: unknown;
|
|
42
42
|
rejectedMeta?: unknown;
|
|
43
43
|
}>;
|
|
44
|
-
declare const getDeploymentDevices: import("@reduxjs/toolkit").AsyncThunk<unknown[], {
|
|
44
|
+
export declare const getDeploymentDevices: import("@reduxjs/toolkit").AsyncThunk<unknown[], {
|
|
45
45
|
id: string;
|
|
46
46
|
page?: number;
|
|
47
47
|
perPage?: number;
|
|
@@ -61,7 +61,7 @@ type GetDeviceDeploymentsPayload = {
|
|
|
61
61
|
page?: number;
|
|
62
62
|
perPage?: number;
|
|
63
63
|
};
|
|
64
|
-
declare const getDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<{
|
|
64
|
+
export declare const getDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<{
|
|
65
65
|
payload: {
|
|
66
66
|
id: string;
|
|
67
67
|
} & Partial<Device$1>;
|
|
@@ -76,7 +76,7 @@ declare const getDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
76
76
|
fulfilledMeta?: unknown;
|
|
77
77
|
rejectedMeta?: unknown;
|
|
78
78
|
}>;
|
|
79
|
-
declare const resetDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<{
|
|
79
|
+
export declare const resetDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<{
|
|
80
80
|
payload: {
|
|
81
81
|
id: string;
|
|
82
82
|
} & Partial<Device$1>;
|
|
@@ -105,7 +105,7 @@ declare const resetDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<impo
|
|
|
105
105
|
fulfilledMeta?: unknown;
|
|
106
106
|
rejectedMeta?: unknown;
|
|
107
107
|
}>;
|
|
108
|
-
declare const getSingleDeployment: import("@reduxjs/toolkit").AsyncThunk<{
|
|
108
|
+
export declare const getSingleDeployment: import("@reduxjs/toolkit").AsyncThunk<{
|
|
109
109
|
payload: Deployment;
|
|
110
110
|
type: "deployments/receivedDeployment";
|
|
111
111
|
}, string, {
|
|
@@ -118,7 +118,7 @@ declare const getSingleDeployment: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
118
118
|
fulfilledMeta?: unknown;
|
|
119
119
|
rejectedMeta?: unknown;
|
|
120
120
|
}>;
|
|
121
|
-
declare const getDeviceLog: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
121
|
+
export declare const getDeviceLog: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
122
122
|
payload: {
|
|
123
123
|
deviceId: string;
|
|
124
124
|
id: string;
|
|
@@ -138,7 +138,7 @@ declare const getDeviceLog: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
138
138
|
fulfilledMeta?: unknown;
|
|
139
139
|
rejectedMeta?: unknown;
|
|
140
140
|
}>;
|
|
141
|
-
declare const abortDeployment: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
141
|
+
export declare const abortDeployment: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
142
142
|
payload: Record<string, Deployment>;
|
|
143
143
|
type: "deployments/receivedDeployments";
|
|
144
144
|
}, {
|
|
@@ -164,7 +164,7 @@ declare const abortDeployment: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
164
164
|
fulfilledMeta?: unknown;
|
|
165
165
|
rejectedMeta?: unknown;
|
|
166
166
|
}>;
|
|
167
|
-
declare const updateDeploymentControlMap: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
167
|
+
export declare const updateDeploymentControlMap: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
168
168
|
arg: string;
|
|
169
169
|
requestId: string;
|
|
170
170
|
requestStatus: "rejected";
|
|
@@ -199,7 +199,7 @@ type SetDeploymentsStatePayload = DeepPartial<SelectionState> & {
|
|
|
199
199
|
page?: number;
|
|
200
200
|
perPage?: number;
|
|
201
201
|
};
|
|
202
|
-
declare const setDeploymentsState: import("@reduxjs/toolkit").AsyncThunk<unknown[], SetDeploymentsStatePayload, {
|
|
202
|
+
export declare const setDeploymentsState: import("@reduxjs/toolkit").AsyncThunk<unknown[], SetDeploymentsStatePayload, {
|
|
203
203
|
dispatch: AppDispatch;
|
|
204
204
|
state: RootState;
|
|
205
205
|
extra?: unknown;
|
|
@@ -209,7 +209,7 @@ declare const setDeploymentsState: import("@reduxjs/toolkit").AsyncThunk<unknown
|
|
|
209
209
|
fulfilledMeta?: unknown;
|
|
210
210
|
rejectedMeta?: unknown;
|
|
211
211
|
}>;
|
|
212
|
-
declare const getDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<{
|
|
212
|
+
export declare const getDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<{
|
|
213
213
|
payload: DeploymentConfig;
|
|
214
214
|
type: "deployments/setDeploymentsConfig";
|
|
215
215
|
}, void, {
|
|
@@ -222,7 +222,7 @@ declare const getDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
222
222
|
fulfilledMeta?: unknown;
|
|
223
223
|
rejectedMeta?: unknown;
|
|
224
224
|
}>;
|
|
225
|
-
declare const saveDeltaDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<unknown, {
|
|
225
|
+
export declare const saveDeltaDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<unknown, {
|
|
226
226
|
compressionLevel: number;
|
|
227
227
|
disableChecksum: boolean;
|
|
228
228
|
disableDecompression: boolean;
|
|
@@ -241,7 +241,7 @@ declare const saveDeltaDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<
|
|
|
241
241
|
fulfilledMeta?: unknown;
|
|
242
242
|
rejectedMeta?: unknown;
|
|
243
243
|
}>;
|
|
244
|
-
declare const generateDeploymentLogAnalysis: import("@reduxjs/toolkit").AsyncThunk<string | undefined, {
|
|
244
|
+
export declare const generateDeploymentLogAnalysis: import("@reduxjs/toolkit").AsyncThunk<string | undefined, {
|
|
245
245
|
deploymentId: string;
|
|
246
246
|
deviceId: string;
|
|
247
247
|
}, {
|
|
@@ -255,5 +255,4 @@ declare const generateDeploymentLogAnalysis: import("@reduxjs/toolkit").AsyncThu
|
|
|
255
255
|
rejectedMeta?: unknown;
|
|
256
256
|
}>;
|
|
257
257
|
//#endregion
|
|
258
|
-
export { GetDeploymentsByStatusPayload, abortDeployment, createDeployment, deriveDeploymentGroup, generateDeploymentLogAnalysis, getDeploymentDevices, getDeploymentsByStatus, getDeploymentsConfig, getDeviceDeployments, getDeviceLog, getSingleDeployment, resetDeviceDeployments, saveDeltaDeploymentsConfig, setDeploymentsState, transformDeployments, updateDeploymentControlMap };
|
|
259
258
|
//# sourceMappingURL=thunks.d.cts.map
|
|
@@ -5,19 +5,19 @@ import { i as SnackbarContent } from "../index-xxqlerg5.js";
|
|
|
5
5
|
import { r as RootState, t as AppDispatch } from "../store-DLp6ajT8.js";
|
|
6
6
|
import { DeploymentV1, DeploymentV2, NewDeploymentForGroup, NewDeploymentTypeManagement, NewDeploymentV2TypeManagement } from "@northern.tech/types/MenderTypes";
|
|
7
7
|
//#region src/deploymentsSlice/thunks.d.ts
|
|
8
|
-
declare const deriveDeploymentGroup: ({ filter, group, groups, name }: Deployment) => string | undefined;
|
|
8
|
+
export declare const deriveDeploymentGroup: ({ filter, group, groups, name }: Deployment) => string | undefined;
|
|
9
9
|
type ReceivedDeployment = DeploymentV1 | DeploymentV2;
|
|
10
|
-
declare const transformDeployments: (deployments: ReceivedDeployment[], deploymentsById: Record<string, Deployment>) => {
|
|
10
|
+
export declare const transformDeployments: (deployments: ReceivedDeployment[], deploymentsById: Record<string, Deployment>) => {
|
|
11
11
|
deploymentIds: string[];
|
|
12
12
|
deployments: Record<string, Deployment>;
|
|
13
13
|
};
|
|
14
|
-
type GetDeploymentsByStatusPayload = Partial<SelectionListState> & {
|
|
14
|
+
export type GetDeploymentsByStatusPayload = Partial<SelectionListState> & {
|
|
15
15
|
group?: string;
|
|
16
16
|
shouldSelect?: boolean;
|
|
17
17
|
sort?: SortOptions;
|
|
18
18
|
status: DeploymentByStatusKey;
|
|
19
19
|
};
|
|
20
|
-
declare const getDeploymentsByStatus: import("@reduxjs/toolkit").AsyncThunk<unknown[], GetDeploymentsByStatusPayload, {
|
|
20
|
+
export declare const getDeploymentsByStatus: import("@reduxjs/toolkit").AsyncThunk<unknown[], GetDeploymentsByStatusPayload, {
|
|
21
21
|
dispatch: AppDispatch;
|
|
22
22
|
state: RootState;
|
|
23
23
|
extra?: unknown;
|
|
@@ -27,7 +27,7 @@ declare const getDeploymentsByStatus: import("@reduxjs/toolkit").AsyncThunk<unkn
|
|
|
27
27
|
fulfilledMeta?: unknown;
|
|
28
28
|
rejectedMeta?: unknown;
|
|
29
29
|
}>;
|
|
30
|
-
declare const createDeployment: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
30
|
+
export declare const createDeployment: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
31
31
|
newDeployment: NewDeploymentTypeManagement | (NewDeploymentForGroup & {
|
|
32
32
|
group: string;
|
|
33
33
|
}) | NewDeploymentV2TypeManagement;
|
|
@@ -41,7 +41,7 @@ declare const createDeployment: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
|
41
41
|
fulfilledMeta?: unknown;
|
|
42
42
|
rejectedMeta?: unknown;
|
|
43
43
|
}>;
|
|
44
|
-
declare const getDeploymentDevices: import("@reduxjs/toolkit").AsyncThunk<unknown[], {
|
|
44
|
+
export declare const getDeploymentDevices: import("@reduxjs/toolkit").AsyncThunk<unknown[], {
|
|
45
45
|
id: string;
|
|
46
46
|
page?: number;
|
|
47
47
|
perPage?: number;
|
|
@@ -61,7 +61,7 @@ type GetDeviceDeploymentsPayload = {
|
|
|
61
61
|
page?: number;
|
|
62
62
|
perPage?: number;
|
|
63
63
|
};
|
|
64
|
-
declare const getDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<{
|
|
64
|
+
export declare const getDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<{
|
|
65
65
|
payload: {
|
|
66
66
|
id: string;
|
|
67
67
|
} & Partial<Device$1>;
|
|
@@ -76,7 +76,7 @@ declare const getDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
76
76
|
fulfilledMeta?: unknown;
|
|
77
77
|
rejectedMeta?: unknown;
|
|
78
78
|
}>;
|
|
79
|
-
declare const resetDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<{
|
|
79
|
+
export declare const resetDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<{
|
|
80
80
|
payload: {
|
|
81
81
|
id: string;
|
|
82
82
|
} & Partial<Device$1>;
|
|
@@ -105,7 +105,7 @@ declare const resetDeviceDeployments: import("@reduxjs/toolkit").AsyncThunk<impo
|
|
|
105
105
|
fulfilledMeta?: unknown;
|
|
106
106
|
rejectedMeta?: unknown;
|
|
107
107
|
}>;
|
|
108
|
-
declare const getSingleDeployment: import("@reduxjs/toolkit").AsyncThunk<{
|
|
108
|
+
export declare const getSingleDeployment: import("@reduxjs/toolkit").AsyncThunk<{
|
|
109
109
|
payload: Deployment;
|
|
110
110
|
type: "deployments/receivedDeployment";
|
|
111
111
|
}, string, {
|
|
@@ -118,7 +118,7 @@ declare const getSingleDeployment: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
118
118
|
fulfilledMeta?: unknown;
|
|
119
119
|
rejectedMeta?: unknown;
|
|
120
120
|
}>;
|
|
121
|
-
declare const getDeviceLog: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
121
|
+
export declare const getDeviceLog: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
122
122
|
payload: {
|
|
123
123
|
deviceId: string;
|
|
124
124
|
id: string;
|
|
@@ -138,7 +138,7 @@ declare const getDeviceLog: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
138
138
|
fulfilledMeta?: unknown;
|
|
139
139
|
rejectedMeta?: unknown;
|
|
140
140
|
}>;
|
|
141
|
-
declare const abortDeployment: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
141
|
+
export declare const abortDeployment: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
142
142
|
payload: Record<string, Deployment>;
|
|
143
143
|
type: "deployments/receivedDeployments";
|
|
144
144
|
}, {
|
|
@@ -164,7 +164,7 @@ declare const abortDeployment: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
164
164
|
fulfilledMeta?: unknown;
|
|
165
165
|
rejectedMeta?: unknown;
|
|
166
166
|
}>;
|
|
167
|
-
declare const updateDeploymentControlMap: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
167
|
+
export declare const updateDeploymentControlMap: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
168
168
|
arg: string;
|
|
169
169
|
requestId: string;
|
|
170
170
|
requestStatus: "rejected";
|
|
@@ -199,7 +199,7 @@ type SetDeploymentsStatePayload = DeepPartial<SelectionState> & {
|
|
|
199
199
|
page?: number;
|
|
200
200
|
perPage?: number;
|
|
201
201
|
};
|
|
202
|
-
declare const setDeploymentsState: import("@reduxjs/toolkit").AsyncThunk<unknown[], SetDeploymentsStatePayload, {
|
|
202
|
+
export declare const setDeploymentsState: import("@reduxjs/toolkit").AsyncThunk<unknown[], SetDeploymentsStatePayload, {
|
|
203
203
|
dispatch: AppDispatch;
|
|
204
204
|
state: RootState;
|
|
205
205
|
extra?: unknown;
|
|
@@ -209,7 +209,7 @@ declare const setDeploymentsState: import("@reduxjs/toolkit").AsyncThunk<unknown
|
|
|
209
209
|
fulfilledMeta?: unknown;
|
|
210
210
|
rejectedMeta?: unknown;
|
|
211
211
|
}>;
|
|
212
|
-
declare const getDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<{
|
|
212
|
+
export declare const getDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<{
|
|
213
213
|
payload: DeploymentConfig;
|
|
214
214
|
type: "deployments/setDeploymentsConfig";
|
|
215
215
|
}, void, {
|
|
@@ -222,7 +222,7 @@ declare const getDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
222
222
|
fulfilledMeta?: unknown;
|
|
223
223
|
rejectedMeta?: unknown;
|
|
224
224
|
}>;
|
|
225
|
-
declare const saveDeltaDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<unknown, {
|
|
225
|
+
export declare const saveDeltaDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<unknown, {
|
|
226
226
|
compressionLevel: number;
|
|
227
227
|
disableChecksum: boolean;
|
|
228
228
|
disableDecompression: boolean;
|
|
@@ -241,7 +241,7 @@ declare const saveDeltaDeploymentsConfig: import("@reduxjs/toolkit").AsyncThunk<
|
|
|
241
241
|
fulfilledMeta?: unknown;
|
|
242
242
|
rejectedMeta?: unknown;
|
|
243
243
|
}>;
|
|
244
|
-
declare const generateDeploymentLogAnalysis: import("@reduxjs/toolkit").AsyncThunk<string | undefined, {
|
|
244
|
+
export declare const generateDeploymentLogAnalysis: import("@reduxjs/toolkit").AsyncThunk<string | undefined, {
|
|
245
245
|
deploymentId: string;
|
|
246
246
|
deviceId: string;
|
|
247
247
|
}, {
|
|
@@ -255,5 +255,4 @@ declare const generateDeploymentLogAnalysis: import("@reduxjs/toolkit").AsyncThu
|
|
|
255
255
|
rejectedMeta?: unknown;
|
|
256
256
|
}>;
|
|
257
257
|
//#endregion
|
|
258
|
-
export { GetDeploymentsByStatusPayload, abortDeployment, createDeployment, deriveDeploymentGroup, generateDeploymentLogAnalysis, getDeploymentDevices, getDeploymentsByStatus, getDeploymentsConfig, getDeviceDeployments, getDeviceLog, getSingleDeployment, resetDeviceDeployments, saveDeltaDeploymentsConfig, setDeploymentsState, transformDeployments, updateDeploymentControlMap };
|
|
259
258
|
//# sourceMappingURL=thunks.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/devicesSlice/mocks.d.ts
|
|
2
|
-
declare const mockState: {
|
|
2
|
+
export declare const mockState: {
|
|
3
3
|
byId: {
|
|
4
4
|
a1: {
|
|
5
5
|
id: string;
|
|
@@ -166,5 +166,4 @@ declare const mockState: {
|
|
|
166
166
|
total: number;
|
|
167
167
|
};
|
|
168
168
|
//#endregion
|
|
169
|
-
export { mockState };
|
|
170
169
|
//# sourceMappingURL=mocks.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/devicesSlice/mocks.d.ts
|
|
2
|
-
declare const mockState: {
|
|
2
|
+
export declare const mockState: {
|
|
3
3
|
byId: {
|
|
4
4
|
a1: {
|
|
5
5
|
id: string;
|
|
@@ -166,5 +166,4 @@ declare const mockState: {
|
|
|
166
166
|
total: number;
|
|
167
167
|
};
|
|
168
168
|
//#endregion
|
|
169
|
-
export { mockState };
|
|
170
169
|
//# sourceMappingURL=mocks.d.ts.map
|
|
@@ -87,9 +87,10 @@ const getGroups = (0, _reduxjs_toolkit.createSelector)([getGroupsById], (groupsB
|
|
|
87
87
|
groupId: name,
|
|
88
88
|
name: groupname
|
|
89
89
|
};
|
|
90
|
-
if ((group.filters ?? []).length > 0)
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
if ((group.filters ?? []).length > 0) {
|
|
91
|
+
if (groupname !== require_constants.UNGROUPED_GROUP.id) accu.dynamic.push(groupItem);
|
|
92
|
+
else accu.ungrouped.push(groupItem);
|
|
93
|
+
} else accu.static.push(groupItem);
|
|
93
94
|
return accu;
|
|
94
95
|
}, {
|
|
95
96
|
dynamic: [],
|