@ws-ui/store 1.5.0 → 1.5.2
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/modules/root/reducer.d.ts +2 -2
- package/dist/modules/root/thunks.d.ts +3 -3
- package/dist/modules/shared-datasources/thunks.d.ts +4 -4
- package/dist/modules/webforms/datasources.adapter.d.ts +2 -1
- package/dist/package.json +2 -2
- package/dist/selectors/datasources.d.ts +8 -8
- package/dist/selectors/webforms.d.ts +2 -2
- package/package.json +2 -2
|
@@ -107,10 +107,10 @@ export declare const copyToClipBoard: import('@reduxjs/toolkit').ActionCreatorWi
|
|
|
107
107
|
inactive: boolean;
|
|
108
108
|
}> | undefined;
|
|
109
109
|
}, "root/setTabExtra">, closeAllTabs: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"root/closeAllTabs">, addDataSource: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
110
|
-
datasourceDef:
|
|
110
|
+
datasourceDef: datasources.ICreateDataSource;
|
|
111
111
|
path: string;
|
|
112
112
|
}, "root/addDataSource">, closeRightTabs: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "root/closeRightTabs">, closeOthers: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "root/closeOthers">, closeLeftTabs: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "root/closeLeftTabs">, closeSavedTabs: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"root/closeSavedTabs">, setDataSources: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
113
|
-
datasourceArr:
|
|
113
|
+
datasourceArr: datasources.ICreateDataSource[];
|
|
114
114
|
path: string;
|
|
115
115
|
}, "root/setDataSources">, removeDataSource: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
116
116
|
path: string;
|
|
@@ -26,8 +26,8 @@ export declare const fetchFiles: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const renameDataSource: import('@reduxjs/toolkit').AsyncThunk<{
|
|
28
28
|
path: string | undefined;
|
|
29
|
-
namespace:
|
|
30
|
-
datasources:
|
|
29
|
+
namespace: string;
|
|
30
|
+
datasources: datasources.ICreateDataSource[];
|
|
31
31
|
} | null, TActionRenameDataSource, {
|
|
32
32
|
state?: unknown;
|
|
33
33
|
dispatch?: Dispatch<import('redux').AnyAction> | undefined;
|
|
@@ -38,7 +38,7 @@ export declare const renameDataSource: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
38
38
|
fulfilledMeta?: unknown;
|
|
39
39
|
rejectedMeta?: unknown;
|
|
40
40
|
}>;
|
|
41
|
-
export declare const editDataSource: import('@reduxjs/toolkit').AsyncThunk<
|
|
41
|
+
export declare const editDataSource: import('@reduxjs/toolkit').AsyncThunk<(datasources.ICreateDataSourceScalar | datasources.ICreateDataSourceEntity | datasources.ICreateDataSourceEntitySelection)[], {
|
|
42
42
|
path: string;
|
|
43
43
|
datasourceId: string;
|
|
44
44
|
namespace?: string | undefined;
|
|
@@ -11,7 +11,7 @@ export declare const fetchSharedDatasources: import('@reduxjs/toolkit').AsyncThu
|
|
|
11
11
|
fulfilledMeta?: unknown;
|
|
12
12
|
rejectedMeta?: unknown;
|
|
13
13
|
}>;
|
|
14
|
-
export declare const addSharedSource: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse,
|
|
14
|
+
export declare const addSharedSource: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse, datasources.ICreateDataSource, {
|
|
15
15
|
rejectValue: string;
|
|
16
16
|
state: AppState;
|
|
17
17
|
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
@@ -22,8 +22,8 @@ export declare const addSharedSource: import('@reduxjs/toolkit').AsyncThunk<ISha
|
|
|
22
22
|
rejectedMeta?: unknown;
|
|
23
23
|
}>;
|
|
24
24
|
export declare const editSharedSource: import('@reduxjs/toolkit').AsyncThunk<{
|
|
25
|
-
[key: string]:
|
|
26
|
-
},
|
|
25
|
+
[key: string]: datasources.ICreateDataSource[];
|
|
26
|
+
}, datasources.ICreateDataSource, {
|
|
27
27
|
state?: unknown;
|
|
28
28
|
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
29
29
|
extra?: unknown;
|
|
@@ -46,7 +46,7 @@ export declare const deleteSharedSource: import('@reduxjs/toolkit').AsyncThunk<I
|
|
|
46
46
|
fulfilledMeta?: unknown;
|
|
47
47
|
rejectedMeta?: unknown;
|
|
48
48
|
}>;
|
|
49
|
-
export declare const updateSharedDatasources: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse,
|
|
49
|
+
export declare const updateSharedDatasources: import('@reduxjs/toolkit').AsyncThunk<ISharedDatasourcesResponse, datasources.ICreateDataSource[], {
|
|
50
50
|
rejectValue: string;
|
|
51
51
|
state: AppState;
|
|
52
52
|
dispatch?: import('redux').Dispatch<import('redux').AnyAction> | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="@ws-ui/shared/dist/declarations/datasources/datasource" />
|
|
1
2
|
export declare const listDsNamespaces: import('lodash').CurriedFunction2<string, import('redux').CombinedState<{
|
|
2
3
|
root: import('..').IRootState;
|
|
3
4
|
explorer: import('..').ITreeItem[];
|
|
@@ -21,5 +22,5 @@ export declare const listDsNamespaces: import('lodash').CurriedFunction2<string,
|
|
|
21
22
|
model: import('..').IModelState;
|
|
22
23
|
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
23
24
|
}>, {
|
|
24
|
-
[x: string]:
|
|
25
|
+
[x: string]: datasources.ICreateDataSource[];
|
|
25
26
|
}>;
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"overrides": {
|
|
19
19
|
"@ws-ui/shared": {
|
|
20
|
-
"@ws-ui/icons": "1.5.
|
|
20
|
+
"@ws-ui/icons": "1.5.2"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
@@ -26,7 +26,7 @@ export declare const selectDatasourcesByPath: (tabPath: string) => ((state: impo
|
|
|
26
26
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
27
27
|
model: import('../modules').IModelState;
|
|
28
28
|
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
29
|
-
}) =>
|
|
29
|
+
}) => datasources.ICreateDataSource[]) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IRootState) => datasources.ICreateDataSource[], {
|
|
30
30
|
clearCache: () => void;
|
|
31
31
|
}> & {
|
|
32
32
|
clearCache: () => void;
|
|
@@ -60,7 +60,7 @@ export declare const selectDatasource: (id: string, namespace: string, tabPath:
|
|
|
60
60
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
61
61
|
model: import('../modules').IModelState;
|
|
62
62
|
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
63
|
-
}) =>
|
|
63
|
+
}) => datasources.ICreateDataSourceScalar | datasources.ICreateDataSourceEntity | datasources.ICreateDataSourceEntitySelection | undefined) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
|
|
64
64
|
root: import('../modules').IRootState;
|
|
65
65
|
explorer: import('../modules').ITreeItem[];
|
|
66
66
|
debugger: import('../modules').IDebuggerState;
|
|
@@ -82,7 +82,7 @@ export declare const selectDatasource: (id: string, namespace: string, tabPath:
|
|
|
82
82
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
83
83
|
model: import('../modules').IModelState;
|
|
84
84
|
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
85
|
-
}>) =>
|
|
85
|
+
}>) => datasources.ICreateDataSourceScalar | datasources.ICreateDataSourceEntity | datasources.ICreateDataSourceEntitySelection | undefined, {
|
|
86
86
|
clearCache: () => void;
|
|
87
87
|
}> & {
|
|
88
88
|
clearCache: () => void;
|
|
@@ -113,7 +113,7 @@ export declare const selectSharedDatasources: ((state: import('redux').EmptyObje
|
|
|
113
113
|
model: import('../modules').IModelState;
|
|
114
114
|
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
115
115
|
}) => {
|
|
116
|
-
[key: string]:
|
|
116
|
+
[key: string]: datasources.ICreateDataSource[];
|
|
117
117
|
}) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
|
|
118
118
|
root: import('../modules').IRootState;
|
|
119
119
|
explorer: import('../modules').ITreeItem[];
|
|
@@ -137,7 +137,7 @@ export declare const selectSharedDatasources: ((state: import('redux').EmptyObje
|
|
|
137
137
|
model: import('../modules').IModelState;
|
|
138
138
|
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
139
139
|
}>) => {
|
|
140
|
-
[key: string]:
|
|
140
|
+
[key: string]: datasources.ICreateDataSource[];
|
|
141
141
|
}, {
|
|
142
142
|
clearCache: () => void;
|
|
143
143
|
}> & {
|
|
@@ -224,9 +224,9 @@ export declare const selectAllDatasourcesByPath: (tabPath: string, exclude?: 'pr
|
|
|
224
224
|
sharedCSS: import('../modules').ISharedCSSState;
|
|
225
225
|
model: import('../modules').IModelState;
|
|
226
226
|
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
227
|
-
}) =>
|
|
228
|
-
[key: string]:
|
|
229
|
-
}) =>
|
|
227
|
+
}) => datasources.ICreateDataSource[]) & import('reselect').OutputSelectorFields<(args_0: datasources.ICreateDataSource[], args_1: {
|
|
228
|
+
[key: string]: datasources.ICreateDataSource[];
|
|
229
|
+
}) => datasources.ICreateDataSource[], {
|
|
230
230
|
clearCache: () => void;
|
|
231
231
|
}> & {
|
|
232
232
|
clearCache: () => void;
|
|
@@ -362,14 +362,14 @@ export declare const selectWebformMetadataByPath: (tabPath: string) => ((state:
|
|
|
362
362
|
tasks: import('@ws-ui/shared').ISingleTask[];
|
|
363
363
|
}) => Partial<{
|
|
364
364
|
v: string;
|
|
365
|
-
datasources:
|
|
365
|
+
datasources: datasources.ICreateDataSource[];
|
|
366
366
|
states: import('@ws-ui/shared').WebformState[];
|
|
367
367
|
defaultStates: string[];
|
|
368
368
|
styles: import('@ws-ui/shared').IWebFormStyleClass[];
|
|
369
369
|
title: string;
|
|
370
370
|
}>) & import('reselect').OutputSelectorFields<(args_0: import('../modules').IRootState) => Partial<{
|
|
371
371
|
v: string;
|
|
372
|
-
datasources:
|
|
372
|
+
datasources: datasources.ICreateDataSource[];
|
|
373
373
|
states: import('@ws-ui/shared').WebformState[];
|
|
374
374
|
defaultStates: string[];
|
|
375
375
|
styles: import('@ws-ui/shared').IWebFormStyleClass[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"overrides": {
|
|
19
19
|
"@ws-ui/shared": {
|
|
20
|
-
"@ws-ui/icons": "1.5.
|
|
20
|
+
"@ws-ui/icons": "1.5.2"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|