aboutsummaryrefslogtreecommitdiff
path: root/src/fields/documentSchemas.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-21 19:55:31 -0400
committerbobzel <zzzman@gmail.com>2020-08-21 19:55:31 -0400
commitc57a215fcca0928522f7d765fc2d8d8120b7a33e (patch)
treec5c547541c38ae30f9e163e746a357fc98f7edeb /src/fields/documentSchemas.ts
parentca9cf672bdfd8ebf11cb20264474bcb9d9729944 (diff)
added a locking option for treeViewExpandedView field.
Diffstat (limited to 'src/fields/documentSchemas.ts')
-rw-r--r--src/fields/documentSchemas.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fields/documentSchemas.ts b/src/fields/documentSchemas.ts
index 848a648e1..4b75b1a32 100644
--- a/src/fields/documentSchemas.ts
+++ b/src/fields/documentSchemas.ts
@@ -83,6 +83,8 @@ export const documentSchema = createSchema({
textTransform: "string",
treeViewOpen: "boolean", // flag denoting whether the documents sub-tree (contents) is visible or hidden
treeViewExpandedView: "string", // name of field whose contents are being displayed as the document's subtree
+ treeViewLockExpandedView: "boolean", // whether the expanded view can be changed
+ treeViewDefaultExpandedView: "string", // name of field whose contents are displayed by default
treeViewPreventOpen: "boolean", // ignores the treeViewOpen flag (for allowing a view to not be slaved to other views of the document)
// interaction and linking properties