aboutsummaryrefslogtreecommitdiff
path: root/src/new_fields/documentSchemas.ts
diff options
context:
space:
mode:
authorandrewdkim <adkim414@gmail.com>2019-11-23 16:30:45 -0500
committerandrewdkim <adkim414@gmail.com>2019-11-23 16:30:45 -0500
commitb5b45c7d8eb9e3056c71d9ca213cca7f2d9c792a (patch)
treee6a04ae7ea36d085607a90109e2698db8ac2e034 /src/new_fields/documentSchemas.ts
parent8af45ed7f376981ce8f8b1c6d1b2fd3b1546a00e (diff)
parent3b37cc31bb09b11238868c34a38a8e99f508479f (diff)
merge from master
Diffstat (limited to 'src/new_fields/documentSchemas.ts')
-rw-r--r--src/new_fields/documentSchemas.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/new_fields/documentSchemas.ts b/src/new_fields/documentSchemas.ts
index fa47374f1..4c2f061a6 100644
--- a/src/new_fields/documentSchemas.ts
+++ b/src/new_fields/documentSchemas.ts
@@ -41,9 +41,11 @@ export const documentSchema = createSchema({
showTitle: "string", // whether an editable title banner is displayed at tht top of the document
isButton: "boolean", // whether document functions as a button (overiding native interactions of its content)
ignoreClick: "boolean", // whether documents ignores input clicks (but does not ignore manipulation and other events)
- isAnimating: "boolean", // whether the document is in the midst of animating between two layouts (used by icons to de/iconify documents).
+ isAnimating: "string", // whether the document is in the midst of animating between two layouts (used by icons to de/iconify documents). value is undefined|"min"|"max"
animateToDimensions: listSpec("number"), // layout information about the target rectangle a document is animating towards
scrollToLinkID: "string", // id of link being traversed. allows this doc to scroll/highlight/etc its link anchor. scrollToLinkID should be set to undefined by this doc after it sets up its scroll,etc.
+ strokeWidth: "number",
+ fontSize: "string"
});
export const positionSchema = createSchema({