@ws-ui/store 1.10.2 → 1.10.4-rc1
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/hooks/store.d.ts +1 -1
- package/dist/index.cjs.js +37 -37
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +8185 -8824
- package/dist/index.es.js.map +1 -1
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/modals/thunks.d.ts +1 -9
- package/dist/modules/roles/adapter.d.ts +1 -180
- package/dist/modules/roles/index.d.ts +1 -2
- package/dist/modules/roles/reducer.d.ts +1 -1
- package/dist/modules/roles/thunks.d.ts +1 -2
- package/dist/modules/tasks/selectors.d.ts +1 -1
- package/dist/modules/webforms/datasources.adapter.d.ts +1 -1
- package/dist/selectors/catalog.d.ts +8 -8
- package/dist/selectors/common.d.ts +4 -4
- package/dist/selectors/components.d.ts +1 -1
- package/dist/selectors/datasources.d.ts +8 -8
- package/dist/selectors/debugger.d.ts +28 -28
- package/dist/selectors/explorer.d.ts +26 -26
- package/dist/selectors/modals.d.ts +1 -1
- package/dist/selectors/roles.d.ts +24 -24
- package/dist/selectors/settings.d.ts +10 -10
- package/dist/selectors/states.d.ts +6 -6
- package/dist/selectors/styles.d.ts +5 -5
- package/dist/selectors/tabs.d.ts +5 -5
- package/dist/selectors/webforms.d.ts +14 -14
- package/package.json +3 -3
- package/dist/modules/roles/types.d.ts +0 -102
package/dist/modules/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const stateReducer: import('redux').Reducer<import('redux').Combi
|
|
|
13
13
|
state: "error";
|
|
14
14
|
error: string;
|
|
15
15
|
};
|
|
16
|
-
roles: import('
|
|
16
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
17
17
|
sharedDatasources: import('./shared-datasources').ISharedDatasourcesState;
|
|
18
18
|
sharedAppEvents: import('./shared-app-events').ISharedAppEventsState;
|
|
19
19
|
savedConditions: import('./shared-conditions').ISavedConditionsState;
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
interface IOpenModalPayload extends Omit<IModal, 'id' | 'isOpen' | 'type'> {
|
|
3
|
-
type?: ModalType;
|
|
4
|
-
}
|
|
5
|
-
interface IOpenModalReturnValue {
|
|
6
|
-
confirmed?: boolean;
|
|
7
|
-
options?: Record<string, boolean>;
|
|
8
|
-
}
|
|
1
|
+
import { IOpenModalPayload, IOpenModalReturnValue } from '@ws-ui/shared';
|
|
9
2
|
export declare const openModal: import('@reduxjs/toolkit').AsyncThunk<IOpenModalReturnValue, IOpenModalPayload, {
|
|
10
3
|
state?: unknown;
|
|
11
4
|
dispatch?: import('redux').Dispatch;
|
|
@@ -16,4 +9,3 @@ export declare const openModal: import('@reduxjs/toolkit').AsyncThunk<IOpenModal
|
|
|
16
9
|
fulfilledMeta?: unknown;
|
|
17
10
|
rejectedMeta?: unknown;
|
|
18
11
|
}>;
|
|
19
|
-
export {};
|
|
@@ -1,184 +1,5 @@
|
|
|
1
|
-
import { EPermissionType,
|
|
2
|
-
/**
|
|
3
|
-
* pushes uniquely list of items
|
|
4
|
-
* @param array input array
|
|
5
|
-
* @param args list of elements to add to the array
|
|
6
|
-
* @returns an array containing unique fields
|
|
7
|
-
*/
|
|
8
|
-
export declare function uniquePush<T = string>(array: T[], ...args: T[]): T[];
|
|
9
|
-
/**
|
|
10
|
-
* Sanitize a privileges array
|
|
11
|
-
* @param data unsanitized data
|
|
12
|
-
* @returns sanitized data
|
|
13
|
-
*/
|
|
14
|
-
export declare function sanitizePrivileges(data: IPrivilege[]): TById;
|
|
15
|
-
/**
|
|
16
|
-
* sort list of sanitized pivileges
|
|
17
|
-
* @param dict sanitized data
|
|
18
|
-
* @returns sorted privileges
|
|
19
|
-
*/
|
|
20
|
-
export declare function sort(dict: TById): TSanitizedPrivilege[];
|
|
21
|
-
/**
|
|
22
|
-
* Lists the parents of a specific element
|
|
23
|
-
* @param id identifier of the current element
|
|
24
|
-
* @param dict sanitized privileges
|
|
25
|
-
* @returns parents of the current element
|
|
26
|
-
*/
|
|
27
|
-
export declare function parents(id: string, dict: TById): string[];
|
|
28
|
-
/**
|
|
29
|
-
* Lists the children of a specific element
|
|
30
|
-
* @param id identifier of the current element
|
|
31
|
-
* @param dict sanitized privileges
|
|
32
|
-
* @returns children of the current element
|
|
33
|
-
*/
|
|
34
|
-
export declare function children(id: string, dict: TById): string[];
|
|
35
|
-
/**
|
|
36
|
-
* Calculates from a sanitized privileges dictionary the list of allowed to include children
|
|
37
|
-
* @param id identifier of the current element
|
|
38
|
-
* @param dict sanitized privileges
|
|
39
|
-
* @returns allowed to include privileges
|
|
40
|
-
*/
|
|
41
|
-
export declare function allowed(id: string, dict: TById): string[];
|
|
42
|
-
/**
|
|
43
|
-
* Removes an element from a sanitized dictionary
|
|
44
|
-
* @param id identifier of the current element
|
|
45
|
-
* @param dict sanitized privileges
|
|
46
|
-
* @returns new dictionary containing the initialone except the one with "id"
|
|
47
|
-
*/
|
|
48
|
-
export declare function remove(id: string, dict: TById): TById;
|
|
49
|
-
/**
|
|
50
|
-
* Adds an existing node as a child of another node
|
|
51
|
-
* @param parentId the parent identifier
|
|
52
|
-
* @param childId the child identifer
|
|
53
|
-
* @param dict sanitized privileges dictionary
|
|
54
|
-
* @returns the new dictionary
|
|
55
|
-
*/
|
|
56
|
-
export declare function addIn(parentId: string, childId: string, dict: TById): TById;
|
|
57
|
-
/**
|
|
58
|
-
* Removes an existing node from its (specified) parent
|
|
59
|
-
* @param parentId the parent identifier
|
|
60
|
-
* @param childId the child identifer
|
|
61
|
-
* @param dict sanitized privileges dictionary
|
|
62
|
-
* @returns the new dictionary
|
|
63
|
-
*/
|
|
64
|
-
export declare function removeFrom(parentId: string, childId: string, dict: TById): TById;
|
|
65
|
-
/**
|
|
66
|
-
* Create a new privilege
|
|
67
|
-
* @param name the privilege name
|
|
68
|
-
* @param dict sanitized privileges dictionary
|
|
69
|
-
* @returns the new dictionary
|
|
70
|
-
*/
|
|
71
|
-
export declare function create(name: string, dict: TById): TById;
|
|
1
|
+
import { EPermissionType, IResourcePermission, TRole, TRolesDict, TById } from '@ws-ui/shared';
|
|
72
2
|
export declare function createWithResource(name: string, resource: string, type: EPermissionType, action: IResourcePermission['name'], dict: TById): TById;
|
|
73
|
-
/**
|
|
74
|
-
* Renames an existing node
|
|
75
|
-
* @param name the new name
|
|
76
|
-
* @param id the node identifier
|
|
77
|
-
* @param dict sanitized privileges dictionary
|
|
78
|
-
* @returns the new dictionary
|
|
79
|
-
*/
|
|
80
|
-
export declare function rename(name: string, id: string, dict: TById): TById;
|
|
81
|
-
/**
|
|
82
|
-
* Populates a list privileges IDs
|
|
83
|
-
* @param ids the identifiers of privileges to populate
|
|
84
|
-
* @param dict sanitized privileges dictionary
|
|
85
|
-
* @returns populated privileges
|
|
86
|
-
*/
|
|
87
|
-
export declare function populateShallow(ids: string[], dict: TById): (IPrivilege | null)[];
|
|
88
|
-
/**
|
|
89
|
-
* Get the privilege object from its identifier
|
|
90
|
-
* @param id the identifier of the node
|
|
91
|
-
* @param dict sanitized privileges dictionary
|
|
92
|
-
* @returns populated privilege
|
|
93
|
-
*/
|
|
94
|
-
export declare function getPrivilegeById(id: string, dict: TById): TSanitizedPrivilege | null;
|
|
95
|
-
/**
|
|
96
|
-
* Maps the privileges to their permissions
|
|
97
|
-
* @param param0 the raw permission object
|
|
98
|
-
* @returns an object mapping the privilege to its permission
|
|
99
|
-
*/
|
|
100
|
-
export declare function actionsToPrivs({ applyTo: _, type, ...actions }: IPermission): {
|
|
101
|
-
[privName: string]: string[];
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Converts a raw permission to a resource
|
|
105
|
-
* @param item a permission
|
|
106
|
-
* @returns the resource object
|
|
107
|
-
*/
|
|
108
|
-
export declare function getResourceFromType(item: IPermission): IResource;
|
|
109
|
-
/**
|
|
110
|
-
* Sanitizes the raw permissions
|
|
111
|
-
* @param data list of raw permissions
|
|
112
|
-
* @param byKey dictionary
|
|
113
|
-
* @returns a new dictionary containing the sanitized permissions
|
|
114
|
-
*/
|
|
115
|
-
export declare function sanitizePermissions(data: IPermission[], byKey: TById): TById;
|
|
116
|
-
/**
|
|
117
|
-
* Converts a dictionary indexed by id to a new one indexed by name
|
|
118
|
-
* @param dict dictioanry
|
|
119
|
-
* @returns a new dictionary indexed by privilege name
|
|
120
|
-
*/
|
|
121
|
-
export declare function getDictByName(dict: TById): TById;
|
|
122
|
-
/**
|
|
123
|
-
* Sanitizes the content of roles.json file
|
|
124
|
-
* @param data raw data
|
|
125
|
-
* @returns sanitized data
|
|
126
|
-
*/
|
|
127
|
-
export declare function sanitize(data: TRawData): ISanitized;
|
|
128
|
-
/**
|
|
129
|
-
* Converts sanitized data to a valid API payload
|
|
130
|
-
* @param data sanitized dictionary
|
|
131
|
-
* @returns raw data
|
|
132
|
-
*/
|
|
133
|
-
export declare function toAPI(data: ISanitized): TRawData;
|
|
134
|
-
export declare function getGraphData(id: string, dict: TById): IGraphData;
|
|
135
|
-
/**
|
|
136
|
-
*
|
|
137
|
-
* @param id privilege id
|
|
138
|
-
* @param permission
|
|
139
|
-
* @param dict
|
|
140
|
-
*/
|
|
141
|
-
export declare function addPermission(id: string, permission: IPermission, dict: TById): TById;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @param id
|
|
145
|
-
* @param permission
|
|
146
|
-
* @param dict
|
|
147
|
-
*/
|
|
148
|
-
export declare function removePermission(id: string, permission: IPermission, dict: TById): TById;
|
|
149
|
-
/**
|
|
150
|
-
* @param resourcesByPermission
|
|
151
|
-
* @param dict
|
|
152
|
-
*/
|
|
153
|
-
export declare function removeMultiplePermissions(resourcesByPermission: IResourcesByPermission, dict: TById): TById;
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
* @param id
|
|
157
|
-
* @param permission
|
|
158
|
-
* @param dict
|
|
159
|
-
*/
|
|
160
|
-
export declare function resetResources(id: string, dict: TById): TById;
|
|
161
|
-
/**
|
|
162
|
-
*
|
|
163
|
-
* @param id privilege id
|
|
164
|
-
* @param resource resource name
|
|
165
|
-
* @param type resource type
|
|
166
|
-
* @param permission permission name
|
|
167
|
-
* @param dict privileges dictionary
|
|
168
|
-
* @returns
|
|
169
|
-
*/
|
|
170
3
|
export declare function togglePrivilegePermission(id: string, resource: string, type: EPermissionType, permission: IResourcePermission['name'], dict: TById): TById;
|
|
171
|
-
/**
|
|
172
|
-
*
|
|
173
|
-
* @param id
|
|
174
|
-
* @param permission
|
|
175
|
-
* @param dict
|
|
176
|
-
*/
|
|
177
|
-
export declare function togglePermission(id: string, resource: IResource, permission: IResourcePermission, dict: TById): TById;
|
|
178
|
-
export declare function getPromotions(id: string, dict: TById): Record<string, string[]>;
|
|
179
|
-
export declare function getInheritedResources(id: string, dict: TById): IResource[];
|
|
180
4
|
export declare const toState: (rolesArray: TRole[]) => TRolesDict;
|
|
181
|
-
export declare const removeRole: (id: string, roles: TRolesDict) => TRolesDict;
|
|
182
5
|
export declare const editRole: (id: string, newName: string, roles: TRolesDict) => TRolesDict;
|
|
183
|
-
export declare const createRole: (id: string, name: string, roles: TRolesDict) => TRolesDict;
|
|
184
|
-
export declare const saveRole: (role: TRole, roles: TRolesDict) => TRolesDict;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
declare const _default: import('redux').Reducer<import('
|
|
1
|
+
declare const _default: import('redux').Reducer<import('@ws-ui/shared').IRolesState>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export * from './reducer';
|
|
4
4
|
export * from './thunks';
|
|
5
|
-
export * from './types';
|
|
6
5
|
export * from './adapter';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import { IRolesState, TById, TRawData, TRolesDict } from '
|
|
2
|
+
import { IRolesState, TById, TRawData, TRolesDict } from '@ws-ui/shared';
|
|
3
3
|
declare const stateSlice: import('@reduxjs/toolkit').Slice<IRolesState, {
|
|
4
4
|
updatePrivileges: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<TById>) => void;
|
|
5
5
|
updateRoles: (state: import('immer/dist/internal').WritableDraft<IRolesState>, action: PayloadAction<TRolesDict>) => void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ITabFlags, IFileContentResponse, ISetFileContentResponse } from '@ws-ui/shared';
|
|
1
|
+
import { ITabFlags, IFileContentResponse, ISetFileContentResponse, ISanitized } from '@ws-ui/shared';
|
|
2
2
|
import { AppState } from '..';
|
|
3
|
-
import { ISanitized } from './types';
|
|
4
3
|
export declare const fetchRoles: import('@reduxjs/toolkit').AsyncThunk<IFileContentResponse<ISanitized>, void, {
|
|
5
4
|
state: AppState;
|
|
6
5
|
rejectValue: string;
|
|
@@ -12,7 +12,7 @@ export declare const selectAllTasks: ((state: import('redux').EmptyObject & {
|
|
|
12
12
|
state: "error";
|
|
13
13
|
error: string;
|
|
14
14
|
};
|
|
15
|
-
roles: import('
|
|
15
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
16
16
|
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
17
17
|
sharedAppEvents: import('..').ISharedAppEventsState;
|
|
18
18
|
savedConditions: import('..').ISavedConditionsState;
|
|
@@ -12,7 +12,7 @@ export declare const listDsNamespaces: import('lodash').CurriedFunction2<string,
|
|
|
12
12
|
state: "error";
|
|
13
13
|
error: string;
|
|
14
14
|
};
|
|
15
|
-
roles: import('
|
|
15
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
16
16
|
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
17
17
|
sharedAppEvents: import('..').ISharedAppEventsState;
|
|
18
18
|
savedConditions: import('..').ISavedConditionsState;
|
|
@@ -12,7 +12,7 @@ export declare const selectCatalog: ((state: import('redux').EmptyObject & {
|
|
|
12
12
|
state: "error";
|
|
13
13
|
error: string;
|
|
14
14
|
};
|
|
15
|
-
roles: import('
|
|
15
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
16
16
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
17
17
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
18
18
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -35,7 +35,7 @@ export declare const selectCatalog: ((state: import('redux').EmptyObject & {
|
|
|
35
35
|
state: "error";
|
|
36
36
|
error: string;
|
|
37
37
|
};
|
|
38
|
-
roles: import('
|
|
38
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
39
39
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
40
40
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
41
41
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -63,7 +63,7 @@ export declare const selectCatalogState: ((state: import('redux').EmptyObject &
|
|
|
63
63
|
state: "error";
|
|
64
64
|
error: string;
|
|
65
65
|
};
|
|
66
|
-
roles: import('
|
|
66
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
67
67
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
68
68
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
69
69
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -86,7 +86,7 @@ export declare const selectCatalogState: ((state: import('redux').EmptyObject &
|
|
|
86
86
|
state: "error";
|
|
87
87
|
error: string;
|
|
88
88
|
};
|
|
89
|
-
roles: import('
|
|
89
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
90
90
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
91
91
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
92
92
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -114,7 +114,7 @@ export declare const selectDataclasses: ((state: import('redux').EmptyObject & {
|
|
|
114
114
|
state: "error";
|
|
115
115
|
error: string;
|
|
116
116
|
};
|
|
117
|
-
roles: import('
|
|
117
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
118
118
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
119
119
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
120
120
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -142,7 +142,7 @@ export declare const selectSingletons: ((state: import('redux').EmptyObject & {
|
|
|
142
142
|
state: "error";
|
|
143
143
|
error: string;
|
|
144
144
|
};
|
|
145
|
-
roles: import('
|
|
145
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
146
146
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
147
147
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
148
148
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -170,7 +170,7 @@ export declare const selectVirtualDataClasses: ((state: import('redux').EmptyObj
|
|
|
170
170
|
state: "error";
|
|
171
171
|
error: string;
|
|
172
172
|
};
|
|
173
|
-
roles: import('
|
|
173
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
174
174
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
175
175
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
176
176
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -198,7 +198,7 @@ export declare const selectCatalogMethods: ((state: import('redux').EmptyObject
|
|
|
198
198
|
state: "error";
|
|
199
199
|
error: string;
|
|
200
200
|
};
|
|
201
|
-
roles: import('
|
|
201
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
202
202
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
203
203
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
204
204
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -12,7 +12,7 @@ export declare const selectAppState: ((state: import('redux').EmptyObject & {
|
|
|
12
12
|
state: "error";
|
|
13
13
|
error: string;
|
|
14
14
|
};
|
|
15
|
-
roles: import('
|
|
15
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
16
16
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
17
17
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
18
18
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -35,7 +35,7 @@ export declare const selectAppState: ((state: import('redux').EmptyObject & {
|
|
|
35
35
|
state: "error";
|
|
36
36
|
error: string;
|
|
37
37
|
};
|
|
38
|
-
roles: import('
|
|
38
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
39
39
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
40
40
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
41
41
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -58,7 +58,7 @@ export declare const selectAppState: ((state: import('redux').EmptyObject & {
|
|
|
58
58
|
state: "error";
|
|
59
59
|
error: string;
|
|
60
60
|
};
|
|
61
|
-
roles: import('
|
|
61
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
62
62
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
63
63
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
64
64
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -81,7 +81,7 @@ export declare const selectAppState: ((state: import('redux').EmptyObject & {
|
|
|
81
81
|
state: "error";
|
|
82
82
|
error: string;
|
|
83
83
|
};
|
|
84
|
-
roles: import('
|
|
84
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
85
85
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
86
86
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
87
87
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -17,7 +17,7 @@ export declare const selectComponentsByPath: (tabPath: string) => ((state: impor
|
|
|
17
17
|
state: "error";
|
|
18
18
|
error: string;
|
|
19
19
|
};
|
|
20
|
-
roles: import('
|
|
20
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
21
21
|
sharedDatasources: import('..').ISharedDatasourcesState;
|
|
22
22
|
sharedAppEvents: import('..').ISharedAppEventsState;
|
|
23
23
|
savedConditions: import('..').ISavedConditionsState;
|
|
@@ -17,7 +17,7 @@ export declare const selectDatasourcesByPath: (tabPath: string) => ((state: impo
|
|
|
17
17
|
state: "error";
|
|
18
18
|
error: string;
|
|
19
19
|
};
|
|
20
|
-
roles: import('
|
|
20
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
21
21
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
22
22
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
23
23
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -52,7 +52,7 @@ export declare const selectDatasource: (id: string, namespace: string, tabPath:
|
|
|
52
52
|
state: "error";
|
|
53
53
|
error: string;
|
|
54
54
|
};
|
|
55
|
-
roles: import('
|
|
55
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
56
56
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
57
57
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
58
58
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -75,7 +75,7 @@ export declare const selectDatasource: (id: string, namespace: string, tabPath:
|
|
|
75
75
|
state: "error";
|
|
76
76
|
error: string;
|
|
77
77
|
};
|
|
78
|
-
roles: import('
|
|
78
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
79
79
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
80
80
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
81
81
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -106,7 +106,7 @@ export declare const selectSharedDatasources: ((state: import('redux').EmptyObje
|
|
|
106
106
|
state: "error";
|
|
107
107
|
error: string;
|
|
108
108
|
};
|
|
109
|
-
roles: import('
|
|
109
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
110
110
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
111
111
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
112
112
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -131,7 +131,7 @@ export declare const selectSharedDatasources: ((state: import('redux').EmptyObje
|
|
|
131
131
|
state: "error";
|
|
132
132
|
error: string;
|
|
133
133
|
};
|
|
134
|
-
roles: import('
|
|
134
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
135
135
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
136
136
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
137
137
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -161,7 +161,7 @@ export declare const selectSharedDatasourcesState: ((state: import('redux').Empt
|
|
|
161
161
|
state: "error";
|
|
162
162
|
error: string;
|
|
163
163
|
};
|
|
164
|
-
roles: import('
|
|
164
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
165
165
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
166
166
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
167
167
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -184,7 +184,7 @@ export declare const selectSharedDatasourcesState: ((state: import('redux').Empt
|
|
|
184
184
|
state: "error";
|
|
185
185
|
error: string;
|
|
186
186
|
};
|
|
187
|
-
roles: import('
|
|
187
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
188
188
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
189
189
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
190
190
|
savedConditions: import('../modules').ISavedConditionsState;
|
|
@@ -222,7 +222,7 @@ export declare const selectAllDatasourcesByPath: (tabPath: string, exclude?: "pr
|
|
|
222
222
|
state: "error";
|
|
223
223
|
error: string;
|
|
224
224
|
};
|
|
225
|
-
roles: import('
|
|
225
|
+
roles: import('@ws-ui/shared').IRolesState;
|
|
226
226
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
227
227
|
sharedAppEvents: import('../modules').ISharedAppEventsState;
|
|
228
228
|
savedConditions: import('../modules').ISavedConditionsState;
|