Files
corteza/compose/chart.cue
T
Vivek Patel 889f11aa94 Add rest endpoints for chart translations
It allows saving/updating yAxis label and metric label translations
2022-04-29 14:49:00 +05:30

35 lines
482 B
CUE

package compose
import (
"github.com/cortezaproject/corteza-server/codegen/schema"
)
chart: schema.#resource & {
parents: [
{handle: "namespace"},
]
rbac: {
operations: {
"read": {}
"update": {}
"delete": {}
}
}
locale: {
extended: true
keys: {
reportsYaxisLabel: {
path: ["yAxis", "label"]
customHandler: true
}
reportsMetricLabel: {
path: ["metrics", {part: "metricID", var: true}, "label"]
customHandler: true
}
}
}
}