From 6ee91f4f5044465dfe33113dd84b7ffc8308bd2a Mon Sep 17 00:00:00 2001 From: bob Date: Thu, 5 Dec 2019 11:11:07 -0500 Subject: compile warning fixes. --- src/new_fields/documentSchemas.ts | 3 +++ src/new_fields/util.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/new_fields') diff --git a/src/new_fields/documentSchemas.ts b/src/new_fields/documentSchemas.ts index 4c2f061a6..5c2ba6111 100644 --- a/src/new_fields/documentSchemas.ts +++ b/src/new_fields/documentSchemas.ts @@ -27,6 +27,9 @@ export const documentSchema = createSchema({ isTemplateField: "boolean", // whether this document acts as a template layout for describing how other documents should be displayed isBackground: "boolean", // whether document is a background element and ignores input events (can only selet with marquee) type: "string", // enumerated type of document + 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 + preventTreeViewOpen: "boolean", // ignores the treeViewOpen flag (for allowing a view to not be slaved to other views of the document) currentTimecode: "number", // current play back time of a temporal document (video / audio) summarizedDocs: listSpec(Doc), // documents that are summarized by this document (and which will typically be opened by clicking this document) maximizedDocs: listSpec(Doc), // documents to maximize when clicking this document (generally this document will be an icon) diff --git a/src/new_fields/util.ts b/src/new_fields/util.ts index 4147be278..7bd9ef8da 100644 --- a/src/new_fields/util.ts +++ b/src/new_fields/util.ts @@ -13,7 +13,7 @@ function _readOnlySetter(): never { } export function TraceMobx() { - //trace(); + trace(); } export interface GetterResult { -- cgit v1.2.3-70-g09d2