* Get pluginmeta mostly moved over to pkg/plugins/plugindef * Remove dead func * Fix up pfs, use sync.Once in plugindef * Update to latest thema * Chase Endec->Codec conversion in Thema * Comments on slash header gen; use ToSlash * Also generate JSON schema for plugindef * Generate JSON Schema as well * Fix slot loading from kindsys cue decls * Remove unused vars * skip generating plugin.schema.json for now Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
24 lines
334 B
CUE
24 lines
334 B
CUE
package grafanaplugin
|
|
|
|
import (
|
|
"github.com/grafana/thema"
|
|
"github.com/grafana/grafana/kinds/structured/dashboard:kind"
|
|
)
|
|
|
|
_dummy: coremodel.slots
|
|
|
|
Panel: thema.#Lineage & {
|
|
name: "disallowed_cue_import"
|
|
seqs: [
|
|
{
|
|
schemas: [
|
|
{
|
|
PanelOptions: {
|
|
foo: string
|
|
} @cuetsy(kind="interface")
|
|
},
|
|
]
|
|
},
|
|
]
|
|
}
|