@ndla/types-backend 0.2.35 → 0.2.37

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.
@@ -74,6 +74,9 @@ export interface INewCategory {
74
74
  title: string;
75
75
  description: string;
76
76
  }
77
+ export interface INewFlag {
78
+ reason: string;
79
+ }
77
80
  export interface INewFolder {
78
81
  name: string;
79
82
  parentId?: string;
@@ -152,6 +155,14 @@ export interface ITopic {
152
155
  created: string;
153
156
  updated: string;
154
157
  }
158
+ export interface ITopicWithPosts {
159
+ id: number;
160
+ title: string;
161
+ postCount: number;
162
+ posts: IPaginatedPosts;
163
+ created: string;
164
+ updated: string;
165
+ }
155
166
  export interface IUpdatedFolder {
156
167
  name?: string;
157
168
  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.37"
31
31
  }