diff app/query-mode.ts @ 11:6989cd00e8d7

relations work now as well as longer queries.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Wed, 20 Jan 2016 19:49:10 +0100
parents 59b7c3afcc6b
children f84ff6781e57
line wrap: on
line diff
--- a/app/query-mode.ts	Wed Jan 20 17:02:00 2016 +0100
+++ b/app/query-mode.ts	Wed Jan 20 19:49:10 2016 +0100
@@ -1,4 +1,12 @@
 export interface QueryMode {
     id: string;
     label: string;
-}
\ No newline at end of file
+}
+
+export var QUERY_MODES: QueryMode[] = [
+    {id: 'type_is', label:'Object type is'},
+    {id: 'att_contains', label: 'Attribute'},
+    {id: 'att_contains_norm', label: 'Attribute (normalized)'},
+    {id: 'relation_is', label: 'Relation type is'}
+];
+