@ndla/types-backend 1.0.77 → 1.0.78

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.
@@ -475,6 +475,8 @@ export type components = {
475
475
  /** @description The full url to where the image can be downloaded */
476
476
  imageUrl: string;
477
477
  dimensions?: components["schemas"]["ImageDimensionsDTO"];
478
+ /** @description Size variants of the image */
479
+ variants: components["schemas"]["ImageVariant"][];
478
480
  /** @description ISO 639-1 code that represents the language used in the caption */
479
481
  language: string;
480
482
  };
@@ -600,6 +602,16 @@ export type components = {
600
602
  /** @description ISO 639-1 code that represents the language used in title */
601
603
  language: string;
602
604
  };
605
+ /** ImageVariant */
606
+ ImageVariant: {
607
+ size: components["schemas"]["ImageVariantSize"];
608
+ bucketKey: string;
609
+ };
610
+ /**
611
+ * ImageVariantSize
612
+ * @enum {string}
613
+ */
614
+ ImageVariantSize: "icon" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
603
615
  /**
604
616
  * LicenseDTO
605
617
  * @description Describes the license of the article
@@ -33,6 +33,10 @@ 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 ImageVariant = schemas["ImageVariant"];
37
+ export type IImageVariant = schemas["ImageVariant"];
38
+ export type ImageVariantSize = schemas["ImageVariantSize"];
39
+ export type IImageVariantSize = schemas["ImageVariantSize"];
36
40
  export type LicenseDTO = schemas["LicenseDTO"];
37
41
  export type ILicenseDTO = schemas["LicenseDTO"];
38
42
  export type MetaDataAndFileForm = schemas["MetaDataAndFileForm"];
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.77",
35
+ "version": "1.0.78",
36
36
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
37
37
  }