@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.
- package/build/myndla-api.d.ts +7 -5
- package/package.json +1 -1
package/build/myndla-api.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export type ArenaGroup = "ADMIN";
|
|
2
2
|
export interface IArenaUser {
|
|
3
|
-
id:
|
|
4
|
-
displayName:
|
|
5
|
-
username:
|
|
6
|
-
location:
|
|
7
|
-
groups:
|
|
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