aboutsummaryrefslogtreecommitdiff
path: root/src/fields/KeyStore.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-02-16 07:46:55 -0500
committerTyler Schicke <tyler_schicke@brown.edu>2019-02-16 07:46:55 -0500
commit3c71a4b9c727f8eee8631b46b28c010682608f13 (patch)
tree461dbe3b4ac666d6ddc2c736d9b024dfcbc85275 /src/fields/KeyStore.ts
parent32b197fd3a0340d01a4b432d7815a14eefda0a97 (diff)
Fixed server and added a field debug viewer
Diffstat (limited to 'src/fields/KeyStore.ts')
-rw-r--r--src/fields/KeyStore.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/fields/KeyStore.ts b/src/fields/KeyStore.ts
new file mode 100644
index 000000000..1e0b12729
--- /dev/null
+++ b/src/fields/KeyStore.ts
@@ -0,0 +1,24 @@
+import { Key } from "./Key";
+
+export namespace KeyStore {
+ export const Prototype = new Key("Prototype");
+ export const X = new Key("X");
+ export const Y = new Key("Y");
+ export const Title = new Key("Title");
+ export const Author = new Key("Author");
+ export const PanX = new Key("PanX");
+ export const PanY = new Key("PanY");
+ export const Scale = new Key("Scale");
+ export const Width = new Key("Width");
+ export const Height = new Key("Height");
+ export const ZIndex = new Key("ZIndex");
+ export const Data = new Key("Data");
+ export const Layout = new Key("Layout");
+ export const LayoutKeys = new Key("LayoutKeys");
+ export const LayoutFields = new Key("LayoutFields");
+ export const ColumnsKey = new Key("SchemaColumns");
+
+ export function Get(name: string): Key {
+ return new Key(name)
+ }
+}