member.js 461 B

1234567891011121314151617181920212223
  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. 'idp:provisioned': false,
  16. 'idp:role-restricted': false,
  17. },
  18. user: User(),
  19. inviteStatus: 'approved',
  20. ...params,
  21. };
  22. }