BeechCMS / @beechcms/core / ContractBranch
Interface: ContractBranch
The response-shape-bearing subset of a Branch.
Properties
alias
alias:
string
fields?
optionalfields?:ContractBranch[]
Repeater sub-fields, same projection, recursively.
format?
optionalformat?:"date"|"plain"|"markdown"|"html"|"datetime"|"asset-list"
localized?
optionallocalized?:boolean
Present only when true: the dictionary shape is part of the public contract (?lang=all, writes).
maxItems?
optionalmaxItems?:number
minItems?
optionalminItems?:number
multiple?
optionalmultiple?:boolean
options?
optionaloptions?:string[]
publicEdit
publicEdit:
boolean
publicRead
publicRead:
boolean
requiredOnCreate
requiredOnCreate:
boolean
requiredOnUpdate
requiredOnUpdate:
boolean
targetSeed?
optionaltargetSeed?:string
type
type:
BranchType
visibility
visibility:
"full"|"masked"|"hidden"
From resolvePolicies, so an explicitly-written default hashes like an omitted one.