@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.
- package/build/myndla-api.d.ts +6 -0
- package/package.json +1 -1
package/build/myndla-api.d.ts
CHANGED
|
@@ -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