mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Refactor towards template/codegen framework * Add templates for plugin gen * Add Go codegen for plugins; overhaul framework, too * Add new codegen output; assorted framework fixes * Regenerate after merge * Remove accidental commit file, update templates * Export the pfs.Tree loader from plugin types * Print details from cuetsy errors * Generate loaders for all plugins and list in registry * Use pfs_gen.go over lineage_gen.go * Un-un-ignore main file * Introduce simple List static registry for plugins * Last tweaks to codegen * remove unused tvars * Ensure loop-local instances for both vars * Generate pfs parsing in-place in registry * Stop generating pfs_gen.go * Move Tree into pfs, rename subdir * Change package name to match dir * Ignore gocyclo on HTTPServer.getNavTree
29 lines
747 B
TypeScript
29 lines
747 B
TypeScript
// This file is autogenerated. DO NOT EDIT.
|
|
//
|
|
// Generated by public/app/plugins/gen.go
|
|
//
|
|
// Derived from the Thema lineage declared in models.cue
|
|
//
|
|
// 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 {
|
|
colorMode: ui.BigValueColorMode;
|
|
graphMode: ui.BigValueGraphMode;
|
|
justifyMode: ui.BigValueJustifyMode;
|
|
textMode: ui.BigValueTextMode;
|
|
}
|
|
|
|
export const defaultPanelOptions: Partial<PanelOptions> = {
|
|
colorMode: ui.BigValueColorMode.Value,
|
|
graphMode: ui.BigValueGraphMode.Area,
|
|
justifyMode: ui.BigValueJustifyMode.Auto,
|
|
textMode: ui.BigValueTextMode.Auto,
|
|
};
|
|
|