@vedhae/cms-schema 4.2.10 → 4.2.11

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.
@@ -20,26 +20,31 @@ export declare const AboutImagesSchema: z.ZodObject<{
20
20
  url: z.ZodString;
21
21
  path: z.ZodString;
22
22
  alt: z.ZodString;
23
+ desc: z.ZodOptional<z.ZodString>;
23
24
  }, "strip", z.ZodTypeAny, {
24
25
  url: string;
25
26
  path: string;
26
27
  alt: string;
28
+ desc?: string | undefined;
27
29
  }, {
28
30
  url: string;
29
31
  path: string;
30
32
  alt: string;
33
+ desc?: string | undefined;
31
34
  }>, "many">;
32
35
  }, "strip", z.ZodTypeAny, {
33
36
  images: {
34
37
  url: string;
35
38
  path: string;
36
39
  alt: string;
40
+ desc?: string | undefined;
37
41
  }[];
38
42
  }, {
39
43
  images: {
40
44
  url: string;
41
45
  path: string;
42
46
  alt: string;
47
+ desc?: string | undefined;
43
48
  }[];
44
49
  }>;
45
50
  export type AboutImages = z.infer<typeof AboutImagesSchema>;
@@ -7,14 +7,17 @@ export declare const CardItemSchema: z.ZodObject<{
7
7
  url: z.ZodString;
8
8
  path: z.ZodString;
9
9
  alt: z.ZodString;
10
+ desc: z.ZodOptional<z.ZodString>;
10
11
  }, "strip", z.ZodTypeAny, {
11
12
  url: string;
12
13
  path: string;
13
14
  alt: string;
15
+ desc?: string | undefined;
14
16
  }, {
15
17
  url: string;
16
18
  path: string;
17
19
  alt: string;
20
+ desc?: string | undefined;
18
21
  }>;
19
22
  }, "strip", z.ZodTypeAny, {
20
23
  name: string;
@@ -24,6 +27,7 @@ export declare const CardItemSchema: z.ZodObject<{
24
27
  url: string;
25
28
  path: string;
26
29
  alt: string;
30
+ desc?: string | undefined;
27
31
  };
28
32
  }, {
29
33
  name: string;
@@ -33,6 +37,7 @@ export declare const CardItemSchema: z.ZodObject<{
33
37
  url: string;
34
38
  path: string;
35
39
  alt: string;
40
+ desc?: string | undefined;
36
41
  };
37
42
  }>;
38
43
  export declare const CardSectionSchema: z.ZodObject<{
@@ -49,14 +54,17 @@ export declare const CardSectionSchema: z.ZodObject<{
49
54
  url: z.ZodString;
50
55
  path: z.ZodString;
51
56
  alt: z.ZodString;
57
+ desc: z.ZodOptional<z.ZodString>;
52
58
  }, "strip", z.ZodTypeAny, {
53
59
  url: string;
54
60
  path: string;
55
61
  alt: string;
62
+ desc?: string | undefined;
56
63
  }, {
57
64
  url: string;
58
65
  path: string;
59
66
  alt: string;
67
+ desc?: string | undefined;
60
68
  }>;
61
69
  }, "strip", z.ZodTypeAny, {
62
70
  name: string;
@@ -66,6 +74,7 @@ export declare const CardSectionSchema: z.ZodObject<{
66
74
  url: string;
67
75
  path: string;
68
76
  alt: string;
77
+ desc?: string | undefined;
69
78
  };
70
79
  }, {
71
80
  name: string;
@@ -75,6 +84,7 @@ export declare const CardSectionSchema: z.ZodObject<{
75
84
  url: string;
76
85
  path: string;
77
86
  alt: string;
87
+ desc?: string | undefined;
78
88
  };
79
89
  }>, "many">;
80
90
  }, "strip", z.ZodTypeAny, {
@@ -91,6 +101,7 @@ export declare const CardSectionSchema: z.ZodObject<{
91
101
  url: string;
92
102
  path: string;
93
103
  alt: string;
104
+ desc?: string | undefined;
94
105
  };
95
106
  }[];
96
107
  }, {
@@ -107,6 +118,7 @@ export declare const CardSectionSchema: z.ZodObject<{
107
118
  url: string;
108
119
  path: string;
109
120
  alt: string;
121
+ desc?: string | undefined;
110
122
  };
111
123
  }[];
112
124
  }>;
@@ -12,14 +12,17 @@ export declare const HeroSectionSchema: z.ZodObject<{
12
12
  url: z.ZodString;
13
13
  path: z.ZodString;
14
14
  alt: z.ZodString;
15
+ desc: z.ZodOptional<z.ZodString>;
15
16
  }, "strip", z.ZodTypeAny, {
16
17
  url: string;
17
18
  path: string;
18
19
  alt: string;
20
+ desc?: string | undefined;
19
21
  }, {
20
22
  url: string;
21
23
  path: string;
22
24
  alt: string;
25
+ desc?: string | undefined;
23
26
  }>, "many">>;
