@deliverart/sdk-js-integration-types 2.45.2 → 2.45.3
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.
- package/README.md +4 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @deliverart/sdk-js-integration-types
|
|
2
2
|
|
|
3
|
+
Ecommerce activation data accepts the optional boolean `showProductImages`.
|
|
4
|
+
Omitting it keeps the API default enabled; explicit `false` hides product photos
|
|
5
|
+
in editorial and grid layouts. Compact menus remain text-only.
|
|
6
|
+
|
|
3
7
|
Shared integration type and Zod schema package for the DeliverArt JavaScript SDK.
|
|
4
8
|
|
|
5
9
|
Use this package when another SDK package needs integration enum values, IRI schemas,
|
package/dist/index.cjs
CHANGED
|
@@ -1101,6 +1101,7 @@ var integrationEcommerceDataSchema = import_zod3.z.object({
|
|
|
1101
1101
|
displayName: optionalCleanField(import_zod3.z.string().trim().min(1).max(120)),
|
|
1102
1102
|
tagline: optionalCleanField(import_zod3.z.string().trim().min(1).max(255)),
|
|
1103
1103
|
menuViewMode: optionalCleanField(integrationEcommerceMenuViewModeSchema),
|
|
1104
|
+
showProductImages: import_zod3.z.boolean().optional(),
|
|
1104
1105
|
logo: optionalCleanField(import_zod3.z.string().trim().min(1).max(80)),
|
|
1105
1106
|
heroImage: optionalCleanField(import_zod3.z.string().trim().min(1).max(80)),
|
|
1106
1107
|
theme: optionalCleanField(integrationEcommerceThemeSchema)
|
package/dist/index.d.cts
CHANGED
|
@@ -374,6 +374,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
374
374
|
compact: "compact";
|
|
375
375
|
visual_grid: "visual_grid";
|
|
376
376
|
}>>>;
|
|
377
|
+
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
377
378
|
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
378
379
|
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
379
380
|
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
@@ -907,6 +908,7 @@ declare const integrationEcommerceDataSchema: z.ZodObject<{
|
|
|
907
908
|
compact: "compact";
|
|
908
909
|
visual_grid: "visual_grid";
|
|
909
910
|
}>>>;
|
|
911
|
+
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
910
912
|
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
911
913
|
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
912
914
|
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
@@ -1599,6 +1601,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1599
1601
|
compact: "compact";
|
|
1600
1602
|
visual_grid: "visual_grid";
|
|
1601
1603
|
}>>>;
|
|
1604
|
+
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
1602
1605
|
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1603
1606
|
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1604
1607
|
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -374,6 +374,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
374
374
|
compact: "compact";
|
|
375
375
|
visual_grid: "visual_grid";
|
|
376
376
|
}>>>;
|
|
377
|
+
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
377
378
|
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
378
379
|
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
379
380
|
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
@@ -907,6 +908,7 @@ declare const integrationEcommerceDataSchema: z.ZodObject<{
|
|
|
907
908
|
compact: "compact";
|
|
908
909
|
visual_grid: "visual_grid";
|
|
909
910
|
}>>>;
|
|
911
|
+
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
910
912
|
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
911
913
|
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
912
914
|
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
@@ -1599,6 +1601,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1599
1601
|
compact: "compact";
|
|
1600
1602
|
visual_grid: "visual_grid";
|
|
1601
1603
|
}>>>;
|
|
1604
|
+
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
1602
1605
|
logo: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1603
1606
|
heroImage: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1604
1607
|
theme: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -837,6 +837,7 @@ var integrationEcommerceDataSchema = z3.object({
|
|
|
837
837
|
displayName: optionalCleanField(z3.string().trim().min(1).max(120)),
|
|
838
838
|
tagline: optionalCleanField(z3.string().trim().min(1).max(255)),
|
|
839
839
|
menuViewMode: optionalCleanField(integrationEcommerceMenuViewModeSchema),
|
|
840
|
+
showProductImages: z3.boolean().optional(),
|
|
840
841
|
logo: optionalCleanField(z3.string().trim().min(1).max(80)),
|
|
841
842
|
heroImage: optionalCleanField(z3.string().trim().min(1).max(80)),
|
|
842
843
|
theme: optionalCleanField(integrationEcommerceThemeSchema)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-integration-types",
|
|
3
3
|
"description": "Deliverart JavaScript SDK shared integration types and schemas",
|
|
4
|
-
"version": "2.45.
|
|
4
|
+
"version": "2.45.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "4.3.5",
|
|
22
|
-
"@deliverart/sdk-js-global-types": "2.45.
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.45.3"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"vitest": "4.1.11"
|