@veruna/api-contracts 17.1.0 → 17.2.0
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/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/seo-blocks/content-schemas/before-after-slider.block.d.ts +9 -0
- package/build/v1/seo-blocks/content-schemas/before-after-slider.block.js +4 -1
- package/build/v1/seo-blocks/content-schemas/before-after-slider.block.js.map +1 -1
- package/build-esm/.tsbuildinfo +1 -1
- package/build-esm/v1/seo-blocks/content-schemas/before-after-slider.block.js +4 -1
- package/build-esm/v1/seo-blocks/content-schemas/before-after-slider.block.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,9 @@ export declare const BeforeAfterPairSchema: z.ZodObject<{
|
|
|
4
4
|
beforeAlt: z.ZodString;
|
|
5
5
|
afterSrc: z.ZodString;
|
|
6
6
|
afterAlt: z.ZodString;
|
|
7
|
+
label: z.ZodOptional<z.ZodString>;
|
|
8
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
9
|
+
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
7
10
|
}, z.core.$strip>;
|
|
8
11
|
export declare const BeforeAfterExampleSchema: z.ZodObject<{
|
|
9
12
|
label: z.ZodString;
|
|
@@ -12,6 +15,9 @@ export declare const BeforeAfterExampleSchema: z.ZodObject<{
|
|
|
12
15
|
beforeAlt: z.ZodString;
|
|
13
16
|
afterSrc: z.ZodString;
|
|
14
17
|
afterAlt: z.ZodString;
|
|
18
|
+
label: z.ZodOptional<z.ZodString>;
|
|
19
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
20
|
+
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
15
21
|
}, z.core.$strip>>>;
|
|
16
22
|
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
17
23
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -30,6 +36,9 @@ export declare const BeforeAfterSliderBlockContentSchema: z.ZodObject<{
|
|
|
30
36
|
beforeAlt: z.ZodString;
|
|
31
37
|
afterSrc: z.ZodString;
|
|
32
38
|
afterAlt: z.ZodString;
|
|
39
|
+
label: z.ZodOptional<z.ZodString>;
|
|
40
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
41
|
+
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
33
42
|
}, z.core.$strip>>>;
|
|
34
43
|
aspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
35
44
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -7,6 +7,9 @@ exports.BeforeAfterPairSchema = zod_1.z.object({
|
|
|
7
7
|
beforeAlt: zod_1.z.string().min(1).max(300),
|
|
8
8
|
afterSrc: zod_1.z.string().min(1).max(500),
|
|
9
9
|
afterAlt: zod_1.z.string().min(1).max(300),
|
|
10
|
+
label: zod_1.z.string().min(1).max(60).optional(),
|
|
11
|
+
prompt: zod_1.z.string().min(1).max(500).optional(),
|
|
12
|
+
aspectRatio: zod_1.z.number().min(0.2).max(5).optional(),
|
|
10
13
|
});
|
|
11
14
|
exports.BeforeAfterExampleSchema = zod_1.z
|
|
12
15
|
.object({
|
|
@@ -26,7 +29,7 @@ exports.BeforeAfterExampleSchema = zod_1.z
|
|
|
26
29
|
exports.BeforeAfterSliderBlockContentSchema = zod_1.z.object({
|
|
27
30
|
title: zod_1.z.string().min(1).max(300),
|
|
28
31
|
subtitle: zod_1.z.string().min(1).max(500).optional(),
|
|
29
|
-
examples: zod_1.z.array(exports.BeforeAfterExampleSchema).min(1).max(
|
|
32
|
+
examples: zod_1.z.array(exports.BeforeAfterExampleSchema).min(1).max(12),
|
|
30
33
|
initialPosition: zod_1.z.number().int().min(0).max(100).optional(),
|
|
31
34
|
beforeLabel: zod_1.z.string().min(1).max(40).optional(),
|
|
32
35
|
afterLabel: zod_1.z.string().min(1).max(40).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"before-after-slider.block.js","sourceRoot":"","sources":["../../../../v1/seo-blocks/content-schemas/before-after-slider.block.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;
|
|
1
|
+
{"version":3,"file":"before-after-slider.block.js","sourceRoot":"","sources":["../../../../v1/seo-blocks/content-schemas/before-after-slider.block.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AASX,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACrC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACrC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACpC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAMpC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAM3C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAM7C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC;AAoBU,QAAA,wBAAwB,GAAG,OAAC;KACpC,MAAM,CAAC;IAEJ,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;IAKhC,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,6BAAq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