* create notifications module and generate models * switch template group to app models * switch time intervals to use app models * switch receiver to use app models * switch routing tree to use app models * move schema registration to resource packages * fix package names to match app * fix codeowners * fix UI to use metadata.name instead of uid * update dockerfile * move generated models to pkg * remove provenance from field selector * move client factories to test files * rename GenericClient to TypedClient
29 lines
417 B
CUE
29 lines
417 B
CUE
package core
|
|
|
|
templateGroup: {
|
|
kind: "TemplateGroup"
|
|
group: "notifications"
|
|
apiResource: {
|
|
groupOverride: "notifications.alerting.grafana.app"
|
|
}
|
|
codegen: {
|
|
frontend: false
|
|
backend: true
|
|
}
|
|
pluralName: "TemplateGroups"
|
|
current: "v0alpha1"
|
|
versions: {
|
|
"v0alpha1": {
|
|
schema: {
|
|
spec: {
|
|
title: string
|
|
content: string
|
|
}
|
|
}
|
|
selectableFields: [
|
|
"spec.title",
|
|
]
|
|
}
|
|
}
|
|
}
|