Skip to content

Commit 7102b2a

Browse files
authored
feat: add alt property to the product image fields (#6)
1 parent a941127 commit 7102b2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Enum/Fields/ProductImageFields.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class ProductImageFields extends AbstractObjectEnum
1111
const PRODUCT_ID = 'product_id';
1212
const VARIANT_IDS = 'variant_ids';
1313
const SRC = 'src';
14+
const ALT = 'alt';
1415
const WIDTH = 'width';
1516
const HEIGHT = 'height';
1617
const UPDATED_AT = 'updated_at';
@@ -25,6 +26,7 @@ public function getFieldTypes()
2526
'product_id' => 'integer',
2627
'variant_ids' => 'array',
2728
'src' => 'string',
29+
'alt' => 'string',
2830
'height' => 'integer',
2931
'width' => 'integer',
3032
'updated_at' => 'DateTime'

0 commit comments

Comments
 (0)