@mx-space/api-client 0.4.12 → 0.4.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.
package/build/index.d.ts CHANGED
@@ -370,7 +370,7 @@ export interface CommentModel extends BaseModel {
370
370
  agent?: string;
371
371
  key: string;
372
372
  avatar: string;
373
- parent?: CommentModel;
373
+ parent?: CommentModel | string;
374
374
  children: CommentModel[];
375
375
  }
376
376
  declare class CommentDto {
@@ -17,12 +17,12 @@ export interface CommentModel extends BaseModel {
17
17
  agent?: string;
18
18
  key: string;
19
19
  avatar: string;
20
- parent?: CommentModel;
20
+ parent?: CommentModel | string;
21
21
  children: CommentModel[];
22
22
  }
23
23
  export interface CommentRef {
24
24
  id: string;
25
- category_id?: string;
25
+ categoryId?: string;
26
26
  slug: string;
27
27
  title: string;
28
28
  category?: CategoryModel;
@@ -17,12 +17,12 @@ export interface CommentModel extends BaseModel {
17
17
  agent?: string;
18
18
  key: string;
19
19
  avatar: string;
20
- parent?: CommentModel;
20
+ parent?: CommentModel | string;
21
21
  children: CommentModel[];
22
22
  }
23
23
  export interface CommentRef {
24
24
  id: string;
25
- category_id?: string;
25
+ categoryId?: string;
26
26
  slug: string;
27
27
  title: string;
28
28
  category?: CategoryModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-space/api-client",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "description": "A api client for mx-space server@next",
5
5
  "author": "Innei",
6
6
  "license": "MIT",