@fe-free/core 1.4.4 → 1.4.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @fe-free/core
2
2
 
3
+ ## 1.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: curd types
8
+ - @fe-free/tool@1.4.5
9
+
3
10
  ## 1.4.4
4
11
 
5
12
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fe-free/core",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -35,7 +35,7 @@
35
35
  "react-syntax-highlighter": "^15.5.0",
36
36
  "vanilla-jsoneditor": "^0.23.1",
37
37
  "zustand": "^4.5.4",
38
- "@fe-free/tool": "1.4.4"
38
+ "@fe-free/tool": "1.4.5"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@ant-design/pro-components": "^2.8.7",
@@ -86,7 +86,7 @@ async function fakeDeleteByRecord(record) {
86
86
 
87
87
  fakeData = fakeData.filter((item) => item.id !== record.id);
88
88
 
89
- return Promise.resolve({});
89
+ return Promise.resolve();
90
90
  }
91
91
 
92
92
  async function fakeGetByRecord(record) {
@@ -107,7 +107,7 @@ async function fakeCreate(params) {
107
107
  ...params,
108
108
  });
109
109
 
110
- return Promise.resolve({});
110
+ return Promise.resolve();
111
111
  }
112
112
 
113
113
  async function fakeUpdateById(params) {
@@ -123,7 +123,7 @@ async function fakeUpdateById(params) {
123
123
  return item;
124
124
  });
125
125
 
126
- return Promise.resolve({});
126
+ return Promise.resolve();
127
127
  }
128
128
 
129
129
  function fakeRequestCity(): Promise<string[]> {