@ndla/types-backend 0.2.84 → 0.2.86

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,10 +1,10 @@
1
1
  export type ArenaGroup = "ADMIN";
2
2
  export interface IArenaUser {
3
- id: number;
4
- displayName: string;
5
- username: string;
6
- location: string;
7
- groups: ArenaGroup[];
3
+ id: "circular reference error";
4
+ displayName: "circular reference error";
5
+ username: "circular reference error";
6
+ location: "circular reference error";
7
+ groups: "circular reference error";
8
8
  }
9
9
  export interface IBreadcrumb {
10
10
  id: string;
@@ -116,6 +116,7 @@ export interface INewFolder {
116
116
  }
117
117
  export interface INewPost {
118
118
  content: string;
119
+ toPostId?: number;
119
120
  }
120
121
  export interface INewPostNotification {
121
122
  id: number;
@@ -172,6 +173,7 @@ export interface IPost {
172
173
  owner?: IArenaUser;
173
174
  flags?: IFlag[];
174
175
  topicId: number;
176
+ replies: IPost[];
175
177
  }
176
178
  export interface IResource {
177
179
  id: string;
package/package.json CHANGED
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.3.3"
29
29
  },
30
- "version": "0.2.84"
30
+ "version": "0.2.86"
31
31
  }