mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
48 lines
1.2 KiB
TypeScript
48 lines
1.2 KiB
TypeScript
import type {Commit, Repository, User} from 'sentry/types';
|
|
import type {EventData} from 'sentry/utils/discover/eventView';
|
|
|
|
export const defaultRow: EventData = {
|
|
id: '6b43e285de834ec5b5fe30d62d549b20',
|
|
issue: 'SENTRY-VVY',
|
|
release: '[email protected]+aaf33944f93dc8fa4234ca046a8d88fb1dccfb76',
|
|
title: 'error: Error -3 while decompressing data: invalid stored block lengths',
|
|
'issue.id': 3512441874,
|
|
'project.name': 'sentry',
|
|
};
|
|
|
|
export const mockedCommit: Commit = {
|
|
dateCreated: '2020-11-30T18:46:31Z',
|
|
id: 'f7f395d14b2fe29a4e253bf1d3094d61e6ad4434',
|
|
message: 'ref(commitRow): refactor to fc\n',
|
|
author: {
|
|
id: '0',
|
|
username: 'author',
|
|
ip_address: '192.168.1.1',
|
|
email: '[email protected]',
|
|
name: 'Author',
|
|
} as User,
|
|
repository: {
|
|
id: '1',
|
|
integrationId: '2',
|
|
name: 'getsentry/sentry',
|
|
dateCreated: '2019-11-30T18:46:31Z',
|
|
} as Repository,
|
|
releases: [],
|
|
};
|
|
|
|
export const mockedUser1 = {
|
|
id: '2',
|
|
username: 'author456',
|
|
ip_address: '192.168.1.1',
|
|
email: '[email protected]',
|
|
name: 'Key Name',
|
|
} as User;
|
|
|
|
export const mockedUser2 = {
|
|
id: '3',
|
|
username: 'author123',
|
|
ip_address: '192.168.1.3',
|
|
email: '[email protected]',
|
|
name: 'Value Name',
|
|
} as User;
|