@vedhae/cms-schema 4.2.7 → 4.2.8
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 +8 -0
- package/dist/hero.schema.d.ts +7 -7
- package/dist/hero.schema.js +1 -1
- package/dist/product.schema.d.ts +20 -20
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/hero.schema.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const HeroSectionSchema: z.ZodObject<{
|
|
|
8
8
|
description: z.ZodOptional<z.ZodString>;
|
|
9
9
|
ctaText: z.ZodString;
|
|
10
10
|
ctaLink: z.ZodString;
|
|
11
|
-
|
|
11
|
+
imageLinks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
12
12
|
url: z.ZodString;
|
|
13
13
|
path: z.ZodString;
|
|
14
14
|
alt: z.ZodString;
|
|
@@ -20,7 +20,7 @@ export declare const HeroSectionSchema: z.ZodObject<{
|
|
|
20
20
|
path: string;
|
|
21
21
|
url: string;
|
|
22
22
|
alt: string;
|
|
23
|
-
}>>;
|
|
23
|
+
}>, "many">>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
title: string;
|
|
26
26
|
page: "home";
|
|
@@ -29,11 +29,11 @@ export declare const HeroSectionSchema: z.ZodObject<{
|
|
|
29
29
|
tagline: string;
|
|
30
30
|
ctaText: string;
|
|
31
31
|
ctaLink: string;
|
|
32
|
-
|
|
32
|
+
imageLinks: {
|
|
33
33
|
path: string;
|
|
34
34
|
url: string;
|
|
35
35
|
alt: string;
|
|
36
|
-
}
|
|
36
|
+
}[];
|
|
37
37
|
description?: string | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
title: string;
|
|
@@ -43,11 +43,11 @@ export declare const HeroSectionSchema: z.ZodObject<{
|
|
|
43
43
|
tagline: string;
|
|
44
44
|
ctaText: string;
|
|
45
45
|
ctaLink: string;
|
|
46
|
-
|
|
46
|
+
description?: string | undefined;
|
|
47
|
+
imageLinks?: {
|
|
47
48
|
path: string;
|
|
48
49
|
url: string;
|
|
49
50
|
alt: string;
|
|
50
|
-
} | undefined;
|
|
51
|
-
description?: string | undefined;
|
|
51
|
+
}[] | undefined;
|
|
52
52
|
}>;
|
|
53
53
|
export type HeroSection = z.infer<typeof HeroSectionSchema>;
|
package/dist/hero.schema.js
CHANGED
package/dist/product.schema.d.ts
CHANGED
|
@@ -43,6 +43,11 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
43
43
|
title: string;
|
|
44
44
|
order: number;
|
|
45
45
|
active: boolean;
|
|
46
|
+
imageLinks: {
|
|
47
|
+
path: string;
|
|
48
|
+
url: string;
|
|
49
|
+
alt: string;
|
|
50
|
+
}[];
|
|
46
51
|
id: string;
|
|
47
52
|
titleDescription: string;
|
|
48
53
|
size: string;
|
|
@@ -52,11 +57,6 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
52
57
|
price: number;
|
|
53
58
|
stockStatus: boolean;
|
|
54
59
|
stockVolume: number;
|
|
55
|
-
imageLinks: {
|
|
56
|
-
path: string;
|
|
57
|
-
url: string;
|
|
58
|
-
alt: string;
|
|
59
|
-
}[];
|
|
60
60
|
aboutTitle: string;
|
|
61
61
|
aboutDescription: string;
|
|
62
62
|
howToUseTitle: string;
|
|
@@ -72,6 +72,11 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
72
72
|
title: string;
|
|
73
73
|
order: number;
|
|
74
74
|
active: boolean;
|
|
75
|
+
imageLinks: {
|
|
76
|
+
path: string;
|
|
77
|
+
url: string;
|
|
78
|
+
alt: string;
|
|
79
|
+
}[];
|
|
75
80
|
id: string;
|
|
76
81
|
titleDescription: string;
|
|
77
82
|
size: string;
|
|
@@ -81,11 +86,6 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
81
86
|
price: number;
|
|
82
87
|
stockStatus: boolean;
|
|
83
88
|
stockVolume: number;
|
|
84
|
-
imageLinks: {
|
|
85
|
-
path: string;
|
|
86
|
-
url: string;
|
|
87
|
-
alt: string;
|
|
88
|
-
}[];
|
|
89
89
|
aboutTitle: string;
|
|
90
90
|
aboutDescription: string;
|
|
91
91
|
howToUseTitle: string;
|
|
@@ -101,6 +101,11 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
101
101
|
title: string;
|
|
102
102
|
order: number;
|
|
103
103
|
active: boolean;
|
|
104
|
+
imageLinks: {
|
|
105
|
+
path: string;
|
|
106
|
+
url: string;
|
|
107
|
+
alt: string;
|
|
108
|
+
}[];
|
|
104
109
|
id: string;
|
|
105
110
|
titleDescription: string;
|
|
106
111
|
size: string;
|
|
@@ -110,11 +115,6 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
110
115
|
price: number;
|
|
111
116
|
stockStatus: boolean;
|
|
112
117
|
stockVolume: number;
|
|
113
|
-
imageLinks: {
|
|
114
|
-
path: string;
|
|
115
|
-
url: string;
|
|
116
|
-
alt: string;
|
|
117
|
-
}[];
|
|
118
118
|
aboutTitle: string;
|
|
119
119
|
aboutDescription: string;
|
|
120
120
|
howToUseTitle: string;
|
|
@@ -130,6 +130,11 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
130
130
|
title: string;
|
|
131
131
|
order: number;
|
|
132
132
|
active: boolean;
|
|
133
|
+
imageLinks: {
|
|
134
|
+
path: string;
|
|
135
|
+
url: string;
|
|
136
|
+
alt: string;
|
|
137
|
+
}[];
|
|
133
138
|
id: string;
|
|
134
139
|
titleDescription: string;
|
|
135
140
|
size: string;
|
|
@@ -139,11 +144,6 @@ export declare const ProductSchema: z.ZodEffects<z.ZodObject<{
|
|
|
139
144
|
price: number;
|
|
140
145
|
stockStatus: boolean;
|
|
141
146
|
stockVolume: number;
|
|
142
|
-
imageLinks: {
|
|
143
|
-
path: string;
|
|
144
|
-
url: string;
|
|
145
|
-
alt: string;
|
|
146
|
-
}[];
|
|
147
147
|
aboutTitle: string;
|
|
148
148
|
aboutDescription: string;
|
|
149
149
|
howToUseTitle: string;
|