@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
|
@@ -4,7 +4,7 @@ import { i as SnackbarContent, n as SearchState } from "../index-xxqlerg5.js";
|
|
|
4
4
|
import { r as RootState, t as AppDispatch } from "../store-DLp6ajT8.js";
|
|
5
5
|
import { ConnectionState, Device, DeviceConfiguration, DeviceInventoryResponse, DeviceWithImage, Filter, Integration, ManagementApiConfiguration, NewConfigurationDeployment, PreAuthSet, SearchIdentityParams, SortCriteria, Status } from "@northern.tech/types/MenderTypes";
|
|
6
6
|
//#region src/devicesSlice/thunks.d.ts
|
|
7
|
-
declare const getGroups: import("@reduxjs/toolkit").AsyncThunk<{
|
|
7
|
+
export declare const getGroups: import("@reduxjs/toolkit").AsyncThunk<{
|
|
8
8
|
payload: {
|
|
9
9
|
group: DeviceGroup;
|
|
10
10
|
groupName: string;
|
|
@@ -20,7 +20,7 @@ declare const getGroups: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
20
20
|
fulfilledMeta?: unknown;
|
|
21
21
|
rejectedMeta?: unknown;
|
|
22
22
|
}>;
|
|
23
|
-
declare const addDevicesToGroup: import("@reduxjs/toolkit").AsyncThunk<{
|
|
23
|
+
export declare const addDevicesToGroup: import("@reduxjs/toolkit").AsyncThunk<{
|
|
24
24
|
payload: {
|
|
25
25
|
deviceIds: string[];
|
|
26
26
|
group: string;
|
|
@@ -40,7 +40,7 @@ declare const addDevicesToGroup: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
40
40
|
fulfilledMeta?: unknown;
|
|
41
41
|
rejectedMeta?: unknown;
|
|
42
42
|
}>;
|
|
43
|
-
declare const removeDevicesFromGroup: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
43
|
+
export declare const removeDevicesFromGroup: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
44
44
|
payload: {
|
|
45
45
|
deviceIds: string[];
|
|
46
46
|
group: string;
|
|
@@ -62,7 +62,7 @@ declare const removeDevicesFromGroup: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
62
62
|
fulfilledMeta?: unknown;
|
|
63
63
|
rejectedMeta?: unknown;
|
|
64
64
|
}>;
|
|
65
|
-
declare const addStaticGroup: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
65
|
+
export declare const addStaticGroup: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
66
66
|
devices: Device$1[];
|
|
67
67
|
group: string;
|
|
68
68
|
}, {
|
|
@@ -75,7 +75,7 @@ declare const addStaticGroup: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
|
75
75
|
fulfilledMeta?: unknown;
|
|
76
76
|
rejectedMeta?: unknown;
|
|
77
77
|
}>;
|
|
78
|
-
declare const removeReportsByGroupName: import("@reduxjs/toolkit").AsyncThunk<void | undefined, string, {
|
|
78
|
+
export declare const removeReportsByGroupName: import("@reduxjs/toolkit").AsyncThunk<void | undefined, string, {
|
|
79
79
|
dispatch: AppDispatch;
|
|
80
80
|
state: RootState;
|
|
81
81
|
extra?: unknown;
|
|
@@ -85,7 +85,7 @@ declare const removeReportsByGroupName: import("@reduxjs/toolkit").AsyncThunk<vo
|
|
|
85
85
|
fulfilledMeta?: unknown;
|
|
86
86
|
rejectedMeta?: unknown;
|
|
87
87
|
}>;
|
|
88
|
-
declare const removeStaticGroup: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
88
|
+
export declare const removeStaticGroup: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
89
89
|
payload: string;
|
|
90
90
|
type: "devices/removeGroup";
|
|
91
91
|
}, import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
@@ -135,7 +135,7 @@ declare const removeStaticGroup: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
135
135
|
fulfilledMeta?: unknown;
|
|
136
136
|
rejectedMeta?: unknown;
|
|
137
137
|
}>;
|
|
138
|
-
declare const getDynamicGroup: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<Filter, any, {}>, void, {
|
|
138
|
+
export declare const getDynamicGroup: import("@reduxjs/toolkit").AsyncThunk<import("axios").AxiosResponse<Filter, any, {}>, void, {
|
|
139
139
|
dispatch: AppDispatch;
|
|
140
140
|
state: RootState;
|
|
141
141
|
extra?: unknown;
|
|
@@ -145,7 +145,7 @@ declare const getDynamicGroup: import("@reduxjs/toolkit").AsyncThunk<import("axi
|
|
|
145
145
|
fulfilledMeta?: unknown;
|
|
146
146
|
rejectedMeta?: unknown;
|
|
147
147
|
}>;
|
|
148
|
-
declare const getDynamicGroups: import("@reduxjs/toolkit").AsyncThunk<void | {
|
|
148
|
+
export declare const getDynamicGroups: import("@reduxjs/toolkit").AsyncThunk<void | {
|
|
149
149
|
payload: Record<string, DeviceGroup>;
|
|
150
150
|
type: "devices/receivedGroups";
|
|
151
151
|
}, void, {
|
|
@@ -158,7 +158,7 @@ declare const getDynamicGroups: import("@reduxjs/toolkit").AsyncThunk<void | {
|
|
|
158
158
|
fulfilledMeta?: unknown;
|
|
159
159
|
rejectedMeta?: unknown;
|
|
160
160
|
}>;
|
|
161
|
-
declare const addDynamicGroup: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
161
|
+
export declare const addDynamicGroup: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
162
162
|
filterPredicates: DeviceFilter[];
|
|
163
163
|
groupName: string;
|
|
164
164
|
}, {
|
|
@@ -171,7 +171,7 @@ declare const addDynamicGroup: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
|
171
171
|
fulfilledMeta?: unknown;
|
|
172
172
|
rejectedMeta?: unknown;
|
|
173
173
|
}>;
|
|
174
|
-
declare const updateDynamicGroup: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
174
|
+
export declare const updateDynamicGroup: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
175
175
|
filterPredicates: DeviceFilter[];
|
|
176
176
|
groupName: string;
|
|
177
177
|
}, {
|
|
@@ -184,7 +184,7 @@ declare const updateDynamicGroup: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
|
184
184
|
fulfilledMeta?: unknown;
|
|
185
185
|
rejectedMeta?: unknown;
|
|
186
186
|
}>;
|
|
187
|
-
declare const removeDynamicGroup: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
187
|
+
export declare const removeDynamicGroup: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
188
188
|
payload: string;
|
|
189
189
|
type: "devices/removeGroup";
|
|
190
190
|
}, import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
@@ -214,7 +214,7 @@ declare const removeDynamicGroup: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
214
214
|
fulfilledMeta?: unknown;
|
|
215
215
|
rejectedMeta?: unknown;
|
|
216
216
|
}>;
|
|
217
|
-
declare const selectGroup: import("@reduxjs/toolkit").AsyncThunk<unknown, {
|
|
217
|
+
export declare const selectGroup: import("@reduxjs/toolkit").AsyncThunk<unknown, {
|
|
218
218
|
filters?: DeviceFilter[];
|
|
219
219
|
group: string;
|
|
220
220
|
}, {
|
|
@@ -234,7 +234,7 @@ type getGroupDevicesPayload = {
|
|
|
234
234
|
perPage?: number;
|
|
235
235
|
shouldIncludeAllStates: boolean;
|
|
236
236
|
};
|
|
237
|
-
declare const getGroupDevices: import("@reduxjs/toolkit").AsyncThunk<{
|
|
237
|
+
export declare const getGroupDevices: import("@reduxjs/toolkit").AsyncThunk<{
|
|
238
238
|
payload: {
|
|
239
239
|
group: DeviceGroup;
|
|
240
240
|
groupName: string;
|
|
@@ -250,7 +250,7 @@ declare const getGroupDevices: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
250
250
|
fulfilledMeta?: unknown;
|
|
251
251
|
rejectedMeta?: unknown;
|
|
252
252
|
}>;
|
|
253
|
-
declare const getAllGroupDevices: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
253
|
+
export declare const getAllGroupDevices: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
254
254
|
attribute: string;
|
|
255
255
|
group: string;
|
|
256
256
|
}, {
|
|
@@ -263,7 +263,7 @@ declare const getAllGroupDevices: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
|
263
263
|
fulfilledMeta?: unknown;
|
|
264
264
|
rejectedMeta?: unknown;
|
|
265
265
|
}>;
|
|
266
|
-
declare const getAllDynamicGroupDevices: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
266
|
+
export declare const getAllDynamicGroupDevices: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
267
267
|
attribute: string;
|
|
268
268
|
group: string;
|
|
269
269
|
}, {
|
|
@@ -276,7 +276,7 @@ declare const getAllDynamicGroupDevices: import("@reduxjs/toolkit").AsyncThunk<a
|
|
|
276
276
|
fulfilledMeta?: unknown;
|
|
277
277
|
rejectedMeta?: unknown;
|
|
278
278
|
}>;
|
|
279
|
-
declare const getDeviceById: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
279
|
+
export declare const getDeviceById: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
280
280
|
dispatch: AppDispatch;
|
|
281
281
|
state: RootState;
|
|
282
282
|
extra?: unknown;
|
|
@@ -286,7 +286,7 @@ declare const getDeviceById: import("@reduxjs/toolkit").AsyncThunk<any, string,
|
|
|
286
286
|
fulfilledMeta?: unknown;
|
|
287
287
|
rejectedMeta?: unknown;
|
|
288
288
|
}>;
|
|
289
|
-
declare const getDeviceInfo: import("@reduxjs/toolkit").AsyncThunk<unknown[], string, {
|
|
289
|
+
export declare const getDeviceInfo: import("@reduxjs/toolkit").AsyncThunk<unknown[], string, {
|
|
290
290
|
dispatch: AppDispatch;
|
|
291
291
|
state: RootState;
|
|
292
292
|
extra?: unknown;
|
|
@@ -296,7 +296,7 @@ declare const getDeviceInfo: import("@reduxjs/toolkit").AsyncThunk<unknown[], st
|
|
|
296
296
|
fulfilledMeta?: unknown;
|
|
297
297
|
rejectedMeta?: unknown;
|
|
298
298
|
}>;
|
|
299
|
-
declare const getAllDeviceCounts: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
299
|
+
export declare const getAllDeviceCounts: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
300
300
|
dispatch: AppDispatch;
|
|
301
301
|
state: RootState;
|
|
302
302
|
extra?: unknown;
|
|
@@ -306,7 +306,7 @@ declare const getAllDeviceCounts: import("@reduxjs/toolkit").AsyncThunk<void, vo
|
|
|
306
306
|
fulfilledMeta?: unknown;
|
|
307
307
|
rejectedMeta?: unknown;
|
|
308
308
|
}>;
|
|
309
|
-
declare const getDeviceLimits: import("@reduxjs/toolkit").AsyncThunk<{
|
|
309
|
+
export declare const getDeviceLimits: import("@reduxjs/toolkit").AsyncThunk<{
|
|
310
310
|
payload: import("@northern.tech/types/types.gen").DeviceTierLimits;
|
|
311
311
|
type: "devices/setDeviceLimits";
|
|
312
312
|
}, void, {
|
|
@@ -319,7 +319,7 @@ declare const getDeviceLimits: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
319
319
|
fulfilledMeta?: unknown;
|
|
320
320
|
rejectedMeta?: unknown;
|
|
321
321
|
}>;
|
|
322
|
-
declare const getTestDeviceCount: import("@reduxjs/toolkit").AsyncThunk<{
|
|
322
|
+
export declare const getTestDeviceCount: import("@reduxjs/toolkit").AsyncThunk<{
|
|
323
323
|
payload: number;
|
|
324
324
|
type: "devices/setTestDeviceCount";
|
|
325
325
|
}, void, {
|
|
@@ -337,7 +337,7 @@ type SetDeviceListStatePayload = {
|
|
|
337
337
|
forceRefresh?: boolean;
|
|
338
338
|
shouldSelectDevices?: boolean;
|
|
339
339
|
} & Partial<DeviceListState>;
|
|
340
|
-
declare const setDeviceListState: import("@reduxjs/toolkit").AsyncThunk<unknown[], SetDeviceListStatePayload, {
|
|
340
|
+
export declare const setDeviceListState: import("@reduxjs/toolkit").AsyncThunk<unknown[], SetDeviceListStatePayload, {
|
|
341
341
|
dispatch: AppDispatch;
|
|
342
342
|
state: RootState;
|
|
343
343
|
extra?: unknown;
|
|
@@ -358,7 +358,7 @@ type GetDevicesByStatusPayload = {
|
|
|
358
358
|
sortOptions: SortCriteria[];
|
|
359
359
|
status: DeviceAuthState;
|
|
360
360
|
};
|
|
361
|
-
declare const getDevicesByStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
361
|
+
export declare const getDevicesByStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
362
362
|
deviceAccu: {
|
|
363
363
|
ids: string[];
|
|
364
364
|
devicesById: {};
|
|
@@ -374,7 +374,7 @@ declare const getDevicesByStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
374
374
|
fulfilledMeta?: unknown;
|
|
375
375
|
rejectedMeta?: unknown;
|
|
376
376
|
}>;
|
|
377
|
-
declare const getAllDevicesByStatus: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
377
|
+
export declare const getAllDevicesByStatus: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
378
378
|
attribute: string;
|
|
379
379
|
status: DeviceAuthState;
|
|
380
380
|
}, {
|
|
@@ -390,7 +390,7 @@ declare const getAllDevicesByStatus: import("@reduxjs/toolkit").AsyncThunk<any,
|
|
|
390
390
|
type SearchDevicesPayload = SearchState & {
|
|
391
391
|
sortOptions: SortCriteria[];
|
|
392
392
|
};
|
|
393
|
-
declare const searchDevices: import("@reduxjs/toolkit").AsyncThunk<{
|
|
393
|
+
export declare const searchDevices: import("@reduxjs/toolkit").AsyncThunk<{
|
|
394
394
|
deviceIds: string[];
|
|
395
395
|
searchTotal: number;
|
|
396
396
|
}, Partial<SearchDevicesPayload>, {
|
|
@@ -403,7 +403,7 @@ declare const searchDevices: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
403
403
|
fulfilledMeta?: unknown;
|
|
404
404
|
rejectedMeta?: unknown;
|
|
405
405
|
}>;
|
|
406
|
-
declare const searchIdentities: import("@reduxjs/toolkit").AsyncThunk<{
|
|
406
|
+
export declare const searchIdentities: import("@reduxjs/toolkit").AsyncThunk<{
|
|
407
407
|
devices: unknown[];
|
|
408
408
|
total: number;
|
|
409
409
|
}, SearchIdentityParams, {
|
|
@@ -416,7 +416,7 @@ declare const searchIdentities: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
416
416
|
fulfilledMeta?: unknown;
|
|
417
417
|
rejectedMeta?: unknown;
|
|
418
418
|
}>;
|
|
419
|
-
declare const getDeviceAttributes: import("@reduxjs/toolkit").AsyncThunk<{
|
|
419
|
+
export declare const getDeviceAttributes: import("@reduxjs/toolkit").AsyncThunk<{
|
|
420
420
|
payload: {
|
|
421
421
|
identityAttributes: string[];
|
|
422
422
|
inventoryAttributes: string[];
|
|
@@ -434,7 +434,7 @@ declare const getDeviceAttributes: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
434
434
|
fulfilledMeta?: unknown;
|
|
435
435
|
rejectedMeta?: unknown;
|
|
436
436
|
}>;
|
|
437
|
-
declare const updateReportData: import("@reduxjs/toolkit").AsyncThunk<{
|
|
437
|
+
export declare const updateReportData: import("@reduxjs/toolkit").AsyncThunk<{
|
|
438
438
|
payload: {
|
|
439
439
|
items: {
|
|
440
440
|
count: number;
|
|
@@ -454,7 +454,7 @@ declare const updateReportData: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
454
454
|
fulfilledMeta?: unknown;
|
|
455
455
|
rejectedMeta?: unknown;
|
|
456
456
|
}>;
|
|
457
|
-
declare const getReportDataWithoutBackendSupport: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<{
|
|
457
|
+
export declare const getReportDataWithoutBackendSupport: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<{
|
|
458
458
|
payload: {
|
|
459
459
|
items: {
|
|
460
460
|
count: number;
|
|
@@ -488,7 +488,7 @@ declare const getReportDataWithoutBackendSupport: import("@reduxjs/toolkit").Asy
|
|
|
488
488
|
fulfilledMeta?: unknown;
|
|
489
489
|
rejectedMeta?: unknown;
|
|
490
490
|
}>;
|
|
491
|
-
declare const getDeviceConnect: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
491
|
+
export declare const getDeviceConnect: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
492
492
|
payload: {
|
|
493
493
|
id: string;
|
|
494
494
|
} & Partial<Device$1>;
|
|
@@ -503,7 +503,7 @@ declare const getDeviceConnect: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
503
503
|
fulfilledMeta?: unknown;
|
|
504
504
|
rejectedMeta?: unknown;
|
|
505
505
|
}>;
|
|
506
|
-
declare const triggerDeviceUpdate: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
506
|
+
export declare const triggerDeviceUpdate: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
507
507
|
arg: string;
|
|
508
508
|
requestId: string;
|
|
509
509
|
requestStatus: "rejected";
|
|
@@ -537,7 +537,7 @@ type GetSessionDetailsPayload = {
|
|
|
537
537
|
startDate: string;
|
|
538
538
|
userId: string;
|
|
539
539
|
};
|
|
540
|
-
declare const getSessionDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
540
|
+
export declare const getSessionDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
541
541
|
start: any;
|
|
542
542
|
end: any;
|
|
543
543
|
}, GetSessionDetailsPayload, {
|
|
@@ -550,7 +550,7 @@ declare const getSessionDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
550
550
|
fulfilledMeta?: unknown;
|
|
551
551
|
rejectedMeta?: unknown;
|
|
552
552
|
}>;
|
|
553
|
-
declare const getDeviceFileDownloadLink: import("@reduxjs/toolkit").AsyncThunk<string, {
|
|
553
|
+
export declare const getDeviceFileDownloadLink: import("@reduxjs/toolkit").AsyncThunk<string, {
|
|
554
554
|
deviceId: string;
|
|
555
555
|
path: string;
|
|
556
556
|
}, {
|
|
@@ -563,7 +563,7 @@ declare const getDeviceFileDownloadLink: import("@reduxjs/toolkit").AsyncThunk<s
|
|
|
563
563
|
fulfilledMeta?: unknown;
|
|
564
564
|
rejectedMeta?: unknown;
|
|
565
565
|
}>;
|
|
566
|
-
declare const deviceFileUpload: import("@reduxjs/toolkit").AsyncThunk<{
|
|
566
|
+
export declare const deviceFileUpload: import("@reduxjs/toolkit").AsyncThunk<{
|
|
567
567
|
payload: string | SnackbarContent;
|
|
568
568
|
type: "app/setSnackbar";
|
|
569
569
|
}, {
|
|
@@ -580,7 +580,7 @@ declare const deviceFileUpload: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
580
580
|
fulfilledMeta?: unknown;
|
|
581
581
|
rejectedMeta?: unknown;
|
|
582
582
|
}>;
|
|
583
|
-
declare const getDeviceAuth: import("@reduxjs/toolkit").AsyncThunk<ReceivedDevice, string, {
|
|
583
|
+
export declare const getDeviceAuth: import("@reduxjs/toolkit").AsyncThunk<ReceivedDevice, string, {
|
|
584
584
|
dispatch: AppDispatch;
|
|
585
585
|
state: RootState;
|
|
586
586
|
extra?: unknown;
|
|
@@ -590,7 +590,7 @@ declare const getDeviceAuth: import("@reduxjs/toolkit").AsyncThunk<ReceivedDevic
|
|
|
590
590
|
fulfilledMeta?: unknown;
|
|
591
591
|
rejectedMeta?: unknown;
|
|
592
592
|
}>;
|
|
593
|
-
declare const getDevicesWithAuth: import("@reduxjs/toolkit").AsyncThunk<ReceivedDevice[], {
|
|
593
|
+
export declare const getDevicesWithAuth: import("@reduxjs/toolkit").AsyncThunk<ReceivedDevice[], {
|
|
594
594
|
id: string;
|
|
595
595
|
}[], {
|
|
596
596
|
dispatch: AppDispatch;
|
|
@@ -602,7 +602,7 @@ declare const getDevicesWithAuth: import("@reduxjs/toolkit").AsyncThunk<Received
|
|
|
602
602
|
fulfilledMeta?: unknown;
|
|
603
603
|
rejectedMeta?: unknown;
|
|
604
604
|
}>;
|
|
605
|
-
declare const updateDeviceAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
605
|
+
export declare const updateDeviceAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
606
606
|
payload: {
|
|
607
607
|
authId?: string;
|
|
608
608
|
deviceId: string;
|
|
@@ -622,7 +622,7 @@ declare const updateDeviceAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
622
622
|
fulfilledMeta?: unknown;
|
|
623
623
|
rejectedMeta?: unknown;
|
|
624
624
|
}>;
|
|
625
|
-
declare const updateDevicesAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
625
|
+
export declare const updateDevicesAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
626
626
|
payload: string | SnackbarContent;
|
|
627
627
|
type: "app/setSnackbar";
|
|
628
628
|
}, {
|
|
@@ -638,7 +638,7 @@ declare const updateDevicesAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
638
638
|
fulfilledMeta?: unknown;
|
|
639
639
|
rejectedMeta?: unknown;
|
|
640
640
|
}>;
|
|
641
|
-
declare const deleteAuthset: import("@reduxjs/toolkit").AsyncThunk<{
|
|
641
|
+
export declare const deleteAuthset: import("@reduxjs/toolkit").AsyncThunk<{
|
|
642
642
|
payload: {
|
|
643
643
|
authId?: string;
|
|
644
644
|
deviceId: string;
|
|
@@ -657,7 +657,7 @@ declare const deleteAuthset: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
657
657
|
fulfilledMeta?: unknown;
|
|
658
658
|
rejectedMeta?: unknown;
|
|
659
659
|
}>;
|
|
660
|
-
declare const preauthDevice: import("@reduxjs/toolkit").AsyncThunk<{
|
|
660
|
+
export declare const preauthDevice: import("@reduxjs/toolkit").AsyncThunk<{
|
|
661
661
|
payload: string | SnackbarContent;
|
|
662
662
|
type: "app/setSnackbar";
|
|
663
663
|
}, PreAuthSet, {
|
|
@@ -670,7 +670,7 @@ declare const preauthDevice: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
670
670
|
fulfilledMeta?: unknown;
|
|
671
671
|
rejectedMeta?: unknown;
|
|
672
672
|
}>;
|
|
673
|
-
declare const decommissionDevice: import("@reduxjs/toolkit").AsyncThunk<{
|
|
673
|
+
export declare const decommissionDevice: import("@reduxjs/toolkit").AsyncThunk<{
|
|
674
674
|
payload: {
|
|
675
675
|
authId?: string;
|
|
676
676
|
deviceId: string;
|
|
@@ -689,7 +689,7 @@ declare const decommissionDevice: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
689
689
|
fulfilledMeta?: unknown;
|
|
690
690
|
rejectedMeta?: unknown;
|
|
691
691
|
}>;
|
|
692
|
-
declare const getDeviceConfig: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
692
|
+
export declare const getDeviceConfig: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
693
693
|
payload: {
|
|
694
694
|
id: string;
|
|
695
695
|
} & Partial<Device$1>;
|
|
@@ -704,7 +704,7 @@ declare const getDeviceConfig: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
704
704
|
fulfilledMeta?: unknown;
|
|
705
705
|
rejectedMeta?: unknown;
|
|
706
706
|
}>;
|
|
707
|
-
declare const setDeviceConfig: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
707
|
+
export declare const setDeviceConfig: import("@reduxjs/toolkit").AsyncThunk<import("@reduxjs/toolkit").PayloadAction<unknown, string, {
|
|
708
708
|
arg: string;
|
|
709
709
|
requestId: string;
|
|
710
710
|
requestStatus: "rejected";
|
|
@@ -742,7 +742,7 @@ type ApplyDeviceConfigPayload = {
|
|
|
742
742
|
deviceId: string;
|
|
743
743
|
isDefault: boolean;
|
|
744
744
|
};
|
|
745
|
-
declare const applyDeviceConfig: import("@reduxjs/toolkit").AsyncThunk<unknown[], ApplyDeviceConfigPayload, {
|
|
745
|
+
export declare const applyDeviceConfig: import("@reduxjs/toolkit").AsyncThunk<unknown[], ApplyDeviceConfigPayload, {
|
|
746
746
|
dispatch: AppDispatch;
|
|
747
747
|
state: RootState;
|
|
748
748
|
extra?: unknown;
|
|
@@ -752,7 +752,7 @@ declare const applyDeviceConfig: import("@reduxjs/toolkit").AsyncThunk<unknown[]
|
|
|
752
752
|
fulfilledMeta?: unknown;
|
|
753
753
|
rejectedMeta?: unknown;
|
|
754
754
|
}>;
|
|
755
|
-
declare const setDeviceTags: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
755
|
+
export declare const setDeviceTags: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
756
756
|
payload: {
|
|
757
757
|
id: string;
|
|
758
758
|
} & Partial<Device$1>;
|
|
@@ -773,7 +773,7 @@ declare const setDeviceTags: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
|
773
773
|
fulfilledMeta?: unknown;
|
|
774
774
|
rejectedMeta?: unknown;
|
|
775
775
|
}>;
|
|
776
|
-
declare const setTestDeviceStatus: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
776
|
+
export declare const setTestDeviceStatus: import("@reduxjs/toolkit").AsyncThunk<[{
|
|
777
777
|
payload: string | SnackbarContent;
|
|
778
778
|
type: "app/setSnackbar";
|
|
779
779
|
}, {
|
|
@@ -829,7 +829,7 @@ type DeviceTwinPayload = {
|
|
|
829
829
|
deviceId: string;
|
|
830
830
|
integration: Integration;
|
|
831
831
|
};
|
|
832
|
-
declare const getDeviceTwin: import("@reduxjs/toolkit").AsyncThunk<void, DeviceTwinPayload, {
|
|
832
|
+
export declare const getDeviceTwin: import("@reduxjs/toolkit").AsyncThunk<void, DeviceTwinPayload, {
|
|
833
833
|
dispatch: AppDispatch;
|
|
834
834
|
state: RootState;
|
|
835
835
|
extra?: unknown;
|
|
@@ -844,7 +844,7 @@ type SetDeviceTwinPayload = {
|
|
|
844
844
|
integration: Integration;
|
|
845
845
|
settings: any;
|
|
846
846
|
};
|
|
847
|
-
declare const setDeviceTwin: import("@reduxjs/toolkit").AsyncThunk<{
|
|
847
|
+
export declare const setDeviceTwin: import("@reduxjs/toolkit").AsyncThunk<{
|
|
848
848
|
payload: {
|
|
849
849
|
id: string;
|
|
850
850
|
} & Partial<Device$1>;
|
|
@@ -859,7 +859,7 @@ declare const setDeviceTwin: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
859
859
|
fulfilledMeta?: unknown;
|
|
860
860
|
rejectedMeta?: unknown;
|
|
861
861
|
}>;
|
|
862
|
-
declare const getDeviceComponents: import("@reduxjs/toolkit").AsyncThunk<{
|
|
862
|
+
export declare const getDeviceComponents: import("@reduxjs/toolkit").AsyncThunk<{
|
|
863
863
|
payload: {
|
|
864
864
|
id: string;
|
|
865
865
|
} & Partial<Device$1>;
|
|
@@ -875,5 +875,4 @@ declare const getDeviceComponents: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
875
875
|
rejectedMeta?: unknown;
|
|
876
876
|
}>;
|
|
877
877
|
//#endregion
|
|
878
|
-
export { addDevicesToGroup, addDynamicGroup, addStaticGroup, applyDeviceConfig, decommissionDevice, deleteAuthset, deviceFileUpload, getAllDeviceCounts, getAllDevicesByStatus, getAllDynamicGroupDevices, getAllGroupDevices, getDeviceAttributes, getDeviceAuth, getDeviceById, getDeviceComponents, getDeviceConfig, getDeviceConnect, getDeviceFileDownloadLink, getDeviceInfo, getDeviceLimits, getDeviceTwin, getDevicesByStatus, getDevicesWithAuth, getDynamicGroup, getDynamicGroups, getGroupDevices, getGroups, getReportDataWithoutBackendSupport, getSessionDetails, getTestDeviceCount, preauthDevice, removeDevicesFromGroup, removeDynamicGroup, removeReportsByGroupName, removeStaticGroup, searchDevices, searchIdentities, selectGroup, setDeviceConfig, setDeviceListState, setDeviceTags, setDeviceTwin, setTestDeviceStatus, triggerDeviceUpdate, updateDeviceAuth, updateDevicesAuth, updateDynamicGroup, updateReportData };
|
|
879
878
|
//# sourceMappingURL=thunks.d.ts.map
|
package/dist/liststatehook.d.cts
CHANGED
|
@@ -14,7 +14,7 @@ type Processors = {
|
|
|
14
14
|
releases: ProcessorConfig<typeof formatReleases, typeof generateReleasesPath, typeof parseReleasesQuery>;
|
|
15
15
|
tenants: ProcessorConfig<typeof formatTenants, typeof generateTenantPath, typeof parseTenantsQuery>;
|
|
16
16
|
};
|
|
17
|
-
declare const defaultProcessors: Processors;
|
|
17
|
+
export declare const defaultProcessors: Processors;
|
|
18
18
|
type ProcessorKey = keyof Omit<Processors, 'common'>;
|
|
19
19
|
type LocationExtras = Record<string, unknown>;
|
|
20
20
|
type LocationParamsValue = PageState & CommonProcessorResult['sort'] & Record<string, unknown>;
|
|
@@ -25,7 +25,6 @@ type SetValueParams = {
|
|
|
25
25
|
type UseLocationParamsReturn = [value: LocationParamsValue, setValue: (newValue: SetValueParams, options?: NavigateOptions) => void, options: {
|
|
26
26
|
shouldInitializeFromUrl: boolean;
|
|
27
27
|
}];
|
|
28
|
-
declare const useLocationParams: (key: ProcessorKey, extras: LocationExtras, processors?: Processors) => UseLocationParamsReturn;
|
|
28
|
+
export declare const useLocationParams: (key: ProcessorKey, extras: LocationExtras, processors?: Processors) => UseLocationParamsReturn;
|
|
29
29
|
//#endregion
|
|
30
|
-
export { defaultProcessors, useLocationParams };
|
|
31
30
|
//# sourceMappingURL=liststatehook.d.cts.map
|
package/dist/liststatehook.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ type Processors = {
|
|
|
14
14
|
releases: ProcessorConfig<typeof formatReleases, typeof generateReleasesPath, typeof parseReleasesQuery>;
|
|
15
15
|
tenants: ProcessorConfig<typeof formatTenants, typeof generateTenantPath, typeof parseTenantsQuery>;
|
|
16
16
|
};
|
|
17
|
-
declare const defaultProcessors: Processors;
|
|
17
|
+
export declare const defaultProcessors: Processors;
|
|
18
18
|
type ProcessorKey = keyof Omit<Processors, 'common'>;
|
|
19
19
|
type LocationExtras = Record<string, unknown>;
|
|
20
20
|
type LocationParamsValue = PageState & CommonProcessorResult['sort'] & Record<string, unknown>;
|
|
@@ -25,7 +25,6 @@ type SetValueParams = {
|
|
|
25
25
|
type UseLocationParamsReturn = [value: LocationParamsValue, setValue: (newValue: SetValueParams, options?: NavigateOptions) => void, options: {
|
|
26
26
|
shouldInitializeFromUrl: boolean;
|
|
27
27
|
}];
|
|
28
|
-
declare const useLocationParams: (key: ProcessorKey, extras: LocationExtras, processors?: Processors) => UseLocationParamsReturn;
|
|
28
|
+
export declare const useLocationParams: (key: ProcessorKey, extras: LocationExtras, processors?: Processors) => UseLocationParamsReturn;
|
|
29
29
|
//#endregion
|
|
30
|
-
export { defaultProcessors, useLocationParams };
|
|
31
30
|
//# sourceMappingURL=liststatehook.d.ts.map
|
package/dist/locationutils.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import { T as SortOptions, g as PaginationOptions } from "./constants-C2O55iZu.c
|
|
|
2
2
|
import { t as AUDIT_LOGS_TYPES } from "./constants-OZiiFKiA.cjs";
|
|
3
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
|