diff src/app/query-mode.ts @ 49:781a5387ca93

Merge with angular2-final branch f8d6f8479e77011fd043c5feb2b14a476d0aaffc
author casties
date Mon, 20 Mar 2017 18:50:31 +0100
parents b65a031c4967
children 308c96f734c8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/app/query-mode.ts	Mon Mar 20 18:50:31 2017 +0100
@@ -0,0 +1,18 @@
+export interface QueryMode {
+    id: string;
+    label: string;
+}
+
+export var QUERY_MODES: QueryMode[] = [
+    {id: 'type_is', label:'Object type is'},
+    {id: 'att_contains', label: 'Attribute (contains)'},
+    {id: 'att_contains_norm', label: 'Attribute (contains normalized)'},
+    {id: 'att_num_range', label: 'Attribute (number range)'},    
+    {id: 'relation_is', label: 'Relation type is'},
+    {id: 'id_is', label: 'Object ID is'}
+];
+
+export var FIRST_QUERY_MODES: QueryMode[] = [
+    {id: 'type_is', label:'Object type is'},
+    {id: 'id_is', label: 'Object ID is'}
+];