incidentStats.ts 292 B

1234567891011121314
  1. import {IncidentStats as IncidentStatsType} from 'sentry/views/alerts/types';
  2. export function IncidentStats(
  3. params: Partial<IncidentStatsType> = {}
  4. ): IncidentStatsType {
  5. return {
  6. totalEvents: 100,
  7. uniqueUsers: 20,
  8. eventStats: {
  9. data: [],
  10. },
  11. ...params,
  12. };
  13. }