mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
24 lines
484 B
TypeScript
24 lines
484 B
TypeScript
import {GroupStats} from 'sentry/types';
|
|
|
|
export function GroupStatsFixture(params: Partial<GroupStats> = {}): GroupStats {
|
|
return {
|
|
count: '327482',
|
|
firstSeen: '2019-04-05T19:44:05.963Z',
|
|
id: '1',
|
|
lastSeen: '2019-04-11T01:08:59Z',
|
|
stats: {
|
|
'24h': [
|
|
[1517281200, 2],
|
|
[1517310000, 1],
|
|
],
|
|
'30d': [
|
|
[1514764800, 1],
|
|
[1515024000, 122],
|
|
],
|
|
},
|
|
userCount: 35097,
|
|
filtered: null,
|
|
...params,
|
|
};
|
|
}
|