Files
grafana/public/app/plugins/panel/text/panelcfg.gen.ts
Selene 275ccf994b Schemas: Reduce duplicated jenny code (#84061)
* Remove jenny_ts_resources and use jenny_ts_types for all cases

* Unify TS generated files into one jenny

* Add missing imports to versioned files

* Update Parca plugin

* Fix loki

* Use LokiQuery

* Fix pyroscope tests

* Fix prettier

* 😒 fix default pyroscope value name

* Set the LokiQuery

* Update Elasticsearch and TestData

* Missed files from testdata

* Order imports
2024-03-11 12:51:44 +01:00

58 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 enum TextMode {
Code = 'code',
HTML = 'html',
Markdown = 'markdown',
}
export enum CodeLanguage {
Go = 'go',
Html = 'html',
Json = 'json',
Markdown = 'markdown',
Plaintext = 'plaintext',
Sql = 'sql',
Typescript = 'typescript',
Xml = 'xml',
Yaml = 'yaml',
}
export const defaultCodeLanguage: CodeLanguage = CodeLanguage.Plaintext;
export interface CodeOptions {
/**
* The language passed to monaco code editor
*/
language: CodeLanguage;
showLineNumbers: boolean;
showMiniMap: boolean;
}
export const defaultCodeOptions: Partial<CodeOptions> = {
language: CodeLanguage.Plaintext,
showLineNumbers: false,
showMiniMap: false,
};
export interface Options {
code?: CodeOptions;
content: string;
mode: TextMode;
}
export const defaultOptions: Partial<Options> = {
content: `# Title
For markdown syntax help: [commonmark.org/help](https://commonmark.org/help/)`,
mode: TextMode.Markdown,
};