@@ -50,13 +50,6 @@ const zColorInputSpec = zBaseInputOptions.extend({
5050 . optional ( )
5151} )
5252
53- const zFileUploadInputSpec = zBaseInputOptions . extend ( {
54- type : z . literal ( 'FILEUPLOAD' ) ,
55- name : z . string ( ) ,
56- isOptional : z . boolean ( ) . optional ( ) ,
57- options : z . record ( z . unknown ( ) ) . optional ( )
58- } )
59-
6053const zImageInputSpec = zBaseInputOptions . extend ( {
6154 type : z . literal ( 'IMAGE' ) ,
6255 name : z . string ( ) ,
@@ -82,29 +75,6 @@ const zMarkdownInputSpec = zBaseInputOptions.extend({
8275 . optional ( )
8376} )
8477
85- const zTreeSelectInputSpec = zBaseInputOptions . extend ( {
86- type : z . literal ( 'TREESELECT' ) ,
87- name : z . string ( ) ,
88- isOptional : z . boolean ( ) . optional ( ) ,
89- options : z
90- . object ( {
91- multiple : z . boolean ( ) . optional ( ) ,
92- values : z . array ( z . unknown ( ) ) . optional ( )
93- } )
94- . optional ( )
95- } )
96-
97- const zMultiSelectInputSpec = zBaseInputOptions . extend ( {
98- type : z . literal ( 'MULTISELECT' ) ,
99- name : z . string ( ) ,
100- isOptional : z . boolean ( ) . optional ( ) ,
101- options : z
102- . object ( {
103- values : z . array ( z . string ( ) ) . optional ( )
104- } )
105- . optional ( )
106- } )
107-
10878const zChartInputSpec = zBaseInputOptions . extend ( {
10979 type : z . literal ( 'CHART' ) ,
11080 name : z . string ( ) ,
@@ -128,17 +98,6 @@ const zGalleriaInputSpec = zBaseInputOptions.extend({
12898 . optional ( )
12999} )
130100
131- const zSelectButtonInputSpec = zBaseInputOptions . extend ( {
132- type : z . literal ( 'SELECTBUTTON' ) ,
133- name : z . string ( ) ,
134- isOptional : z . boolean ( ) . optional ( ) ,
135- options : z
136- . object ( {
137- values : z . array ( z . string ( ) ) . optional ( )
138- } )
139- . optional ( )
140- } )
141-
142101const zTextareaInputSpec = zBaseInputOptions . extend ( {
143102 type : z . literal ( 'TEXTAREA' ) ,
144103 name : z . string ( ) ,
@@ -165,15 +124,11 @@ const zInputSpec = z.union([
165124 zStringInputSpec ,
166125 zComboInputSpec ,
167126 zColorInputSpec ,
168- zFileUploadInputSpec ,
169127 zImageInputSpec ,
170128 zImageCompareInputSpec ,
171129 zMarkdownInputSpec ,
172- zTreeSelectInputSpec ,
173- zMultiSelectInputSpec ,
174130 zChartInputSpec ,
175131 zGalleriaInputSpec ,
176- zSelectButtonInputSpec ,
177132 zTextareaInputSpec ,
178133 zCustomInputSpec
179134] )
@@ -213,13 +168,9 @@ type BooleanInputSpec = z.infer<typeof zBooleanInputSpec>
213168type StringInputSpec = z . infer < typeof zStringInputSpec >
214169export type ComboInputSpec = z . infer < typeof zComboInputSpec >
215170export type ColorInputSpec = z . infer < typeof zColorInputSpec >
216- export type FileUploadInputSpec = z . infer < typeof zFileUploadInputSpec >
217171export type ImageCompareInputSpec = z . infer < typeof zImageCompareInputSpec >
218- export type TreeSelectInputSpec = z . infer < typeof zTreeSelectInputSpec >
219- export type MultiSelectInputSpec = z . infer < typeof zMultiSelectInputSpec >
220172export type ChartInputSpec = z . infer < typeof zChartInputSpec >
221173export type GalleriaInputSpec = z . infer < typeof zGalleriaInputSpec >
222- export type SelectButtonInputSpec = z . infer < typeof zSelectButtonInputSpec >
223174export type TextareaInputSpec = z . infer < typeof zTextareaInputSpec >
224175export type CustomInputSpec = z . infer < typeof zCustomInputSpec >
225176
0 commit comments