mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 13:39:19 -06:00
8876d56495
* Remove crufty scuemata bits Buhbye to: cue/ dir with old definitions, CI steps for checking unnecessary things, and the original dashboard scuemata file. * Remove grafana-cli cue subcommand * Remove old testdata * Don't swallow errors from codegen * Small nits and tweaks to cuectx package * WIP - refactor pluggen to use Thema Also consolidate the embed.FS in the repo root. * Finish halfway rename * Convert all panel models.cue to thema * Rewrite pluggen to use Thema * Remove pkg/schema, and trim command * Remove schemaloader service and usages Will be replaced by coremodel-centric hydrate/dehydrate system Soon™. * Remove schemaloader from wire * Remove hangover field on histogram models.cue * Fix lint errors, some vestiges of trim service * Remove unused cuetsify cli command
11 lines
265 B
Go
11 lines
265 B
Go
package grafana
|
|
|
|
import (
|
|
"embed"
|
|
)
|
|
|
|
// CueSchemaFS embeds all schema-related CUE files in the Grafana project.
|
|
//
|
|
//go:embed cue.mod packages/grafana-schema/src/schema/*.cue public/app/plugins/*/*/*.cue public/app/plugins/*/*/plugin.json
|
|
var CueSchemaFS embed.FS
|