mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 11:13:11 +08:00
27 lines
772 B
TypeScript
27 lines
772 B
TypeScript
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
// NOTE: This file will be auto generated from models.cue
|
|
// It is currently hand written but will serve as the target for cuetsy
|
|
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
import { CanvasFrameOptions, DEFAULT_CANVAS_ELEMENT_CONFIG } from 'app/features/canvas';
|
|
|
|
export const modelVersion = Object.freeze([1, 0]);
|
|
|
|
export interface Options {
|
|
inlineEditing: boolean;
|
|
showAdvancedTypes: boolean;
|
|
root: CanvasFrameOptions;
|
|
}
|
|
|
|
export const defaultOptions: Options = {
|
|
inlineEditing: true,
|
|
showAdvancedTypes: false,
|
|
root: {
|
|
elements: [
|
|
{
|
|
...DEFAULT_CANVAS_ELEMENT_CONFIG,
|
|
},
|
|
],
|
|
} as unknown as CanvasFrameOptions,
|
|
};
|