aboutsummaryrefslogtreecommitdiff
path: root/src/new_fields/documentSchemas.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-01-22 18:38:07 -0500
committerbob <bcz@cs.brown.edu>2020-01-22 18:38:07 -0500
commit162cea3ee2167a6d999b99630c33edb3779c7bcc (patch)
treeab5bf22127892436bfef1b0064b6aba96f88bb58 /src/new_fields/documentSchemas.ts
parent3d11941ebaac312bc72186af05f0a7969a39d7be (diff)
added an exclude list of field keys when a document is copied
Diffstat (limited to 'src/new_fields/documentSchemas.ts')
-rw-r--r--src/new_fields/documentSchemas.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/new_fields/documentSchemas.ts b/src/new_fields/documentSchemas.ts
index 3b641fc8e..3683e5820 100644
--- a/src/new_fields/documentSchemas.ts
+++ b/src/new_fields/documentSchemas.ts
@@ -18,7 +18,6 @@ export const documentSchema = createSchema({
creationDate: DateField, // when the document was created
links: listSpec(Doc), // computed (readonly) list of links associated with this document
dropAction: "string", // override specifying what should happen when this document is dropped (can be "alias" or "copy")
- dontCopyOnAlias: "boolean", // whether the document should not be copied when it is a field of a document that is being aliased
removeDropProperties: listSpec("string"), // properties that should be removed from the alias/copy/etc of this document when it is dropped
onClick: ScriptField, // script to run when document is clicked (can be overriden by an onClick prop)
onPointerDown: ScriptField, // script to run when document is clicked (can be overriden by an onClick prop)