@mx-space/api-client 0.10.1 → 0.10.2

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.
@@ -1,4 +1,5 @@
1
1
  import type { TextBaseModel } from './base';
2
+ import type { TopicModel } from './topic';
2
3
  export interface NoteModel extends TextBaseModel {
3
4
  hide: boolean;
4
5
  count: {
@@ -14,6 +15,8 @@ export interface NoteModel extends TextBaseModel {
14
15
  music?: NoteMusicRecord[];
15
16
  location?: string;
16
17
  coordinates?: Coordinate;
18
+ topic?: TopicModel;
19
+ topicId?: string;
17
20
  }
18
21
  export interface NoteMusicRecord {
19
22
  type: string;
@@ -1,4 +1,5 @@
1
1
  import type { TextBaseModel } from './base';
2
+ import type { TopicModel } from './topic';
2
3
  export interface NoteModel extends TextBaseModel {
3
4
  hide: boolean;
4
5
  count: {
@@ -14,6 +15,8 @@ export interface NoteModel extends TextBaseModel {
14
15
  music?: NoteMusicRecord[];
15
16
  location?: string;
16
17
  coordinates?: Coordinate;
18
+ topic?: TopicModel;
19
+ topicId?: string;
17
20
  }
18
21
  export interface NoteMusicRecord {
19
22
  type: string;
package/models/note.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { TextBaseModel } from './base'
2
+ import type { TopicModel } from './topic'
2
3
 
3
4
  export interface NoteModel extends TextBaseModel {
4
5
  hide: boolean
@@ -18,6 +19,8 @@ export interface NoteModel extends TextBaseModel {
18
19
  location?: string
19
20
 
20
21
  coordinates?: Coordinate
22
+ topic?: TopicModel
23
+ topicId?: string
21
24
  }
22
25
 
23
26
  export interface NoteMusicRecord {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-space/api-client",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "A api client for mx-space server@next",
5
5
  "author": "Innei",
6
6
  "license": "MIT",
@@ -1,4 +1,5 @@
1
1
  import type { TextBaseModel } from './base';
2
+ import type { TopicModel } from './topic';
2
3
  export interface NoteModel extends TextBaseModel {
3
4
  hide: boolean;
4
5
  count: {
@@ -14,6 +15,8 @@ export interface NoteModel extends TextBaseModel {
14
15
  music?: NoteMusicRecord[];
15
16
  location?: string;
16
17
  coordinates?: Coordinate;
18
+ topic?: TopicModel;
19
+ topicId?: string;
17
20
  }
18
21
  export interface NoteMusicRecord {
19
22
  type: string;