the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+6
@@ -0,0 +1,6 @@
|
||||
export function parseEnumDef(def) {
|
||||
return {
|
||||
type: "string",
|
||||
enum: Array.from(def.values),
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user