Mercurial > hg > ng2-query-ismi
view src/app/query-mode.js @ 62:7787ca310644 webpack tip
update @angular to 4.4.5.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 18 Oct 2017 17:46:41 +0200 |
parents | 3b4046e0cc02 |
children |
line wrap: on
line source
"use strict"; function getQueryModeById(id) { return exports.QUERY_MODES.find(function (elem) { return elem.id === id; }); } exports.getQueryModeById = getQueryModeById; exports.QUERY_MODES = [ { 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' }, { id: 'id_is', label: 'Object ID is' } ]; exports.FIRST_QUERY_MODES = [ { id: 'type_is', label: 'Object type is' }, { id: 'id_is', label: 'Object ID is' } ]; //# sourceMappingURL=query-mode.js.map