Mercurial > hg > ng2-query-ismi
annotate app/query-mode.ts @ 36:e8dc6a4c6773
only show possible incoming/outgoing relation types.
author | casties |
---|---|
date | Thu, 11 Feb 2016 17:06:40 +0100 |
parents | b47614a9d23d |
children |
rev | line source |
---|---|
1
59b7c3afcc6b
first interface and http request.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff
changeset
|
1 export interface QueryMode { |
59b7c3afcc6b
first interface and http request.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff
changeset
|
2 id: string; |
59b7c3afcc6b
first interface and http request.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff
changeset
|
3 label: string; |
11
6989cd00e8d7
relations work now as well as longer queries.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1
diff
changeset
|
4 } |
6989cd00e8d7
relations work now as well as longer queries.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1
diff
changeset
|
5 |
6989cd00e8d7
relations work now as well as longer queries.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1
diff
changeset
|
6 export var QUERY_MODES: QueryMode[] = [ |
6989cd00e8d7
relations work now as well as longer queries.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
1
diff
changeset
|
7 {id: 'type_is', label:'Object type is'}, |
15
f84ff6781e57
added att_num_range query type.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
11
diff
changeset
|
8 {id: 'att_contains', label: 'Attribute (contains)'}, |
f84ff6781e57
added att_num_range query type.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
11
diff
changeset
|
9 {id: 'att_contains_norm', label: 'Attribute (contains normalized)'}, |
f84ff6781e57
added att_num_range query type.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
11
diff
changeset
|
10 {id: 'att_num_range', label: 'Attribute (number range)'}, |
32 | 11 {id: 'relation_is', label: 'Relation type is'}, |
35 | 12 {id: 'id_is', label: 'Object ID is'} |
34 | 13 ]; |
14 | |
15 export var FIRST_QUERY_MODES: QueryMode[] = [ | |
16 {id: 'type_is', label:'Object type is'}, | |
32 | 17 {id: 'id_is', label: 'Object ID is'} |
34 | 18 ]; |