UNPKG

@allgemein/schema-api

Version:
12 lines 448 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Schema = Schema; const Constants_1 = require("../lib/Constants"); const MetadataRegistry_1 = require("../lib/registry/MetadataRegistry"); function Schema(options) { return function (object) { options.target = object; MetadataRegistry_1.MetadataRegistry.$().add(Constants_1.METATYPE_SCHEMA, options); }; } //# sourceMappingURL=Schema.js.map