@ws-ui/store 0.2.16 → 0.2.18
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/index.cjs.js +82 -40
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5654 -5553
- package/dist/index.es.js.map +1 -1
- package/dist/modules/explorer/dbMethods.d.ts +4 -0
- package/dist/modules/explorer/thunks.d.ts +8 -3
- package/dist/modules/explorer/utils.d.ts +1 -1
- package/dist/modules/root/thunks.d.ts +1 -0
- package/package.json +2 -2
|
@@ -94,18 +94,23 @@ export declare const tryEditMethod: import("@reduxjs/toolkit").AsyncThunk<ITab<a
|
|
|
94
94
|
}, {
|
|
95
95
|
state: AppState;
|
|
96
96
|
}>;
|
|
97
|
-
|
|
97
|
+
type TCreateModelFilesPayloadDataclass = {
|
|
98
98
|
type: 'dataclass';
|
|
99
99
|
className: string;
|
|
100
100
|
collectionName: string;
|
|
101
101
|
toCreate?: ClassFileTypes;
|
|
102
|
-
|
|
102
|
+
expand?: boolean;
|
|
103
|
+
};
|
|
104
|
+
export type TCreateModelFilesPayload = TCreateModelFilesPayloadDataclass | {
|
|
103
105
|
type: 'model';
|
|
104
106
|
};
|
|
105
107
|
export declare const createModelFiles: import("@reduxjs/toolkit").AsyncThunk<void, TCreateModelFilesPayload, {
|
|
106
108
|
state: AppState;
|
|
107
109
|
}>;
|
|
108
|
-
export declare const fetchFolderContent: import("@reduxjs/toolkit").AsyncThunk<ITreeItem[], string
|
|
110
|
+
export declare const fetchFolderContent: import("@reduxjs/toolkit").AsyncThunk<ITreeItem[], string | {
|
|
111
|
+
nodePath: string;
|
|
112
|
+
expandDataclass?: string | undefined;
|
|
113
|
+
}, {
|
|
109
114
|
state: AppState;
|
|
110
115
|
}>;
|
|
111
116
|
export declare const fetchFolderContentWithoutExpanding: import("@reduxjs/toolkit").AsyncThunk<ITreeItem[], string, {}>;
|
|
@@ -15,5 +15,5 @@ type TGetContentReturnValue = {
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
export declare const getContent: () => TGetContentReturnValue;
|
|
18
|
-
export declare const createClassesFolderContent: (state: AppState, children: INodeInfo[]) => ITreeItem[]
|
|
18
|
+
export declare const createClassesFolderContent: (state: AppState, children: INodeInfo[], expandDataclass?: string) => Promise<ITreeItem[]>;
|
|
19
19
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.18",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@ws-ui/icons": "^0.0.26",
|
|
32
|
-
"@ws-ui/shared": "^0.2.
|
|
32
|
+
"@ws-ui/shared": "^0.2.16",
|
|
33
33
|
"lodash": "^4.17.21",
|
|
34
34
|
"minimatch": "^5.1.0",
|
|
35
35
|
"react": "^17.0.2",
|