@steedos-widgets/amis-lib 3.6.0-beta.7 → 3.6.1

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.
@@ -191,7 +191,7 @@ export function lookupToAmisSelect(field: any, readonly: any, ctx: any): Promise
191
191
  };
192
192
  searchable: boolean;
193
193
  }>;
194
- export function lookupToAmis(field: any, readonly: any, ctx: any): Promise<{}>;
194
+ export function lookupToAmis(field: any, readonly: any, ctx: any): Promise<any>;
195
195
  export function lookupToAmisSelectUser(field: any, readonly: any, ctx: any): Promise<{}>;
196
196
  export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Promise<{
197
197
  type: any;
@@ -5,6 +5,14 @@ export function getObjectCRUD(objectSchema: any, fields: any, options: any): Pro
5
5
  name: string;
6
6
  data: any;
7
7
  body: any;
8
+ onEvent: {
9
+ [x: string]: {
10
+ actions: {
11
+ actionType: string;
12
+ script: string;
13
+ }[];
14
+ };
15
+ };
8
16
  }>;
9
17
  export function getObjectForm(objectSchema: any, ctx: any): Promise<{
10
18
  type: string;
@@ -199,6 +199,14 @@ export function getTableSchema(appName: any, objectName: any, columns: any, ctx?
199
199
  name: string;
200
200
  data: any;
201
201
  body: any;
202
+ onEvent: {
203
+ [x: string]: {
204
+ actions: {
205
+ actionType: string;
206
+ script: string;
207
+ }[];
208
+ };
209
+ };
202
210
  };
203
211
  }>;
204
212
  export function getCalendarSchema(appName: any, objectName: any, calendarOptions: any, ctx?: {}): Promise<{
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "3.6.0-beta.7",
4
+ "version": "3.6.1",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -61,5 +61,5 @@
61
61
  "lodash": "^4.17.21",
62
62
  "react-i18next": "12.3.1"
63
63
  },
64
- "gitHead": "9787e8edaf6e30ac08651eddcf0ca1b99f341a37"
64
+ "gitHead": "b2b52d0b516c85f7b57e75b13f29c8a9023762d0"
65
65
  }