A breaking change was introduced by this grafana-app-sdk PR: https://github.com/grafana/grafana-app-sdk/pull/795 This PR refactors the definition of our CUE files (manifest and kinds) to match the new model in the latest version of grafana-app-sdk.
21 lines
352 B
CUE
21 lines
352 B
CUE
package kinds
|
|
|
|
import (
|
|
"github.com/grafana/grafana/apps/iam/kinds/v0alpha1"
|
|
)
|
|
|
|
resourcepermissionKind: {
|
|
kind: "ResourcePermission"
|
|
pluralName: "ResourcePermissions"
|
|
codegen: {
|
|
ts: { enabled: false }
|
|
go: { enabled: true }
|
|
}
|
|
}
|
|
|
|
resourcepermissionv0alpha1: resourcepermissionKind & {
|
|
schema: {
|
|
spec: v0alpha1.ResourcePermission
|
|
}
|
|
}
|