@ndla/types-backend 0.2.65 → 0.2.67

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 {
@@ -209,4 +209,4 @@ export interface IUpdatedResource {
209
209
  tags?: string[];
210
210
  resourceId?: string;
211
211
  }
212
- export type ResourceType = ("concept" | "image" | "audio" | "multidisciplinary" | "article" | "learningpath" | "video");
212
+ export type ResourceType = ("concept" | "image" | "audio" | "multidisciplinary" | "article" | "learningpath" | "video" | "folder");
@@ -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;
@@ -224,4 +224,4 @@ export interface IUpdatedResource {
224
224
  tags?: string[];
225
225
  resourceId?: string;
226
226
  }
227
- export type ResourceType = ("concept" | "image" | "audio" | "multidisciplinary" | "article" | "learningpath" | "video");
227
+ export type ResourceType = ("concept" | "image" | "audio" | "multidisciplinary" | "article" | "learningpath" | "video" | "folder");
package/package.json CHANGED
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.3.3"
29
29
  },
30
- "version": "0.2.65"
30
+ "version": "0.2.67"
31
31
  }