@ndla/types-backend 0.2.85 → 0.2.87
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 +15 -13
- 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;
|
|
@@ -25,8 +25,8 @@ export interface ICategory {
|
|
|
25
25
|
breadcrumbs: ICategoryBreadcrumb[];
|
|
26
26
|
}
|
|
27
27
|
export interface ICategoryBreadcrumb {
|
|
28
|
-
id:
|
|
29
|
-
title:
|
|
28
|
+
id: "circular reference error";
|
|
29
|
+
title: "circular reference error";
|
|
30
30
|
}
|
|
31
31
|
export interface ICategoryWithTopics {
|
|
32
32
|
id: number;
|
|
@@ -56,12 +56,12 @@ export interface IConfigMetaRestricted {
|
|
|
56
56
|
value: (boolean | string[]);
|
|
57
57
|
}
|
|
58
58
|
export interface IFlag {
|
|
59
|
-
id:
|
|
60
|
-
reason:
|
|
61
|
-
created:
|
|
62
|
-
resolved?:
|
|
63
|
-
isResolved:
|
|
64
|
-
flagger?:
|
|
59
|
+
id: "circular reference error";
|
|
60
|
+
reason: "circular reference error";
|
|
61
|
+
created: "circular reference error";
|
|
62
|
+
resolved?: "circular reference error";
|
|
63
|
+
isResolved: "circular reference error";
|
|
64
|
+
flagger?: "circular reference error";
|
|
65
65
|
}
|
|
66
66
|
export interface IFolder {
|
|
67
67
|
id: string;
|
|
@@ -174,6 +174,8 @@ export interface IPost {
|
|
|
174
174
|
flags?: IFlag[];
|
|
175
175
|
topicId: number;
|
|
176
176
|
replies: IPost[];
|
|
177
|
+
upvotes: number;
|
|
178
|
+
upvoted: boolean;
|
|
177
179
|
}
|
|
178
180
|
export interface IResource {
|
|
179
181
|
id: string;
|
package/package.json
CHANGED