mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
3b3059c9ce
* New pfs impl * Reached codegen parity with old system * Update all models.cue inputs * Rename all models.cue files * Remove unused prefixfs * Changes Queries->DataQuery schema interface * Recodegen * All tests passing, nearly good now * Add SchemaInterface to kindsys props * Add pascal name deriver * Relocate plugin cue files again * Clarify use of injected fields * Remove unnecessary aliasing * Move DataQuery into mudball * Allow forcing ExpandReferences on go type generation * Move DataQuery def into kindsys, add generator to copy it to common * Fix copy generator to replace package name correctly * Fix duplicate type, test failure * Fix linting issues
11 lines
340 B
Go
11 lines
340 B
Go
package grafana
|
|
|
|
import (
|
|
"embed"
|
|
)
|
|
|
|
// CueSchemaFS embeds all schema-related CUE files in the Grafana project.
|
|
//
|
|
//go:embed cue.mod/module.cue kinds/*.cue kinds/*/*.cue packages/grafana-schema/src/common/*.cue public/app/plugins/*/*/*.cue public/app/plugins/*/*/plugin.json pkg/kindsys/*.cue pkg/plugins/*/*.cue
|
|
var CueSchemaFS embed.FS
|