@ndla/types-backend 1.0.134 → 1.0.136
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 +10 -0
- package/build/search-api.d.ts +1 -1
- package/package.json +1 -1
package/build/image-api.d.ts
CHANGED
|
@@ -416,6 +416,12 @@ export type paths = {
|
|
|
416
416
|
export type webhooks = Record<string, never>;
|
|
417
417
|
export type components = {
|
|
418
418
|
schemas: {
|
|
419
|
+
/**
|
|
420
|
+
* AiGenerated
|
|
421
|
+
* @description Describes whether the image is AI generated
|
|
422
|
+
* @enum {string}
|
|
423
|
+
*/
|
|
424
|
+
AiGenerated: "No" | "Partial" | "Yes";
|
|
419
425
|
/** AllErrors */
|
|
420
426
|
AllErrors: components["schemas"]["ErrorBody"] | components["schemas"]["NotFoundWithSupportedLanguages"] | components["schemas"]["ValidationErrorBody"];
|
|
421
427
|
/**
|
|
@@ -660,6 +666,7 @@ export type components = {
|
|
|
660
666
|
image: components["schemas"]["ImageFileDTO"];
|
|
661
667
|
/** @description Describes if the image is inactive or not */
|
|
662
668
|
inactive: boolean;
|
|
669
|
+
aiGenerated: components["schemas"]["AiGenerated"];
|
|
663
670
|
};
|
|
664
671
|
/**
|
|
665
672
|
* ImageMetaSummaryDTO
|
|
@@ -766,6 +773,7 @@ export type components = {
|
|
|
766
773
|
language: string;
|
|
767
774
|
/** @description Describes if the model has released use of the image, allowed values are 'not-set', 'yes', 'no', and 'not-applicable', defaults to 'no' */
|
|
768
775
|
modelReleased?: string;
|
|
776
|
+
aiGenerated: components["schemas"]["AiGenerated"];
|
|
769
777
|
};
|
|
770
778
|
/**
|
|
771
779
|
* NotFoundWithSupportedLanguages
|
|
@@ -954,6 +962,7 @@ export type components = {
|
|
|
954
962
|
modelReleased?: string;
|
|
955
963
|
/** @description Whether the image is inactive */
|
|
956
964
|
inactive?: boolean;
|
|
965
|
+
aiGenerated?: components["schemas"]["AiGenerated"];
|
|
957
966
|
};
|
|
958
967
|
/** UpdateMetaDataAndFileForm */
|
|
959
968
|
UpdateMetaDataAndFileForm: {
|
|
@@ -997,6 +1006,7 @@ export type components = {
|
|
|
997
1006
|
headers: never;
|
|
998
1007
|
pathItems: never;
|
|
999
1008
|
};
|
|
1009
|
+
export type AiGenerated = components['schemas']['AiGenerated'];
|
|
1000
1010
|
export type AllErrors = components['schemas']['AllErrors'];
|
|
1001
1011
|
export type AuthorDTO = components['schemas']['AuthorDTO'];
|
|
1002
1012
|
export type BatchMetaDataAndFileForm = components['schemas']['BatchMetaDataAndFileForm'];
|
package/build/search-api.d.ts
CHANGED
|
@@ -925,7 +925,7 @@ export type components = {
|
|
|
925
925
|
* @description The sorting used on results.
|
|
926
926
|
* @enum {string}
|
|
927
927
|
*/
|
|
928
|
-
Sort: "-relevance" | "relevance" | "-title" | "title" | "-lastUpdated" | "lastUpdated" | "-id" | "id" | "-duration" | "duration" | "revisionDate" | "-revisionDate" | "responsibleLastUpdated" | "-responsibleLastUpdated" | "status" | "-status" | "-prioritized" | "prioritized" | "-parentTopicName" | "parentTopicName" | "-primaryRoot" | "primaryRoot" | "-resourceType" | "resourceType" | "-published" | "published" | "-favorited" | "favorited";
|
|
928
|
+
Sort: "-relevance" | "relevance" | "-title" | "title" | "-lastUpdated" | "lastUpdated" | "-id" | "id" | "-duration" | "duration" | "revisionDate" | "-revisionDate" | "responsibleLastUpdated" | "-responsibleLastUpdated" | "status" | "-status" | "-prioritized" | "prioritized" | "-parentTopicName" | "parentTopicName" | "-primaryRoot" | "primaryRoot" | "-resourceType" | "resourceType" | "-published" | "published" | "-firstPublished" | "firstPublished" | "-favorited" | "favorited";
|
|
929
929
|
/**
|
|
930
930
|
* StatusDTO
|
|
931
931
|
* @description Status information of the resource
|