@ndla/types-backend 1.0.56 → 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,10 +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
|
-
|
|
598
|
-
prioritized: boolean;
|
|
599
|
-
/** @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified */
|
|
600
|
-
priority: string;
|
|
597
|
+
priority: components["schemas"]["Priority"];
|
|
601
598
|
/** @description If the article has been edited after last status or responsible change */
|
|
602
599
|
started: boolean;
|
|
603
600
|
qualityEvaluation?: components["schemas"]["QualityEvaluationDTO"];
|
|
@@ -969,10 +966,7 @@ export type components = {
|
|
|
969
966
|
slug?: string;
|
|
970
967
|
/** @description Information about a comment attached to an article */
|
|
971
968
|
comments?: components["schemas"]["NewCommentDTO"][];
|
|
972
|
-
|
|
973
|
-
prioritized?: boolean;
|
|
974
|
-
/** @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified */
|
|
975
|
-
priority?: string;
|
|
969
|
+
priority?: components["schemas"]["Priority"];
|
|
976
970
|
qualityEvaluation?: components["schemas"]["QualityEvaluationDTO"];
|
|
977
971
|
/** @description The disclaimer of the article */
|
|
978
972
|
disclaimer?: string;
|
|
@@ -1038,6 +1032,12 @@ export type components = {
|
|
|
1038
1032
|
/** @description Error message */
|
|
1039
1033
|
message: string;
|
|
1040
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";
|
|
1041
1041
|
/**
|
|
1042
1042
|
* QualityEvaluationDTO
|
|
1043
1043
|
* @description The quality evaluation of the article. Consist of a score from 1 to 5 and a comment.
|
|
@@ -1198,10 +1198,7 @@ export type components = {
|
|
|
1198
1198
|
slug?: string;
|
|
1199
1199
|
/** @description Information about a comment attached to an article */
|
|
1200
1200
|
comments?: components["schemas"]["UpdatedCommentDTO"][];
|
|
1201
|
-
|
|
1202
|
-
prioritized?: boolean;
|
|
1203
|
-
/** @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified */
|
|
1204
|
-
priority?: string;
|
|
1201
|
+
priority?: components["schemas"]["Priority"];
|
|
1205
1202
|
qualityEvaluation?: components["schemas"]["QualityEvaluationDTO"];
|
|
1206
1203
|
/** @description The disclaimer of the article */
|
|
1207
1204
|
disclaimer?: string;
|
|
@@ -263,10 +263,8 @@ export type components = {
|
|
|
263
263
|
responsibleIds?: string[];
|
|
264
264
|
/** @description Filter out inactive taxonomy contexts. */
|
|
265
265
|
filterInactive?: boolean;
|
|
266
|
-
/** @description Set to true to only return prioritized articles */
|
|
267
|
-
prioritized?: boolean;
|
|
268
266
|
/** @description List of priority-levels to filter by. */
|
|
269
|
-
priority?:
|
|
267
|
+
priority?: components["schemas"]["Priority"][];
|
|
270
268
|
/** @description A list of parent topics the learning resources should be filtered by. */
|
|
271
269
|
topics?: string[];
|
|
272
270
|
/** @description Return only results having published date after this date. */
|
|
@@ -627,10 +625,8 @@ export type components = {
|
|
|
627
625
|
responsible?: components["schemas"]["ResponsibleDTO"];
|
|
628
626
|
/** @description Information about comments attached to the article */
|
|
629
627
|
comments?: components["schemas"]["CommentDTO"][];
|
|
630
|
-
/** @description If the article should be prioritized */
|
|
631
|
-
prioritized?: boolean;
|
|
632
628
|
/** @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified */
|
|
633
|
-
priority?:
|
|
629
|
+
priority?: components["schemas"]["Priority"];
|
|
634
630
|
/** @description A combined resource type name if a standard article, otherwise the article type name */
|
|
635
631
|
resourceTypeName?: string;
|
|
636
632
|
/** @description Name of the parent topic if exists */
|
|
@@ -719,6 +715,11 @@ export type components = {
|
|
|
719
715
|
*/
|
|
720
716
|
statusCode: number;
|
|
721
717
|
};
|
|
718
|
+
/**
|
|
719
|
+
* Priority
|
|
720
|
+
* @enum {string}
|
|
721
|
+
*/
|
|
722
|
+
Priority: "prioritized" | "on-hold" | "unspecified";
|
|
722
723
|
/**
|
|
723
724
|
* ResponsibleDTO
|
|
724
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.
|
|
35
|
+
"version": "1.0.58",
|
|
36
36
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
37
37
|
}
|