openapi-tsk
Version:
openapi tool to use with NodeTskeleton template project
33 lines (32 loc) • 1.35 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PropFormatEnum = exports.PropTypeEnum = exports.ZodObject = void 0;
var zod_1 = require("zod");
Object.defineProperty(exports, "ZodObject", { enumerable: true, get: function () { return zod_1.ZodObject; } });
var PropTypeEnum;
(function (PropTypeEnum) {
PropTypeEnum["STRING"] = "string";
PropTypeEnum["NUMBER"] = "number";
PropTypeEnum["BOOLEAN"] = "boolean";
PropTypeEnum["OBJECT"] = "object";
PropTypeEnum["ARRAY"] = "array";
PropTypeEnum["DATE"] = "date";
PropTypeEnum["NULL"] = "null";
PropTypeEnum["UNDEFINED"] = "undefined";
PropTypeEnum["PRIMITIVE"] = "primitive";
})(PropTypeEnum || (exports.PropTypeEnum = PropTypeEnum = {}));
var PropFormatEnum;
(function (PropFormatEnum) {
PropFormatEnum["INT_64"] = "int64";
PropFormatEnum["INT_32"] = "int32";
PropFormatEnum["FLOAT"] = "float";
PropFormatEnum["DATE_TIME"] = "date-time";
PropFormatEnum["DATE"] = "date";
PropFormatEnum["TIME"] = "time";
PropFormatEnum["EMAIL"] = "email";
PropFormatEnum["URI"] = "uri";
PropFormatEnum["UUID"] = "uuid";
PropFormatEnum["PASSWORD"] = "password";
PropFormatEnum["TEXT"] = "text";
PropFormatEnum["BASE64"] = "base64";
})(PropFormatEnum || (exports.PropFormatEnum = PropFormatEnum = {}));