@vedhae/cms-schema 4.2.9 → 4.2.10
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/dist/about.schema.d.ts
CHANGED
|
@@ -18,22 +18,27 @@ export type AboutContent = z.infer<typeof AboutContentSchema>;
|
|
|
18
18
|
export declare const AboutImagesSchema: z.ZodObject<{
|
|
19
19
|
images: z.ZodArray<z.ZodObject<{
|
|
20
20
|
url: z.ZodString;
|
|
21
|
+
path: z.ZodString;
|
|
21
22
|
alt: z.ZodString;
|
|
22
23
|
}, "strip", z.ZodTypeAny, {
|
|
23
24
|
url: string;
|
|
25
|
+
path: string;
|
|
24
26
|
alt: string;
|
|
25
27
|
}, {
|
|
26
28
|
url: string;
|
|
29
|
+
path: string;
|
|
27
30
|
alt: string;
|
|
28
31
|
}>, "many">;
|
|
29
32
|
}, "strip", z.ZodTypeAny, {
|
|
30
33
|
images: {
|
|
31
34
|
url: string;
|
|
35
|
+
path: string;
|
|
32
36
|
alt: string;
|
|
33
37
|
}[];
|
|
34
38
|
}, {
|
|
35
39
|
images: {
|
|
36
40
|
url: string;
|
|
41
|
+
path: string;
|
|
37
42
|
alt: string;
|
|
38
43
|
}[];
|
|
39
44
|
}>;
|
package/dist/about.schema.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { ImageAssetSchema } from "./image.schema.js";
|
|
2
3
|
/* =========================
|
|
3
4
|
ABOUT PAGE
|
|
4
5
|
========================= */
|
|
@@ -9,8 +10,5 @@ export const AboutContentSchema = z.object({
|
|
|
9
10
|
paragraphs: z.array(z.string()),
|
|
10
11
|
});
|
|
11
12
|
export const AboutImagesSchema = z.object({
|
|
12
|
-
images: z.array(
|
|
13
|
-
url: z.string().url(),
|
|
14
|
-
alt: z.string(),
|
|
15
|
-
})),
|
|
13
|
+
images: z.array(ImageAssetSchema),
|
|
16
14
|
});
|
|
@@ -8,12 +8,12 @@ export declare const CardItemSchema: z.ZodObject<{
|
|
|
8
8
|
path: z.ZodString;
|
|
9
9
|
alt: z.ZodString;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
path: string;
|
|
12
11
|
url: string;
|
|
12
|
+
path: string;
|
|
13
13
|
alt: string;
|
|
14
14
|
}, {
|
|
15
|
-
path: string;
|
|
16
15
|
url: string;
|
|
16
|
+
path: string;
|
|
17
17
|
alt: string;
|
|
18
18
|
}>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -21,8 +21,8 @@ export declare const CardItemSchema: z.ZodObject<{
|
|
|
21
21
|
link: string;
|
|
22
22
|
order: number;
|
|
23
23
|
image: {
|
|
24
|
-
path: string;
|
|
25
24
|
url: string;
|
|
25
|
+
path: string;
|
|
26
26
|
alt: string;
|
|
27
27
|
};
|
|
28
28
|
}, {
|
|
@@ -30,8 +30,8 @@ export declare const CardItemSchema: z.ZodObject<{
|
|
|
30
30
|
link: string;
|
|
31
31
|
order: number;
|
|
32
32
|
image: {
|
|
33
|
-
path: string;
|
|
34
33
|
url: string;
|
|
34
|
+
path: string;
|
|
35
35
|
alt: string;
|
|
36
36
|
};
|
|
37
37
|
}>;
|
|
@@ -50,12 +50,12 @@ export declare const CardSectionSchema: z.ZodObject<{
|
|
|
50
50
|
path: z.ZodString;
|
|
51
51
|
alt: z.ZodString;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
path: string;
|
|
54
53
|
url: string;
|
|
54
|
+
path: string;
|
|
55
55
|
alt: string;
|
|
56
56
|
}, {
|
|
57
|
-
path: string;
|
|
58
57
|
url: string;
|
|
58
|
+
path: string;
|
|
59
59
|
alt: string;
|
|
60
60
|
}>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -63,8 +63,8 @@ export declare const CardSectionSchema: z.ZodObject<{
|
|
|
63
63
|
link: string;
|
|
64
64
|
order: number;
|
|
65
65
|
image: {
|
|
66
|
-
path: string;
|
|
67
66
|
url: string;
|
|
67
|
+
path: string;
|
|
68
68
|
alt: string;
|
|
69
69
|
};
|
|
70
70
|
}, {
|
|
@@ -72,8 +72,8 @@ export declare const CardSectionSchema: z.ZodObject<{
|
|
|
72
72
|
link: string;
|
|
73
73
|
order: number;
|
|
74
74
|
image: {
|
|
75
|
-
path: string;
|
|
76
75
|
url: string;
|
|
76
|
+
path: string;
|
|
77
77
|
alt: string;
|
|
78
78
|
};
|
|
79
79
|
}>, "many">;
|
|
@@ -88,8 +88,8 @@ export declare const CardSectionSchema: z.ZodObject<{
|
|
|
88
88
|
link: string;
|
|
89
89
|
order: number;
|
|
90
90
|
image: {
|
|
91
|
-
path: string;
|
|
92
91
|
url: string;
|
|
92
|
+
path: string;
|
|
93
93
|
alt: string;
|
|
94
94
|
};
|
|
95
95
|
}[];
|
|
@@ -104,8 +104,8 @@ export declare const CardSectionSchema: z.ZodObject<{
|
|
|
104
104
|
link: string;
|
|
105
105
|
order: number;
|
|
106
106
|
image: {
|
|
107
|
-
path: string;
|
|
108
107
|
url: string;
|
|
108
|
+
path: string;
|
|
109
109
|
alt: string;
|
|
110
110
|
};
|
|
111
111
|
}[];
|
package/dist/hero.schema.d.ts
CHANGED
|
@@ -13,12 +13,12 @@ export declare const HeroSectionSchema: z.ZodObject<{
|
|
|
13
13
|
path: z.ZodString;
|
|
14
14
|
alt: z.ZodString;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
path: string;
|
|
17
16
|
url: string;
|
|
17
|
+
path: string;
|
|
18
18
|
alt: string;
|
|
19
19
|
}, {
|
|
20
|
-
path: string;
|
|
21
20
|
url: string;
|
|
21
|
+
path: string;
|
|
22
22
|
alt: string;
|
|
23
23
|
}>, "many">>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -30,8 +30,8 @@ export declare const HeroSectionSchema: z.ZodObject<{
|
|
|
30
30
|
ctaText: string;
|
|
31
31
|
ctaLink: string;
|
|
32
32
|
imageLinks: {
|
|
33
|
-
path: string;
|
|
34
33
|
url: string;
|
|
34
|
+
path: string;
|
|
35
35
|
alt: string;
|
|
36
36
|
}[];
|
|
37
37
|
description?: string | undefined;
|
|
@@ -45,8 +45,8 @@ export declare const HeroSectionSchema: z.ZodObject<{
|
|
|
45
45
|
ctaLink: string;
|
|
46
46
|
description?: string | undefined;
|
|
47
47
|
imageLinks?: {
|
|
48
|
-
path: string;
|
|
49
48
|
url: string;
|
|
49
|
+
path: string;
|
|
50
50
|
alt: string;
|
|
51
51
|
}[] | undefined;
|
|
52
52
|
}>;
|
package/dist/image.schema.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ export declare const ImageAssetSchema: z.ZodObject<{
|
|
|
4
4
|
path: z.ZodString;
|
|
5
5
|
alt: z.ZodString;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
path: string;
|
|
8
7
|
url: string;
|
|
8
|
+
path: string;
|
|
9
9
|
alt: string;
|
|
10
10
|
}, {
|
|
11
|
-
path: string;
|
|
12
11
|
url: string;
|
|
12
|
+
path: string;
|
|
13
13
|
alt: string;
|
|
14
14
|
}>;
|
|
15
15
|
export type ImageAsset = z.infer<typeof ImageAssetSchema>;
|
package/dist/product.schema.d.ts
CHANGED
|
@@ -21,12 +21,12 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
21
21
|
path: z.ZodString;
|
|
22
22
|
alt: z.ZodString;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
path: string;
|
|
25
24
|
url: string;
|
|
25
|
+
path: string;
|
|
26
26
|
alt: string;
|
|
27
27
|
}, {
|
|
28
|
-
path: string;
|
|
29
28
|
url: string;
|
|
29
|
+
path: string;
|
|
30
30
|
alt: string;
|
|
31
31
|
}>, "many">;
|
|
32
32
|
aboutTitle: z.ZodString;
|
|
@@ -44,8 +44,8 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
44
44
|
order: number;
|
|
45
45
|
active: boolean;
|
|
46
46
|
imageLinks: {
|
|
47
|
-
path: string;
|
|
48
47
|
url: string;
|
|
48
|
+
path: string;
|
|
49
49
|
alt: string;
|
|
50
50
|
}[];
|
|
51
51
|
id: string;
|
|
@@ -73,8 +73,8 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
73
73
|
order: number;
|
|
74
74
|
active: boolean;
|
|
75
75
|
imageLinks: {
|
|
76
|
-
path: string;
|
|
77
76
|
url: string;
|
|
77
|
+
path: string;
|
|
78
78
|
alt: string;
|
|
79
79
|
}[];
|
|
80
80
|
id: string;
|
|
@@ -102,8 +102,8 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
102
102
|
order: number;
|
|
103
103
|
active: boolean;
|
|
104
104
|
imageLinks: {
|
|
105
|
-
path: string;
|
|
106
105
|
url: string;
|
|
106
|
+
path: string;
|
|
107
107
|
alt: string;
|
|
108
108
|
}[];
|
|
109
109
|
id: string;
|
|
@@ -131,8 +131,8 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
131
131
|
order: number;
|
|
132
132
|
active: boolean;
|
|
133
133
|
imageLinks: {
|
|
134
|
-
path: string;
|
|
135
134
|
url: string;
|
|
135
|
+
path: string;
|
|
136
136
|
alt: string;
|
|
137
137
|
}[];
|
|
138
138
|
id: string;
|
|
@@ -17,20 +17,20 @@ export declare const ProductHeroSchema: z.ZodObject<{
|
|
|
17
17
|
path: z.ZodString;
|
|
18
18
|
alt: z.ZodString;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
path: string;
|
|
21
20
|
url: string;
|
|
21
|
+
path: string;
|
|
22
22
|
alt: string;
|
|
23
23
|
}, {
|
|
24
|
-
path: string;
|
|
25
24
|
url: string;
|
|
25
|
+
path: string;
|
|
26
26
|
alt: string;
|
|
27
27
|
}>, "many">>;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
29
|
page: "products";
|
|
30
30
|
active: boolean;
|
|
31
31
|
imageLinks: {
|
|
32
|
-
path: string;
|
|
33
32
|
url: string;
|
|
33
|
+
path: string;
|
|
34
34
|
alt: string;
|
|
35
35
|
}[];
|
|
36
36
|
content: {
|
|
@@ -45,8 +45,8 @@ export declare const ProductHeroSchema: z.ZodObject<{
|
|
|
45
45
|
subtitle?: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
imageLinks?: {
|
|
48
|
-
path: string;
|
|
49
48
|
url: string;
|
|
49
|
+
path: string;
|
|
50
50
|
alt: string;
|
|
51
51
|
}[] | undefined;
|
|
52
52
|
}>;
|