pageFilters.ts 302 B

123456789101112131415
  1. import type {PageFilters} from 'sentry/types';
  2. export function PageFiltersFixture(params: Partial<PageFilters> = {}): PageFilters {
  3. return {
  4. datetime: {
  5. end: null,
  6. period: null,
  7. start: null,
  8. utc: null,
  9. },
  10. environments: [],
  11. projects: [],
  12. ...params,
  13. };
  14. }