sentryApp.js 483 B

12345678910111213141516171819
  1. export function SentryApp(params = {}) {
  2. return {
  3. name: 'Sample App',
  4. author: 'Sentry',
  5. slug: 'sample-app',
  6. scopes: ['project:read'],
  7. events: [],
  8. status: 'unpublished',
  9. uuid: '123456123456123456123456',
  10. webhookUrl: 'https://example.com/webhook',
  11. redirectUrl: 'https://example/com/setup',
  12. isAlertable: false,
  13. clientId: 'client-id',
  14. clientSecret: 'client-secret',
  15. overview: 'This is an app.',
  16. schema: {},
  17. ...params,
  18. };
  19. }