24
27
  }, "strip", z.ZodTypeAny, {
25
28
  title: string;
@@ -33,6 +36,7 @@ export declare const HeroSectionSchema: z.ZodObject<{
33
36
  url: string;
34
37
  path: string;
35
38
  alt: string;
39
+ desc?: string | undefined;
36
40
  }[];
37
41
  description?: string | undefined;
38
42
  }, {
@@ -48,6 +52,7 @@ export declare const HeroSectionSchema: z.ZodObject<{
48
52
  url: string;
49
53
  path: string;
50
54
  alt: string;
55
+ desc?: string | undefined;
51
56
  }[] | undefined;
52
57
  }>;
53
58
  export type HeroSection = z.infer<typeof HeroSectionSchema>;
@@ -3,13 +3,16 @@ export declare const ImageAssetSchema: z.ZodObject<{
3
3
  url: z.ZodString;
4
4
  path: z.ZodString;
5
5
  alt: z.ZodString;
6
+ desc: z.ZodOptional<z.ZodString>;
6
7
  }, "strip", z.ZodTypeAny, {
7
8
  url: string;
8
9
  path: string;
9
10
  alt: string;
11
+ desc?: string | undefined;
10
12
  }, {
11
13
  url: string;
12
14
  path: string;
13
15
  alt: string;
16
+ desc?: string | undefined;
14
17
  }>;
15
18
  export type ImageAsset = z.infer<typeof ImageAssetSchema>;
@@ -3,4 +3,5 @@ export const ImageAssetSchema = z.object({
3
3
  url: z.string().url(),
4
4
  path: z.string(),
5
5
  alt: z.string(),
6
+ desc: z.string().min(1).optional()
6
7
  });
@@ -20,14 +20,17 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
20
20
  url: z.ZodString;
21
21
  path: z.ZodString;
22
22
  alt: z.ZodString;
23
+ desc: z.ZodOptional<z.ZodString>;
23
24
  }, "strip", z.ZodTypeAny, {
24
25
  url: string;
25
26
  path: string;
26
27
  alt: string;
28
+ desc?: string | undefined;
27
29
  }, {
28
30
  url: string;
29
31
  path: string;
30
32
  alt: string;
33
+ desc?: string | undefined;
31
34
  }>, "many">;
32
35
  aboutTitle: z.ZodString;
33
36
  aboutDescription: z.ZodString;
@@ -47,6 +50,7 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
47
50
  url: string;
48
51
  path: string;
49
52
  alt: string;
53
+ desc?: string | undefined;
50
54
  }[];
51
55
  id: string;
52
56
  titleDescription: string;
@@ -76,6 +80,7 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
76
80
  url: string;
77
81
  path: string;
78
82
  alt: string;
83
+ desc?: string | undefined;
79
84
  }[];
80
85
  id: string;
81
86
  titleDescription: string;
@@ -105,6 +110,7 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
105
110
  url: string;
106
111
  path: string;
107
112
  alt: string;
113
+ desc?: string | undefined;
108
114
  }[];
109
115
  id: string;
110
116
  titleDescription: string;
@@ -134,6 +140,7 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
134
140
  url: string;
135
141
  path: string;
136
142
  alt: string;
143
+ desc?: string | undefined;
137
144
  }[];
138
145
  id: string;
139
146
  titleDescription: string;
@@ -16,14 +16,17 @@ export declare const ProductHeroSchema: z.ZodObject<{
16
16
  url: z.ZodString;
17
17
  path: z.ZodString;
18
18
  alt: z.ZodString;
19
+ desc: z.ZodOptional<z.ZodString>;
19
20
  }, "strip", z.ZodTypeAny, {
20
21
  url: string;
21
22
  path: string;
22
23
  alt: string;
24
+ desc?: string | undefined;
23
25
  }, {
24
26
  url: string;
25
27
  path: string;
26
28
  alt: string;
29
+ desc?: string | undefined;
27
30
  }>, "many">>;
28
31
  }, "strip", z.ZodTypeAny, {
29
32
  page: "products";
@@ -32,6 +35,7 @@ export declare const ProductHeroSchema: z.ZodObject<{
32
35
  url: string;
33
36
  path: string;
34
37
  alt: string;
38
+ desc?: string | undefined;
35
39
  }[];
36
40
  content: {
37
41
  title?: string | undefined;
@@ -48,6 +52,7 @@ export declare const ProductHeroSchema: z.ZodObject<{
48
52
  url: string;
49
53
  path: string;
50
54
  alt: string;
55
+ desc?: string | undefined;
51
56
  }[] | undefined;
52
57
  }>;
53
58
  export type ProductHero = z.infer<typeof ProductHeroSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vedhae/cms-schema",
3
- "version": "4.2.10",
3
+ "version": "4.2.11",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",