usageTotal.ts 330 B

12345678910111213141516
  1. import type {BillingStatTotal} from 'getsentry/types';
  2. export function UsageTotalFixture(
  3. props: Partial<BillingStatTotal> = {}
  4. ): BillingStatTotal {
  5. return {
  6. accepted: 0,
  7. projected: 0,
  8. filtered: 0,
  9. dropped: 0,
  10. droppedOverQuota: 0,
  11. droppedSpikeProtection: 0,
  12. droppedOther: 0,
  13. ...props,
  14. };
  15. }