search.js 358 B

12345678910111213141516
  1. import {SavedSearchVisibility} from 'sentry/types';
  2. export function Search(params = {}) {
  3. return {
  4. dateCreated: '2017-11-14T02:22:58.026Z',
  5. isGlobal: false,
  6. isPinned: false,
  7. type: 0,
  8. name: 'Needs Triage',
  9. query: 'is:unresolved is:unassigned',
  10. id: '2',
  11. visibility: SavedSearchVisibility.ORGANIZATION,
  12. ...params,
  13. };
  14. }