@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.
@@ -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
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.0.2"
29
29
  },
30
- "version": "0.2.35"
30
+ "version": "0.2.36"
31
31
  }