52 lines
1013 B
CUE
52 lines
1013 B
CUE
package compose
|
|
|
|
import (
|
|
"github.com/cortezaproject/corteza-server/codegen/schema"
|
|
)
|
|
|
|
moduleField: schema.#resource & {
|
|
parents: [
|
|
{handle: "namespace"},
|
|
{handle: "module"},
|
|
]
|
|
|
|
rbac: {
|
|
operations: {
|
|
"record.value.read": description: "Read field value on records"
|
|
"record.value.update": description: "Update field value on records"
|
|
}
|
|
}
|
|
|
|
locale: {
|
|
skipSvc: true
|
|
|
|
keys: {
|
|
label: {}
|
|
descriptionView: {
|
|
path: ["meta", "description", "view"]
|
|
customHandler: true
|
|
}
|
|
descriptionEdit: {
|
|
path: ["meta", "description", "edit"]
|
|
customHandler: true
|
|
}
|
|
hintView: {
|
|
path: ["meta", "hint", "view"]
|
|
customHandler: true
|
|
}
|
|
hintEdit: {
|
|
path: ["meta", "hint", "edit"]
|
|
customHandler: true
|
|
}
|
|
validatorError: {
|
|
path: ["expression", "validator", {part: "validatorID", var: true}, "error"]
|
|
customHandler: true
|
|
}
|
|
optionsOptionTexts: {
|
|
path: ["meta", "options", {part: "value", var: true}, "text"]
|
|
customHandler: true
|
|
}
|
|
}
|
|
}
|
|
}
|