import { FetchResponse } from '@grafana/runtime'; export function createFetchResponse(data: T): FetchResponse { return { data, status: 200, url: 'http://localhost:3000/api/ds/query', config: { url: 'http://localhost:3000/api/ds/query' }, type: 'basic', statusText: 'Ok', redirected: false, headers: new Headers(), ok: true, }; }