schema: Use latest cuetsy to fix union generation (#50013)

Also, include the RowPanel type in code generation.
This commit is contained in:
sam boyer
2022-06-01 13:14:55 -04:00
committed by GitHub
parent 1e3e9f3c68
commit 4783db59c7
5 changed files with 39 additions and 26 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ seqs: [
schemaVersion: uint16 | *36 @reviewme()
// Version of the dashboard, incremented each time the dashboard is updated.
version?: uint32 @reviewme()
panels?: [...(#Panel | #GraphPanel | #HeatmapPanel | #RowPanel)] @reviewme()
panels?: [...(#Panel | #RowPanel | #GraphPanel | #HeatmapPanel)] @reviewme()
// TODO docs
templating?: list: [...#VariableModel] @reviewme()
// TODO docs
@@ -370,7 +370,7 @@ seqs: [
panels: [...(#Panel | #GraphPanel | #HeatmapPanel)] @reviewme()
// Name of template variable to repeat for.
repeat?: string @reviewme()
} @reviewme()
} @cuetsy(kind="interface") @reviewme()
// Support for legacy graph and heatmap panels.
#GraphPanel: {