import { AppRootProps as BaseAppRootProps, AppPluginMeta, PluginConfigPageProps } from '@grafana/data'; export type DataExporterPluginMetaJSONData = { dataExporterApiUrl: string | null; }; export type DataExporterPluginMetaSecureJSONData = { grafanaToken: string | null; }; export type AppRootProps = BaseAppRootProps; // NOTE: it is possible that plugin.meta.jsonData is null (ex. on first-ever setup) // the typing on AppPluginMeta does not seem correct atm.. export type DataExporterAppPluginMeta = AppPluginMeta; export type DataExporterPluginConfigPageProps = PluginConfigPageProps;