lazy.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Object.defineProperty(exports, '__esModule', { value: true });
  2. const utils = require('@sentry/utils');
  3. const lazyLoadedNodePerformanceMonitoringIntegrations = [
  4. () => {
  5. const integration = utils.dynamicRequire(module, './apollo')
  6. ;
  7. return new integration.Apollo();
  8. },
  9. () => {
  10. const integration = utils.dynamicRequire(module, './apollo')
  11. ;
  12. return new integration.Apollo({ useNestjs: true });
  13. },
  14. () => {
  15. const integration = utils.dynamicRequire(module, './graphql')
  16. ;
  17. return new integration.GraphQL();
  18. },
  19. () => {
  20. const integration = utils.dynamicRequire(module, './mongo')
  21. ;
  22. return new integration.Mongo();
  23. },
  24. () => {
  25. const integration = utils.dynamicRequire(module, './mongo')
  26. ;
  27. return new integration.Mongo({ mongoose: true });
  28. },
  29. () => {
  30. const integration = utils.dynamicRequire(module, './mysql')
  31. ;
  32. return new integration.Mysql();
  33. },
  34. () => {
  35. const integration = utils.dynamicRequire(module, './postgres')
  36. ;
  37. return new integration.Postgres();
  38. },
  39. ];
  40. exports.lazyLoadedNodePerformanceMonitoringIntegrations = lazyLoadedNodePerformanceMonitoringIntegrations;
  41. //# sourceMappingURL=lazy.js.map