@ndla/types-backend 1.0.147 → 1.0.149
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.
- package/build/image-api.d.ts +15 -9
- package/build/taxonomy-api.d.ts +1 -1
- package/package.json +1 -1
package/build/image-api.d.ts
CHANGED
|
@@ -630,7 +630,7 @@ export type components = {
|
|
|
630
630
|
/** @description Describes who created the image */
|
|
631
631
|
createdBy: string;
|
|
632
632
|
/** @description Describes if the model has released use of the image */
|
|
633
|
-
modelRelease:
|
|
633
|
+
modelRelease: components["schemas"]["ModelReleasedStatus"];
|
|
634
634
|
/** @description Describes the changes made to the image, only visible to editors */
|
|
635
635
|
editorNotes?: components["schemas"]["EditorNoteDTO"][];
|
|
636
636
|
imageDimensions?: components["schemas"]["ImageDimensionsDTO"];
|
|
@@ -659,7 +659,7 @@ export type components = {
|
|
|
659
659
|
/** @description Describes who created the image */
|
|
660
660
|
createdBy: string;
|
|
661
661
|
/** @description Describes if the model has released use of the image */
|
|
662
|
-
modelRelease:
|
|
662
|
+
modelRelease: components["schemas"]["ModelReleasedStatus"];
|
|
663
663
|
/** @description Describes the changes made to the image, only visible to editors */
|
|
664
664
|
editorNotes?: components["schemas"]["EditorNoteDTO"][];
|
|
665
665
|
image: components["schemas"]["ImageFileDTO"];
|
|
@@ -692,7 +692,7 @@ export type components = {
|
|
|
692
692
|
/** @description List of supported languages in priority */
|
|
693
693
|
supportedLanguages: string[];
|
|
694
694
|
/** @description Describes if the model has released use of the image */
|
|
695
|
-
modelRelease
|
|
695
|
+
modelRelease: components["schemas"]["ModelReleasedStatus"];
|
|
696
696
|
/** @description Describes if the image is AI generated */
|
|
697
697
|
aiGenerated?: components["schemas"]["AiGenerated"];
|
|
698
698
|
/** @description Describes the changes made to the image, only visible to editors */
|
|
@@ -762,6 +762,11 @@ export type components = {
|
|
|
762
762
|
/** Format: binary */
|
|
763
763
|
file: Blob;
|
|
764
764
|
};
|
|
765
|
+
/**
|
|
766
|
+
* ModelReleasedStatus
|
|
767
|
+
* @enum {string}
|
|
768
|
+
*/
|
|
769
|
+
ModelReleasedStatus: "no" | "not-applicable" | "not-set" | "yes";
|
|
765
770
|
/**
|
|
766
771
|
* NewImageMetaInformationV2DTO
|
|
767
772
|
* @description Meta information for the image
|
|
@@ -778,8 +783,8 @@ export type components = {
|
|
|
778
783
|
caption: string;
|
|
779
784
|
/** @description ISO 639-1 code that represents the language used in the caption */
|
|
780
785
|
language: string;
|
|
781
|
-
/** @description Describes if the model has released use of the image,
|
|
782
|
-
modelReleased?:
|
|
786
|
+
/** @description Describes if the model has released use of the image, defaults to 'no' */
|
|
787
|
+
modelReleased?: components["schemas"]["ModelReleasedStatus"];
|
|
783
788
|
/** @description Describes whether the image is AI generated */
|
|
784
789
|
aiGenerated?: components["schemas"]["AiGenerated"];
|
|
785
790
|
};
|
|
@@ -845,7 +850,7 @@ export type components = {
|
|
|
845
850
|
/** @description Include inactive images */
|
|
846
851
|
inactive?: boolean;
|
|
847
852
|
/** @description Return only images with one of the provided values for modelReleased. */
|
|
848
|
-
modelReleased?:
|
|
853
|
+
modelReleased?: components["schemas"]["ModelReleasedStatus"][];
|
|
849
854
|
/** @description Return only images with one of the provided values for aiGenerated. */
|
|
850
855
|
aiGenerated?: components["schemas"]["AiGenerated"][];
|
|
851
856
|
/** @description Filter editors of the image(s). Multiple values can be specified in a comma separated list. */
|
|
@@ -971,7 +976,7 @@ export type components = {
|
|
|
971
976
|
/** @description Caption for the image */
|
|
972
977
|
caption?: string;
|
|
973
978
|
/** @description Describes if the model has released use of the image */
|
|
974
|
-
modelReleased?:
|
|
979
|
+
modelReleased?: components["schemas"]["ModelReleasedStatus"];
|
|
975
980
|
/** @description Whether the image is inactive */
|
|
976
981
|
inactive?: boolean;
|
|
977
982
|
/** @description Describes whether the image is AI generated */
|
|
@@ -1048,6 +1053,7 @@ export type ImageVariantDTO = components['schemas']['ImageVariantDTO'];
|
|
|
1048
1053
|
export type ImageVariantSize = components['schemas']['ImageVariantSize'];
|
|
1049
1054
|
export type LicenseDTO = components['schemas']['LicenseDTO'];
|
|
1050
1055
|
export type MetaDataAndFileForm = components['schemas']['MetaDataAndFileForm'];
|
|
1056
|
+
export type ModelReleasedStatus = components['schemas']['ModelReleasedStatus'];
|
|
1051
1057
|
export type NewImageMetaInformationV2DTO = components['schemas']['NewImageMetaInformationV2DTO'];
|
|
1052
1058
|
export type NotFoundWithSupportedLanguages = components['schemas']['NotFoundWithSupportedLanguages'];
|
|
1053
1059
|
export type SearchParamsDTO = components['schemas']['SearchParamsDTO'];
|
|
@@ -1096,7 +1102,7 @@ export interface operations {
|
|
|
1096
1102
|
*/
|
|
1097
1103
|
"search-context"?: string;
|
|
1098
1104
|
/** @description Filter whether the image(s) should be model-released or not. Multiple values can be specified in a comma separated list. Possible values include: yes,no,not-applicable,not-set */
|
|
1099
|
-
"model-released"?:
|
|
1105
|
+
"model-released"?: components["schemas"]["ModelReleasedStatus"][];
|
|
1100
1106
|
/** @description Filter whether the image(s) is AI generated or not. Multiple values can be specified in a comma separated list. Possible values include: Partial,Yes,No */
|
|
1101
1107
|
"ai-generated"?: components["schemas"]["AiGenerated"][];
|
|
1102
1108
|
/** @description Include inactive images */
|
|
@@ -1678,7 +1684,7 @@ export interface operations {
|
|
|
1678
1684
|
*/
|
|
1679
1685
|
"search-context"?: string;
|
|
1680
1686
|
/** @description Filter whether the image(s) should be model-released or not. Multiple values can be specified in a comma separated list. Possible values include: yes,no,not-applicable,not-set */
|
|
1681
|
-
"model-released"?:
|
|
1687
|
+
"model-released"?: components["schemas"]["ModelReleasedStatus"][];
|
|
1682
1688
|
/** @description Filter whether the image(s) is AI generated or not. Multiple values can be specified in a comma separated list. Possible values include: Partial,Yes,No */
|
|
1683
1689
|
"ai-generated"?: components["schemas"]["AiGenerated"][];
|
|
1684
1690
|
/**
|
package/build/taxonomy-api.d.ts
CHANGED
|
@@ -2075,7 +2075,7 @@ export type components = {
|
|
|
2075
2075
|
/** @description The technical evaluation of the node. Contains a flag and an optional comment. Can be null to remove existing evaluation. */
|
|
2076
2076
|
technicalEvaluation?: components["schemas"]["TechnicalEvaluationDTO"];
|
|
2077
2077
|
/** @description The translations for the node. Contains an array of translations in different languages */
|
|
2078
|
-
translations?: components["schemas"]["Translation"];
|
|
2078
|
+
translations?: components["schemas"]["Translation"][];
|
|
2079
2079
|
/** @description The node is visible. Default is true. */
|
|
2080
2080
|
visible?: boolean;
|
|
2081
2081
|
};
|