@ndla/types-backend 1.0.121 → 1.0.123

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.
@@ -392,6 +392,8 @@ export type components = {
392
392
  updatedBy: string;
393
393
  /** @description When the article was last published */
394
394
  published: string;
395
+ /** @description Revision date of the article */
396
+ revised: string;
395
397
  /** @description The type of article this is. Possible values are frontpage-article, standard, topic-article */
396
398
  articleType: string;
397
399
  /** @description The languages this article supports */
@@ -367,6 +367,8 @@ export type components = {
367
367
  created: string;
368
368
  /** @description The time of last update for the audio-file */
369
369
  updated: string;
370
+ /** @description The time the audio was released from its source */
371
+ released: string;
370
372
  };
371
373
  /**
372
374
  * AudioSummaryDTO
@@ -395,6 +397,8 @@ export type components = {
395
397
  series?: components["schemas"]["SeriesSummaryDTO"];
396
398
  /** @description The time and date of last update */
397
399
  lastUpdated: string;
400
+ /** @description The time the audio was released from its source */
401
+ released: string;
398
402
  };
399
403
  /**
400
404
  * AudioSummarySearchResultDTO
@@ -546,6 +550,8 @@ export type components = {
546
550
  seriesId?: number;
547
551
  /** @description Manuscript for the audio */
548
552
  manuscript?: string;
553
+ /** @description The time the audio was released from its source */
554
+ released?: string;
549
555
  };
550
556
  /**
551
557
  * NewPodcastMetaDTO
@@ -558,8 +564,6 @@ export type components = {
558
564
  coverPhotoId: string;
559
565
  /** @description Cover photo alttext for the podcast */
560
566
  coverPhotoAltText: string;
561
- /** @description The time the podcast was released from its source */
562
- released?: string;
563
567
  };
564
568
  /**
565
569
  * NewSeriesDTO
@@ -616,8 +620,6 @@ export type components = {
616
620
  coverPhoto: components["schemas"]["CoverPhotoDTO"];
617
621
  /** @description ISO 639-1 code that represents the language used in the title */
618
622
  language: string;
619
- /** @description The time the podcast was released from its source */
620
- released?: string;
621
623
  };
622
624
  /**
623
625
  * SearchParamsDTO
@@ -831,6 +833,8 @@ export type components = {
831
833
  seriesId?: number;
832
834
  /** @description Manuscript for the audio */
833
835
  manuscript?: string;
836
+ /** @description The time the audio was released from its source */
837
+ released?: string;
834
838
  };
835
839
  /**
836
840
  * ValidationErrorBody
@@ -610,7 +610,9 @@ export type components = {
610
610
  /** @description By whom the article was last updated */
611
611
  updatedBy: string;
612
612
  /** @description When the article was last published */
613
- published: string;
613
+ published?: string;
614
+ /** @description Revision date of the article */
615
+ revised: string;
614
616
  /** @description The type of article this is. Possible values are frontpage-article, standard, topic-article */
615
617
  articleType: string;
616
618
  /** @description The languages this article supports */
@@ -978,6 +980,8 @@ export type components = {
978
980
  title: string;
979
981
  /** @description The date the article is published */
980
982
  published?: string;
983
+ /** @description The revision date of the article */
984
+ revised?: string;
981
985
  /** @description The content of the article */
982
986
  content?: string;
983
987
  /** @description Searchable tags */
@@ -1060,7 +1064,7 @@ export type components = {
1060
1064
  * PartialArticleFieldsDTO
1061
1065
  * @enum {string}
1062
1066
  */
1063
- PartialArticleFieldsDTO: "availability" | "grepCodes" | "license" | "metaDescription" | "relatedContent" | "tags" | "revisionDate" | "published";
1067
+ PartialArticleFieldsDTO: "availability" | "grepCodes" | "license" | "metaDescription" | "relatedContent" | "tags" | "revisionDate" | "revised";
1064
1068
  /**
1065
1069
  * PartialBulkArticlesDTO
1066
1070
  * @description Partial data about articles to publish in bulk
@@ -1211,6 +1215,8 @@ export type components = {
1211
1215
  status?: string;
1212
1216
  /** @description The date the article is published */
1213
1217
  published?: string;
1218
+ /** @description The revision date of the article */
1219
+ revised?: string;
1214
1220
  /** @description The content of the article */
1215
1221
  content?: string;
1216
1222
  /** @description Searchable tags */
@@ -302,6 +302,8 @@ export type components = {
302
302
  resultTypes?: components["schemas"]["SearchType"][];
303
303
  /** @description Only return results that have one of the specified tags. */
304
304
  tags?: string[];
305
+ /** @description Only return results matching the isRepublished flag. */
306
+ isRepublished?: boolean;
305
307
  };
306
308
  /**
307
309
  * ErrorBody
@@ -714,8 +716,10 @@ export type components = {
714
716
  parentTopicName?: string;
715
717
  /** @description Name of the primary context root if exists */
716
718
  primaryRootName?: string;
717
- /** @description When the article was last published */
719
+ /** @description When the resource was last published */
718
720
  published?: string;
721
+ /** @description Revision date of the resource */
722
+ revised?: string;
719
723
  /**
720
724
  * Format: int64
721
725
  * @description Number of times favorited in MyNDLA
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.121",
35
+ "version": "1.0.123",
36
36
  "packageManager": "yarn@4.10.3"
37
37
  }