3
0
corteza/compose/page.cue

45 lines
836 B
CUE

package compose
import (
"github.com/cortezaproject/corteza-server/codegen/schema"
)
page: schema.#resource & {
parents: [
{handle: "namespace"},
]
rbac: {
operations: {
"read": {}
"update": {}
"delete": {}
}
}
locale: {
extended: true
keys: {
title: {}
description: {}
blockTitle: {
path: ["pageBlock", {part: "blockID", var: true}, "title"]
customHandler: true
}
blockDescription: {
path: ["pageBlock", {part: "blockID", var: true}, "description"]
customHandler: true
}
blockAutomationButtonLabel: {
path: ["pageBlock", {part: "blockID", var: true}, "button", {part: "buttonID", var: true}, "label"]
customHandler: true
}
blockContentBody: {
path: ["pageBlock", {part: "blockID", var: true}, "content", "body"]
customHandler: true
}
}
}
}