@trapi/metadata
Version:
Generate REST-API metadata scheme from TypeScript Decorators.
30 lines • 1.19 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.CollectionFormat = exports.ParameterSource = void 0;
var ParameterSource;
(function (ParameterSource) {
ParameterSource["BODY"] = "body";
ParameterSource["BODY_PROP"] = "bodyProp";
ParameterSource["CONTEXT"] = "context";
ParameterSource["COOKIE"] = "cookie";
ParameterSource["HEADER"] = "header";
ParameterSource["FORM_DATA"] = "formData";
ParameterSource["QUERY"] = "query";
ParameterSource["QUERY_PROP"] = "queryProp";
ParameterSource["PATH"] = "path";
})(ParameterSource || (exports.ParameterSource = ParameterSource = {}));
var CollectionFormat;
(function (CollectionFormat) {
CollectionFormat["CSV"] = "csv";
CollectionFormat["SSV"] = "ssv";
CollectionFormat["TSV"] = "tsv";
CollectionFormat["PIPES"] = "pipes";
CollectionFormat["MULTI"] = "multi";
})(CollectionFormat || (exports.CollectionFormat = CollectionFormat = {}));
//# sourceMappingURL=constants.js.map