aboutsummaryrefslogtreecommitdiff
path: root/src/fields/documentSchemas.ts
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2021-03-10 11:57:30 -0500
committerusodhi <61431818+usodhi@users.noreply.github.com>2021-03-10 11:57:30 -0500
commit89b7b2ae27cbab6a7edd5fa3759949afe2cd2f71 (patch)
treee3d034d928a63f478ea705c083a3f74764e38d03 /src/fields/documentSchemas.ts
parente7dd6dbdf8d01cef390ff65c0948e5e70ac232cf (diff)
parent80597c4780b1e8833d3742339836815d388356d2 (diff)
conflicts
Diffstat (limited to 'src/fields/documentSchemas.ts')
-rw-r--r--src/fields/documentSchemas.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fields/documentSchemas.ts b/src/fields/documentSchemas.ts
index 4d8b6b55c..0bf942474 100644
--- a/src/fields/documentSchemas.ts
+++ b/src/fields/documentSchemas.ts
@@ -109,11 +109,10 @@ export const documentSchema = createSchema({
export const collectionSchema = createSchema({
- childLayoutTemplateName: "string", // the name of a template to use to override the layoutKey when rendering a document -- ONLY used in DocHolderBox
childLayoutTemplate: Doc, // layout template to use to render children of a collecion
childLayoutString: "string", //layout string to use to render children of a collection
childClickedOpenTemplateView: Doc, // layout template to apply to a child when its clicked on in a collection and opened (requires onChildClick or other script to read this value and apply template)
- dontRegisterChildViews: "boolean", // whether views made of this document are registered so that they can be found when drawing links
+ childDontRegisterViews: "boolean", // whether views made of this document are registered so that they can be found when drawing links
onChildClick: ScriptField, // script to run for each child when its clicked
onChildDoubleClick: ScriptField, // script to run for each child when its clicked
onCheckedClick: ScriptField, // script to run when a checkbox is clicked next to a child in a tree view