plugins.js 432 B

1234567891011121314151617181920212223
  1. import {Plugin} from './plugin';
  2. export function Plugins(params = []) {
  3. return [
  4. Plugin(),
  5. Plugin({
  6. enabled: true,
  7. id: 'github',
  8. name: 'GitHub',
  9. slug: 'github',
  10. canDisable: false,
  11. hasConfiguration: false,
  12. }),
  13. Plugin({
  14. enabled: false,
  15. isHidden: true,
  16. name: 'Hidden Plugin',
  17. slug: 'hidden-plugin',
  18. id: 'hidden-plugin',
  19. }),
  20. ...params,
  21. ];
  22. }