@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.
@@ -35,7 +35,7 @@ export interface IFrontPage {
35
35
  export interface IMenu {
36
36
  articleId: number;
37
37
  menu: IMenuData[];
38
- hideLevel: boolean;
38
+ hideLevel?: boolean;
39
39
  }
40
40
  export type IMenuData = IMenu;
41
41
  export interface IMovieTheme {
@@ -121,8 +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
+ 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
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.3.3"
29
29
  },
30
- "version": "0.2.64"
30
+ "version": "0.2.66"
31
31
  }