@ndla/types-backend 1.0.145 → 1.0.147
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 +3 -12
- package/build/taxonomy-api.d.ts +3 -3
- package/package.json +1 -1
package/build/image-api.d.ts
CHANGED
|
@@ -666,7 +666,7 @@ export type components = {
|
|
|
666
666
|
/** @description Describes if the image is inactive or not */
|
|
667
667
|
inactive: boolean;
|
|
668
668
|
/** @description Describes whether the image is AI generated */
|
|
669
|
-
aiGenerated
|
|
669
|
+
aiGenerated?: components["schemas"]["AiGenerated"];
|
|
670
670
|
};
|
|
671
671
|
/**
|
|
672
672
|
* ImageMetaSummaryDTO
|
|
@@ -694,7 +694,7 @@ export type components = {
|
|
|
694
694
|
/** @description Describes if the model has released use of the image */
|
|
695
695
|
modelRelease?: string;
|
|
696
696
|
/** @description Describes if the image is AI generated */
|
|
697
|
-
aiGenerated
|
|
697
|
+
aiGenerated?: components["schemas"]["AiGenerated"];
|
|
698
698
|
/** @description Describes the changes made to the image, only visible to editors */
|
|
699
699
|
editorNotes?: string[];
|
|
700
700
|
/** @description The time and date of last update */
|
|
@@ -781,10 +781,8 @@ export type components = {
|
|
|
781
781
|
/** @description Describes if the model has released use of the image, allowed values are 'not-set', 'yes', 'no', and 'not-applicable', defaults to 'no' */
|
|
782
782
|
modelReleased?: string;
|
|
783
783
|
/** @description Describes whether the image is AI generated */
|
|
784
|
-
aiGenerated
|
|
784
|
+
aiGenerated?: components["schemas"]["AiGenerated"];
|
|
785
785
|
};
|
|
786
|
-
/** No */
|
|
787
|
-
No: Record<string, never>;
|
|
788
786
|
/**
|
|
789
787
|
* NotFoundWithSupportedLanguages
|
|
790
788
|
* @description Information about an error
|
|
@@ -804,8 +802,6 @@ export type components = {
|
|
|
804
802
|
*/
|
|
805
803
|
statusCode: number;
|
|
806
804
|
};
|
|
807
|
-
/** Partial */
|
|
808
|
-
Partial: Record<string, never>;
|
|
809
805
|
/**
|
|
810
806
|
* SearchParamsDTO
|
|
811
807
|
* @description The search parameters
|
|
@@ -1016,8 +1012,6 @@ export type components = {
|
|
|
1016
1012
|
/** @description The validation message */
|
|
1017
1013
|
message: string;
|
|
1018
1014
|
};
|
|
1019
|
-
/** Yes */
|
|
1020
|
-
Yes: Record<string, never>;
|
|
1021
1015
|
};
|
|
1022
1016
|
responses: never;
|
|
1023
1017
|
parameters: never;
|
|
@@ -1055,9 +1049,7 @@ export type ImageVariantSize = components['schemas']['ImageVariantSize'];
|
|
|
1055
1049
|
export type LicenseDTO = components['schemas']['LicenseDTO'];
|
|
1056
1050
|
export type MetaDataAndFileForm = components['schemas']['MetaDataAndFileForm'];
|
|
1057
1051
|
export type NewImageMetaInformationV2DTO = components['schemas']['NewImageMetaInformationV2DTO'];
|
|
1058
|
-
export type No = components['schemas']['No'];
|
|
1059
1052
|
export type NotFoundWithSupportedLanguages = components['schemas']['NotFoundWithSupportedLanguages'];
|
|
1060
|
-
export type Partial = components['schemas']['Partial'];
|
|
1061
1053
|
export type SearchParamsDTO = components['schemas']['SearchParamsDTO'];
|
|
1062
1054
|
export type SearchResultDTO = components['schemas']['SearchResultDTO'];
|
|
1063
1055
|
export type SearchResultV3DTO = components['schemas']['SearchResultV3DTO'];
|
|
@@ -1067,7 +1059,6 @@ export type UpdateImageMetaInformationDTO = components['schemas']['UpdateImageMe
|
|
|
1067
1059
|
export type UpdateMetaDataAndFileForm = components['schemas']['UpdateMetaDataAndFileForm'];
|
|
1068
1060
|
export type ValidationErrorBody = components['schemas']['ValidationErrorBody'];
|
|
1069
1061
|
export type ValidationMessage = components['schemas']['ValidationMessage'];
|
|
1070
|
-
export type Yes = components['schemas']['Yes'];
|
|
1071
1062
|
export type $defs = Record<string, never>;
|
|
1072
1063
|
export interface operations {
|
|
1073
1064
|
"getImage-apiV2Images": {
|
package/build/taxonomy-api.d.ts
CHANGED
|
@@ -1719,9 +1719,9 @@ export type components = {
|
|
|
1719
1719
|
Metadata: {
|
|
1720
1720
|
customFields: {
|
|
1721
1721
|
[key: string]: string;
|
|
1722
|
-
}
|
|
1723
|
-
grepCodes: string[]
|
|
1724
|
-
visible: boolean
|
|
1722
|
+
};
|
|
1723
|
+
grepCodes: string[];
|
|
1724
|
+
visible: boolean;
|
|
1725
1725
|
};
|
|
1726
1726
|
MetadataPUT: {
|
|
1727
1727
|
/** @description Custom fields, Only updated if present */
|