import {Search} from 'sentry-fixture/search'; import {SavedSearch} from 'sentry/types'; export function Searches(params: SavedSearch[] = []): SavedSearch[] { return [ Search({ name: 'Needs Triage', query: 'is:unresolved is:unassigned', sort: 'date', id: '2', isGlobal: true, }), Search({ name: 'Unresolved Issues', query: 'is:unresolved', sort: 'date', id: '1', isGlobal: true, }), ...params, ]; }