12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- export function ActivityFeed(params = {}) {
- return {
- data: {text: 'Very interesting comment'},
- dateCreated: '2019-04-29T21:43:32.280Z',
- project: {
- status: 'active',
- features: [
- 'releases',
- 'sample-events',
- 'minidump',
- 'rate-limits',
- 'similarity-indexing',
- 'similarity-view',
- 'data-forwarding',
- ],
- color: '#bf873f',
- isInternal: true,
- isPublic: false,
- dateCreated: '2019-03-09T06:52:19.832Z',
- id: '1',
- slug: 'internal',
- name: 'Internal',
- hasAccess: true,
- isBookmarked: false,
- platform: null,
- firstEvent: '2019-03-09T06:56:15Z',
- avatar: {avatarUuid: null, avatarType: 'letter_avatar'},
- isMember: true,
- },
- user: {
- username: 'billy@sentry.io',
- lastLogin: '2019-04-23T00:10:19.787Z',
- isSuperuser: true,
- emails: [{is_verified: false, id: '1', email: 'billy@sentry.io'}],
- isManaged: false,
- lastActive: '2019-04-30T01:39:05.659Z',
- identities: [],
- id: '1',
- isActive: true,
- has2fa: false,
- name: 'billy@sentry.io',
- avatarUrl:
- 'https://secure.gravatar.com/avatar/7b544e8eb9d08ed777be5aa82121155a?s=32&d=mm',
- dateJoined: '2019-03-09T06:52:42.836Z',
- options: {
- timezone: 'America/Los_Angeles',
- stacktraceOrder: -1,
- language: 'en',
- clock24Hours: false,
- },
- flags: {newsletter_consent_prompt: false},
- avatar: {avatarUuid: null, avatarType: 'letter_avatar'},
- hasPasswordAuth: true,
- email: 'billy@sentry.io',
- },
- type: 'note',
- issue: {
- platform: 'javascript',
- lastSeen: '2019-04-26T16:34:12.288Z',
- numComments: 3,
- userCount: 1,
- culprit: '/organizations/:orgId/issues/:groupId/feedback/',
- title: 'Error: user efedback',
- id: '524',
- assignedTo: null,
- logger: null,
- type: 'error',
- annotations: [],
- metadata: {type: 'Error', value: 'user efedback', filename: '<anonymous>'},
- status: 'unresolved',
- subscriptionDetails: {reason: 'commented'},
- isPublic: false,
- hasSeen: true,
- shortId: 'INTERNAL-DW',
- shareId: null,
- firstSeen: '2019-04-26T16:34:12.288Z',
- count: '1',
- permalink: 'http://localhost:8000/organizations/sentry/issues/524/?project=1',
- level: 'error',
- isSubscribed: true,
- isBookmarked: false,
- project: {platform: null, slug: 'internal', id: '1', name: 'Internal'},
- statusDetails: {},
- },
- id: '48',
- ...params,
- };
- }
|