@ndla/types-backend 1.0.78 → 1.0.79
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.
|
@@ -476,7 +476,7 @@ export type components = {
|
|
|
476
476
|
imageUrl: string;
|
|
477
477
|
dimensions?: components["schemas"]["ImageDimensionsDTO"];
|
|
478
478
|
/** @description Size variants of the image */
|
|
479
|
-
variants: components["schemas"]["
|
|
479
|
+
variants: components["schemas"]["ImageVariantDTO"][];
|
|
480
480
|
/** @description ISO 639-1 code that represents the language used in the caption */
|
|
481
481
|
language: string;
|
|
482
482
|
};
|
|
@@ -602,13 +602,15 @@ export type components = {
|
|
|
602
602
|
/** @description ISO 639-1 code that represents the language used in title */
|
|
603
603
|
language: string;
|
|
604
604
|
};
|
|
605
|
-
/**
|
|
606
|
-
|
|
605
|
+
/** ImageVariantDTO */
|
|
606
|
+
ImageVariantDTO: {
|
|
607
607
|
size: components["schemas"]["ImageVariantSize"];
|
|
608
|
-
|
|
608
|
+
/** @description The full URL to where the image variant can be downloaded */
|
|
609
|
+
variantUrl: string;
|
|
609
610
|
};
|
|
610
611
|
/**
|
|
611
612
|
* ImageVariantSize
|
|
613
|
+
* @description The named size of this image variant
|
|
612
614
|
* @enum {string}
|
|
613
615
|
*/
|
|
614
616
|
ImageVariantSize: "icon" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
package/build/image-api.d.ts
CHANGED
|
@@ -33,8 +33,8 @@ export type ImageTagDTO = schemas["ImageTagDTO"];
|
|
|
33
33
|
export type IImageTagDTO = schemas["ImageTagDTO"];
|
|
34
34
|
export type ImageTitleDTO = schemas["ImageTitleDTO"];
|
|
35
35
|
export type IImageTitleDTO = schemas["ImageTitleDTO"];
|
|
36
|
-
export type
|
|
37
|
-
export type
|
|
36
|
+
export type ImageVariantDTO = schemas["ImageVariantDTO"];
|
|
37
|
+
export type IImageVariantDTO = schemas["ImageVariantDTO"];
|
|
38
38
|
export type ImageVariantSize = schemas["ImageVariantSize"];
|
|
39
39
|
export type IImageVariantSize = schemas["ImageVariantSize"];
|
|
40
40
|
export type LicenseDTO = schemas["LicenseDTO"];
|
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.79",
|
|
36
36
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
37
37
|
}
|