@ndla/types-backend 1.0.59 → 1.0.61
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.
|
@@ -664,6 +664,7 @@ export type components = {
|
|
|
664
664
|
responsible?: components["schemas"]["ResponsibleDTO"];
|
|
665
665
|
/** @description Information about comments attached to the learningpath */
|
|
666
666
|
comments: components["schemas"]["CommentDTO"][];
|
|
667
|
+
priority: components["schemas"]["Priority"];
|
|
667
668
|
};
|
|
668
669
|
/**
|
|
669
670
|
* LearningStepContainerSummaryDTO
|
|
@@ -745,6 +746,11 @@ export type components = {
|
|
|
745
746
|
/** @description The description of the learningstep */
|
|
746
747
|
description?: components["schemas"]["DescriptionDTO"];
|
|
747
748
|
embedUrl?: components["schemas"]["EmbedUrlV2DTO"];
|
|
749
|
+
/**
|
|
750
|
+
* Format: int64
|
|
751
|
+
* @description The id of the article that this learningstep is associated with
|
|
752
|
+
*/
|
|
753
|
+
article?: number;
|
|
748
754
|
/** @description Determines if the title of the step should be displayed in viewmode */
|
|
749
755
|
showTitle: boolean;
|
|
750
756
|
/** @description The type of the step */
|
|
@@ -838,6 +844,7 @@ export type components = {
|
|
|
838
844
|
responsibleId?: string;
|
|
839
845
|
/** @description Information about comments attached to the learningpath */
|
|
840
846
|
comments?: components["schemas"]["NewCommentDTO"][];
|
|
847
|
+
priority?: components["schemas"]["Priority"];
|
|
841
848
|
};
|
|
842
849
|
/**
|
|
843
850
|
* NewLearningStepV2DTO
|
|
@@ -852,6 +859,11 @@ export type components = {
|
|
|
852
859
|
description?: string;
|
|
853
860
|
/** @description The chosen language */
|
|
854
861
|
language: string;
|
|
862
|
+
/**
|
|
863
|
+
* Format: int64
|
|
864
|
+
* @description The article id this learningstep points to
|
|
865
|
+
*/
|
|
866
|
+
article?: number;
|
|
855
867
|
embedUrl?: components["schemas"]["EmbedUrlV2DTO"];
|
|
856
868
|
/**
|
|
857
869
|
* @description Determines if the title of the step should be displayed in viewmode.
|
|
@@ -882,6 +894,12 @@ export type components = {
|
|
|
882
894
|
*/
|
|
883
895
|
statusCode: number;
|
|
884
896
|
};
|
|
897
|
+
/**
|
|
898
|
+
* Priority
|
|
899
|
+
* @description If the learningpath should be prioritized. Possible values are prioritized, on-hold, unspecified
|
|
900
|
+
* @enum {string}
|
|
901
|
+
*/
|
|
902
|
+
Priority: "prioritized" | "on-hold" | "unspecified";
|
|
885
903
|
/**
|
|
886
904
|
* ResponsibleDTO
|
|
887
905
|
* @description Object with data representing the editor responsible for this learningpath
|
|
@@ -1018,6 +1036,7 @@ export type components = {
|
|
|
1018
1036
|
responsibleId?: string | null;
|
|
1019
1037
|
/** @description Information about comments attached to the learningpath */
|
|
1020
1038
|
comments?: components["schemas"]["UpdatedCommentDTO"][];
|
|
1039
|
+
priority?: components["schemas"]["Priority"];
|
|
1021
1040
|
};
|
|
1022
1041
|
/**
|
|
1023
1042
|
* UpdatedLearningStepV2DTO
|
|
@@ -1039,6 +1058,11 @@ export type components = {
|
|
|
1039
1058
|
description?: string | null;
|
|
1040
1059
|
/** @description The embed content for the learningstep */
|
|
1041
1060
|
embedUrl?: components["schemas"]["EmbedUrlV2DTO"] | null;
|
|
1061
|
+
/**
|
|
1062
|
+
* Format: int64
|
|
1063
|
+
* @description The article id this learningstep points to
|
|
1064
|
+
*/
|
|
1065
|
+
article?: number | null;
|
|
1042
1066
|
/** @description Determines if the title of the step should be displayed in viewmode */
|
|
1043
1067
|
showTitle?: boolean;
|
|
1044
1068
|
/** @description The type of the step */
|
|
@@ -55,6 +55,8 @@ export type NewLearningStepV2DTO = schemas["NewLearningStepV2DTO"];
|
|
|
55
55
|
export type INewLearningStepV2DTO = schemas["NewLearningStepV2DTO"];
|
|
56
56
|
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
57
57
|
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
58
|
+
export type Priority = schemas["Priority"];
|
|
59
|
+
export type IPriority = schemas["Priority"];
|
|
58
60
|
export type ResponsibleDTO = schemas["ResponsibleDTO"];
|
|
59
61
|
export type IResponsibleDTO = schemas["ResponsibleDTO"];
|
|
60
62
|
export type SearchParamsDTO = schemas["SearchParamsDTO"];
|
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.61",
|
|
36
36
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
37
37
|
}
|