@ndla/types-backend 0.2.83 → 0.2.85
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 +5 -0
- package/package.json +1 -1
package/build/myndla-api.d.ts
CHANGED
|
@@ -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;
|
|
@@ -198,6 +200,9 @@ export interface IStats {
|
|
|
198
200
|
numberOfSubjects: number;
|
|
199
201
|
numberOfSharedFolders: number;
|
|
200
202
|
favouritedResources: IResourceStats[];
|
|
203
|
+
favourited: {
|
|
204
|
+
[key: string]: number;
|
|
205
|
+
};
|
|
201
206
|
}
|
|
202
207
|
export interface ITopic {
|
|
203
208
|
id: number;
|
package/package.json
CHANGED