@ndla/types-backend 1.0.57 → 1.0.58

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.
@@ -594,8 +594,7 @@ export type components = {
594
594
  slug?: string;
595
595
  /** @description Information about comments attached to the article */
596
596
  comments: components["schemas"]["CommentDTO"][];
597
- /** @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified */
598
- priority: string;
597
+ priority: components["schemas"]["Priority"];
599
598
  /** @description If the article has been edited after last status or responsible change */
600
599
  started: boolean;
601
600
  qualityEvaluation?: components["schemas"]["QualityEvaluationDTO"];
@@ -967,8 +966,7 @@ export type components = {
967
966
  slug?: string;
968
967
  /** @description Information about a comment attached to an article */
969
968
  comments?: components["schemas"]["NewCommentDTO"][];
970
- /** @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified */
971
- priority?: string;
969
+ priority?: components["schemas"]["Priority"];
972
970
  qualityEvaluation?: components["schemas"]["QualityEvaluationDTO"];
973
971
  /** @description The disclaimer of the article */
974
972
  disclaimer?: string;
@@ -1034,6 +1032,12 @@ export type components = {
1034
1032
  /** @description Error message */
1035
1033
  message: string;
1036
1034
  };
1035
+ /**
1036
+ * Priority
1037
+ * @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified
1038
+ * @enum {string}
1039
+ */
1040
+ Priority: "prioritized" | "on-hold" | "unspecified";
1037
1041
  /**
1038
1042
  * QualityEvaluationDTO
1039
1043
  * @description The quality evaluation of the article. Consist of a score from 1 to 5 and a comment.
@@ -1194,8 +1198,7 @@ export type components = {
1194
1198
  slug?: string;
1195
1199
  /** @description Information about a comment attached to an article */
1196
1200
  comments?: components["schemas"]["UpdatedCommentDTO"][];
1197
- /** @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified */
1198
- priority?: string;
1201
+ priority?: components["schemas"]["Priority"];
1199
1202
  qualityEvaluation?: components["schemas"]["QualityEvaluationDTO"];
1200
1203
  /** @description The disclaimer of the article */
1201
1204
  disclaimer?: string;
@@ -264,7 +264,7 @@ export type components = {
264
264
  /** @description Filter out inactive taxonomy contexts. */
265
265
  filterInactive?: boolean;
266
266
  /** @description List of priority-levels to filter by. */
267
- priority?: string[];
267
+ priority?: components["schemas"]["Priority"][];
268
268
  /** @description A list of parent topics the learning resources should be filtered by. */
269
269
  topics?: string[];
270
270
  /** @description Return only results having published date after this date. */
@@ -626,7 +626,7 @@ export type components = {
626
626
  /** @description Information about comments attached to the article */
627
627
  comments?: components["schemas"]["CommentDTO"][];
628
628
  /** @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified */
629
- priority?: string;
629
+ priority?: components["schemas"]["Priority"];
630
630
  /** @description A combined resource type name if a standard article, otherwise the article type name */
631
631
  resourceTypeName?: string;
632
632
  /** @description Name of the parent topic if exists */
@@ -715,6 +715,11 @@ export type components = {
715
715
  */
716
716
  statusCode: number;
717
717
  };
718
+ /**
719
+ * Priority
720
+ * @enum {string}
721
+ */
722
+ Priority: "prioritized" | "on-hold" | "unspecified";
718
723
  /**
719
724
  * ResponsibleDTO
720
725
  * @description Responsible field
package/package.json CHANGED
@@ -32,6 +32,6 @@
32
32
  "tsx": "^4.19.3",
33
33
  "typescript": "^5.3.3"
34
34
  },
35
- "version": "1.0.57",
35
+ "version": "1.0.58",
36
36
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
37
37
  }