plugin.d.ts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // This file is created by egg-ts-helper@1.34.7
  2. // Do not modify this file!!!!!!!!!
  3. /* eslint-disable */
  4. import 'egg';
  5. import 'egg-onerror';
  6. import 'egg-session';
  7. import 'egg-i18n';
  8. import 'egg-watcher';
  9. import 'egg-multipart';
  10. import 'egg-security';
  11. import 'egg-development';
  12. import 'egg-logrotator';
  13. import 'egg-schedule';
  14. import 'egg-static';
  15. import 'egg-jsonp';
  16. import 'egg-view';
  17. import '@eggjs/tegg-plugin';
  18. import '@eggjs/tegg-config';
  19. import '@eggjs/tegg-controller-plugin';
  20. import '@eggjs/tegg-schedule-plugin';
  21. import '@eggjs/tegg-eventbus-plugin';
  22. import '@eggjs/tegg-aop-plugin';
  23. import 'egg-tracer';
  24. import 'egg-jwt';
  25. import 'egg-cors';
  26. import 'egg-router-plus';
  27. import 'egg-validate';
  28. import 'egg-sequelize';
  29. import { EggPluginItem } from 'egg';
  30. declare module 'egg' {
  31. interface EggPlugin {
  32. onerror?: EggPluginItem;
  33. session?: EggPluginItem;
  34. i18n?: EggPluginItem;
  35. watcher?: EggPluginItem;
  36. multipart?: EggPluginItem;
  37. security?: EggPluginItem;
  38. development?: EggPluginItem;
  39. logrotator?: EggPluginItem;
  40. schedule?: EggPluginItem;
  41. static?: EggPluginItem;
  42. jsonp?: EggPluginItem;
  43. view?: EggPluginItem;
  44. tegg?: EggPluginItem;
  45. teggConfig?: EggPluginItem;
  46. teggController?: EggPluginItem;
  47. teggSchedule?: EggPluginItem;
  48. eventbusModule?: EggPluginItem;
  49. aopModule?: EggPluginItem;
  50. tracer?: EggPluginItem;
  51. jwt?: EggPluginItem;
  52. cors?: EggPluginItem;
  53. routerPlus?: EggPluginItem;
  54. validate?: EggPluginItem;
  55. sequelize?: EggPluginItem;
  56. }
  57. }