@ndla/types-backend 1.0.49 → 1.0.51
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.
|
@@ -425,9 +425,11 @@ export type components = {
|
|
|
425
425
|
* @description Available titles for the concept
|
|
426
426
|
*/
|
|
427
427
|
ConceptTitleDTO: {
|
|
428
|
-
/** @description The title of this concept */
|
|
428
|
+
/** @description The freetext title of this concept */
|
|
429
429
|
title: string;
|
|
430
|
-
/** @description The
|
|
430
|
+
/** @description The freetext html title of this concept */
|
|
431
|
+
htmlTitle: string;
|
|
432
|
+
/** @description ISO 639-1 code that represents the language used in the title */
|
|
431
433
|
language: string;
|
|
432
434
|
};
|
|
433
435
|
/**
|
|
@@ -623,6 +623,7 @@ export type components = {
|
|
|
623
623
|
madeAvailable?: string;
|
|
624
624
|
/** @description Whether the owner of the learningpath is a MyNDLA user or not */
|
|
625
625
|
isMyNDLAOwner: boolean;
|
|
626
|
+
responsible?: components["schemas"]["LearningpathResponsibleDTO"];
|
|
626
627
|
};
|
|
627
628
|
/**
|
|
628
629
|
* LearningStepContainerSummaryDTO
|
|
@@ -719,6 +720,16 @@ export type components = {
|
|
|
719
720
|
/** @description The supported languages of the learningstep */
|
|
720
721
|
supportedLanguages: string[];
|
|
721
722
|
};
|
|
723
|
+
/**
|
|
724
|
+
* LearningpathResponsibleDTO
|
|
725
|
+
* @description Object with data representing the editor responsible for this learningpath
|
|
726
|
+
*/
|
|
727
|
+
LearningpathResponsibleDTO: {
|
|
728
|
+
/** @description NDLA ID of responsible editor */
|
|
729
|
+
responsibleId: string;
|
|
730
|
+
/** @description Date of when the responsible editor was last updated */
|
|
731
|
+
lastUpdated: string;
|
|
732
|
+
};
|
|
722
733
|
/** LicenseDTO */
|
|
723
734
|
LicenseDTO: {
|
|
724
735
|
/** @description The name of the license */
|
|
@@ -783,6 +794,8 @@ export type components = {
|
|
|
783
794
|
language: string;
|
|
784
795
|
/** @description Describes the copyright information for the learningpath */
|
|
785
796
|
copyright?: components["schemas"]["CopyrightDTO"];
|
|
797
|
+
/** @description NDLA ID representing the editor responsible for this learningpath */
|
|
798
|
+
responsibleId?: string;
|
|
786
799
|
};
|
|
787
800
|
/**
|
|
788
801
|
* NewLearningStepV2DTO
|
|
@@ -935,6 +948,8 @@ export type components = {
|
|
|
935
948
|
copyright?: components["schemas"]["CopyrightDTO"];
|
|
936
949
|
/** @description Whether to delete a message connected to a learningpath by an administrator. */
|
|
937
950
|
deleteMessage?: boolean;
|
|
951
|
+
/** @description NDLA ID representing the editor responsible for this learningpath */
|
|
952
|
+
responsibleId?: string | null;
|
|
938
953
|
};
|
|
939
954
|
/**
|
|
940
955
|
* UpdatedLearningStepV2DTO
|
|
@@ -39,6 +39,8 @@ export type LearningStepSummaryV2DTO = schemas["LearningStepSummaryV2DTO"];
|
|
|
39
39
|
export type ILearningStepSummaryV2DTO = schemas["LearningStepSummaryV2DTO"];
|
|
40
40
|
export type LearningStepV2DTO = schemas["LearningStepV2DTO"];
|
|
41
41
|
export type ILearningStepV2DTO = schemas["LearningStepV2DTO"];
|
|
42
|
+
export type LearningpathResponsibleDTO = schemas["LearningpathResponsibleDTO"];
|
|
43
|
+
export type ILearningpathResponsibleDTO = schemas["LearningpathResponsibleDTO"];
|
|
42
44
|
export type LicenseDTO = schemas["LicenseDTO"];
|
|
43
45
|
export type ILicenseDTO = schemas["LicenseDTO"];
|
|
44
46
|
export type MessageDTO = schemas["MessageDTO"];
|
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.51",
|
|
36
36
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
37
37
|
}
|