member.js 351 B

12345678910111213141516171819
  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. role: 'member',
  8. roleName: 'Member',
  9. pending: false,
  10. expired: false,
  11. flags: {
  12. 'sso:linked': false,
  13. },
  14. user: User(),
  15. inviteStatus: 'approved',
  16. ...params,
  17. };
  18. }