Chore: Add cuefix hook (#61941)

* Add cue

* Add fix-cue target

* Add pre-commit hook

* fixup! Add fix-cue target

* Update the cue version

* Add datasources and panels folders

* Update cue files

Co-authored-by: Tania B <yalyna.ts@gmail.com>
This commit is contained in:
Selene
2023-01-24 02:36:46 +01:00
committed by GitHub
parent f5743ea9ac
commit 6f26333e96
9 changed files with 69 additions and 9 deletions

View File

@@ -8,7 +8,8 @@ maturity: "experimental"
lineage: seqs: [
{
schemas: [
{// 0.0
// 0.0
{
@grafana(TSVeneer="type")
// Unique numeric identifier for the dashboard.
@@ -506,6 +507,7 @@ lineage: seqs: [
}
...
} @cuetsy(kind="interface") @grafanamaturity(NeedsExpertReview)
#HeatmapPanel: {
type: "heatmap" @grafanamaturity(NeedsExpertReview)
...

View File

@@ -1,12 +1,13 @@
package kind
name: "Playlist"
name: "Playlist"
maturity: "merged"
lineage: seqs: [
{
schemas: [
{//0.0
//0.0
{
// Unique playlist identifier. Generated on creation, either by the
// creator of the playlist of by the application.
uid: string
@@ -39,9 +40,9 @@ lineage: seqs: [
value: string
// Title is an unused property -- it will be removed in the future
title?: string
title?: string
} @cuetsy(kind="interface")
}
},
]
}
},
]

View File

@@ -1,6 +1,6 @@
package kind
name: "Team"
name: "Team"
maturity: "merged"
lineage: seqs: [
@@ -21,7 +21,9 @@ lineage: seqs: [
// TODO - it seems it's a team_member.permission, unlikely it should belong to the team kind
permission: #Permission @grafanamaturity(ToMetadata="kind", MaybeRemove)
// AccessControl metadata associated with a given resource.
accessControl?: [string]: bool @grafanamaturity(ToMetadata="sys")
accessControl?: {
[string]: bool @grafanamaturity(ToMetadata="sys")
}
// Created indicates when the team was created.
created: int64 @grafanamaturity(ToMetadata="sys")
// Updated indicates when the team was updated.