@trapi/metadata
Version:
Generate REST-API metadata scheme from TypeScript Decorators.
47 lines • 1.74 kB
JavaScript
;
/*
* Copyright (c) 2023.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.UtilityTypeName = exports.TypeName = void 0;
var TypeName;
(function (TypeName) {
TypeName["STRING"] = "string";
TypeName["BOOLEAN"] = "boolean";
TypeName["DOUBLE"] = "double";
TypeName["FLOAT"] = "float";
TypeName["FILE"] = "file";
TypeName["INTEGER"] = "integer";
TypeName["LONG"] = "long";
TypeName["ENUM"] = "enum";
TypeName["ARRAY"] = "array";
TypeName["DATETIME"] = "datetime";
TypeName["DATE"] = "date";
TypeName["BINARY"] = "binary";
TypeName["BUFFER"] = "buffer";
TypeName["BYTE"] = "byte";
TypeName["VOID"] = "void";
TypeName["OBJECT"] = "object";
TypeName["ANY"] = "any";
TypeName["UNDEFINED"] = "undefined";
TypeName["REF_ENUM"] = "refEnum";
TypeName["REF_OBJECT"] = "refObject";
TypeName["REF_ALIAS"] = "refAlias";
TypeName["NESTED_OBJECT_LITERAL"] = "nestedObjectLiteral";
TypeName["UNION"] = "union";
TypeName["INTERSECTION"] = "intersection";
})(TypeName || (exports.TypeName = TypeName = {}));
var UtilityTypeName;
(function (UtilityTypeName) {
UtilityTypeName["NON_NULLABLE"] = "NonNullable";
UtilityTypeName["OMIT"] = "Omit";
UtilityTypeName["PARTIAL"] = "Partial";
UtilityTypeName["READONLY"] = "Readonly";
UtilityTypeName["RECORD"] = "Record";
UtilityTypeName["REQUIRED"] = "Required";
UtilityTypeName["PICK"] = "Pick";
})(UtilityTypeName || (exports.UtilityTypeName = UtilityTypeName = {}));
//# sourceMappingURL=constants.js.map