Mercurial > hg > ng2-query-ismi
comparison 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 |
comparison
equal
deleted
inserted
replaced
10:66dce99cef4e | 11:6989cd00e8d7 |
---|---|
1 export interface QueryMode { | 1 export interface QueryMode { |
2 id: string; | 2 id: string; |
3 label: string; | 3 label: string; |
4 } | 4 } |
5 | |
6 export var QUERY_MODES: QueryMode[] = [ | |
7 {id: 'type_is', label:'Object type is'}, | |
8 {id: 'att_contains', label: 'Attribute'}, | |
9 {id: 'att_contains_norm', label: 'Attribute (normalized)'}, | |
10 {id: 'relation_is', label: 'Relation type is'} | |
11 ]; | |
12 |