Files
sam boyer 33fd83f7e3 kindsys: Adapt to new PanelCfg schema interface (#65297)
* kindsys: Adapt to new PanelCfg schema interface

* building locally

* Remove Panel prefix in cue files

* Regenerate

* Update imports

* fixup! Merge branch 'remove-panel-prefix' into sdboyer/redundant-panelcfg-prefixes

* Fix formatting

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Tania B <yalyna.ts@gmail.com>
2023-05-15 23:07:54 -04:00

50 lines
1.2 KiB
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.
export const PanelCfgModelVersion = Object.freeze([0, 0]);
export interface ArcOption {
/**
* The color of the arc.
*/
color?: string;
/**
* Field from which to get the value. Values should be less than 1, representing fraction of a circle.
*/
field?: string;
}
export interface Options {
edges?: {
/**
* Unit for the main stat to override what ever is set in the data frame.
*/
mainStatUnit?: string;
/**
* Unit for the secondary stat to override what ever is set in the data frame.
*/
secondaryStatUnit?: string;
};
nodes?: {
/**
* Unit for the main stat to override what ever is set in the data frame.
*/
mainStatUnit?: string;
/**
* Unit for the secondary stat to override what ever is set in the data frame.
*/
secondaryStatUnit?: string;
/**
* Define which fields are shown as part of the node arc (colored circle around the node).
*/
arcs?: Array<ArcOption>;
};
}