import { EggPlugin } from 'egg' ; import { join } from 'path' ; const plugin = { event : { enable : true , path : join ( __dirname , '../app/plugin/event-manager' ) , } , sched : { enable : true , path : join ( __dirname , '../app/plugin/scheduler-manager' ) , } , installation : { enable : true , path : join ( __dirname , '../app/plugin/installation-manager' ) , } , phManager : { enable : true , path : join ( __dirname , '../app/plugin/ph-manager' ) , } , github : { enable : true , path : join ( __dirname , '../app/plugin/github' ) , } , gitlab : { enable : true , path : join ( __dirname , '../app/plugin/gitlab' ) , } , gitee : { enable : true , path : join ( __dirname , '../app/plugin/gitee' ) , } , ciManager : { enable : true , path : join ( __dirname , '../app/plugin/ci-manager' ) , } , imManager : { enable : true , path : join ( __dirname , '../app/plugin/im-manager' ) , } , translate : { enable : true , path : join ( __dirname , '../app/plugin/translate' ) , } , errorManager : { enable : true , path : join ( __dirname , '../app/plugin/error-manager' ) , } , } ; export default plugin ;