members.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. import {Member} from './member';
  2. export function Members(params = []) {
  3. return [
  4. Member(),
  5. {
  6. id: '2',
  7. name: 'Sentry 2 Name',
  8. email: 'sentry2@test.com',
  9. role: 'member',
  10. roleName: 'Member',
  11. pending: true,
  12. flags: {
  13. 'sso:linked': false,
  14. },
  15. user: null,
  16. },
  17. {
  18. id: '3',
  19. name: 'Sentry 3 Name',
  20. email: 'sentry3@test.com',
  21. role: 'owner',
  22. roleName: 'Owner',
  23. pending: false,
  24. flags: {
  25. 'sso:linked': true,
  26. },
  27. user: {
  28. id: '3',
  29. has2fa: true,
  30. name: 'Sentry 3 Name',
  31. email: 'sentry3@test.com',
  32. username: 'Sentry 3 Username',
  33. },
  34. },
  35. {
  36. id: '4',
  37. name: 'Sentry 4 Name',
  38. email: 'sentry4@test.com',
  39. role: 'owner',
  40. roleName: 'Owner',
  41. pending: false,
  42. flags: {
  43. 'sso:linked': true,
  44. },
  45. user: {
  46. id: '4',
  47. has2fa: true,
  48. name: 'Sentry 4 Name',
  49. email: 'sentry4@test.com',
  50. username: 'Sentry 4 Username',
  51. },
  52. },
  53. ...params,
  54. ];
  55. }