@kezios/forest-express-decorator
Version:
🚀 Decorators for Express Forest Admin
15 lines (14 loc) • 403 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Collection = void 0;
const Collection = (collectionName) => {
return function (constructor) {
return class extends constructor {
constructor() {
super(...arguments);
this.name = collectionName;
}
};
};
};
exports.Collection = Collection;