@reactivehub/cli
Version:
20 lines (17 loc) • 545 B
JavaScript
;
var _validators = require('../../validators');
const create = [{
type: 'input',
name: 'eventGroup',
message: 'Enter the event scope (e.g payment): ',
validate: input => (0, _validators.idPatternValidator)(input)
}, {
type: 'input',
name: 'id',
message: 'Enter the event id (e.g new-credit-card, this will create the composed event enpoint, for example: payment.new-credit-card): ',
validate: input => (0, _validators.idPatternValidator)(input)
}];
module.exports = {
create
};
//# sourceMappingURL=event.js.map