@steedos-widgets/amis-lib 0.0.12 → 0.0.13

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.
@@ -218,19 +218,6 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any): P
218
218
  bodyClassName: string;
219
219
  }[];
220
220
  messages: {};
221
- api: {
222
- method: string;
223
- url: string;
224
- headers: {
225
- Authorization: string;
226
- };
227
- data: {
228
- query: string;
229
- };
230
- sendOn: string;
231
- requestAdaptor: string;
232
- adaptor: string;
233
- };
234
221
  }[];
235
222
  }>;
236
223
  /**
@@ -13,6 +13,7 @@ export function getObjectList(objectSchema: any, fields: any, options: any): Pro
13
13
  _id: any;
14
14
  recordPermissions: any;
15
15
  uiSchema: any;
16
+ loaded: boolean;
16
17
  };
17
18
  body: {};
18
19
  }>;
@@ -110,13 +111,13 @@ export function getObjectDetail(objectSchema: any, recordId: any, ctx: any): Pro
110
111
  fetchInited: {
111
112
  weight: number;
112
113
  actions: {
113
- componentId: string;
114
114
  actionType: string;
115
+ eventName: string;
115
116
  args: {
116
- value: {
117
- record: string;
118
- uiSchema: any;
119
- };
117
+ eventName: string;
118
+ };
119
+ data: {
120
+ record: string;
120
121
  };
121
122
  }[];
122
123
  };
@@ -101,13 +101,13 @@ export function getViewSchema(objectName: any, recordId: any, ctx: any): Promise
101
101
  fetchInited: {
102
102
  weight: number;
103
103
  actions: {
104
- componentId: string;
105
104
  actionType: string;
105
+ eventName: string;
106
106
  args: {
107
- value: {
108
- record: string;
109
- uiSchema: any;
110
- };
107
+ eventName: string;
108
+ };
109
+ data: {
110
+ record: string;
111
111
  };
112
112
  }[];
113
113
  };
@@ -152,6 +152,7 @@ export function getTableSchema(appName: any, objectName: any, columns: any, ctx?
152
152
  _id: any;
153
153
  recordPermissions: any;
154
154
  uiSchema: any;
155
+ loaded: boolean;
155
156
  };
156
157
  body: {};
157
158
  };
@@ -246,19 +247,6 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any): Pro
246
247
  bodyClassName: string;
247
248
  }[];
248
249
  messages: {};
249
- api: {
250
- method: string;
251
- url: string;
252
- headers: {
253
- Authorization: string;
254
- };
255
- data: {
256
- query: string;
257
- };
258
- sendOn: string;
259
- requestAdaptor: string;
260
- adaptor: string;
261
- };
262
250
  }[];
263
251
  };
264
252
  }>;
@@ -287,6 +275,7 @@ export function getObjectRelatedList(appName: any, objectName: any, recordId: an
287
275
  _id: any;
288
276
  recordPermissions: any;
289
277
  uiSchema: any;
278
+ loaded: boolean;
290
279
  };
291
280
  body: {};
292
281
  };
@@ -19,6 +19,7 @@ export function getAmisObjectRelatedList(appName: any, objectName: any, recordId
19
19
  _id: any;
20
20
  recordPermissions: any;
21
21
  uiSchema: any;
22
+ loaded: boolean;
22
23
  };
23
24
  body: {};
24
25
  };
@@ -166,6 +166,16 @@ export function getRecordPageInitSchema(objectApiName: any): Promise<{
166
166
  label: string;
167
167
  objectApiName: string;
168
168
  recordId: string;
169
+ onEvent: {
170
+ recordLoaded: {
171
+ actions: {
172
+ actionType: string;
173
+ data: {
174
+ name: string;
175
+ };
176
+ }[];
177
+ };
178
+ };
169
179
  }[];
170
180
  }>;
171
181
  export function getListviewInitSchema(objectApiName: any, listViewName: any, ctx: any): Promise<{
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "0.0.12",
4
+ "version": "0.0.13",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",