crud-page-react 0.0.6 → 0.1.0

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.
@@ -159,12 +159,12 @@ export interface CrudPageSchema {
159
159
  id: string;
160
160
  title: string;
161
161
  api: {
162
- list: string;
163
- create?: string;
164
- update?: string;
165
- delete?: string;
166
- detail?: string;
167
- [key: string]: string | ActionApiConfig | undefined;
162
+ list: ActionApiConfig;
163
+ create?: ActionApiConfig;
164
+ update?: ActionApiConfig;
165
+ delete?: ActionApiConfig;
166
+ detail?: ActionApiConfig;
167
+ [key: string]: ActionApiConfig | undefined;
168
168
  };
169
169
  fields: FieldSchema[];
170
170
  actions?: ActionSchema[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crud-page-react",
3
- "version": "0.0.6",
3
+ "version": "0.1.0",
4
4
  "description": "一个基于 React + Ant Design 的动态 CRUD 组件库,支持通过 JSON Schema 配置生成完整的增删改查界面",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",