UNPKG

@trapi/metadata

Version:

Generate REST-API metadata scheme from TypeScript Decorators.

21 lines 696 B
"use strict"; /* * 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.MethodName = void 0; var MethodName; (function (MethodName) { MethodName["ALL"] = "ALL"; MethodName["GET"] = "GET"; MethodName["POST"] = "POST"; MethodName["PUT"] = "PUT"; MethodName["DELETE"] = "DELETE"; MethodName["PATCH"] = "PATCH"; MethodName["OPTIONS"] = "OPTIONS"; MethodName["HEAD"] = "HEAD"; })(MethodName || (exports.MethodName = MethodName = {})); //# sourceMappingURL=constants.js.map