api-client-fideicomisos 1.16.0 → 1.17.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.
package/dist/client.d.ts
CHANGED
|
@@ -49,8 +49,9 @@ export function client(options: any): {
|
|
|
49
49
|
topicId: any;
|
|
50
50
|
}) => any;
|
|
51
51
|
getByTopic: ({ topicId, page, pageSize }?: {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
topicId: number | string;
|
|
53
|
+
page?: number;
|
|
54
|
+
pageSize?: number;
|
|
54
55
|
}) => any;
|
|
55
56
|
};
|
|
56
57
|
footer: {
|
|
@@ -15,7 +15,8 @@ declare function projects({ client }: {
|
|
|
15
15
|
topicId: any;
|
|
16
16
|
}) => any;
|
|
17
17
|
getByTopic: ({ topicId, page, pageSize }?: {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
topicId: number | string;
|
|
19
|
+
page?: number;
|
|
20
|
+
pageSize?: number;
|
|
20
21
|
}) => any;
|
|
21
22
|
};
|
|
@@ -36,6 +36,9 @@ function projects(_ref) {
|
|
|
36
36
|
method: "get"
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* @param {{ topicId: number|string, page?: number, pageSize?: number }} params
|
|
41
|
+
*/
|
|
39
42
|
function getByTopic() {
|
|
40
43
|
var _ref5 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
41
44
|
topicId = _ref5.topicId,
|
package/package.json
CHANGED
|
@@ -27,6 +27,9 @@ function projects({ client }) {
|
|
|
27
27
|
method: "get",
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* @param {{ topicId: number|string, page?: number, pageSize?: number }} params
|
|
32
|
+
*/
|
|
30
33
|
function getByTopic({ topicId, page = 1, pageSize = 25 } = {}) {
|
|
31
34
|
const query = `?page=${page}&pageSize=${pageSize}`;
|
|
32
35
|
return client({
|