grafana/kinds/folder/folder_kind.cue
sam boyer 323cbe1997
kindsys: Adapt to new flattened lineage syntax in Thema (#68034)
* Update all core kinds to flattened lineages

* Regen Go types, without any

* Regen Go types, s/interface{}/any/

* Update generated core typescript

* Update generate docs

* Fix defaults gen in veneer index jenny

* Flatten plugindef lineage

* Convert all plugin kinds to flattened form

* Switch back to interface{} for now

* Switch to fs.Sub in plugin DeclParser

* Mostly undesirable codegen changes, to be fixed

* Update mod and sum

* Update pfs tests to flattened lineages

* Update thema to latest, regen docs
2023-05-24 10:47:25 +02:00

26 lines
515 B
CUE

package kind
name: "Folder"
maturity: "merged"
description: "A folder is a collection of resources that are grouped together and can share permissions."
lineage: schemas: [{
version: [0, 0]
schema: {
spec: {
// Unique folder id. (will be k8s name)
uid: string
// Folder title
title: string
// Description of the folder.
description?: string
} @cuetsy(kind="interface")
//
// TODO:
// common metadata will soon support setting the parent folder in the metadata
//
}
}]