@northern.tech/store 0.46.1 → 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/actions.d.cts +6 -6
- package/dist/actions.d.ts +6 -6
- package/dist/api/general-api.d.cts +3 -3
- package/dist/api/general-api.d.ts +3 -3
- package/dist/api/general-api.js +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 +2 -3
- package/dist/appSlice/mocks.d.ts +2 -3
- package/dist/appSlice/selectors.cjs +1 -2
- package/dist/appSlice/selectors.cjs.map +1 -1
- package/dist/appSlice/selectors.d.cts +26 -27
- package/dist/appSlice/selectors.d.ts +26 -27
- package/dist/appSlice/selectors.js +1 -2
- package/dist/appSlice/selectors.js.map +1 -1
- package/dist/appSlice/thunks.d.cts +5 -6
- package/dist/appSlice/thunks.d.ts +5 -6
- package/dist/auth.d.cts +6 -7
- package/dist/auth.d.ts +6 -7
- package/dist/auth.js +1 -1
- package/dist/commonConstants.d.cts +1 -1
- package/dist/commonConstants.d.ts +1 -1
- package/dist/commonConstants.js +1 -1
- package/dist/commonSelectors.d.cts +30 -31
- package/dist/commonSelectors.d.ts +30 -31
- package/dist/commonSelectors.js +1 -1
- package/dist/{constants-B_H4squx.d.ts → constants-BJuY-ODE.d.ts} +3 -3
- package/dist/{constants-Rl3FJzFf.d.cts → constants-C2O55iZu.d.cts} +3 -3
- package/dist/{constants-eWaA3HCq.js → constants-D5hACLhF.js} +3 -3
- package/dist/{constants-eWaA3HCq.js.map → constants-D5hACLhF.js.map} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.d.cts +2 -2
- package/dist/constants.d.ts +2 -2
- package/dist/constants.js +2 -2
- package/dist/deploymentsSlice/constants.js +1 -1
- package/dist/deploymentsSlice/index.js +1 -1
- package/dist/deploymentsSlice/mocks.d.cts +1 -2
- package/dist/deploymentsSlice/mocks.d.ts +1 -2
- package/dist/deploymentsSlice/selectors.d.cts +15 -16
- package/dist/deploymentsSlice/selectors.d.ts +15 -16
- package/dist/deploymentsSlice/selectors.js +1 -1
- package/dist/deploymentsSlice/thunks.d.cts +20 -21
- package/dist/deploymentsSlice/thunks.d.ts +20 -21
- 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.d.cts +1 -2
- package/dist/devicesSlice/mocks.d.ts +1 -2
- package/dist/devicesSlice/mocks.js +1 -1
- package/dist/devicesSlice/selectors.cjs +4 -3
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +34 -35
- package/dist/devicesSlice/selectors.d.ts +34 -35
- package/dist/devicesSlice/selectors.js +5 -4
- package/dist/devicesSlice/selectors.js.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +52 -53
- package/dist/devicesSlice/thunks.d.ts +52 -53
- package/dist/{index-DgiMpzq3.d.ts → index--SKVGToc.d.ts} +2 -2
- package/dist/{index-DeOpb2oK.d.cts → index-BKU1G9-x.d.cts} +2 -2
- package/dist/{index-CGT1O9T5.d.ts → index-BMsafOyJ.d.ts} +2 -2
- package/dist/{index-ChKTa1aL.d.ts → index-BVNS-Aut.d.ts} +2 -2
- package/dist/{index-Ctj2r57a.d.cts → index-BfmRpbiJ.d.cts} +2 -2
- package/dist/{index-BAGyeC-q.d.ts → index-CRqnH_go.d.ts} +2 -2
- package/dist/{index-Cf6_W5Y7.d.cts → index-CqhXqGLt.d.cts} +2 -2
- package/dist/{index-BpamudGf.d.ts → index-D9GJhX1I.d.ts} +2 -2
- package/dist/{index-C_LGDJN2.d.cts → index-HjOSTTGF.d.cts} +2 -2
- package/dist/{index-DnKVKM0G.d.cts → index-KxRmyFLr.d.cts} +2 -2
- package/dist/{index-ExguKUh-.d.cts → index-fGVC5s1C.d.cts} +2 -2
- package/dist/{index-Bs0c1-WY.d.ts → index-xxqlerg5.d.ts} +2 -2
- package/dist/liststatehook.d.cts +2 -3
- package/dist/liststatehook.d.ts +2 -3
- package/dist/locationutils.d.cts +29 -30
- package/dist/locationutils.d.ts +29 -30
- package/dist/locationutils.js +1 -1
- 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 +2 -3
- package/dist/monitorSlice/mocks.d.ts +2 -3
- package/dist/monitorSlice/mocks.js +1 -1
- package/dist/monitorSlice/selectors.d.cts +2 -3
- package/dist/monitorSlice/selectors.d.ts +2 -3
- package/dist/monitorSlice/thunks.d.cts +9 -10
- package/dist/monitorSlice/thunks.d.ts +9 -10
- package/dist/monitorSlice/thunks.js +1 -1
- package/dist/onboardingSlice/mocks.d.cts +1 -2
- package/dist/onboardingSlice/mocks.d.ts +1 -2
- package/dist/onboardingSlice/selectors.d.cts +2 -3
- package/dist/onboardingSlice/selectors.d.ts +2 -3
- package/dist/onboardingSlice/thunks.d.cts +9 -10
- package/dist/onboardingSlice/thunks.d.ts +9 -10
- package/dist/organizationSlice/constants.js +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 -4
- package/dist/organizationSlice/mocks.d.ts +3 -4
- package/dist/organizationSlice/mocks.js +1 -1
- package/dist/organizationSlice/selectors.cjs +6 -6
- package/dist/organizationSlice/selectors.cjs.map +1 -1
- package/dist/organizationSlice/selectors.d.cts +33 -34
- package/dist/organizationSlice/selectors.d.ts +33 -34
- package/dist/organizationSlice/selectors.js +7 -7
- package/dist/organizationSlice/selectors.js.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +60 -59
- package/dist/organizationSlice/thunks.d.ts +60 -59
- 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.d.cts +1 -2
- package/dist/releasesSlice/mocks.d.ts +1 -2
- package/dist/releasesSlice/mocks.js +1 -1
- package/dist/releasesSlice/selectors.d.cts +35 -36
- package/dist/releasesSlice/selectors.d.ts +35 -36
- package/dist/releasesSlice/thunks.d.cts +40 -41
- package/dist/releasesSlice/thunks.d.ts +40 -41
- package/dist/releasesSlice/thunks.js +1 -1
- package/dist/selectors.cjs +1 -1
- package/dist/selectors.d.cts +2 -2
- package/dist/selectors.d.ts +2 -2
- package/dist/selectors.js +2 -2
- package/dist/sockethook.d.cts +1 -2
- package/dist/sockethook.d.ts +1 -2
- package/dist/sockethook.js +1 -1
- package/dist/{store-CmvNnqoc.d.ts → store-DLp6ajT8.d.ts} +9 -9
- package/dist/{store-C-W8nPdd.d.cts → store-Dw8Uo_Df.d.cts} +9 -9
- package/dist/store.d.cts +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/store.js +1 -1
- package/dist/storehooks.d.cts +5 -6
- package/dist/storehooks.d.ts +5 -6
- package/dist/storehooks.js +1 -1
- package/dist/thunks.cjs +17 -13
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +18 -14
- package/dist/thunks.js.map +1 -1
- package/dist/{types-B80ckxiy.d.cts → types-B67YW1jV.d.cts} +2 -2
- package/dist/{types-B3qGQoMx.d.ts → types-DY0J79yF.d.ts} +2 -2
- package/dist/useDeploymentDevice.d.cts +1 -2
- package/dist/useDeploymentDevice.d.ts +1 -2
- package/dist/usersSlice/constants.js +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 +2 -3
- package/dist/usersSlice/mocks.d.ts +2 -3
- package/dist/usersSlice/mocks.js +1 -1
- package/dist/usersSlice/selectors.d.cts +27 -28
- package/dist/usersSlice/selectors.d.ts +27 -28
- package/dist/usersSlice/selectors.js +1 -1
- package/dist/usersSlice/thunks.d.cts +82 -83
- package/dist/usersSlice/thunks.d.ts +48 -49
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +6 -5
package/dist/locationutils.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as SortOptions, g as PaginationOptions } from "./constants-
|
|
1
|
+
import { T as SortOptions, g as PaginationOptions } from "./constants-C2O55iZu.cjs";
|
|
2
2
|
import { t as AUDIT_LOGS_TYPES } from "./constants-OZiiFKiA.cjs";
|
|
3
|
-
import { r as DeviceFilter } from "./index-
|
|
3
|
+
import { r as DeviceFilter } from "./index-KxRmyFLr.cjs";
|
|
4
4
|
//#region src/locationutils.d.ts
|
|
5
|
-
type PageState = Partial<PaginationOptions> & {
|
|
5
|
+
export type PageState = Partial<PaginationOptions> & {
|
|
6
6
|
[key: string]: unknown;
|
|
7
7
|
detailsTab?: string;
|
|
8
8
|
id?: string[];
|
|
@@ -11,25 +11,25 @@ type PageState = Partial<PaginationOptions> & {
|
|
|
11
11
|
selectedIssues?: string[];
|
|
12
12
|
state?: string;
|
|
13
13
|
};
|
|
14
|
-
type CommonProcessorResult = {
|
|
14
|
+
export type CommonProcessorResult = {
|
|
15
15
|
pageState: PageState;
|
|
16
16
|
params: URLSearchParams;
|
|
17
17
|
sort: Partial<SortOptions> | undefined;
|
|
18
18
|
};
|
|
19
|
-
declare const commonProcessor: (searchParams: string | URLSearchParams) => CommonProcessorResult;
|
|
19
|
+
export declare const commonProcessor: (searchParams: string | URLSearchParams) => CommonProcessorResult;
|
|
20
20
|
type FilteringAttributes = Record<string, string[]>;
|
|
21
21
|
type ParseDeviceQueryExtraProps = {
|
|
22
22
|
filteringAttributes?: FilteringAttributes;
|
|
23
23
|
pageState?: PageState;
|
|
24
24
|
};
|
|
25
|
-
type ParseDeviceQueryResult = {
|
|
25
|
+
export type ParseDeviceQueryResult = {
|
|
26
26
|
detailsTab: string | null;
|
|
27
27
|
filters: DeviceFilter[];
|
|
28
28
|
groupId: string | null;
|
|
29
29
|
groupName: string;
|
|
30
30
|
open?: boolean;
|
|
31
31
|
};
|
|
32
|
-
declare const parseDeviceQuery: (searchParams: URLSearchParams, extraProps?: ParseDeviceQueryExtraProps) => ParseDeviceQueryResult;
|
|
32
|
+
export declare const parseDeviceQuery: (searchParams: URLSearchParams, extraProps?: ParseDeviceQueryExtraProps) => ParseDeviceQueryResult;
|
|
33
33
|
type FormatSortingDefaults = {
|
|
34
34
|
sort?: Partial<SortOptions>;
|
|
35
35
|
};
|
|
@@ -40,18 +40,18 @@ type FormatPageStateParams = {
|
|
|
40
40
|
selectedIssues?: string[];
|
|
41
41
|
sort?: Partial<SortOptions>;
|
|
42
42
|
};
|
|
43
|
-
type FormatPageStateDefaults = {
|
|
43
|
+
export type FormatPageStateDefaults = {
|
|
44
44
|
defaults: FormatSortingDefaults;
|
|
45
45
|
};
|
|
46
|
-
declare const formatPageState: ({ selectedId, selectedIssues, page, perPage, sort }: FormatPageStateParams, { defaults }: FormatPageStateDefaults) => string;
|
|
46
|
+
export declare const formatPageState: ({ selectedId, selectedIssues, page, perPage, sort }: FormatPageStateParams, { defaults }: FormatPageStateDefaults) => string;
|
|
47
47
|
type FormatDeviceSearchParams = {
|
|
48
48
|
filters: DeviceFilter[];
|
|
49
49
|
groupId?: string;
|
|
50
50
|
pageState: PageState;
|
|
51
51
|
selectedGroup?: string;
|
|
52
52
|
};
|
|
53
|
-
declare const formatDeviceSearch: ({ pageState, filters, selectedGroup, groupId }: FormatDeviceSearchParams) => string;
|
|
54
|
-
declare const generateDevicePath: ({ pageState }: {
|
|
53
|
+
export declare const formatDeviceSearch: ({ pageState, filters, selectedGroup, groupId }: FormatDeviceSearchParams) => string;
|
|
54
|
+
export declare const generateDevicePath: ({ pageState }: {
|
|
55
55
|
pageState: PageState;
|
|
56
56
|
}) => string;
|
|
57
57
|
type AuditlogsPageState = {
|
|
@@ -69,22 +69,22 @@ type AuditlogsExtras = {
|
|
|
69
69
|
today: string;
|
|
70
70
|
tonight: string;
|
|
71
71
|
};
|
|
72
|
-
declare const formatAuditlogs: ({ pageState }: {
|
|
72
|
+
export declare const formatAuditlogs: ({ pageState }: {
|
|
73
73
|
pageState: AuditlogsPageState;
|
|
74
74
|
}, { today, tonight }: AuditlogsExtras) => string;
|
|
75
|
-
declare const parseDateParams: (params: URLSearchParams, today: string, tonight: string) => {
|
|
75
|
+
export declare const parseDateParams: (params: URLSearchParams, today: string, tonight: string) => {
|
|
76
76
|
endDate: string;
|
|
77
77
|
startDate: string;
|
|
78
78
|
};
|
|
79
79
|
type AuditLogType = (typeof AUDIT_LOGS_TYPES)[number] | undefined;
|
|
80
|
-
type ParseAuditlogsResult = {
|
|
80
|
+
export type ParseAuditlogsResult = {
|
|
81
81
|
detail: string | null;
|
|
82
82
|
endDate: string;
|
|
83
83
|
startDate: string;
|
|
84
84
|
type: AuditLogType;
|
|
85
85
|
user: string | null;
|
|
86
86
|
};
|
|
87
|
-
declare const parseAuditlogsQuery: (params: URLSearchParams, { today, tonight }: AuditlogsExtras) => ParseAuditlogsResult;
|
|
87
|
+
export declare const parseAuditlogsQuery: (params: URLSearchParams, { today, tonight }: AuditlogsExtras) => ParseAuditlogsResult;
|
|
88
88
|
type DeploymentsBasePageState = Record<string, Partial<PaginationOptions>>;
|
|
89
89
|
type DeploymentDefaults = {
|
|
90
90
|
defaults: DeploymentsBasePageState & {
|
|
@@ -120,7 +120,7 @@ type FormatDeploymentsExtras = {
|
|
|
120
120
|
today: string;
|
|
121
121
|
tonight: string;
|
|
122
122
|
};
|
|
123
|
-
declare const formatDeployments: ({ deploymentObject, pageState }: FormatDeploymentsParams, { defaults, today, tonight }: FormatDeploymentsExtras) => string;
|
|
123
|
+
export declare const formatDeployments: ({ deploymentObject, pageState }: FormatDeploymentsParams, { defaults, today, tonight }: FormatDeploymentsExtras) => string;
|
|
124
124
|
type ParseDeploymentsExtraProps = {
|
|
125
125
|
location: {
|
|
126
126
|
pathname: string;
|
|
@@ -128,7 +128,7 @@ type ParseDeploymentsExtraProps = {
|
|
|
128
128
|
pageState: PageState;
|
|
129
129
|
tonight: string;
|
|
130
130
|
};
|
|
131
|
-
type ParseDeploymentsQueryResult = {
|
|
131
|
+
export type ParseDeploymentsQueryResult = {
|
|
132
132
|
[key: string]: unknown;
|
|
133
133
|
deploymentObject: Record<string, unknown>;
|
|
134
134
|
general: {
|
|
@@ -137,7 +137,7 @@ type ParseDeploymentsQueryResult = {
|
|
|
137
137
|
state: string;
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
|
-
declare const parseDeploymentsQuery: (params: URLSearchParams, { pageState, location, tonight }: ParseDeploymentsExtraProps) => ParseDeploymentsQueryResult;
|
|
140
|
+
export declare const parseDeploymentsQuery: (params: URLSearchParams, { pageState, location, tonight }: ParseDeploymentsExtraProps) => ParseDeploymentsQueryResult;
|
|
141
141
|
type GenerateDeploymentsPathParams = {
|
|
142
142
|
pageState: PageState & {
|
|
143
143
|
general: {
|
|
@@ -145,8 +145,8 @@ type GenerateDeploymentsPathParams = {
|
|
|
145
145
|
};
|
|
146
146
|
};
|
|
147
147
|
};
|
|
148
|
-
declare const generateDeploymentsPath: ({ pageState }: GenerateDeploymentsPathParams) => string;
|
|
149
|
-
interface FormatReleasesParams {
|
|
148
|
+
export declare const generateDeploymentsPath: ({ pageState }: GenerateDeploymentsPathParams) => string;
|
|
149
|
+
export interface FormatReleasesParams {
|
|
150
150
|
pageState: {
|
|
151
151
|
id?: string;
|
|
152
152
|
searchTerm?: string;
|
|
@@ -155,20 +155,20 @@ interface FormatReleasesParams {
|
|
|
155
155
|
type?: string;
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
|
-
declare const formatReleases: ({ pageState: { id, searchTerm, selectedTags, tab, type } }: FormatReleasesParams) => string;
|
|
158
|
+
export declare const formatReleases: ({ pageState: { id, searchTerm, selectedTags, tab, type } }: FormatReleasesParams) => string;
|
|
159
159
|
type GenerateReleasesPathParams = {
|
|
160
160
|
pageState: {
|
|
161
161
|
selectedRelease?: string;
|
|
162
162
|
};
|
|
163
163
|
};
|
|
164
|
-
declare const generateReleasesPath: ({ pageState: { selectedRelease } }: GenerateReleasesPathParams) => string;
|
|
164
|
+
export declare const generateReleasesPath: ({ pageState: { selectedRelease } }: GenerateReleasesPathParams) => string;
|
|
165
165
|
type ParseReleasesExtraProps = {
|
|
166
166
|
location: {
|
|
167
167
|
pathname: string;
|
|
168
168
|
};
|
|
169
169
|
pageState?: PageState;
|
|
170
170
|
};
|
|
171
|
-
type ParseReleasesQueryResult = {
|
|
171
|
+
export type ParseReleasesQueryResult = {
|
|
172
172
|
searchTerm: string | null;
|
|
173
173
|
selectedJob?: string;
|
|
174
174
|
selectedManifest?: string;
|
|
@@ -177,25 +177,24 @@ type ParseReleasesQueryResult = {
|
|
|
177
177
|
tags: string[];
|
|
178
178
|
type: string | null;
|
|
179
179
|
};
|
|
180
|
-
declare const parseReleasesQuery: (queryParams: URLSearchParams, extraProps: ParseReleasesExtraProps) => ParseReleasesQueryResult;
|
|
181
|
-
declare const generateTenantPath: ({ pageState: { selectedTenant } }: {
|
|
180
|
+
export declare const parseReleasesQuery: (queryParams: URLSearchParams, extraProps: ParseReleasesExtraProps) => ParseReleasesQueryResult;
|
|
181
|
+
export declare const generateTenantPath: ({ pageState: { selectedTenant } }: {
|
|
182
182
|
pageState: {
|
|
183
183
|
selectedTenant?: string;
|
|
184
184
|
};
|
|
185
185
|
}) => string;
|
|
186
|
-
declare const generateTenantPathById: (id: string | undefined) => string;
|
|
186
|
+
export declare const generateTenantPathById: (id: string | undefined) => string;
|
|
187
187
|
type ParseTenantsExtraProps = {
|
|
188
188
|
location: {
|
|
189
189
|
pathname: string;
|
|
190
190
|
};
|
|
191
191
|
pageState: PageState;
|
|
192
192
|
};
|
|
193
|
-
type ParseTenantsQueryResult = {
|
|
193
|
+
export type ParseTenantsQueryResult = {
|
|
194
194
|
name: string | null;
|
|
195
195
|
selectedTenant: string;
|
|
196
196
|
};
|
|
197
|
-
declare const parseTenantsQuery: (queryParams: URLSearchParams, extraProps: ParseTenantsExtraProps) => ParseTenantsQueryResult;
|
|
198
|
-
declare const formatTenants: () => string;
|
|
197
|
+
export declare const parseTenantsQuery: (queryParams: URLSearchParams, extraProps: ParseTenantsExtraProps) => ParseTenantsQueryResult;
|
|
198
|
+
export declare const formatTenants: () => string;
|
|
199
199
|
//#endregion
|
|
200
|
-
export { CommonProcessorResult, FormatPageStateDefaults, FormatReleasesParams, PageState, ParseAuditlogsResult, ParseDeploymentsQueryResult, ParseDeviceQueryResult, ParseReleasesQueryResult, ParseTenantsQueryResult, commonProcessor, formatAuditlogs, formatDeployments, formatDeviceSearch, formatPageState, formatReleases, formatTenants, generateDeploymentsPath, generateDevicePath, generateReleasesPath, generateTenantPath, generateTenantPathById, parseAuditlogsQuery, parseDateParams, parseDeploymentsQuery, parseDeviceQuery, parseReleasesQuery, parseTenantsQuery };
|
|
201
200
|
//# sourceMappingURL=locationutils.d.cts.map
|
package/dist/locationutils.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as SortOptions, g as PaginationOptions } from "./constants-
|
|
1
|
+
import { T as SortOptions, g as PaginationOptions } from "./constants-BJuY-ODE.js";
|
|
2
2
|
import { t as AUDIT_LOGS_TYPES } from "./constants-OZiiFKiA.js";
|
|
3
|
-
import { r as DeviceFilter } from "./index-
|
|
3
|
+
import { r as DeviceFilter } from "./index-D9GJhX1I.js";
|
|
4
4
|
//#region src/locationutils.d.ts
|
|
5
|
-
type PageState = Partial<PaginationOptions> & {
|
|
5
|
+
export type PageState = Partial<PaginationOptions> & {
|
|
6
6
|
[key: string]: unknown;
|
|
7
7
|
detailsTab?: string;
|
|
8
8
|
id?: string[];
|
|
@@ -11,25 +11,25 @@ type PageState = Partial<PaginationOptions> & {
|
|
|
11
11
|
selectedIssues?: string[];
|
|
12
12
|
state?: string;
|
|
13
13
|
};
|
|
14
|
-
type CommonProcessorResult = {
|
|
14
|
+
export type CommonProcessorResult = {
|
|
15
15
|
pageState: PageState;
|
|
16
16
|
params: URLSearchParams;
|
|
17
17
|
sort: Partial<SortOptions> | undefined;
|
|
18
18
|
};
|
|
19
|
-
declare const commonProcessor: (searchParams: string | URLSearchParams) => CommonProcessorResult;
|
|
19
|
+
export declare const commonProcessor: (searchParams: string | URLSearchParams) => CommonProcessorResult;
|
|
20
20
|
type FilteringAttributes = Record<string, string[]>;
|
|
21
21
|
type ParseDeviceQueryExtraProps = {
|
|
22
22
|
filteringAttributes?: FilteringAttributes;
|
|
23
23
|
pageState?: PageState;
|
|
24
24
|
};
|
|
25
|
-
type ParseDeviceQueryResult = {
|
|
25
|
+
export type ParseDeviceQueryResult = {
|
|
26
26
|
detailsTab: string | null;
|
|
27
27
|
filters: DeviceFilter[];
|
|
28
28
|
groupId: string | null;
|
|
29
29
|
groupName: string;
|
|
30
30
|
open?: boolean;
|
|
31
31
|
};
|
|
32
|
-
declare const parseDeviceQuery: (searchParams: URLSearchParams, extraProps?: ParseDeviceQueryExtraProps) => ParseDeviceQueryResult;
|
|
32
|
+
export declare const parseDeviceQuery: (searchParams: URLSearchParams, extraProps?: ParseDeviceQueryExtraProps) => ParseDeviceQueryResult;
|
|
33
33
|
type FormatSortingDefaults = {
|
|
34
34
|
sort?: Partial<SortOptions>;
|
|
35
35
|
};
|
|
@@ -40,18 +40,18 @@ type FormatPageStateParams = {
|
|
|
40
40
|
selectedIssues?: string[];
|
|
41
41
|
sort?: Partial<SortOptions>;
|
|
42
42
|
};
|
|
43
|
-
type FormatPageStateDefaults = {
|
|
43
|
+
export type FormatPageStateDefaults = {
|
|
44
44
|
defaults: FormatSortingDefaults;
|
|
45
45
|
};
|
|
46
|
-
declare const formatPageState: ({ selectedId, selectedIssues, page, perPage, sort }: FormatPageStateParams, { defaults }: FormatPageStateDefaults) => string;
|
|
46
|
+
export declare const formatPageState: ({ selectedId, selectedIssues, page, perPage, sort }: FormatPageStateParams, { defaults }: FormatPageStateDefaults) => string;
|
|
47
47
|
type FormatDeviceSearchParams = {
|
|
48
48
|
filters: DeviceFilter[];
|
|
49
49
|
groupId?: string;
|
|
50
50
|
pageState: PageState;
|
|
51
51
|
selectedGroup?: string;
|
|
52
52
|
};
|
|
53
|
-
declare const formatDeviceSearch: ({ pageState, filters, selectedGroup, groupId }: FormatDeviceSearchParams) => string;
|
|
54
|
-
declare const generateDevicePath: ({ pageState }: {
|
|
53
|
+
export declare const formatDeviceSearch: ({ pageState, filters, selectedGroup, groupId }: FormatDeviceSearchParams) => string;
|
|
54
|
+
export declare const generateDevicePath: ({ pageState }: {
|
|
55
55
|
pageState: PageState;
|
|
56
56
|
}) => string;
|
|
57
57
|
type AuditlogsPageState = {
|
|
@@ -69,22 +69,22 @@ type AuditlogsExtras = {
|
|
|
69
69
|
today: string;
|
|
70
70
|
tonight: string;
|
|
71
71
|
};
|
|
72
|
-
declare const formatAuditlogs: ({ pageState }: {
|
|
72
|
+
export declare const formatAuditlogs: ({ pageState }: {
|
|
73
73
|
pageState: AuditlogsPageState;
|
|
74
74
|
}, { today, tonight }: AuditlogsExtras) => string;
|
|
75
|
-
declare const parseDateParams: (params: URLSearchParams, today: string, tonight: string) => {
|
|
75
|
+
export declare const parseDateParams: (params: URLSearchParams, today: string, tonight: string) => {
|
|
76
76
|
endDate: string;
|
|
77
77
|
startDate: string;
|
|
78
78
|
};
|
|
79
79
|
type AuditLogType = (typeof AUDIT_LOGS_TYPES)[number] | undefined;
|
|
80
|
-
type ParseAuditlogsResult = {
|
|
80
|
+
export type ParseAuditlogsResult = {
|
|
81
81
|
detail: string | null;
|
|
82
82
|
endDate: string;
|
|
83
83
|
startDate: string;
|
|
84
84
|
type: AuditLogType;
|
|
85
85
|
user: string | null;
|
|
86
86
|
};
|
|
87
|
-
declare const parseAuditlogsQuery: (params: URLSearchParams, { today, tonight }: AuditlogsExtras) => ParseAuditlogsResult;
|
|
87
|
+
export declare const parseAuditlogsQuery: (params: URLSearchParams, { today, tonight }: AuditlogsExtras) => ParseAuditlogsResult;
|
|
88
88
|
type DeploymentsBasePageState = Record<string, Partial<PaginationOptions>>;
|
|
89
89
|
type DeploymentDefaults = {
|
|
90
90
|
defaults: DeploymentsBasePageState & {
|
|
@@ -120,7 +120,7 @@ type FormatDeploymentsExtras = {
|
|
|
120
120
|
today: string;
|
|
121
121
|
tonight: string;
|
|
122
122
|
};
|
|
123
|
-
declare const formatDeployments: ({ deploymentObject, pageState }: FormatDeploymentsParams, { defaults, today, tonight }: FormatDeploymentsExtras) => string;
|
|
123
|
+
export declare const formatDeployments: ({ deploymentObject, pageState }: FormatDeploymentsParams, { defaults, today, tonight }: FormatDeploymentsExtras) => string;
|
|
124
124
|
type ParseDeploymentsExtraProps = {
|
|
125
125
|
location: {
|
|
126
126
|
pathname: string;
|
|
@@ -128,7 +128,7 @@ type ParseDeploymentsExtraProps = {
|
|
|
128
128
|
pageState: PageState;
|
|
129
129
|
tonight: string;
|
|
130
130
|
};
|
|
131
|
-
type ParseDeploymentsQueryResult = {
|
|
131
|
+
export type ParseDeploymentsQueryResult = {
|
|
132
132
|
[key: string]: unknown;
|
|
133
133
|
deploymentObject: Record<string, unknown>;
|
|
134
134
|
general: {
|
|
@@ -137,7 +137,7 @@ type ParseDeploymentsQueryResult = {
|
|
|
137
137
|
state: string;
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
|
-
declare const parseDeploymentsQuery: (params: URLSearchParams, { pageState, location, tonight }: ParseDeploymentsExtraProps) => ParseDeploymentsQueryResult;
|
|
140
|
+
export declare const parseDeploymentsQuery: (params: URLSearchParams, { pageState, location, tonight }: ParseDeploymentsExtraProps) => ParseDeploymentsQueryResult;
|
|
141
141
|
type GenerateDeploymentsPathParams = {
|
|
142
142
|
pageState: PageState & {
|
|
143
143
|
general: {
|
|
@@ -145,8 +145,8 @@ type GenerateDeploymentsPathParams = {
|
|
|
145
145
|
};
|
|
146
146
|
};
|
|
147
147
|
};
|
|
148
|
-
declare const generateDeploymentsPath: ({ pageState }: GenerateDeploymentsPathParams) => string;
|
|
149
|
-
interface FormatReleasesParams {
|
|
148
|
+
export declare const generateDeploymentsPath: ({ pageState }: GenerateDeploymentsPathParams) => string;
|
|
149
|
+
export interface FormatReleasesParams {
|
|
150
150
|
pageState: {
|
|
151
151
|
id?: string;
|
|
152
152
|
searchTerm?: string;
|
|
@@ -155,20 +155,20 @@ interface FormatReleasesParams {
|
|
|
155
155
|
type?: string;
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
|
-
declare const formatReleases: ({ pageState: { id, searchTerm, selectedTags, tab, type } }: FormatReleasesParams) => string;
|
|
158
|
+
export declare const formatReleases: ({ pageState: { id, searchTerm, selectedTags, tab, type } }: FormatReleasesParams) => string;
|
|
159
159
|
type GenerateReleasesPathParams = {
|
|
160
160
|
pageState: {
|
|
161
161
|
selectedRelease?: string;
|
|
162
162
|
};
|
|
163
163
|
};
|
|
164
|
-
declare const generateReleasesPath: ({ pageState: { selectedRelease } }: GenerateReleasesPathParams) => string;
|
|
164
|
+
export declare const generateReleasesPath: ({ pageState: { selectedRelease } }: GenerateReleasesPathParams) => string;
|
|
165
165
|
type ParseReleasesExtraProps = {
|
|
166
166
|
location: {
|
|
167
167
|
pathname: string;
|
|
168
168
|
};
|
|
169
169
|
pageState?: PageState;
|
|
170
170
|
};
|
|
171
|
-
type ParseReleasesQueryResult = {
|
|
171
|
+
export type ParseReleasesQueryResult = {
|
|
172
172
|
searchTerm: string | null;
|
|
173
173
|
selectedJob?: string;
|
|
174
174
|
selectedManifest?: string;
|
|
@@ -177,25 +177,24 @@ type ParseReleasesQueryResult = {
|
|
|
177
177
|
tags: string[];
|
|
178
178
|
type: string | null;
|
|
179
179
|
};
|
|
180
|
-
declare const parseReleasesQuery: (queryParams: URLSearchParams, extraProps: ParseReleasesExtraProps) => ParseReleasesQueryResult;
|
|
181
|
-
declare const generateTenantPath: ({ pageState: { selectedTenant } }: {
|
|
180
|
+
export declare const parseReleasesQuery: (queryParams: URLSearchParams, extraProps: ParseReleasesExtraProps) => ParseReleasesQueryResult;
|
|
181
|
+
export declare const generateTenantPath: ({ pageState: { selectedTenant } }: {
|
|
182
182
|
pageState: {
|
|
183
183
|
selectedTenant?: string;
|
|
184
184
|
};
|
|
185
185
|
}) => string;
|
|
186
|
-
declare const generateTenantPathById: (id: string | undefined) => string;
|
|
186
|
+
export declare const generateTenantPathById: (id: string | undefined) => string;
|
|
187
187
|
type ParseTenantsExtraProps = {
|
|
188
188
|
location: {
|
|
189
189
|
pathname: string;
|
|
190
190
|
};
|
|
191
191
|
pageState: PageState;
|
|
192
192
|
};
|
|
193
|
-
type ParseTenantsQueryResult = {
|
|
193
|
+
export type ParseTenantsQueryResult = {
|
|
194
194
|
name: string | null;
|
|
195
195
|
selectedTenant: string;
|
|
196
196
|
};
|
|
197
|
-
declare const parseTenantsQuery: (queryParams: URLSearchParams, extraProps: ParseTenantsExtraProps) => ParseTenantsQueryResult;
|
|
198
|
-
declare const formatTenants: () => string;
|
|
197
|
+
export declare const parseTenantsQuery: (queryParams: URLSearchParams, extraProps: ParseTenantsExtraProps) => ParseTenantsQueryResult;
|
|
198
|
+
export declare const formatTenants: () => string;
|
|
199
199
|
//#endregion
|
|
200
|
-
export { CommonProcessorResult, FormatPageStateDefaults, FormatReleasesParams, PageState, ParseAuditlogsResult, ParseDeploymentsQueryResult, ParseDeviceQueryResult, ParseReleasesQueryResult, ParseTenantsQueryResult, commonProcessor, formatAuditlogs, formatDeployments, formatDeviceSearch, formatPageState, formatReleases, formatTenants, generateDeploymentsPath, generateDevicePath, generateReleasesPath, generateTenantPath, generateTenantPathById, parseAuditlogsQuery, parseDateParams, parseDeploymentsQuery, parseDeviceQuery, parseReleasesQuery, parseTenantsQuery };
|
|
201
200
|
//# sourceMappingURL=locationutils.d.ts.map
|
package/dist/locationutils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as AUDIT_LOGS_TYPES, Ft as UNGROUPED_GROUP, _t as DEPLOYMENT_STATES, gt as DEPLOYMENT_ROUTES, l as DEVICE_LIST_DEFAULTS, o as ATTRIBUTE_SCOPES, pt as emptyFilter, s as DEVICE_FILTERING_OPTIONS, t as ALL_DEVICES, vt as DEPLOYMENT_TYPES } from "./constants-
|
|
1
|
+
import { $ as AUDIT_LOGS_TYPES, Ft as UNGROUPED_GROUP, _t as DEPLOYMENT_STATES, gt as DEPLOYMENT_ROUTES, l as DEVICE_LIST_DEFAULTS, o as ATTRIBUTE_SCOPES, pt as emptyFilter, s as DEVICE_FILTERING_OPTIONS, t as ALL_DEVICES, vt as DEPLOYMENT_TYPES } from "./constants-D5hACLhF.js";
|
|
2
2
|
import { deepCompare, getISOStringBoundaries } from "@northern.tech/utils/helpers";
|
|
3
3
|
//#region src/locationutils.ts
|
|
4
4
|
const SEPARATOR = ":";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ut as AlertChannelKey } from "../constants-
|
|
1
|
+
import { ut as AlertChannelKey } from "../constants-C2O55iZu.cjs";
|
|
2
2
|
export { AlertChannelKey };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ut as AlertChannelKey } from "../constants-
|
|
1
|
+
import { ut as AlertChannelKey } from "../constants-BJuY-ODE.js";
|
|
2
2
|
export { AlertChannelKey };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as monitorSlice, i as initialState, n as _default, o as sliceName, r as actions, t as MonitorSliceType } from "../index-
|
|
1
|
+
import { a as monitorSlice, i as initialState, n as _default, o as sliceName, r as actions, t as MonitorSliceType } from "../index-BfmRpbiJ.cjs";
|
|
2
2
|
export { MonitorSliceType, actions, _default as default, initialState, monitorSlice, sliceName };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as monitorSlice, i as initialState, n as _default, o as sliceName, r as actions, t as MonitorSliceType } from "../index-
|
|
1
|
+
import { a as monitorSlice, i as initialState, n as _default, o as sliceName, r as actions, t as MonitorSliceType } from "../index-CRqnH_go.js";
|
|
2
2
|
export { MonitorSliceType, actions, _default as default, initialState, monitorSlice, sliceName };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as DEVICE_ISSUE_OPTIONS, l as DEVICE_LIST_DEFAULTS, p as alertChannels } from "../constants-
|
|
1
|
+
import { c as DEVICE_ISSUE_OPTIONS, l as DEVICE_LIST_DEFAULTS, p as alertChannels } from "../constants-D5hACLhF.js";
|
|
2
2
|
import { createSlice } from "@reduxjs/toolkit";
|
|
3
3
|
//#region src/monitorSlice/index.ts
|
|
4
4
|
const sliceName = "monitor";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as DEVICE_ISSUE_OPTIONS } from "../constants-
|
|
1
|
+
import { u as DEVICE_ISSUE_OPTIONS } from "../constants-C2O55iZu.cjs";
|
|
2
2
|
//#region src/monitorSlice/mocks.d.ts
|
|
3
|
-
declare const mockState: {
|
|
3
|
+
export declare const mockState: {
|
|
4
4
|
alerts: {
|
|
5
5
|
alertList: {
|
|
6
6
|
total: number;
|
|
@@ -52,5 +52,4 @@ declare const mockState: {
|
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
//#endregion
|
|
55
|
-
export { mockState };
|
|
56
55
|
//# sourceMappingURL=mocks.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as DEVICE_ISSUE_OPTIONS } from "../constants-
|
|
1
|
+
import { u as DEVICE_ISSUE_OPTIONS } from "../constants-BJuY-ODE.js";
|
|
2
2
|
//#region src/monitorSlice/mocks.d.ts
|
|
3
|
-
declare const mockState: {
|
|
3
|
+
export declare const mockState: {
|
|
4
4
|
alerts: {
|
|
5
5
|
alertList: {
|
|
6
6
|
total: number;
|
|
@@ -52,5 +52,4 @@ declare const mockState: {
|
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
//#endregion
|
|
55
|
-
export { mockState };
|
|
56
55
|
//# sourceMappingURL=mocks.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as DEVICE_ISSUE_OPTIONS, l as DEVICE_LIST_DEFAULTS } from "../constants-
|
|
1
|
+
import { c as DEVICE_ISSUE_OPTIONS, l as DEVICE_LIST_DEFAULTS } from "../constants-D5hACLhF.js";
|
|
2
2
|
import { initialState } from "./index.js";
|
|
3
3
|
//#region src/monitorSlice/mocks.ts
|
|
4
4
|
const mockState = {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { r as RootState } from "../store-
|
|
1
|
+
import { r as RootState } from "../store-Dw8Uo_Df.cjs";
|
|
2
2
|
//#region src/monitorSlice/selectors.d.ts
|
|
3
|
-
declare const getIssueCountsByType: (state: RootState) => {
|
|
3
|
+
export declare const getIssueCountsByType: (state: RootState) => {
|
|
4
4
|
[x: string]: {
|
|
5
5
|
filtered: number;
|
|
6
6
|
total: number;
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
//#endregion
|
|
10
|
-
export { getIssueCountsByType };
|
|
11
10
|
//# sourceMappingURL=selectors.d.cts.map
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { r as RootState } from "../store-
|
|
1
|
+
import { r as RootState } from "../store-DLp6ajT8.js";
|
|
2
2
|
//#region src/monitorSlice/selectors.d.ts
|
|
3
|
-
declare const getIssueCountsByType: (state: RootState) => {
|
|
3
|
+
export declare const getIssueCountsByType: (state: RootState) => {
|
|
4
4
|
[x: string]: {
|
|
5
5
|
filtered: number;
|
|
6
6
|
total: number;
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
//#endregion
|
|
10
|
-
export { getIssueCountsByType };
|
|
11
10
|
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as DeviceIssueOptionKey, ut as AlertChannelKey } from "../constants-
|
|
2
|
-
import { r as DeviceFilter, t as Device } from "../index-
|
|
3
|
-
import { i as SnackbarContent } from "../index-
|
|
4
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
1
|
+
import { m as DeviceIssueOptionKey, ut as AlertChannelKey } from "../constants-C2O55iZu.cjs";
|
|
2
|
+
import { r as DeviceFilter, t as Device } from "../index-KxRmyFLr.cjs";
|
|
3
|
+
import { i as SnackbarContent } from "../index-BKU1G9-x.cjs";
|
|
4
|
+
import { r as RootState, t as AppDispatch } from "../store-Dw8Uo_Df.cjs";
|
|
5
5
|
//#region src/monitorSlice/thunks.d.ts
|
|
6
6
|
interface GetDeviceAlertsPayload {
|
|
7
7
|
config?: {
|
|
@@ -13,7 +13,7 @@ interface GetDeviceAlertsPayload {
|
|
|
13
13
|
};
|
|
14
14
|
id: string;
|
|
15
15
|
}
|
|
16
|
-
declare const getDeviceAlerts: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
16
|
+
export declare const getDeviceAlerts: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
17
17
|
payload: {
|
|
18
18
|
alerts: ({
|
|
19
19
|
id: string;
|
|
@@ -44,7 +44,7 @@ interface GetLatestDeviceAlertsPayload {
|
|
|
44
44
|
};
|
|
45
45
|
id: string;
|
|
46
46
|
}
|
|
47
|
-
declare const getLatestDeviceAlerts: import("@reduxjs/toolkit").AsyncThunk<{
|
|
47
|
+
export declare const getLatestDeviceAlerts: import("@reduxjs/toolkit").AsyncThunk<{
|
|
48
48
|
payload: {
|
|
49
49
|
alerts: ({
|
|
50
50
|
id: string;
|
|
@@ -74,7 +74,7 @@ interface GetIssueCountsByTypePayload {
|
|
|
74
74
|
}>;
|
|
75
75
|
type: DeviceIssueOptionKey;
|
|
76
76
|
}
|
|
77
|
-
declare const getIssueCountsByType: import("@reduxjs/toolkit").AsyncThunk<{
|
|
77
|
+
export declare const getIssueCountsByType: import("@reduxjs/toolkit").AsyncThunk<{
|
|
78
78
|
payload: {
|
|
79
79
|
counts: {
|
|
80
80
|
filtered: number;
|
|
@@ -93,7 +93,7 @@ declare const getIssueCountsByType: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
93
93
|
fulfilledMeta?: unknown;
|
|
94
94
|
rejectedMeta?: unknown;
|
|
95
95
|
}>;
|
|
96
|
-
declare const getDeviceMonitorConfig: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
96
|
+
export declare const getDeviceMonitorConfig: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
97
97
|
payload: {
|
|
98
98
|
id: string;
|
|
99
99
|
} & Partial<Device>;
|
|
@@ -112,7 +112,7 @@ interface ChangeNotificationSettingPayload {
|
|
|
112
112
|
channel?: AlertChannelKey;
|
|
113
113
|
enabled: boolean;
|
|
114
114
|
}
|
|
115
|
-
declare const changeNotificationSetting: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
115
|
+
export declare const changeNotificationSetting: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
116
116
|
payload: {
|
|
117
117
|
channel: AlertChannelKey;
|
|
118
118
|
enabled: boolean;
|
|
@@ -132,5 +132,4 @@ declare const changeNotificationSetting: import("@reduxjs/toolkit").AsyncThunk<[
|
|
|
132
132
|
rejectedMeta?: unknown;
|
|
133
133
|
}>;
|
|
134
134
|
//#endregion
|
|
135
|
-
export { changeNotificationSetting, getDeviceAlerts, getDeviceMonitorConfig, getIssueCountsByType, getLatestDeviceAlerts };
|
|
136
135
|
//# sourceMappingURL=thunks.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as DeviceIssueOptionKey, ut as AlertChannelKey } from "../constants-
|
|
2
|
-
import { r as DeviceFilter, t as Device } from "../index-
|
|
3
|
-
import { i as SnackbarContent } from "../index-
|
|
4
|
-
import { r as RootState, t as AppDispatch } from "../store-
|
|
1
|
+
import { m as DeviceIssueOptionKey, ut as AlertChannelKey } from "../constants-BJuY-ODE.js";
|
|
2
|
+
import { r as DeviceFilter, t as Device } from "../index-D9GJhX1I.js";
|
|
3
|
+
import { i as SnackbarContent } from "../index-xxqlerg5.js";
|
|
4
|
+
import { r as RootState, t as AppDispatch } from "../store-DLp6ajT8.js";
|
|
5
5
|
//#region src/monitorSlice/thunks.d.ts
|
|
6
6
|
interface GetDeviceAlertsPayload {
|
|
7
7
|
config?: {
|
|
@@ -13,7 +13,7 @@ interface GetDeviceAlertsPayload {
|
|
|
13
13
|
};
|
|
14
14
|
id: string;
|
|
15
15
|
}
|
|
16
|
-
declare const getDeviceAlerts: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
16
|
+
export declare const getDeviceAlerts: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
17
17
|
payload: {
|
|
18
18
|
alerts: ({
|
|
19
19
|
id: string;
|
|
@@ -44,7 +44,7 @@ interface GetLatestDeviceAlertsPayload {
|
|
|
44
44
|
};
|
|
45
45
|
id: string;
|
|
46
46
|
}
|
|
47
|
-
declare const getLatestDeviceAlerts: import("@reduxjs/toolkit").AsyncThunk<{
|
|
47
|
+
export declare const getLatestDeviceAlerts: import("@reduxjs/toolkit").AsyncThunk<{
|
|
48
48
|
payload: {
|
|
49
49
|
alerts: ({
|
|
50
50
|
id: string;
|
|
@@ -74,7 +74,7 @@ interface GetIssueCountsByTypePayload {
|
|
|
74
74
|
}>;
|
|
75
75
|
type: DeviceIssueOptionKey;
|
|
76
76
|
}
|
|
77
|
-
declare const getIssueCountsByType: import("@reduxjs/toolkit").AsyncThunk<{
|
|
77
|
+
export declare const getIssueCountsByType: import("@reduxjs/toolkit").AsyncThunk<{
|
|
78
78
|
payload: {
|
|
79
79
|
counts: {
|
|
80
80
|
filtered: number;
|
|
@@ -93,7 +93,7 @@ declare const getIssueCountsByType: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
93
93
|
fulfilledMeta?: unknown;
|
|
94
94
|
rejectedMeta?: unknown;
|
|
95
95
|
}>;
|
|
96
|
-
declare const getDeviceMonitorConfig: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
96
|
+
export declare const getDeviceMonitorConfig: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
97
97
|
payload: {
|
|
98
98
|
id: string;
|
|
99
99
|
} & Partial<Device>;
|
|
@@ -112,7 +112,7 @@ interface ChangeNotificationSettingPayload {
|
|
|
112
112
|
channel?: AlertChannelKey;
|
|
113
113
|
enabled: boolean;
|
|
114
114
|
}
|
|
115
|
-
declare const changeNotificationSetting: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
115
|
+
export declare const changeNotificationSetting: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
116
116
|
payload: {
|
|
117
117
|
channel: AlertChannelKey;
|
|
118
118
|
enabled: boolean;
|
|
@@ -132,5 +132,4 @@ declare const changeNotificationSetting: import("@reduxjs/toolkit").AsyncThunk<[
|
|
|
132
132
|
rejectedMeta?: unknown;
|
|
133
133
|
}>;
|
|
134
134
|
//#endregion
|
|
135
|
-
export { changeNotificationSetting, getDeviceAlerts, getDeviceMonitorConfig, getIssueCountsByType, getLatestDeviceAlerts };
|
|
136
135
|
//# sourceMappingURL=thunks.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as headerNames, N as monitorApiUrlv1, O as inventoryApiUrlV2, Pt as TIMEOUTS, l as DEVICE_LIST_DEFAULTS, p as alertChannels } from "../constants-
|
|
1
|
+
import { E as headerNames, N as monitorApiUrlv1, O as inventoryApiUrlV2, Pt as TIMEOUTS, l as DEVICE_LIST_DEFAULTS, p as alertChannels } from "../constants-D5hACLhF.js";
|
|
2
2
|
import { actions, sliceName } from "./index.js";
|
|
3
3
|
import actions_default from "../actions.js";
|
|
4
4
|
import { getDeviceFilters } from "../devicesSlice/selectors.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as OnboardingApproach } from "../index-CoObjWL4.cjs";
|
|
2
2
|
//#region src/onboardingSlice/mocks.d.ts
|
|
3
|
-
declare const mockState: {
|
|
3
|
+
export declare const mockState: {
|
|
4
4
|
progress: undefined;
|
|
5
5
|
complete: boolean;
|
|
6
6
|
demoArtifactPort: number;
|
|
@@ -13,5 +13,4 @@ declare const mockState: {
|
|
|
13
13
|
showTips: boolean | null;
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|
|
16
|
-
export { mockState };
|
|
17
16
|
//# sourceMappingURL=mocks.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as OnboardingApproach } from "../index-CoObjWL4.js";
|
|
2
2
|
//#region src/onboardingSlice/mocks.d.ts
|
|
3
|
-
declare const mockState: {
|
|
3
|
+
export declare const mockState: {
|
|
4
4
|
progress: undefined;
|
|
5
5
|
complete: boolean;
|
|
6
6
|
demoArtifactPort: number;
|
|
@@ -13,5 +13,4 @@ declare const mockState: {
|
|
|
13
13
|
showTips: boolean | null;
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|
|
16
|
-
export { mockState };
|
|
17
16
|
//# sourceMappingURL=mocks.d.ts.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { n as OnboardingSliceType } from "../index-CoObjWL4.cjs";
|
|
2
|
-
import { r as RootState } from "../store-
|
|
2
|
+
import { r as RootState } from "../store-Dw8Uo_Df.cjs";
|
|
3
3
|
//#region src/onboardingSlice/selectors.d.ts
|
|
4
|
-
declare const getOnboarding: (state: RootState) => OnboardingSliceType;
|
|
4
|
+
export declare const getOnboarding: (state: RootState) => OnboardingSliceType;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { getOnboarding };
|
|
7
6
|
//# sourceMappingURL=selectors.d.cts.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { n as OnboardingSliceType } from "../index-CoObjWL4.js";
|
|
2
|
-
import { r as RootState } from "../store-
|
|
2
|
+
import { r as RootState } from "../store-DLp6ajT8.js";
|
|
3
3
|
//#region src/onboardingSlice/selectors.d.ts
|
|
4
|
-
declare const getOnboarding: (state: RootState) => OnboardingSliceType;
|
|
4
|
+
export declare const getOnboarding: (state: RootState) => OnboardingSliceType;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { getOnboarding };
|
|
7
6
|
//# sourceMappingURL=selectors.d.ts.map
|