@caartzee/theme-sdk 1.2.1 → 1.2.2
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/bin/caartzee-theme.js +5 -1
- package/dist/lib/index.js +5 -1
- package/dist/types/src/blocks/block-contract.d.ts +10 -10
- package/dist/types/src/cli/mcp/v2-api-catalog.d.ts +69 -0
- package/dist/types/src/cli/mcp/v2-commerce-tools.d.ts +6 -4
- package/dist/types/src/contracts/manifest.d.ts +77 -77
- package/dist/types/src/sections/section-contract.d.ts +12 -12
- package/package.json +1 -1
- package/templates/commerce/manifest.json +1 -1
|
@@ -14,7 +14,7 @@ export declare const SectionContractSchema: z.ZodObject<{
|
|
|
14
14
|
allowedTemplates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15
15
|
settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16
16
|
id: z.ZodString;
|
|
17
|
-
type: z.ZodEnum<["text", "textarea", "richtext", "inline_richtext", "header", "paragraph", "number", "boolean", "checkbox", "radio", "color", "image", "image_picker", "select", "range", "url", "json", "code", "javascript", "category_list", "product_picker", "collection_picker", "font", "spacing"]>;
|
|
17
|
+
type: z.ZodEnum<["text", "textarea", "richtext", "inline_richtext", "header", "paragraph", "number", "boolean", "checkbox", "radio", "color", "image", "image_picker", "select", "range", "url", "json", "html", "code", "javascript", "category_list", "product_picker", "collection_picker", "font", "spacing"]>;
|
|
18
18
|
label: z.ZodString;
|
|
19
19
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
20
20
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -34,7 +34,7 @@ export declare const SectionContractSchema: z.ZodObject<{
|
|
|
34
34
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
id: string;
|
|
37
|
-
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
37
|
+
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "html" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
38
38
|
label: string;
|
|
39
39
|
options?: {
|
|
40
40
|
value: string | number | boolean;
|
|
@@ -48,7 +48,7 @@ export declare const SectionContractSchema: z.ZodObject<{
|
|
|
48
48
|
placeholder?: string | undefined;
|
|
49
49
|
}, {
|
|
50
50
|
id: string;
|
|
51
|
-
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
51
|
+
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "html" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
52
52
|
label: string;
|
|
53
53
|
options?: {
|
|
54
54
|
value: string | number | boolean;
|
|
@@ -67,7 +67,7 @@ export declare const SectionContractSchema: z.ZodObject<{
|
|
|
67
67
|
max: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
settings: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
69
69
|
id: z.ZodString;
|
|
70
|
-
type: z.ZodEnum<["text", "textarea", "richtext", "inline_richtext", "header", "paragraph", "number", "boolean", "checkbox", "radio", "color", "image", "image_picker", "select", "range", "url", "json", "code", "javascript", "category_list", "product_picker", "collection_picker", "font", "spacing"]>;
|
|
70
|
+
type: z.ZodEnum<["text", "textarea", "richtext", "inline_richtext", "header", "paragraph", "number", "boolean", "checkbox", "radio", "color", "image", "image_picker", "select", "range", "url", "json", "html", "code", "javascript", "category_list", "product_picker", "collection_picker", "font", "spacing"]>;
|
|
71
71
|
label: z.ZodString;
|
|
72
72
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
73
73
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -87,7 +87,7 @@ export declare const SectionContractSchema: z.ZodObject<{
|
|
|
87
87
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
id: string;
|
|
90
|
-
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
90
|
+
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "html" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
91
91
|
label: string;
|
|
92
92
|
options?: {
|
|
93
93
|
value: string | number | boolean;
|
|
@@ -101,7 +101,7 @@ export declare const SectionContractSchema: z.ZodObject<{
|
|
|
101
101
|
placeholder?: string | undefined;
|
|
102
102
|
}, {
|
|
103
103
|
id: string;
|
|
104
|
-
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
104
|
+
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "html" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
105
105
|
label: string;
|
|
106
106
|
options?: {
|
|
107
107
|
value: string | number | boolean;
|
|
@@ -118,7 +118,7 @@ export declare const SectionContractSchema: z.ZodObject<{
|
|
|
118
118
|
type: string;
|
|
119
119
|
settings: {
|
|
120
120
|
id: string;
|
|
121
|
-
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
121
|
+
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "html" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
122
122
|
label: string;
|
|
123
123
|
options?: {
|
|
124
124
|
value: string | number | boolean;
|
|
@@ -138,7 +138,7 @@ export declare const SectionContractSchema: z.ZodObject<{
|
|
|
138
138
|
label: string;
|
|
139
139
|
settings?: {
|
|
140
140
|
id: string;
|
|
141
|
-
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
141
|
+
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "html" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
142
142
|
label: string;
|
|
143
143
|
options?: {
|
|
144
144
|
value: string | number | boolean;
|
|
@@ -192,7 +192,7 @@ export declare const SectionContractSchema: z.ZodObject<{
|
|
|
192
192
|
type: string;
|
|
193
193
|
settings?: {
|
|
194
194
|
id: string;
|
|
195
|
-
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
195
|
+
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "html" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
196
196
|
label: string;
|
|
197
197
|
options?: {
|
|
198
198
|
value: string | number | boolean;
|
|
@@ -209,7 +209,7 @@ export declare const SectionContractSchema: z.ZodObject<{
|
|
|
209
209
|
type: string;
|
|
210
210
|
settings: {
|
|
211
211
|
id: string;
|
|
212
|
-
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
212
|
+
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "html" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
213
213
|
label: string;
|
|
214
214
|
options?: {
|
|
215
215
|
value: string | number | boolean;
|
|
@@ -250,7 +250,7 @@ export declare const SectionContractSchema: z.ZodObject<{
|
|
|
250
250
|
type: string;
|
|
251
251
|
settings?: {
|
|
252
252
|
id: string;
|
|
253
|
-
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
253
|
+
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "html" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
254
254
|
label: string;
|
|
255
255
|
options?: {
|
|
256
256
|
value: string | number | boolean;
|
|
@@ -268,7 +268,7 @@ export declare const SectionContractSchema: z.ZodObject<{
|
|
|
268
268
|
label: string;
|
|
269
269
|
settings?: {
|
|
270
270
|
id: string;
|
|
271
|
-
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
271
|
+
type: "number" | "boolean" | "code" | "header" | "text" | "textarea" | "richtext" | "inline_richtext" | "paragraph" | "checkbox" | "radio" | "color" | "image" | "image_picker" | "select" | "range" | "url" | "json" | "html" | "javascript" | "category_list" | "product_picker" | "collection_picker" | "font" | "spacing";
|
|
272
272
|
label: string;
|
|
273
273
|
options?: {
|
|
274
274
|
value: string | number | boolean;
|