@@ -80,7 +80,7 @@ export const defaultRules: Record<AnswerTableRule["type"], AnswerTableRule> = {
8080 must_return : { type : "must_return" , options : [ ] } ,
8181 may_return : { type : "may_return" , options : [ ] } ,
8282 max_length : { type : "max_length" , length : 1 } ,
83- replace : { type : "replace" , options : [ ] }
83+ // replace: { type: "replace", options: [] }
8484} ;
8585
8686export const ruleOptions : {
@@ -90,14 +90,14 @@ export const ruleOptions: {
9090 { value : "must_return" , label : "Must return" } ,
9191 { value : "may_return" , label : "May return" } ,
9292 { value : "max_length" , label : "Allowed # of responses" } ,
93- { value : "replace" , label : "Replace" }
93+ // { value: "replace", label: "Replace" }
9494] ;
9595
9696export const ruleInfo : Record < AnswerTableRule [ "type" ] , string > = {
9797 must_return : "The column must return the specified values" ,
9898 may_return : "The column may return the specified values" ,
9999 max_length : "The column must return at most N values" ,
100- replace : "Replace all specified values with the first one from the list"
100+ // replace: "Replace all specified values with the first one from the list"
101101} ;
102102
103103// Casting
0 commit comments