@ndla/types-backend 0.2.35 → 0.2.36
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 +8 -0
- package/package.json +1 -1
package/build/myndla-api.d.ts
CHANGED
|
@@ -152,6 +152,14 @@ export interface ITopic {
|
|
|
152
152
|
created: string;
|
|
153
153
|
updated: string;
|
|
154
154
|
}
|
|
155
|
+
export interface ITopicWithPosts {
|
|
156
|
+
id: number;
|
|
157
|
+
title: string;
|
|
158
|
+
postCount: number;
|
|
159
|
+
posts: IPaginatedPosts;
|
|
160
|
+
created: string;
|
|
161
|
+
updated: string;
|
|
162
|
+
}
|
|
155
163
|
export interface IUpdatedFolder {
|
|
156
164
|
name?: string;
|
|
157
165
|
status?: string;
|
package/package.json
CHANGED