@mx-space/api-client 1.11.0 → 1.11.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.
- package/controllers/post.ts +1 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +2 -2
package/controllers/post.ts
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1154,6 +1154,7 @@ type PostListOptions = {
|
|
|
1154
1154
|
year?: number;
|
|
1155
1155
|
sortBy?: 'categoryId' | 'title' | 'created' | 'modified';
|
|
1156
1156
|
sortOrder?: 1 | -1;
|
|
1157
|
+
truncate?: number;
|
|
1157
1158
|
};
|
|
1158
1159
|
declare class PostController<ResponseWrapper> implements IController {
|
|
1159
1160
|
private client;
|
package/dist/index.d.ts
CHANGED
|
@@ -1154,6 +1154,7 @@ type PostListOptions = {
|
|
|
1154
1154
|
year?: number;
|
|
1155
1155
|
sortBy?: 'categoryId' | 'title' | 'created' | 'modified';
|
|
1156
1156
|
sortOrder?: 1 | -1;
|
|
1157
|
+
truncate?: number;
|
|
1157
1158
|
};
|
|
1158
1159
|
declare class PostController<ResponseWrapper> implements IController {
|
|
1159
1160
|
private client;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-space/api-client",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A api client for mx-space server@next",
|
|
6
6
|
"author": "Innei",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"lodash": "4.17.21",
|
|
57
57
|
"tsup": "8.0.2",
|
|
58
58
|
"umi-request": "1.4.0",
|
|
59
|
-
"vite": "^5.1.
|
|
59
|
+
"vite": "^5.1.7",
|
|
60
60
|
"vitest": "^1.0.4"
|
|
61
61
|
}
|
|
62
62
|
}
|