tagvalues.ts 630 B

1234567891011121314151617181920212223
  1. import type {TagValue} from 'sentry/types/group';
  2. export function TagValuesFixture(params = []): TagValue[] {
  3. return [
  4. {
  5. username: 'david',
  6. lastSeen: '2018-12-20T23:32:25Z',
  7. query: 'user.username:david',
  8. id: '10799',
  9. firstSeen: '2018-10-03T03:40:05.627Z',
  10. count: 3,
  11. name: 'David Cramer',
  12. avatarUrl:
  13. 'https://secure.gravatar.com/avatar/d66694bbc7619203377bd9c9b7b9f14a?s=32&d=mm',
  14. value: 'username:david',
  15. identifier: undefined,
  16. ipAddress: '128.126.232.84',
  17. email: 'david@example.com',
  18. ip_address: '0.0.0.0',
  19. },
  20. ...params,
  21. ];
  22. }