aboutsummaryrefslogtreecommitdiff
path: root/src/fields/documentSchemas.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-12-02 15:40:30 -0500
committerbobzel <zzzman@gmail.com>2021-12-02 15:40:30 -0500
commitf92b490d3d54f5847f5f434a4105e88717531527 (patch)
tree7b747c6a068347318085a95cf4eb87f9f3f2ecbc /src/fields/documentSchemas.ts
parent220cedfb9d013127d89756bcc85ac886a0d723da (diff)
parent1b6e83ce9b56b773165387ac5f306e6807dc2900 (diff)
Merge branch 'master' of https://github.com/brown-dash/Dash-Web
Diffstat (limited to 'src/fields/documentSchemas.ts')
-rw-r--r--src/fields/documentSchemas.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fields/documentSchemas.ts b/src/fields/documentSchemas.ts
index db2c6ca5b..4d5ae1018 100644
--- a/src/fields/documentSchemas.ts
+++ b/src/fields/documentSchemas.ts
@@ -26,6 +26,8 @@ export const documentSchema = createSchema({
z: "number", // z "coordinate" - non-zero specifies the overlay layer of a freeformview
zIndex: "number", // zIndex of a document in a freeform view
_scrollTop: "number", // scroll position of a scrollable document (pdf, text, web)
+ lat: "number",
+ lng: "number",
// appearance properties on the layout
"_backgroundGrid-spacing": "number", // the size of the grid for collection views
@@ -93,6 +95,7 @@ export const documentSchema = createSchema({
layers: listSpec("string"), // which layers the document is part of
_lockedPosition: "boolean", // whether the document can be moved (dragged)
_lockedTransform: "boolean",// whether a freeformview can pan/zoom
+ displayArrow: "boolean", // toggles directed arrows
// drag drop properties
_stayInCollection: "boolean",// whether document can be dropped into a different collection