@ndla/types-backend 0.2.64 → 0.2.66
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/frontpage-api.d.ts
CHANGED
package/build/myndla-api.d.ts
CHANGED
|
@@ -121,8 +121,8 @@ export interface INewResource {
|
|
|
121
121
|
export interface INewTopic {
|
|
122
122
|
title: string;
|
|
123
123
|
initialPost: INewPost;
|
|
124
|
-
isLocked
|
|
125
|
-
isPinned
|
|
124
|
+
isLocked?: boolean;
|
|
125
|
+
isPinned?: boolean;
|
|
126
126
|
}
|
|
127
127
|
export interface IOwner {
|
|
128
128
|
name: string;
|
|
@@ -174,6 +174,7 @@ export interface IResourceStats {
|
|
|
174
174
|
number: number;
|
|
175
175
|
}
|
|
176
176
|
export interface ISingleResourceStats {
|
|
177
|
+
id: string;
|
|
177
178
|
favourites: number;
|
|
178
179
|
}
|
|
179
180
|
export interface IStats {
|
package/package.json
CHANGED