annotate app/query-mode.ts @ 40:896ae7eefb33

fix relation type queries.
author casties
date Mon, 15 Feb 2016 11:10:08 +0100
parents b47614a9d23d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
4c046f3244ec new 'id_is' query type. new '_type' attribute.
casties
parents: 15
diff changeset
11 {id: 'relation_is', label: 'Relation type is'},
35
b47614a9d23d fix cut and paste error.
casties
parents: 34
diff changeset
12 {id: 'id_is', label: 'Object ID is'}
34
e19d4c5e10a1 restricted selectable options for first query step.
casties
parents: 32
diff changeset
13 ];
e19d4c5e10a1 restricted selectable options for first query step.
casties
parents: 32
diff changeset
14
e19d4c5e10a1 restricted selectable options for first query step.
casties
parents: 32
diff changeset
15 export var FIRST_QUERY_MODES: QueryMode[] = [
e19d4c5e10a1 restricted selectable options for first query step.
casties
parents: 32
diff changeset
16 {id: 'type_is', label:'Object type is'},
32
4c046f3244ec new 'id_is' query type. new '_type' attribute.
casties
parents: 15
diff changeset
17 {id: 'id_is', label: 'Object ID is'}
34
e19d4c5e10a1 restricted selectable options for first query step.
casties
parents: 32
diff changeset
18 ];