4a713bd9ed
* expose nested folder component from core grafana * prettier * import order * remove unused commented code * remove unneeded file * make a LazyFolderPicker * fix types, change permission to string * comment * reset some changes back to main * no need to log --------- Co-authored-by: Joe Blubaugh <joe.blubaugh@grafana.com> Co-authored-by: joshhunt <josh@trtr.co> Co-authored-by: joshhunt <josh.hunt@grafana.com>
70 lines
2.9 KiB
TypeScript
70 lines
2.9 KiB
TypeScript
/**
|
|
* A library containing services, configurations etc. used to interact with the Grafana engine.
|
|
*
|
|
* @packageDocumentation
|
|
*/
|
|
export * from './services';
|
|
export * from './config';
|
|
export * from './analytics/types';
|
|
export { loadPluginCss, type PluginCssOptions, setPluginImportUtils, getPluginImportUtils } from './utils/plugin';
|
|
export { reportMetaAnalytics, reportInteraction, reportPageview, reportExperimentView } from './analytics/utils';
|
|
export { featureEnabled } from './utils/licensing';
|
|
export { logInfo, logDebug, logWarning, logError, createMonitoringLogger, logMeasurement } from './utils/logging';
|
|
export {
|
|
DataSourceWithBackend,
|
|
HealthCheckError,
|
|
type HealthCheckResult,
|
|
type HealthCheckResultDetails,
|
|
HealthStatus,
|
|
type StreamOptionsProvider,
|
|
isExpressionReference,
|
|
} from './utils/DataSourceWithBackend';
|
|
export {
|
|
toDataQueryResponse,
|
|
frameToMetricFindValue,
|
|
type BackendDataSourceResponse,
|
|
type DataResponse,
|
|
type TestingStatus,
|
|
} from './utils/queryResponse';
|
|
export { PanelRenderer, type PanelRendererProps } from './components/PanelRenderer';
|
|
export { PanelDataErrorView, type PanelDataErrorViewProps } from './components/PanelDataErrorView';
|
|
export { toDataQueryError } from './utils/toDataQueryError';
|
|
export {
|
|
setQueryRunnerFactory,
|
|
createQueryRunner,
|
|
type QueryRunnerFactory,
|
|
setRunRequest,
|
|
getRunRequest,
|
|
} from './services/QueryRunner';
|
|
export { PluginPage } from './components/PluginPage';
|
|
export type { PluginPageType, PluginPageProps } from './components/PluginPage';
|
|
export {
|
|
DataSourcePicker,
|
|
type DataSourcePickerProps,
|
|
type DataSourcePickerState,
|
|
} from './components/DataSourcePicker';
|
|
export {
|
|
type PluginEventProperties,
|
|
createPluginEventProperties,
|
|
type DataSourcePluginEventProperties,
|
|
createDataSourcePluginEventProperties,
|
|
} from './analytics/plugins/eventProperties';
|
|
export { usePluginInteractionReporter } from './analytics/plugins/usePluginInteractionReporter';
|
|
export { setReturnToPreviousHook, useReturnToPrevious } from './utils/returnToPrevious';
|
|
export { setChromeHeaderHeightHook, useChromeHeaderHeight } from './utils/chromeHeaderHeight';
|
|
export { type EmbeddedDashboardProps, EmbeddedDashboard, setEmbeddedDashboard } from './components/EmbeddedDashboard';
|
|
export { hasPermission, hasPermissionInMetadata, hasAllPermissions, hasAnyPermission } from './utils/rbac';
|
|
export { QueryEditorWithMigration } from './components/QueryEditorWithMigration';
|
|
export { type MigrationHandler, isMigrationHandler, migrateQuery, migrateRequest } from './utils/migrationHandler';
|
|
export { usePluginUserStorage } from './utils/userStorage';
|
|
export { FolderPicker, setFolderPicker } from './components/FolderPicker';
|
|
export {
|
|
type CorrelationsService,
|
|
type CorrelationData,
|
|
type CorrelationsData,
|
|
type CorrelationExternal,
|
|
type CorrelationQuery,
|
|
getCorrelationsService,
|
|
setCorrelationsService,
|
|
} from './services/CorrelationsService';
|