commitAuthor.js 677 B

1234567891011121314151617181920212223242526272829
  1. export function CommitAuthor(params = {}) {
  2. return {
  3. username: 'example@sentry.io',
  4. lastLogin: '2018-11-30T21:18:09.812Z',
  5. isSuperuser: true,
  6. isManaged: false,
  7. lastActive: '2018-11-30T21:25:15.222Z',
  8. id: '224288',
  9. isActive: true,
  10. has2fa: false,
  11. name: 'Foo Bar',
  12. avatarUrl: 'https://example.com/avatar.png',
  13. dateJoined: '2018-02-26T23:57:43.766Z',
  14. emails: [
  15. {
  16. is_verified: true,
  17. id: '231605',
  18. email: 'example@sentry.io',
  19. },
  20. ],
  21. avatar: {
  22. avatarUuid: null,
  23. avatarType: 'letter_avatar',
  24. },
  25. hasPasswordAuth: true,
  26. email: 'example@sentry.io',
  27. ...params,
  28. };
  29. }