@ndla/types-backend 0.2.46 → 0.2.47

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.
@@ -121,6 +121,8 @@ export interface INewResource {
121
121
  export interface INewTopic {
122
122
  title: string;
123
123
  initialPost: INewPost;
124
+ isLocked: boolean;
125
+ isPinned: boolean;
124
126
  }
125
127
  export interface IOwner {
126
128
  name: string;
@@ -175,6 +177,8 @@ export interface ITopic {
175
177
  updated: string;
176
178
  categoryId: number;
177
179
  isFollowing: boolean;
180
+ isLocked: boolean;
181
+ isPinned: boolean;
178
182
  }
179
183
  export interface ITopicWithPosts {
180
184
  id: number;
@@ -185,6 +189,8 @@ export interface ITopicWithPosts {
185
189
  updated: string;
186
190
  categoryId: number;
187
191
  isFollowing: boolean;
192
+ isLocked: boolean;
193
+ isPinned: boolean;
188
194
  }
189
195
  export interface IUpdatedFolder {
190
196
  name?: string;
package/package.json CHANGED
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.0.2"
29
29
  },
30
- "version": "0.2.46"
30
+ "version": "0.2.47"
31
31
  }