@ndla/types-backend 1.0.119 → 1.0.121

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.
@@ -558,6 +558,8 @@ export type components = {
558
558
  coverPhotoId: string;
559
559
  /** @description Cover photo alttext for the podcast */
560
560
  coverPhotoAltText: string;
561
+ /** @description The time the podcast was released from its source */
562
+ released?: string;
561
563
  };
562
564
  /**
563
565
  * NewSeriesDTO
@@ -614,6 +616,8 @@ export type components = {
614
616
  coverPhoto: components["schemas"]["CoverPhotoDTO"];
615
617
  /** @description ISO 639-1 code that represents the language used in the title */
616
618
  language: string;
619
+ /** @description The time the podcast was released from its source */
620
+ released?: string;
617
621
  };
618
622
  /**
619
623
  * SearchParamsDTO
@@ -801,8 +801,7 @@ export type components = {
801
801
  articleId?: number;
802
802
  /** @description Determines if the title of the step should be displayed in viewmode */
803
803
  showTitle: boolean;
804
- /** @description The type of the step */
805
- type: string;
804
+ type: components["schemas"]["StepType"];
806
805
  /**
807
806
  * @deprecated
808
807
  * @description Describes the copyright information for the learningstep
@@ -1058,6 +1057,12 @@ export type components = {
1058
1057
  * @enum {string}
1059
1058
  */
1060
1059
  Sort: "-id" | "id" | "-relevance" | "relevance" | "-lastUpdated" | "lastUpdated" | "-duration" | "duration" | "-title" | "title";
1060
+ /**
1061
+ * StepType
1062
+ * @description The type of the step
1063
+ * @enum {string}
1064
+ */
1065
+ StepType: "ARTICLE" | "TEXT" | "EXTERNAL";
1061
1066
  /** TitleDTO */
1062
1067
  TitleDTO: {
1063
1068
  /** @description The title of the content. Must be plain text */
@@ -1236,6 +1241,7 @@ export type RevisionMetaDTO = components['schemas']['RevisionMetaDTO'];
1236
1241
  export type SearchParamsDTO = components['schemas']['SearchParamsDTO'];
1237
1242
  export type SearchResultV2DTO = components['schemas']['SearchResultV2DTO'];
1238
1243
  export type Sort = components['schemas']['Sort'];
1244
+ export type StepType = components['schemas']['StepType'];
1239
1245
  export type TitleDTO = components['schemas']['TitleDTO'];
1240
1246
  export type UpdateLearningPathStatusDTO = components['schemas']['UpdateLearningPathStatusDTO'];
1241
1247
  export type UpdatedCommentDTO = components['schemas']['UpdatedCommentDTO'];
package/package.json CHANGED
@@ -32,6 +32,6 @@
32
32
  "tsx": "^4.21.0",
33
33
  "typescript": "^5.9.3"
34
34
  },
35
- "version": "1.0.119",
35
+ "version": "1.0.121",
36
36
  "packageManager": "yarn@4.10.3"
37
37
  }