Skip to content

Commit 7485d5a

Browse files
committed
✏️ Fix Caption Type
1 parent 22740ad commit 7485d5a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@crystallize/js-api-client",
33
"license": "MIT",
4-
"version": "0.6.0",
4+
"version": "0.6.1",
55
"author": "Crystallize <[email protected]> (https://crystallize.com)",
66
"contributors": [
77
"Sébastien Morel <[email protected]>"

src/types/product.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ export interface Image {
103103
key: string;
104104
altText?: string;
105105
caption?: {
106-
json: any;
107-
html: string;
108-
plainText: string;
106+
json: any[];
107+
html: string[];
108+
plainText: string[];
109109
};
110110
meta?: MetaProperty[];
111111
metaProperty?: string; // shortcut to meta[n].value

0 commit comments

Comments
 (0)