view 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 source

export interface QueryMode {
    id: string;
    label: string;
}

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'}
];