diff options
| author | bob <bcz@cs.brown.edu> | 2020-01-22 15:41:04 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2020-01-22 15:41:04 -0500 |
| commit | bfebed91e12abca324d7a638adeb1da9755a9057 (patch) | |
| tree | dae9d6b9b29b018f9025901175661141b78d60de /src/new_fields/documentSchemas.ts | |
| parent | 6b1e9b68c3d409df6ea2a8909b99d5d8d75226c5 (diff) | |
basic cleanup for warnings
Diffstat (limited to 'src/new_fields/documentSchemas.ts')
| -rw-r--r-- | src/new_fields/documentSchemas.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/new_fields/documentSchemas.ts b/src/new_fields/documentSchemas.ts index 3683e5820..3b641fc8e 100644 --- a/src/new_fields/documentSchemas.ts +++ b/src/new_fields/documentSchemas.ts @@ -18,6 +18,7 @@ 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) |
