discover.ts 318 B

12345678910111213
  1. import type {SavedQuery} from 'sentry/types';
  2. export function DiscoverSavedQueryFixture(params = {}): SavedQuery {
  3. return {
  4. id: '1',
  5. name: 'Saved query #1',
  6. dateCreated: '2018-09-24T00:00:00.000Z',
  7. dateUpdated: '2018-09-24T00:00:00.000Z',
  8. fields: ['test'],
  9. version: 2,
  10. ...params,
  11. };
  12. }