@necord/schematics
Version:
A collection of schematics for Necord projects with NestJS
18 lines (17 loc) • 488 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.modal = modal;
const common_1 = require("../common");
class ModalSchematicFactory extends common_1.CommonSchematicFactory {
constructor() {
super(...arguments);
this.type = 'modal';
}
generate(options) {
return super.generate(options);
}
}
function modal(options) {
const modalFactory = new ModalSchematicFactory();
return modalFactory.create(options);
}