File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
packages/docs/src/components/playground Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -126,26 +126,26 @@ function buildSchema(columns: ColumnDef[]) {
126126 columns . forEach ( ( col ) => {
127127 switch ( col . type ) {
128128 case "text" :
129- shape [ col . id ] = z . string ( ) . nullable ( ) ;
129+ shape [ col . id ] = z . string ( ) ;
130130 break ;
131131 case "number" :
132- shape [ col . id ] = z . number ( ) . nullable ( ) ;
132+ shape [ col . id ] = z . number ( ) ;
133133 break ;
134134 case "boolean" :
135- shape [ col . id ] = z . boolean ( ) . nullable ( ) ;
135+ shape [ col . id ] = z . boolean ( ) ;
136136 break ;
137137 case "select" :
138- shape [ col . id ] = z . string ( ) . nullable ( ) ;
138+ shape [ col . id ] = z . string ( ) ;
139139 break ;
140140 case "multi-select" :
141- shape [ col . id ] = z . array ( z . string ( ) ) . nullable ( ) ;
141+ shape [ col . id ] = z . array ( z . string ( ) ) ;
142142 break ;
143143 case "date" :
144- shape [ col . id ] = z . date ( ) . nullable ( ) ;
144+ shape [ col . id ] = z . date ( ) ;
145145 break ;
146146 default :
147147 ColumnTypeSchema . parse ( col . type ) ;
148- shape [ col . id ] = z . unknown ( ) . nullable ( ) ;
148+ shape [ col . id ] = z . unknown ( ) ;
149149 }
150150 } ) ;
151151
You can’t perform that action at this time.
0 commit comments