@allgemein/schema-api
Version:
Library for schema api
12 lines • 473 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Embeddable = Embeddable;
const Constants_1 = require("../lib/Constants");
const MetadataRegistry_1 = require("../lib/registry/MetadataRegistry");
function Embeddable(options = {}) {
return function (object) {
options.target = object;
MetadataRegistry_1.MetadataRegistry.$().add(Constants_1.METATYPE_EMBEDDABLE, options);
};
}
//# sourceMappingURL=Embeddable.js.map