crud-page-react 0.0.5 → 0.0.6

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