https://github.com/grafana/grafana
Raw File
Tip revision: ef755c04f9199be03f661f1457fe86e9da73b51c authored by sam boyer on 05 May 2022, 14:24:04 UTC
timeseries: Enable cuetsy gen of models.gen.ts
Tip revision: ef755c0
embed.go
package grafana

import (
	"embed"
)

// CoreSchema embeds all core CUE files, which live in packages/grafana-schema/src
//
//go:embed cue.mod cue packages/grafana-schema/src/schema/*.cue packages/grafana-schema/src/scuemata/*/*.cue packages/grafana-schema/src/scuemata/*/*/*.cue
var CoreSchema embed.FS

// PluginSchema embeds all expected plugin CUE files and plugin metadata from
// within the public/app/plugins subdirectory.
//
//go:embed public/app/plugins/*/*/*.cue public/app/plugins/*/*/plugin.json
var PluginSchema embed.FS
back to top