Docs: fix grafana/ui docsExtract REF_NOT_FOUND errors (#33905)

* fix(grafana-ui): re-export commonOptionsBuilder namespace for api-extractor to work

* docs(grafana-ui): add docblock annotations for exported interfaces

* docs(grafana-ui): export ScaleDistribution from uplot
This commit is contained in:
Jack Westbrook
2021-05-11 14:45:46 +02:00
committed by GitHub
parent b6e6fa53fc
commit 7df591442e
4 changed files with 9 additions and 1 deletions
@@ -227,6 +227,7 @@ export { LegacyForms, LegacyInputStatus };
// WIP, need renames and exports cleanup
export * from './uPlot/config';
export { ScaleDistribution } from './uPlot/models.gen';
export { UPlotConfigBuilder } from './uPlot/config/UPlotConfigBuilder';
export { UPlotChart } from './uPlot/Plot';
export * from './uPlot/geometries';
@@ -27,6 +27,9 @@ export enum LineInterpolation {
StepAfter = 'stepAfter',
StepBefore = 'stepBefore',
}
/**
* @alpha
*/
export enum ScaleDistribution {
Linear = 'linear',
Log = 'log',
+2 -1
View File
@@ -1,4 +1,5 @@
// namespace is too big
export * as commonOptionsBuilder from './builder';
import * as commonOptionsBuilder from './builder';
export { commonOptionsBuilder };
export * from './models.gen';
@@ -2,6 +2,9 @@
import { VizLegendOptions } from '../components';
/**
* @alpha
*/
export interface OptionsWithLegend {
legend: VizLegendOptions;
}