@ws-ui/store 1.11.4 → 1.11.7

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.
@@ -72,6 +72,14 @@ type TDatasourcesReturnType = {
72
72
  namespace: string;
73
73
  list: datasources.ICreateDataSource[];
74
74
  };
75
+ type TRenameDatasourceReturnType = {
76
+ path: string;
77
+ namespace: string;
78
+ allDatasource: {
79
+ local: datasources.ICreateDataSource[];
80
+ shared: Record<string, datasources.ICreateDataSource[]>;
81
+ };
82
+ };
75
83
  type TAddDatasource = {
76
84
  datasource: datasources.ICreateDataSource;
77
85
  path: string;
@@ -120,7 +128,7 @@ type TRenameDatasource = {
120
128
  namespace: string;
121
129
  updateRefs: boolean;
122
130
  };
123
- export declare const renameDatasource: import('@reduxjs/toolkit').AsyncThunk<OrNull<TDatasourcesReturnType>, TRenameDatasource, {
131
+ export declare const renameDatasource: import('@reduxjs/toolkit').AsyncThunk<OrNull<TRenameDatasourceReturnType>, TRenameDatasource, {
124
132
  state: AppState;
125
133
  dispatch: import('redux').Dispatch;
126
134
  extra: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ws-ui/store",
3
- "version": "1.11.4",
3
+ "version": "1.11.7",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@reduxjs/toolkit": "^1.7.1",
24
- "@ws-ui/icons": "1.11.4",
25
- "@ws-ui/shared": "1.11.4",
24
+ "@ws-ui/icons": "1.11.7",
25
+ "@ws-ui/shared": "1.11.7",
26
26
  "lodash": "^4.17.21",
27
27
  "minimatch": "^10.0.1",
28
28
  "react": "^17.0.2",