3394.d1b7e406286a0d06096e.js.map 1.5 KB

1
  1. {"version":3,"file":"3394.d1b7e406286a0d06096e.js","mappings":"+IAOO,MAAMA,UAA4BC,EAAAA,cACvCC,YAAYC,GACVC,MAAMD,GAGRE,iBAAiBC,GACf,MAAQ,wBAAuBA,EAAMC,UAGvCD,MAAME,GACJ,OAAOC,QAAQC,OAAO,sCAGxBC,iBACE,OAAOF,QAAQG,QAAQ,KCjBpB,MAAMC,EAAS,IAAIC,EAAAA,iBAAiBd","sources":["webpack://grafana/./public/app/plugins/datasource/dashboard/datasource.ts","webpack://grafana/./public/app/plugins/datasource/dashboard/module.ts"],"sourcesContent":["import { DataSourceApi, DataQueryRequest, DataQueryResponse, DataSourceInstanceSettings } from '@grafana/data';\n\nimport { DashboardQuery } from './types';\n\n/**\n * This should not really be called\n */\nexport class DashboardDatasource extends DataSourceApi<DashboardQuery> {\n constructor(instanceSettings: DataSourceInstanceSettings) {\n super(instanceSettings);\n }\n\n getCollapsedText(query: DashboardQuery) {\n return `Dashboard Reference: ${query.panelId}`;\n }\n\n query(options: DataQueryRequest<DashboardQuery>): Promise<DataQueryResponse> {\n return Promise.reject('This should not be called directly');\n }\n\n testDatasource() {\n return Promise.resolve({});\n }\n}\n","import { DataSourcePlugin } from '@grafana/data';\n\nimport { DashboardDatasource } from './datasource';\n\nexport const plugin = new DataSourcePlugin(DashboardDatasource);\n"],"names":["DashboardDatasource","DataSourceApi","constructor","instanceSettings","super","getCollapsedText","query","panelId","options","Promise","reject","testDatasource","resolve","plugin","DataSourcePlugin"],"sourceRoot":""}