view app/query-mode.ts @ 15:f84ff6781e57

added att_num_range query type.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Thu, 21 Jan 2016 17:26:22 +0100
parents 6989cd00e8d7
children 4c046f3244ec
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 (contains)'},
    {id: 'att_contains_norm', label: 'Attribute (contains normalized)'},
    {id: 'att_num_range', label: 'Attribute (number range)'},    
    {id: 'relation_is', label: 'Relation type is'}
];