mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 21:22:12 +08:00

* fix some e2e flows types * some type fixes * must... fix... more... * MOAR * MOREMOREMORE * 1 more
15 lines
338 B
TypeScript
15 lines
338 B
TypeScript
import { DataSourceInstanceSettings, DataSourcePluginMeta } from '@grafana/data';
|
|
|
|
export function getDataSourceInstanceSetting(name: string, meta: DataSourcePluginMeta): DataSourceInstanceSettings {
|
|
return {
|
|
id: 1,
|
|
uid: name,
|
|
type: '',
|
|
name,
|
|
meta,
|
|
access: 'proxy',
|
|
jsonData: {},
|
|
readOnly: false,
|
|
};
|
|
}
|