organization.js 684 B

12345678910111213141516171819202122232425262728293031323334
  1. export function Organization(params = {}) {
  2. return {
  3. id: '3',
  4. slug: 'org-slug',
  5. organizationUrl: 'https://org-slug.us.sentry.io',
  6. name: 'Organization Name',
  7. access: [
  8. 'org:read',
  9. 'org:write',
  10. 'org:admin',
  11. 'org:integrations',
  12. 'project:read',
  13. 'project:write',
  14. 'project:releases',
  15. 'project:admin',
  16. 'team:read',
  17. 'team:write',
  18. 'team:admin',
  19. 'alerts:read',
  20. 'alerts:write',
  21. ],
  22. status: {
  23. id: 'active',
  24. name: 'active',
  25. },
  26. experiments: {},
  27. scrapeJavaScript: true,
  28. features: [],
  29. onboardingTasks: [],
  30. teams: [],
  31. projects: [],
  32. ...params,
  33. };
  34. }