console: use common/schema for dimensions

This is a bit less type-safe. We could keep type safety by redefining
all the consts in `query_consts.go` in `common/schema`, but this is
pointless as the goal is to have arbitrary dimensions at some point.
This commit is contained in:
Vincent Bernat
2023-01-03 18:40:19 +01:00
parent 1f94ca76f1
commit a30024cfa1
18 changed files with 180 additions and 227 deletions

View File

@@ -36,4 +36,7 @@ type Column struct {
GenerateFrom string
TransformFrom []Column
TransformTo string
// For the console.
NotSelectable bool
}