@northern.tech/store 0.46.2 → 0.46.4
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 +54 -55
- package/dist/organizationSlice/thunks.d.ts +54 -55
- 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 +37 -38
- package/dist/releasesSlice/thunks.d.ts +37 -38
- 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 +12 -11
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +12 -11
- 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 +122 -123
- package/dist/usersSlice/thunks.d.ts +122 -123
- package/package.json +6 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosProgressEvent, AxiosRequestConfig, GenericAbortSignal } from "axios";
|
|
2
2
|
//#region src/api/general-api.d.ts
|
|
3
|
-
declare const commonRequestConfig: AxiosRequestConfig;
|
|
4
|
-
declare const authenticatedRequest: import("axios").AxiosInstance;
|
|
3
|
+
export declare const commonRequestConfig: AxiosRequestConfig;
|
|
4
|
+
export declare const authenticatedRequest: import("axios").AxiosInstance;
|
|
5
5
|
declare const Api: {
|
|
6
6
|
get: <T = any, R = import("axios").AxiosResponse<T, any, {}>, D = any>(url: string, config?: AxiosRequestConfig<D>) => Promise<R>;
|
|
7
7
|
delete: <T = unknown, D = unknown>(url: string, data?: D) => Promise<import("axios").AxiosResponse<T, any, {}>>;
|
|
@@ -13,5 +13,5 @@ declare const Api: {
|
|
|
13
13
|
uploadPut: <T = unknown>(url: string, formData: FormData, progress: (event: AxiosProgressEvent) => void, cancelSignal: GenericAbortSignal) => Promise<import("axios").AxiosResponse<T, any, {}>>;
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|
|
16
|
-
export {
|
|
16
|
+
export { Api as default };
|
|
17
17
|
//# sourceMappingURL=general-api.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosProgressEvent, AxiosRequestConfig, GenericAbortSignal } from "axios";
|
|
2
2
|
//#region src/api/general-api.d.ts
|
|
3
|
-
declare const commonRequestConfig: AxiosRequestConfig;
|
|
4
|
-
declare const authenticatedRequest: import("axios").AxiosInstance;
|
|
3
|
+
export declare const commonRequestConfig: AxiosRequestConfig;
|
|
4
|
+
export declare const authenticatedRequest: import("axios").AxiosInstance;
|
|
5
5
|
declare const Api: {
|
|
6
6
|
get: <T = any, R = import("axios").AxiosResponse<T, any, {}>, D = any>(url: string, config?: AxiosRequestConfig<D>) => Promise<R>;
|
|
7
7
|
delete: <T = unknown, D = unknown>(url: string, data?: D) => Promise<import("axios").AxiosResponse<T, any, {}>>;
|
|
@@ -13,5 +13,5 @@ declare const Api: {
|
|
|
13
13
|
uploadPut: <T = unknown>(url: string, formData: FormData, progress: (event: AxiosProgressEvent) => void, cancelSignal: GenericAbortSignal) => Promise<import("axios").AxiosResponse<T, any, {}>>;
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|
|
16
|
-
export {
|
|
16
|
+
export { Api as default };
|
|
17
17
|
//# sourceMappingURL=general-api.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as SentryConfig } from "../index-BKU1G9-x.cjs";
|
|
2
2
|
//#region src/appSlice/mocks.d.ts
|
|
3
|
-
declare const mockState: {
|
|
3
|
+
export declare const mockState: {
|
|
4
4
|
searchState: {
|
|
5
5
|
deviceIds: never[];
|
|
6
6
|
searchTerm: string;
|
|
@@ -32,5 +32,4 @@ declare const mockState: {
|
|
|
32
32
|
yesterday?: string;
|
|
33
33
|
};
|
|
34
34
|
//#endregion
|
|
35
|
-
export { mockState };
|
|
36
35
|
//# sourceMappingURL=mocks.d.cts.map
|
package/dist/appSlice/mocks.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as SentryConfig } from "../index-xxqlerg5.js";
|
|
2
2
|
//#region src/appSlice/mocks.d.ts
|
|
3
|
-
declare const mockState: {
|
|
3
|
+
export declare const mockState: {
|
|
4
4
|
searchState: {
|
|
5
5
|
deviceIds: never[];
|
|
6
6
|
searchTerm: string;
|
|
@@ -32,5 +32,4 @@ declare const mockState: {
|
|
|
32
32
|
yesterday?: string;
|
|
33
33
|
};
|
|
34
34
|
//#endregion
|
|
35
|
-
export { mockState };
|
|
36
35
|
//# sourceMappingURL=mocks.d.ts.map
|
|
@@ -8,26 +8,26 @@ 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/appSlice/selectors.d.ts
|
|
11
|
-
declare const getDocsVersion: (state: RootState) => string;
|
|
12
|
-
declare const getFeatures: (state: RootState) => Record<string, boolean>;
|
|
13
|
-
declare const getVersionInformation: (state: RootState) => {
|
|
11
|
+
export declare const getDocsVersion: (state: RootState) => string;
|
|
12
|
+
export declare const getFeatures: (state: RootState) => Record<string, boolean>;
|
|
13
|
+
export declare const getVersionInformation: (state: RootState) => {
|
|
14
14
|
docsVersion?: string;
|
|
15
15
|
version?: string;
|
|
16
16
|
};
|
|
17
|
-
declare const getSearchState: (state: RootState) => SearchState;
|
|
18
|
-
declare const getUploads: (state: RootState) => Record<string, Upload>;
|
|
19
|
-
declare const getSnackbar: (state: RootState) => SnackbarContent;
|
|
20
|
-
declare const getHostAddress: (state: RootState) => string | null;
|
|
21
|
-
declare const getHostedAnnouncement: (state: RootState) => string;
|
|
22
|
-
declare const getRecaptchaKey: (state: RootState) => string;
|
|
23
|
-
declare const getStripeKey: (state: RootState) => string;
|
|
24
|
-
declare const getTrackerCode: (state: RootState) => string;
|
|
25
|
-
declare const getSentryConfig: (state: RootState) => SentryConfig;
|
|
26
|
-
declare const getCommit: (state: RootState) => string;
|
|
27
|
-
declare const getIsFirstLogin: (state: RootState) => boolean;
|
|
28
|
-
declare const getFeedbackProbability: (state: RootState) => number;
|
|
29
|
-
declare const getAppInitDone: (state: RootState) => boolean;
|
|
30
|
-
declare const getIsUploading: ((state: {
|
|
17
|
+
export declare const getSearchState: (state: RootState) => SearchState;
|
|
18
|
+
export declare const getUploads: (state: RootState) => Record<string, Upload>;
|
|
19
|
+
export declare const getSnackbar: (state: RootState) => SnackbarContent;
|
|
20
|
+
export declare const getHostAddress: (state: RootState) => string | null;
|
|
21
|
+
export declare const getHostedAnnouncement: (state: RootState) => string;
|
|
22
|
+
export declare const getRecaptchaKey: (state: RootState) => string;
|
|
23
|
+
export declare const getStripeKey: (state: RootState) => string;
|
|
24
|
+
export declare const getTrackerCode: (state: RootState) => string;
|
|
25
|
+
export declare const getSentryConfig: (state: RootState) => SentryConfig;
|
|
26
|
+
export declare const getCommit: (state: RootState) => string;
|
|
27
|
+
export declare const getIsFirstLogin: (state: RootState) => boolean;
|
|
28
|
+
export declare const getFeedbackProbability: (state: RootState) => number;
|
|
29
|
+
export declare const getAppInitDone: (state: RootState) => boolean;
|
|
30
|
+
export declare const getIsUploading: ((state: {
|
|
31
31
|
app: AppSliceType;
|
|
32
32
|
devices: DeviceSliceType;
|
|
33
33
|
deployments: DeploymentsSliceType;
|
|
@@ -57,7 +57,7 @@ declare const getIsUploading: ((state: {
|
|
|
57
57
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
58
58
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
59
59
|
};
|
|
60
|
-
declare const getSearchedDevices: ((state: {
|
|
60
|
+
export declare const getSearchedDevices: ((state: {
|
|
61
61
|
app: AppSliceType;
|
|
62
62
|
devices: DeviceSliceType;
|
|
63
63
|
deployments: DeploymentsSliceType;
|
|
@@ -87,7 +87,7 @@ declare const getSearchedDevices: ((state: {
|
|
|
87
87
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
88
88
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
89
89
|
};
|
|
90
|
-
declare const getIsPreview: ((state: {
|
|
90
|
+
export declare const getIsPreview: ((state: {
|
|
91
91
|
app: AppSliceType;
|
|
92
92
|
devices: DeviceSliceType;
|
|
93
93
|
deployments: DeploymentsSliceType;
|
|
@@ -127,5 +127,4 @@ declare const getIsPreview: ((state: {
|
|
|
127
127
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
128
128
|
};
|
|
129
129
|
//#endregion
|
|
130
|
-
export { getAppInitDone, getCommit, getDocsVersion, getFeatures, getFeedbackProbability, getHostAddress, getHostedAnnouncement, getIsFirstLogin, getIsPreview, getIsUploading, getRecaptchaKey, getSearchState, getSearchedDevices, getSentryConfig, getSnackbar, getStripeKey, getTrackerCode, getUploads, getVersionInformation };
|
|
131
130
|
//# sourceMappingURL=selectors.d.cts.map
|
|
@@ -8,26 +8,26 @@ 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/appSlice/selectors.d.ts
|
|
11
|
-
declare const getDocsVersion: (state: RootState) => string;
|
|
12
|
-
declare const getFeatures: (state: RootState) => Record<string, boolean>;
|
|
13
|
-
declare const getVersionInformation: (state: RootState) => {
|
|
11
|
+
export declare const getDocsVersion: (state: RootState) => string;
|
|
12
|
+
export declare const getFeatures: (state: RootState) => Record<string, boolean>;
|
|
13
|
+
export declare const getVersionInformation: (state: RootState) => {
|
|
14
14
|
docsVersion?: string;
|
|
15
15
|
version?: string;
|
|
16
16
|
};
|
|
17
|
-
declare const getSearchState: (state: RootState) => SearchState;
|
|
18
|
-
declare const getUploads: (state: RootState) => Record<string, Upload>;
|
|
19
|
-
declare const getSnackbar: (state: RootState) => SnackbarContent;
|
|
20
|
-
declare const getHostAddress: (state: RootState) => string | null;
|
|
21
|
-
declare const getHostedAnnouncement: (state: RootState) => string;
|
|
22
|
-
declare const getRecaptchaKey: (state: RootState) => string;
|
|
23
|
-
declare const getStripeKey: (state: RootState) => string;
|
|
24
|
-
declare const getTrackerCode: (state: RootState) => string;
|
|
25
|
-
declare const getSentryConfig: (state: RootState) => SentryConfig;
|
|
26
|
-
declare const getCommit: (state: RootState) => string;
|
|
27
|
-
declare const getIsFirstLogin: (state: RootState) => boolean;
|
|
28
|
-
declare const getFeedbackProbability: (state: RootState) => number;
|
|
29
|
-
declare const getAppInitDone: (state: RootState) => boolean;
|
|
30
|
-
declare const getIsUploading: ((state: {
|
|
17
|
+
export declare const getSearchState: (state: RootState) => SearchState;
|
|
18
|
+
export declare const getUploads: (state: RootState) => Record<string, Upload>;
|
|
19
|
+
export declare const getSnackbar: (state: RootState) => SnackbarContent;
|
|
20
|
+
export declare const getHostAddress: (state: RootState) => string | null;
|
|
21
|
+
export declare const getHostedAnnouncement: (state: RootState) => string;
|
|
22
|
+
export declare const getRecaptchaKey: (state: RootState) => string;
|
|
23
|
+
export declare const getStripeKey: (state: RootState) => string;
|
|
24
|
+
export declare const getTrackerCode: (state: RootState) => string;
|
|
25
|
+
export declare const getSentryConfig: (state: RootState) => SentryConfig;
|
|
26
|
+
export declare const getCommit: (state: RootState) => string;
|
|
27
|
+
export declare const getIsFirstLogin: (state: RootState) => boolean;
|
|
28
|
+
export declare const getFeedbackProbability: (state: RootState) => number;
|
|
29
|
+
export declare const getAppInitDone: (state: RootState) => boolean;
|
|
30
|
+
export declare const getIsUploading: ((state: {
|
|
31
31
|
app: AppSliceType;
|
|
32
32
|
devices: DeviceSliceType;
|
|
33
33
|
deployments: DeploymentsSliceType;
|
|
@@ -57,7 +57,7 @@ declare const getIsUploading: ((state: {
|
|
|
57
57
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
58
58
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
59
59
|
};
|
|
60
|
-
declare const getSearchedDevices: ((state: {
|
|
60
|
+
export declare const getSearchedDevices: ((state: {
|
|
61
61
|
app: AppSliceType;
|
|
62
62
|
devices: DeviceSliceType;
|
|
63
63
|
deployments: DeploymentsSliceType;
|
|
@@ -87,7 +87,7 @@ declare const getSearchedDevices: ((state: {
|
|
|
87
87
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
88
88
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
89
89
|
};
|
|
90
|
-
declare const getIsPreview: ((state: {
|
|
90
|
+
export declare const getIsPreview: ((state: {
|
|
91
91
|
app: AppSliceType;
|
|
92
92
|
devices: DeviceSliceType;
|
|
93
93
|
deployments: DeploymentsSliceType;
|
|
@@ -127,5 +127,4 @@ declare const getIsPreview: ((state: {
|
|
|
127
127
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
128
128
|
};
|
|
129
129
|
//#endregion
|
|
130
|
-
export { getAppInitDone, getCommit, getDocsVersion, getFeatures, getFeedbackProbability, getHostAddress, getHostedAnnouncement, getIsFirstLogin, getIsPreview, getIsUploading, getRecaptchaKey, getSearchState, getSearchedDevices, getSentryConfig, getSnackbar, getStripeKey, getTrackerCode, getUploads, getVersionInformation };
|
|
131
130
|
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as SearchState } from "../index-BKU1G9-x.cjs";
|
|
2
2
|
import { r as RootState, t as AppDispatch } from "../store-Dw8Uo_Df.cjs";
|
|
3
3
|
//#region src/appSlice/thunks.d.ts
|
|
4
|
-
declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<void, boolean, {
|
|
4
|
+
export declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<void, boolean, {
|
|
5
5
|
dispatch: AppDispatch;
|
|
6
6
|
state: RootState;
|
|
7
7
|
extra?: unknown;
|
|
@@ -11,7 +11,7 @@ declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<vo
|
|
|
11
11
|
fulfilledMeta?: unknown;
|
|
12
12
|
rejectedMeta?: unknown;
|
|
13
13
|
}>;
|
|
14
|
-
declare const setOfflineThreshold: import("@reduxjs/toolkit").AsyncThunk<{
|
|
14
|
+
export declare const setOfflineThreshold: import("@reduxjs/toolkit").AsyncThunk<{
|
|
15
15
|
payload: string;
|
|
16
16
|
type: "app/setOfflineThreshold";
|
|
17
17
|
} | undefined, void, {
|
|
@@ -24,7 +24,7 @@ declare const setOfflineThreshold: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
24
24
|
fulfilledMeta?: unknown;
|
|
25
25
|
rejectedMeta?: unknown;
|
|
26
26
|
}>;
|
|
27
|
-
declare const setSearchState: import("@reduxjs/toolkit").AsyncThunk<unknown[], Partial<SearchState>, {
|
|
27
|
+
export declare const setSearchState: import("@reduxjs/toolkit").AsyncThunk<unknown[], Partial<SearchState>, {
|
|
28
28
|
dispatch: AppDispatch;
|
|
29
29
|
state: RootState;
|
|
30
30
|
extra?: unknown;
|
|
@@ -35,5 +35,4 @@ declare const setSearchState: import("@reduxjs/toolkit").AsyncThunk<unknown[], P
|
|
|
35
35
|
rejectedMeta?: unknown;
|
|
36
36
|
}>;
|
|
37
37
|
//#endregion
|
|
38
|
-
export { setFirstLoginAfterSignup, setOfflineThreshold, setSearchState };
|
|
39
38
|
//# sourceMappingURL=thunks.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as SearchState } from "../index-xxqlerg5.js";
|
|
2
2
|
import { r as RootState, t as AppDispatch } from "../store-DLp6ajT8.js";
|
|
3
3
|
//#region src/appSlice/thunks.d.ts
|
|
4
|
-
declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<void, boolean, {
|
|
4
|
+
export declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<void, boolean, {
|
|
5
5
|
dispatch: AppDispatch;
|
|
6
6
|
state: RootState;
|
|
7
7
|
extra?: unknown;
|
|
@@ -11,7 +11,7 @@ declare const setFirstLoginAfterSignup: import("@reduxjs/toolkit").AsyncThunk<vo
|
|
|
11
11
|
fulfilledMeta?: unknown;
|
|
12
12
|
rejectedMeta?: unknown;
|
|
13
13
|
}>;
|
|
14
|
-
declare const setOfflineThreshold: import("@reduxjs/toolkit").AsyncThunk<{
|
|
14
|
+
export declare const setOfflineThreshold: import("@reduxjs/toolkit").AsyncThunk<{
|
|
15
15
|
payload: string;
|
|
16
16
|
type: "app/setOfflineThreshold";
|
|
17
17
|
} | undefined, void, {
|
|
@@ -24,7 +24,7 @@ declare const setOfflineThreshold: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
24
24
|
fulfilledMeta?: unknown;
|
|
25
25
|
rejectedMeta?: unknown;
|
|
26
26
|
}>;
|
|
27
|
-
declare const setSearchState: import("@reduxjs/toolkit").AsyncThunk<unknown[], Partial<SearchState>, {
|
|
27
|
+
export declare const setSearchState: import("@reduxjs/toolkit").AsyncThunk<unknown[], Partial<SearchState>, {
|
|
28
28
|
dispatch: AppDispatch;
|
|
29
29
|
state: RootState;
|
|
30
30
|
extra?: unknown;
|
|
@@ -35,5 +35,4 @@ declare const setSearchState: import("@reduxjs/toolkit").AsyncThunk<unknown[], P
|
|
|
35
35
|
rejectedMeta?: unknown;
|
|
36
36
|
}>;
|
|
37
37
|
//#endregion
|
|
38
|
-
export { setFirstLoginAfterSignup, setOfflineThreshold, setSearchState };
|
|
39
38
|
//# sourceMappingURL=thunks.d.ts.map
|
package/dist/auth.d.cts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { i as UserSession } from "./index-CqhXqGLt.cjs";
|
|
2
2
|
//#region src/auth.d.ts
|
|
3
|
-
declare const getSessionInfo: () => UserSession;
|
|
4
|
-
declare const getToken: () => string;
|
|
5
|
-
declare const setSessionInfo: ({ token, expiresAt }: UserSession) => void;
|
|
6
|
-
declare const cleanUp: () => void;
|
|
7
|
-
declare const updateMaxAge: ({ expiresAt, token }: {
|
|
3
|
+
export declare const getSessionInfo: () => UserSession;
|
|
4
|
+
export declare const getToken: () => string;
|
|
5
|
+
export declare const setSessionInfo: ({ token, expiresAt }: UserSession) => void;
|
|
6
|
+
export declare const cleanUp: () => void;
|
|
7
|
+
export declare const updateMaxAge: ({ expiresAt, token }: {
|
|
8
8
|
expiresAt: any;
|
|
9
9
|
token: any;
|
|
10
10
|
}) => void;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { cleanUp, getSessionInfo, getToken, setSessionInfo, updateMaxAge };
|
|
13
12
|
//# sourceMappingURL=auth.d.cts.map
|
package/dist/auth.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { i as UserSession } from "./index--SKVGToc.js";
|
|
2
2
|
//#region src/auth.d.ts
|
|
3
|
-
declare const getSessionInfo: () => UserSession;
|
|
4
|
-
declare const getToken: () => string;
|
|
5
|
-
declare const setSessionInfo: ({ token, expiresAt }: UserSession) => void;
|
|
6
|
-
declare const cleanUp: () => void;
|
|
7
|
-
declare const updateMaxAge: ({ expiresAt, token }: {
|
|
3
|
+
export declare const getSessionInfo: () => UserSession;
|
|
4
|
+
export declare const getToken: () => string;
|
|
5
|
+
export declare const setSessionInfo: ({ token, expiresAt }: UserSession) => void;
|
|
6
|
+
export declare const cleanUp: () => void;
|
|
7
|
+
export declare const updateMaxAge: ({ expiresAt, token }: {
|
|
8
8
|
expiresAt: any;
|
|
9
9
|
token: any;
|
|
10
10
|
}) => void;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { cleanUp, getSessionInfo, getToken, setSessionInfo, updateMaxAge };
|
|
13
12
|
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -12,7 +12,7 @@ import { t as OrganizationSliceType } from "./index-HjOSTTGF.cjs";
|
|
|
12
12
|
import { r as RootState } from "./store-Dw8Uo_Df.cjs";
|
|
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.cts.map
|