@northern.tech/store 0.46.4 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions.d.cts +6 -6
- package/dist/actions.d.ts +6 -6
- package/dist/api/general-api.cjs +2 -2
- package/dist/api/general-api.cjs.map +1 -1
- package/dist/api/general-api.js +1 -1
- package/dist/api/general-api.js.map +1 -1
- package/dist/appSlice/constants.cjs +3 -4
- package/dist/appSlice/constants.cjs.map +1 -1
- package/dist/appSlice/constants.d.cts +1 -1
- package/dist/appSlice/constants.d.ts +1 -1
- package/dist/appSlice/constants.js +1 -2
- package/dist/appSlice/constants.js.map +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 +1 -1
- package/dist/appSlice/mocks.d.ts +1 -1
- package/dist/appSlice/selectors.cjs.map +1 -1
- package/dist/appSlice/selectors.d.cts +2 -130
- package/dist/appSlice/selectors.d.ts +2 -130
- package/dist/appSlice/selectors.js.map +1 -1
- package/dist/appSlice/thunks.d.cts +2 -2
- package/dist/appSlice/thunks.d.ts +2 -2
- package/dist/auth.cjs +3 -3
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.d.cts +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +2 -1
- package/dist/auth.js.map +1 -1
- package/dist/commonConstants.cjs +4 -3
- package/dist/commonConstants.d.cts +2 -2
- package/dist/commonConstants.d.ts +2 -2
- package/dist/commonConstants.js +1 -1
- package/dist/commonSelectors.cjs +1 -1
- package/dist/commonSelectors.d.cts +76 -369
- package/dist/commonSelectors.d.ts +76 -369
- package/dist/commonSelectors.js +1 -1
- package/dist/constants-CCkKh9KM.d.ts +109 -0
- package/dist/constants-CUwYPOYK.d.cts +109 -0
- package/dist/{constants-D5hACLhF.js → constants-DjiC_FnZ.js} +3 -269
- package/dist/constants-DjiC_FnZ.js.map +1 -0
- package/dist/{constants-MVizYy89.cjs → constants-DsOnY5o5.cjs} +1 -279
- package/dist/constants-DsOnY5o5.cjs.map +1 -0
- package/dist/{constants-nKSWZ8oD.d.ts → constants-tC3RR_Oo.d.cts} +2 -3
- package/dist/{constants-nKSWZ8oD.d.cts → constants-tC3RR_Oo.d.ts} +2 -3
- package/dist/constants.cjs +5 -5
- package/dist/constants.d.cts +3 -3
- package/dist/constants.d.ts +3 -3
- package/dist/constants.js +1 -1
- package/dist/deploymentsSlice/constants.cjs +1 -1
- package/dist/deploymentsSlice/constants.js +1 -1
- package/dist/deploymentsSlice/index.cjs +1 -1
- package/dist/deploymentsSlice/index.js +1 -1
- package/dist/deploymentsSlice/selectors.cjs +1 -1
- package/dist/deploymentsSlice/selectors.cjs.map +1 -1
- package/dist/deploymentsSlice/selectors.d.cts +2 -97
- package/dist/deploymentsSlice/selectors.d.ts +2 -97
- package/dist/deploymentsSlice/selectors.js +1 -1
- package/dist/deploymentsSlice/selectors.js.map +1 -1
- package/dist/deploymentsSlice/thunks.d.cts +4 -4
- package/dist/deploymentsSlice/thunks.d.ts +4 -4
- package/dist/devicesSlice/constants.cjs +1 -1
- 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.js +1 -1
- package/dist/devicesSlice/selectors.cjs +2 -2
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +2 -887
- package/dist/devicesSlice/selectors.d.ts +2 -887
- package/dist/devicesSlice/selectors.js +2 -2
- package/dist/devicesSlice/selectors.js.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +4 -4
- package/dist/devicesSlice/thunks.d.ts +4 -4
- package/dist/{index-KxRmyFLr.d.cts → index-7jVuB4tG.d.cts} +2 -2
- package/dist/{index-fGVC5s1C.d.cts → index-BWtIaimn.d.cts} +2 -2
- package/dist/{index-BfmRpbiJ.d.cts → index-BcrZxKLw.d.cts} +2 -2
- package/dist/{index--SKVGToc.d.ts → index-C1vNDCYR.d.ts} +2 -2
- package/dist/{index-CRqnH_go.d.ts → index-C2za83Qs.d.ts} +2 -2
- package/dist/{index-xxqlerg5.d.ts → index-CThE5Gfh.d.ts} +2 -2
- package/dist/{index-BKU1G9-x.d.cts → index-CaNZaXie.d.cts} +2 -2
- package/dist/{index-BVNS-Aut.d.ts → index-CvMpbsOo.d.ts} +2 -2
- package/dist/{index-HjOSTTGF.d.cts → index-CzQRHJ6f.d.cts} +2 -2
- package/dist/{index-CqhXqGLt.d.cts → index-DNYeo7wc.d.cts} +2 -2
- package/dist/{index-D9GJhX1I.d.ts → index-DOPRnlaC.d.ts} +2 -2
- package/dist/{index-BMsafOyJ.d.ts → index-o_m7WKiR.d.ts} +2 -2
- package/dist/locationutils.cjs +1 -1
- package/dist/locationutils.d.cts +2 -2
- package/dist/locationutils.d.ts +2 -2
- package/dist/locationutils.js +1 -1
- package/dist/mockState.cjs +24 -0
- package/dist/mockState.cjs.map +1 -0
- package/dist/mockState.d.cts +7 -0
- package/dist/mockState.d.ts +7 -0
- package/dist/mockState.js +23 -0
- package/dist/mockState.js.map +1 -0
- 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 +1 -1
- package/dist/monitorSlice/mocks.d.ts +1 -1
- package/dist/monitorSlice/mocks.js +1 -1
- package/dist/monitorSlice/selectors.cjs.map +1 -1
- package/dist/monitorSlice/selectors.d.cts +2 -10
- package/dist/monitorSlice/selectors.d.ts +2 -10
- package/dist/monitorSlice/selectors.js.map +1 -1
- package/dist/monitorSlice/thunks.cjs +2 -3
- package/dist/monitorSlice/thunks.cjs.map +1 -1
- package/dist/monitorSlice/thunks.d.cts +4 -4
- package/dist/monitorSlice/thunks.d.ts +4 -4
- package/dist/monitorSlice/thunks.js +3 -2
- package/dist/monitorSlice/thunks.js.map +1 -1
- package/dist/onboardingSlice/selectors.cjs.map +1 -1
- package/dist/onboardingSlice/selectors.d.cts +2 -6
- package/dist/onboardingSlice/selectors.d.ts +2 -6
- package/dist/onboardingSlice/selectors.js.map +1 -1
- package/dist/onboardingSlice/thunks.d.cts +3 -3
- package/dist/onboardingSlice/thunks.d.ts +3 -3
- package/dist/organizationSlice/constants.cjs +1 -1
- package/dist/organizationSlice/constants.js +1 -1
- package/dist/organizationSlice/index.cjs +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 -3
- package/dist/organizationSlice/mocks.d.ts +3 -3
- package/dist/organizationSlice/mocks.js +1 -1
- package/dist/organizationSlice/selectors.cjs +1 -1
- package/dist/organizationSlice/selectors.cjs.map +1 -1
- package/dist/organizationSlice/selectors.d.cts +2 -472
- package/dist/organizationSlice/selectors.d.ts +2 -472
- package/dist/organizationSlice/selectors.js +1 -1
- package/dist/organizationSlice/selectors.js.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +25 -21
- package/dist/organizationSlice/thunks.d.ts +25 -21
- 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.js +1 -1
- package/dist/releasesSlice/selectors.cjs.map +1 -1
- package/dist/releasesSlice/selectors.d.cts +2 -795
- package/dist/releasesSlice/selectors.d.ts +2 -795
- package/dist/releasesSlice/selectors.js.map +1 -1
- package/dist/releasesSlice/thunks.cjs +17 -17
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.d.cts +5 -5
- package/dist/releasesSlice/thunks.d.ts +5 -5
- package/dist/releasesSlice/thunks.js +2 -1
- package/dist/releasesSlice/thunks.js.map +1 -1
- package/dist/selectors-1394DVvN.d.ts +712 -0
- package/dist/selectors-Ba9LUr_0.d.ts +593 -0
- package/dist/selectors-CAo0fzIZ.d.ts +99 -0
- package/dist/selectors-CH-yXu-7.d.cts +84 -0
- package/dist/selectors-CQYkG1VI.d.cts +9 -0
- package/dist/selectors-D9t4It2i.d.ts +84 -0
- package/dist/selectors-DDsFLtxz.d.cts +712 -0
- package/dist/selectors-DFSv4A_m.d.ts +378 -0
- package/dist/selectors-DQKg681M.d.ts +363 -0
- package/dist/selectors-DeqP_VLU.d.cts +593 -0
- package/dist/selectors-LhR8TyWU.d.cts +378 -0
- package/dist/selectors-XzNyGFJI.d.cts +99 -0
- package/dist/selectors-aLOjKkxN.d.cts +14 -0
- package/dist/selectors-elCimAHX.d.ts +9 -0
- package/dist/selectors-jusUdUdc.d.cts +363 -0
- package/dist/selectors-vk0GUGHf.d.ts +14 -0
- package/dist/selectors.d.cts +9 -9
- package/dist/selectors.d.ts +9 -9
- package/dist/sockethook.cjs +4 -4
- package/dist/sockethook.cjs.map +1 -1
- package/dist/sockethook.js +2 -1
- package/dist/sockethook.js.map +1 -1
- package/dist/{store-Dw8Uo_Df.d.cts → store-CCvk8X-k.d.cts} +14 -33
- package/dist/{store-DLp6ajT8.d.ts → store-v5V-bbB_.d.ts} +15 -34
- package/dist/store.cjs +2 -4
- package/dist/store.cjs.map +1 -1
- package/dist/store.d.cts +2 -2
- package/dist/store.d.ts +2 -2
- package/dist/store.js +2 -4
- package/dist/store.js.map +1 -1
- package/dist/thunks.cjs +30 -38
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +10 -17
- package/dist/thunks.js.map +1 -1
- package/dist/{types-DY0J79yF.d.ts → types-B2gphGj8.d.ts} +3 -3
- package/dist/{types-B67YW1jV.d.cts → types-CLASWtVP.d.cts} +3 -3
- package/dist/usersSlice/constants.cjs +1 -1
- package/dist/usersSlice/constants.js +1 -1
- package/dist/usersSlice/index.cjs +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 +1 -1
- package/dist/usersSlice/mocks.d.ts +1 -1
- package/dist/usersSlice/mocks.js +1 -1
- package/dist/usersSlice/selectors.cjs +3 -3
- package/dist/usersSlice/selectors.cjs.map +1 -1
- package/dist/usersSlice/selectors.d.cts +2 -466
- package/dist/usersSlice/selectors.d.ts +2 -466
- package/dist/usersSlice/selectors.js +2 -2
- package/dist/usersSlice/selectors.js.map +1 -1
- package/dist/usersSlice/thunks.d.cts +88 -88
- package/dist/usersSlice/thunks.d.ts +88 -88
- package/dist/utils.cjs +5 -10
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +4 -8
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
- package/dist/constants-BJuY-ODE.d.ts +0 -124
- package/dist/constants-C2O55iZu.d.cts +0 -124
- package/dist/constants-D5hACLhF.js.map +0 -1
- package/dist/constants-MVizYy89.cjs.map +0 -1
- package/dist/storehooks.cjs +0 -249
- package/dist/storehooks.cjs.map +0 -1
- package/dist/storehooks.d.cts +0 -49
- package/dist/storehooks.d.ts +0 -49
- package/dist/storehooks.js +0 -241
- package/dist/storehooks.js.map +0 -1
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import { i as ReadState } from "./constants-D8-yUk19.js";
|
|
2
|
+
import { a as UserSettings, i as UserSession, n as GlobalSettings, o as UserSliceType, r as User } from "./index-C1vNDCYR.js";
|
|
3
|
+
//#region src/usersSlice/selectors.d.ts
|
|
4
|
+
type UsersState = {
|
|
5
|
+
users: UserSliceType;
|
|
6
|
+
};
|
|
7
|
+
declare const getRolesById: (state: UsersState) => Record<string, import("@northern.tech/utils/constants").Role>;
|
|
8
|
+
declare const getTooltipsById: (state: UsersState) => Record<string, {
|
|
9
|
+
readState: ReadState;
|
|
10
|
+
}>;
|
|
11
|
+
declare const getGlobalSettings: (state: UsersState) => GlobalSettings;
|
|
12
|
+
declare const getGlobalSettingsInitialized: (state: UsersState) => boolean;
|
|
13
|
+
declare const getUserSettingsInitialized: (state: UsersState) => boolean;
|
|
14
|
+
declare const getUsersById: (state: UsersState) => Record<string, User>;
|
|
15
|
+
declare const getUsersList: ((state: UsersState) => User[]) & {
|
|
16
|
+
clearCache: () => void;
|
|
17
|
+
resultsCount: () => number;
|
|
18
|
+
resetResultsCount: () => void;
|
|
19
|
+
} & {
|
|
20
|
+
resultFunc: (resultFuncArgs_0: Record<string, User>) => User[];
|
|
21
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>) => User[]) & {
|
|
22
|
+
clearCache: () => void;
|
|
23
|
+
resultsCount: () => number;
|
|
24
|
+
resetResultsCount: () => void;
|
|
25
|
+
};
|
|
26
|
+
lastResult: () => User[];
|
|
27
|
+
dependencies: [(state: UsersState) => Record<string, User>];
|
|
28
|
+
recomputations: () => number;
|
|
29
|
+
resetRecomputations: () => void;
|
|
30
|
+
dependencyRecomputations: () => number;
|
|
31
|
+
resetDependencyRecomputations: () => void;
|
|
32
|
+
} & {
|
|
33
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
34
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
35
|
+
};
|
|
36
|
+
declare const getCurrentUser: ((state: UsersState) => User) & {
|
|
37
|
+
clearCache: () => void;
|
|
38
|
+
resultsCount: () => number;
|
|
39
|
+
resetResultsCount: () => void;
|
|
40
|
+
} & {
|
|
41
|
+
resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
|
|
42
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
|
|
43
|
+
clearCache: () => void;
|
|
44
|
+
resultsCount: () => number;
|
|
45
|
+
resetResultsCount: () => void;
|
|
46
|
+
};
|
|
47
|
+
lastResult: () => User;
|
|
48
|
+
dependencies: [(state: UsersState) => Record<string, User>, (state: UsersState) => string | null];
|
|
49
|
+
recomputations: () => number;
|
|
50
|
+
resetRecomputations: () => void;
|
|
51
|
+
dependencyRecomputations: () => number;
|
|
52
|
+
resetDependencyRecomputations: () => void;
|
|
53
|
+
} & {
|
|
54
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
55
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
56
|
+
};
|
|
57
|
+
declare const getUserSettings: (state: UsersState) => UserSettings;
|
|
58
|
+
declare const getSelectedDeviceAttribute: ((state: UsersState) => {
|
|
59
|
+
attribute: string;
|
|
60
|
+
scope: string;
|
|
61
|
+
}[]) & {
|
|
62
|
+
clearCache: () => void;
|
|
63
|
+
resultsCount: () => number;
|
|
64
|
+
resetResultsCount: () => void;
|
|
65
|
+
} & {
|
|
66
|
+
resultFunc: (resultFuncArgs_0: UserSettings) => {
|
|
67
|
+
attribute: string;
|
|
68
|
+
scope: string;
|
|
69
|
+
}[];
|
|
70
|
+
memoizedResultFunc: ((resultFuncArgs_0: UserSettings) => {
|
|
71
|
+
attribute: string;
|
|
72
|
+
scope: string;
|
|
73
|
+
}[]) & {
|
|
74
|
+
clearCache: () => void;
|
|
75
|
+
resultsCount: () => number;
|
|
76
|
+
resetResultsCount: () => void;
|
|
77
|
+
};
|
|
78
|
+
lastResult: () => {
|
|
79
|
+
attribute: string;
|
|
80
|
+
scope: string;
|
|
81
|
+
}[];
|
|
82
|
+
dependencies: [(state: UsersState) => UserSettings];
|
|
83
|
+
recomputations: () => number;
|
|
84
|
+
resetRecomputations: () => void;
|
|
85
|
+
dependencyRecomputations: () => number;
|
|
86
|
+
resetDependencyRecomputations: () => void;
|
|
87
|
+
} & {
|
|
88
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
89
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
90
|
+
};
|
|
91
|
+
declare const getIsDarkMode: ((state: UsersState) => boolean) & {
|
|
92
|
+
clearCache: () => void;
|
|
93
|
+
resultsCount: () => number;
|
|
94
|
+
resetResultsCount: () => void;
|
|
95
|
+
} & {
|
|
96
|
+
resultFunc: (resultFuncArgs_0: UserSettings) => boolean;
|
|
97
|
+
memoizedResultFunc: ((resultFuncArgs_0: UserSettings) => boolean) & {
|
|
98
|
+
clearCache: () => void;
|
|
99
|
+
resultsCount: () => number;
|
|
100
|
+
resetResultsCount: () => void;
|
|
101
|
+
};
|
|
102
|
+
lastResult: () => boolean;
|
|
103
|
+
dependencies: [(state: UsersState) => UserSettings];
|
|
104
|
+
recomputations: () => number;
|
|
105
|
+
resetRecomputations: () => void;
|
|
106
|
+
dependencyRecomputations: () => number;
|
|
107
|
+
resetDependencyRecomputations: () => void;
|
|
108
|
+
} & {
|
|
109
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
110
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
111
|
+
};
|
|
112
|
+
declare const getReadAllHelptips: ((state: UsersState) => boolean) & {
|
|
113
|
+
clearCache: () => void;
|
|
114
|
+
resultsCount: () => number;
|
|
115
|
+
resetResultsCount: () => void;
|
|
116
|
+
} & {
|
|
117
|
+
resultFunc: (resultFuncArgs_0: Record<string, {
|
|
118
|
+
readState: ReadState;
|
|
119
|
+
}>) => boolean;
|
|
120
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
|
|
121
|
+
readState: ReadState;
|
|
122
|
+
}>) => boolean) & {
|
|
123
|
+
clearCache: () => void;
|
|
124
|
+
resultsCount: () => number;
|
|
125
|
+
resetResultsCount: () => void;
|
|
126
|
+
};
|
|
127
|
+
lastResult: () => boolean;
|
|
128
|
+
dependencies: [(state: UsersState) => Record<string, {
|
|
129
|
+
readState: ReadState;
|
|
130
|
+
}>];
|
|
131
|
+
recomputations: () => number;
|
|
132
|
+
resetRecomputations: () => void;
|
|
133
|
+
dependencyRecomputations: () => number;
|
|
134
|
+
resetDependencyRecomputations: () => void;
|
|
135
|
+
} & {
|
|
136
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
137
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
138
|
+
};
|
|
139
|
+
declare const getTooltipsState: ((state: UsersState) => {}) & {
|
|
140
|
+
clearCache: () => void;
|
|
141
|
+
resultsCount: () => number;
|
|
142
|
+
resetResultsCount: () => void;
|
|
143
|
+
} & {
|
|
144
|
+
resultFunc: (resultFuncArgs_0: Record<string, {
|
|
145
|
+
readState: ReadState;
|
|
146
|
+
}>, resultFuncArgs_1: UserSettings) => {};
|
|
147
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
|
|
148
|
+
readState: ReadState;
|
|
149
|
+
}>, resultFuncArgs_1: UserSettings) => {}) & {
|
|
150
|
+
clearCache: () => void;
|
|
151
|
+
resultsCount: () => number;
|
|
152
|
+
resetResultsCount: () => void;
|
|
153
|
+
};
|
|
154
|
+
lastResult: () => {};
|
|
155
|
+
dependencies: [(state: UsersState) => Record<string, {
|
|
156
|
+
readState: ReadState;
|
|
157
|
+
}>, (state: UsersState) => UserSettings];
|
|
158
|
+
recomputations: () => number;
|
|
159
|
+
resetRecomputations: () => void;
|
|
160
|
+
dependencyRecomputations: () => number;
|
|
161
|
+
resetDependencyRecomputations: () => void;
|
|
162
|
+
} & {
|
|
163
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
164
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
165
|
+
};
|
|
166
|
+
declare const getHas2FA: ((state: UsersState) => boolean) & {
|
|
167
|
+
clearCache: () => void;
|
|
168
|
+
resultsCount: () => number;
|
|
169
|
+
resetResultsCount: () => void;
|
|
170
|
+
} & {
|
|
171
|
+
resultFunc: (resultFuncArgs_0: User) => boolean;
|
|
172
|
+
memoizedResultFunc: ((resultFuncArgs_0: User) => boolean) & {
|
|
173
|
+
clearCache: () => void;
|
|
174
|
+
resultsCount: () => number;
|
|
175
|
+
resetResultsCount: () => void;
|
|
176
|
+
};
|
|
177
|
+
lastResult: () => boolean;
|
|
178
|
+
dependencies: [((state: UsersState) => User) & {
|
|
179
|
+
clearCache: () => void;
|
|
180
|
+
resultsCount: () => number;
|
|
181
|
+
resetResultsCount: () => void;
|
|
182
|
+
} & {
|
|
183
|
+
resultFunc: (resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User;
|
|
184
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, User>, resultFuncArgs_1: string | null) => User) & {
|
|
185
|
+
clearCache: () => void;
|
|
186
|
+
resultsCount: () => number;
|
|
187
|
+
resetResultsCount: () => void;
|
|
188
|
+
};
|
|
189
|
+
lastResult: () => User;
|
|
190
|
+
dependencies: [(state: UsersState) => Record<string, User>, (state: UsersState) => string | null];
|
|
191
|
+
recomputations: () => number;
|
|
192
|
+
resetRecomputations: () => void;
|
|
193
|
+
dependencyRecomputations: () => number;
|
|
194
|
+
resetDependencyRecomputations: () => void;
|
|
195
|
+
} & {
|
|
196
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
197
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
198
|
+
}];
|
|
199
|
+
recomputations: () => number;
|
|
200
|
+
resetRecomputations: () => void;
|
|
201
|
+
dependencyRecomputations: () => number;
|
|
202
|
+
resetDependencyRecomputations: () => void;
|
|
203
|
+
} & {
|
|
204
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
205
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
206
|
+
};
|
|
207
|
+
declare const getIdAttribute: ((state: UsersState) => {
|
|
208
|
+
attribute: string;
|
|
209
|
+
scope: string;
|
|
210
|
+
}) & {
|
|
211
|
+
clearCache: () => void;
|
|
212
|
+
resultsCount: () => number;
|
|
213
|
+
resetResultsCount: () => void;
|
|
214
|
+
} & {
|
|
215
|
+
resultFunc: (resultFuncArgs_0: GlobalSettings) => {
|
|
216
|
+
attribute: string;
|
|
217
|
+
scope: string;
|
|
218
|
+
};
|
|
219
|
+
memoizedResultFunc: ((resultFuncArgs_0: GlobalSettings) => {
|
|
220
|
+
attribute: string;
|
|
221
|
+
scope: string;
|
|
222
|
+
}) & {
|
|
223
|
+
clearCache: () => void;
|
|
224
|
+
resultsCount: () => number;
|
|
225
|
+
resetResultsCount: () => void;
|
|
226
|
+
};
|
|
227
|
+
lastResult: () => {
|
|
228
|
+
attribute: string;
|
|
229
|
+
scope: string;
|
|
230
|
+
};
|
|
231
|
+
dependencies: [(state: UsersState) => GlobalSettings];
|
|
232
|
+
recomputations: () => number;
|
|
233
|
+
resetRecomputations: () => void;
|
|
234
|
+
dependencyRecomputations: () => number;
|
|
235
|
+
resetDependencyRecomputations: () => void;
|
|
236
|
+
} & {
|
|
237
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
238
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
239
|
+
};
|
|
240
|
+
declare const getOfflineThresholdSettings: ((state: UsersState) => {
|
|
241
|
+
interval: any;
|
|
242
|
+
intervalUnit: any;
|
|
243
|
+
}) & {
|
|
244
|
+
clearCache: () => void;
|
|
245
|
+
resultsCount: () => number;
|
|
246
|
+
resetResultsCount: () => void;
|
|
247
|
+
} & {
|
|
248
|
+
resultFunc: (resultFuncArgs_0: GlobalSettings) => {
|
|
249
|
+
interval: any;
|
|
250
|
+
intervalUnit: any;
|
|
251
|
+
};
|
|
252
|
+
memoizedResultFunc: ((resultFuncArgs_0: GlobalSettings) => {
|
|
253
|
+
interval: any;
|
|
254
|
+
intervalUnit: any;
|
|
255
|
+
}) & {
|
|
256
|
+
clearCache: () => void;
|
|
257
|
+
resultsCount: () => number;
|
|
258
|
+
resetResultsCount: () => void;
|
|
259
|
+
};
|
|
260
|
+
lastResult: () => {
|
|
261
|
+
interval: any;
|
|
262
|
+
intervalUnit: any;
|
|
263
|
+
};
|
|
264
|
+
dependencies: [(state: UsersState) => GlobalSettings];
|
|
265
|
+
recomputations: () => number;
|
|
266
|
+
resetRecomputations: () => void;
|
|
267
|
+
dependencyRecomputations: () => number;
|
|
268
|
+
resetDependencyRecomputations: () => void;
|
|
269
|
+
} & {
|
|
270
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
271
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
272
|
+
};
|
|
273
|
+
declare const getRolesList: ((state: UsersState) => {
|
|
274
|
+
name: string;
|
|
275
|
+
description?: string;
|
|
276
|
+
permissions?: Array<import("@northern.tech/types/types.gen").RolePermission>;
|
|
277
|
+
permission_sets_with_scope?: Array<import("@northern.tech/types/types.gen").PermissionSetWithScope>;
|
|
278
|
+
editable?: boolean;
|
|
279
|
+
isCustom?: boolean;
|
|
280
|
+
uiPermissions: Readonly<{
|
|
281
|
+
auditlog: string[];
|
|
282
|
+
deployments?: string[];
|
|
283
|
+
groups: Record<string, string[]>;
|
|
284
|
+
releases: Record<string, string[]>;
|
|
285
|
+
tenantManagement: string[];
|
|
286
|
+
userManagement: string[];
|
|
287
|
+
}>;
|
|
288
|
+
value: string;
|
|
289
|
+
}[]) & {
|
|
290
|
+
clearCache: () => void;
|
|
291
|
+
resultsCount: () => number;
|
|
292
|
+
resetResultsCount: () => void;
|
|
293
|
+
} & {
|
|
294
|
+
resultFunc: (resultFuncArgs_0: Record<string, import("@northern.tech/utils/constants").Role>) => {
|
|
295
|
+
name: string;
|
|
296
|
+
description?: string;
|
|
297
|
+
permissions?: Array<import("@northern.tech/types/types.gen").RolePermission>;
|
|
298
|
+
permission_sets_with_scope?: Array<import("@northern.tech/types/types.gen").PermissionSetWithScope>;
|
|
299
|
+
editable?: boolean;
|
|
300
|
+
isCustom?: boolean;
|
|
301
|
+
uiPermissions: Readonly<{
|
|
302
|
+
auditlog: string[];
|
|
303
|
+
deployments?: string[];
|
|
304
|
+
groups: Record<string, string[]>;
|
|
305
|
+
releases: Record<string, string[]>;
|
|
306
|
+
tenantManagement: string[];
|
|
307
|
+
userManagement: string[];
|
|
308
|
+
}>;
|
|
309
|
+
value: string;
|
|
310
|
+
}[];
|
|
311
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("@northern.tech/utils/constants").Role>) => {
|
|
312
|
+
name: string;
|
|
313
|
+
description?: string;
|
|
314
|
+
permissions?: Array<import("@northern.tech/types/types.gen").RolePermission>;
|
|
315
|
+
permission_sets_with_scope?: Array<import("@northern.tech/types/types.gen").PermissionSetWithScope>;
|
|
316
|
+
editable?: boolean;
|
|
317
|
+
isCustom?: boolean;
|
|
318
|
+
uiPermissions: Readonly<{
|
|
319
|
+
auditlog: string[];
|
|
320
|
+
deployments?: string[];
|
|
321
|
+
groups: Record<string, string[]>;
|
|
322
|
+
releases: Record<string, string[]>;
|
|
323
|
+
tenantManagement: string[];
|
|
324
|
+
userManagement: string[];
|
|
325
|
+
}>;
|
|
326
|
+
value: string;
|
|
327
|
+
}[]) & {
|
|
328
|
+
clearCache: () => void;
|
|
329
|
+
resultsCount: () => number;
|
|
330
|
+
resetResultsCount: () => void;
|
|
331
|
+
};
|
|
332
|
+
lastResult: () => {
|
|
333
|
+
name: string;
|
|
334
|
+
description?: string;
|
|
335
|
+
permissions?: Array<import("@northern.tech/types/types.gen").RolePermission>;
|
|
336
|
+
permission_sets_with_scope?: Array<import("@northern.tech/types/types.gen").PermissionSetWithScope>;
|
|
337
|
+
editable?: boolean;
|
|
338
|
+
isCustom?: boolean;
|
|
339
|
+
uiPermissions: Readonly<{
|
|
340
|
+
auditlog: string[];
|
|
341
|
+
deployments?: string[];
|
|
342
|
+
groups: Record<string, string[]>;
|
|
343
|
+
releases: Record<string, string[]>;
|
|
344
|
+
tenantManagement: string[];
|
|
345
|
+
userManagement: string[];
|
|
346
|
+
}>;
|
|
347
|
+
value: string;
|
|
348
|
+
}[];
|
|
349
|
+
dependencies: [(state: UsersState) => Record<string, import("@northern.tech/utils/constants").Role>];
|
|
350
|
+
recomputations: () => number;
|
|
351
|
+
resetRecomputations: () => void;
|
|
352
|
+
dependencyRecomputations: () => number;
|
|
353
|
+
resetDependencyRecomputations: () => void;
|
|
354
|
+
} & {
|
|
355
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
356
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
357
|
+
};
|
|
358
|
+
declare const getCurrentSession: (state: UsersState) => object | UserSession | undefined;
|
|
359
|
+
declare const getRolesInitialized: (state: UsersState) => boolean;
|
|
360
|
+
declare const getSecurityAlertDismissedTimestamp: (state: UsersState) => string | null;
|
|
361
|
+
//#endregion
|
|
362
|
+
export { getTooltipsState as _, getGlobalSettingsInitialized as a, getUsersById as b, getIsDarkMode as c, getRolesById as d, getRolesInitialized as f, getTooltipsById as g, getSelectedDeviceAttribute as h, getGlobalSettings as i, getOfflineThresholdSettings as l, getSecurityAlertDismissedTimestamp as m, getCurrentSession as n, getHas2FA as o, getRolesList as p, getCurrentUser as r, getIdAttribute as s, UsersState as t, getReadAllHelptips as u, getUserSettings as v, getUsersList as x, getUserSettingsInitialized as y };
|
|
363
|
+
//# sourceMappingURL=selectors-DQKg681M.d.ts.map
|