aboutsummaryrefslogtreecommitdiff
path: root/src/new_fields/util.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-05-20 00:09:47 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-05-20 00:09:47 -0400
commitaf2346983eae1145167b70faf96a9aec0ca82427 (patch)
tree36f89aeaaf335f0d12fd690592556d831162a59c /src/new_fields/util.ts
parentfa602aa4dec7b39b48779ffe907229db4d9f6264 (diff)
Fixed a bunch of demo bugs
Moved Field Symbols to separate file Editing is mostly working in debug viewer
Diffstat (limited to 'src/new_fields/util.ts')
-rw-r--r--src/new_fields/util.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/new_fields/util.ts b/src/new_fields/util.ts
index d94994a07..65a37a0d1 100644
--- a/src/new_fields/util.ts
+++ b/src/new_fields/util.ts
@@ -1,11 +1,12 @@
import { UndoManager } from "../client/util/UndoManager";
-import { Update, Doc, Field } from "./Doc";
+import { Doc, Field } from "./Doc";
import { SerializationHelper } from "../client/util/SerializationHelper";
import { ProxyField } from "./Proxy";
import { FieldValue } from "./Types";
-import { RefField, Id } from "./RefField";
-import { ObjectField, Parent, OnUpdate } from "./ObjectField";
+import { RefField } from "./RefField";
+import { ObjectField } from "./ObjectField";
import { action } from "mobx";
+import { Parent, OnUpdate, Update, Id } from "./FieldSymbols";
export const setter = action(function (target: any, prop: string | symbol | number, value: any, receiver: any): boolean {
if (SerializationHelper.IsSerializing()) {