member.js 393 B

123456789101112131415161718192021
  1. import {User} from './user';
  2. export function Member(params = {}) {
  3. return {
  4. id: '1',
  5. email: 'sentry1@test.com',
  6. name: 'Sentry 1 Name',
  7. orgRole: 'member',
  8. teamRoles: [],
  9. role: 'member',
  10. roleName: 'Member',
  11. pending: false,
  12. expired: false,
  13. flags: {
  14. 'sso:linked': false,
  15. },
  16. user: User(),
  17. inviteStatus: 'approved',
  18. ...params,
  19. };
  20. }