member.js 484 B

123456789101112131415161718192021222324
  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. groupOrgRoles: [],
  9. teamRoles: [],
  10. role: 'member',
  11. roleName: 'Member',
  12. pending: false,
  13. expired: false,
  14. flags: {
  15. 'sso:linked': false,
  16. 'idp:provisioned': false,
  17. 'idp:role-restricted': false,
  18. },
  19. user: User(),
  20. inviteStatus: 'approved',
  21. ...params,
  22. };
  23. }