mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* Use preferred package header for generated code > To convey to humans and machine tools that code is generated, generated source should have a line that matches the following regular expression (in Go syntax): > `^// Code generated .* DO NOT EDIT\.$` https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source Co-authored-by: sam boyer <sdboyer@grafana.com> Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Regenerate files with updated header Signed-off-by: Jack Baldry <jack.baldry@grafana.com> Signed-off-by: Jack Baldry <jack.baldry@grafana.com> Co-authored-by: sam boyer <sdboyer@grafana.com>
28 lines
678 B
TypeScript
28 lines
678 B
TypeScript
// Code generated - EDITING IS FUTILE. DO NOT EDIT.
|
|
//
|
|
// Generated by:
|
|
// public/app/plugins/gen.go
|
|
// Using jennies:
|
|
// TSTypesJenny
|
|
// PluginTSTypesJenny
|
|
//
|
|
// Run 'make gen-cue' from repository root to regenerate.
|
|
|
|
import * as ui from '@grafana/schema';
|
|
|
|
export const PanelModelVersion = Object.freeze([0, 0]);
|
|
|
|
export interface PanelOptions extends ui.SingleStatBaseOptions {
|
|
displayMode: ui.BarGaugeDisplayMode;
|
|
minVizHeight: number;
|
|
minVizWidth: number;
|
|
showUnfilled: boolean;
|
|
}
|
|
|
|
export const defaultPanelOptions: Partial<PanelOptions> = {
|
|
displayMode: ui.BarGaugeDisplayMode.Gradient,
|
|
minVizHeight: 10,
|
|
minVizWidth: 0,
|
|
showUnfilled: true,
|
|
};
|