@ws-ui/store 0.2.0 → 0.2.1
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.
|
@@ -29,13 +29,20 @@ type TAddDatasource = {
|
|
|
29
29
|
path: string;
|
|
30
30
|
};
|
|
31
31
|
export declare const addDatasource: import("@reduxjs/toolkit").AsyncThunk<TDatasourcesReturnType | undefined, TAddDatasource, AsyncThunkConfig>;
|
|
32
|
-
type
|
|
32
|
+
type TEditDatasourceProperty = {
|
|
33
33
|
id: string;
|
|
34
34
|
path: string;
|
|
35
35
|
value: any;
|
|
36
36
|
property: string;
|
|
37
37
|
namespace: string;
|
|
38
38
|
};
|
|
39
|
+
type TEditDatasourceProperties = {
|
|
40
|
+
id: string;
|
|
41
|
+
path: string;
|
|
42
|
+
changes: Record<string, any>;
|
|
43
|
+
namespace: string;
|
|
44
|
+
};
|
|
45
|
+
type TEditDatasource = TEditDatasourceProperty | TEditDatasourceProperties;
|
|
39
46
|
export declare const editDatasource: import("@reduxjs/toolkit").AsyncThunk<TDatasourcesReturnType | undefined, TEditDatasource, AsyncThunkConfig>;
|
|
40
47
|
export declare const isRenameDatasource: (action: PayloadAction<any>) => action is {
|
|
41
48
|
payload: TRenameDatasource;
|