V1 with working cmdline interface for easy of using GIT
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.parseEnumDef = void 0;
|
||||
function parseEnumDef(def) {
|
||||
return {
|
||||
type: 'string',
|
||||
enum: [...def.values],
|
||||
};
|
||||
}
|
||||
exports.parseEnumDef = parseEnumDef;
|
||||
//# sourceMappingURL=enum.js.map
|
||||
Reference in New Issue
Block a user