@etsoo/smarterp-core 1.1.72 → 1.1.74
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/lib/cjs/DocumentApi.d.ts +1 -1
- package/lib/cjs/dto/document/DocumentListData.d.ts +6 -0
- package/lib/mjs/DocumentApi.d.ts +1 -1
- package/lib/mjs/dto/document/DocumentListData.d.ts +6 -0
- package/package.json +1 -1
- package/src/DocumentApi.ts +1 -1
- package/src/dto/document/DocumentListData.ts +8 -0
package/lib/cjs/DocumentApi.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare class DocumentApi extends EntityApi {
|
|
|
45
45
|
* @param payload Payload
|
|
46
46
|
* @returns Result
|
|
47
47
|
*/
|
|
48
|
-
list(rq: DocumentListRQ, payload
|
|
48
|
+
list(rq: DocumentListRQ, payload?: IApiPayload<DocumentListData[]>): Promise<DocumentListData[] | undefined>;
|
|
49
49
|
/**
|
|
50
50
|
* Query
|
|
51
51
|
* @param rq Request data
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CustomFieldData } from "@etsoo/appscript";
|
|
1
2
|
/**
|
|
2
3
|
* Document list data
|
|
3
4
|
* 文档列表数据
|
|
@@ -13,4 +14,9 @@ export type DocumentListData = {
|
|
|
13
14
|
* 标题
|
|
14
15
|
*/
|
|
15
16
|
title: string;
|
|
17
|
+
/**
|
|
18
|
+
* Parameters fields
|
|
19
|
+
* 自定义参数字段
|
|
20
|
+
*/
|
|
21
|
+
parameters?: CustomFieldData[];
|
|
16
22
|
};
|
package/lib/mjs/DocumentApi.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare class DocumentApi extends EntityApi {
|
|
|
45
45
|
* @param payload Payload
|
|
46
46
|
* @returns Result
|
|
47
47
|
*/
|
|
48
|
-
list(rq: DocumentListRQ, payload
|
|
48
|
+
list(rq: DocumentListRQ, payload?: IApiPayload<DocumentListData[]>): Promise<DocumentListData[] | undefined>;
|
|
49
49
|
/**
|
|
50
50
|
* Query
|
|
51
51
|
* @param rq Request data
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CustomFieldData } from "@etsoo/appscript";
|
|
1
2
|
/**
|
|
2
3
|
* Document list data
|
|
3
4
|
* 文档列表数据
|
|
@@ -13,4 +14,9 @@ export type DocumentListData = {
|
|
|
13
14
|
* 标题
|
|
14
15
|
*/
|
|
15
16
|
title: string;
|
|
17
|
+
/**
|
|
18
|
+
* Parameters fields
|
|
19
|
+
* 自定义参数字段
|
|
20
|
+
*/
|
|
21
|
+
parameters?: CustomFieldData[];
|
|
16
22
|
};
|
package/package.json
CHANGED
package/src/DocumentApi.ts
CHANGED
|
@@ -67,7 +67,7 @@ export class DocumentApi extends EntityApi {
|
|
|
67
67
|
* @param payload Payload
|
|
68
68
|
* @returns Result
|
|
69
69
|
*/
|
|
70
|
-
list(rq: DocumentListRQ, payload
|
|
70
|
+
list(rq: DocumentListRQ, payload?: IApiPayload<DocumentListData[]>) {
|
|
71
71
|
return this.listBase(rq, payload);
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { CustomFieldData } from "@etsoo/appscript";
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Document list data
|
|
3
5
|
* 文档列表数据
|
|
@@ -14,4 +16,10 @@ export type DocumentListData = {
|
|
|
14
16
|
* 标题
|
|
15
17
|
*/
|
|
16
18
|
title: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Parameters fields
|
|
22
|
+
* 自定义参数字段
|
|
23
|
+
*/
|
|
24
|
+
parameters?: CustomFieldData[];
|
|
17
25
|
};
|