@griddo/core 10.2.22 → 10.2.24

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.
@@ -39,49 +39,49 @@ export type Heading<HeadingTagsType = HTMLHeadingTag> = {
39
39
  };
40
40
  export type Image = {
41
41
  /** Image id */
42
- id: number;
42
+ id?: number;
43
43
  /** Original image name */
44
- name: string;
44
+ name?: string;
45
45
  /** Image name from the gallery */
46
- title: string;
46
+ title?: string;
47
47
  /** Image description from the gallery */
48
- description: string;
48
+ description?: string;
49
49
  /** Alternative text for the image */
50
- alt: string;
50
+ alt?: string;
51
51
  /** Image tags from the gallery */
52
- tags: Array<string>;
52
+ tags?: Array<string>;
53
53
  /** Griddo DAM image url */
54
- url: string;
54
+ url?: string;
55
55
  /** Griddo DAM image url thumbnail */
56
- thumb: string;
56
+ thumb?: string;
57
57
  /** Cloudinary `public-id`
58
58
  * @deprecated
59
59
  * Cloudinary will be deprecated in the future
60
60
  */
61
- publicId: string;
61
+ publicId?: string;
62
62
  /** Griddo DAM image id
63
63
  * @deprecated
64
64
  * This id is internal and should not be used
65
65
  */
66
- damId: string;
66
+ damId?: string;
67
67
  /** Image publication date */
68
- published: string;
68
+ published?: string;
69
69
  /** Original image size in bytes */
70
- size: number;
70
+ size?: number;
71
71
  /** Original image width in pixels */
72
- width: number;
72
+ width?: number;
73
73
  /** Original image height in pixels */
74
- height: number;
74
+ height?: number;
75
75
  /** Original image orientation
76
76
  * P: Portrait
77
77
  * L: Landscape
78
78
  * S: Square
79
79
  */
80
- orientation: "P" | "L" | "S";
80
+ orientation?: "P" | "L" | "S";
81
81
  /** Site to which image belongs */
82
- site: number;
82
+ site?: number;
83
83
  /** The alignment in a 3x3 grid for the image, for example to use in <GriddoImage> with the `position` prop */
84
- position: ImagePosition;
84
+ position?: ImagePosition;
85
85
  };
86
86
  /** Field of type where you can add a white list of modules to open them in a modal. */
87
87
  export type Link<ModalComponents = unknown> = {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@griddo/core",
3
3
  "description": "Reload version of Griddo Core",
4
4
  "license": "UNLICENSED",
5
- "version": "10.2.22",
5
+ "version": "10.2.24",
6
6
  "authors": [
7
7
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
8
8
  "Diego M. Béjar <diego.bejar@secuoyas.com>",
@@ -81,5 +81,5 @@
81
81
  "resolutions": {
82
82
  "colors": "1.4.0"
83
83
  },
84
- "gitHead": "9816323e3b6056b4978f41803c23ca8b86b901a8"
84
+ "gitHead": "c15819b6b6ef01e589bc9669e0356dca242df6c7"
85
85
  }