@ndla/types-backend 1.0.119 → 1.0.120
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.
|
@@ -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
|
-
|
|
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'];
|