@shons/next-configify
Version:
NestJS Config on Next Steroids
13 lines • 624 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Configuration = exports.CONFIGURATION_METADATA = void 0;
const configuration_registry_1 = require("../configuration/configuration.registry");
exports.CONFIGURATION_METADATA = Symbol.for('__configuration__');
const Configuration = () => {
return (target) => {
configuration_registry_1.ConfigurationRegistry.registerTarget(target);
Reflect.defineMetadata(exports.CONFIGURATION_METADATA, target.constructor.name, target);
};
};
exports.Configuration = Configuration;
//# sourceMappingURL=configuration.decorator.js.map