Mercurial > hg > ng2-query-ismi
comparison app/ismi-result-types.ts @ 30:193271b6b9d2
configure attributes per result type. select number of items per result page.
author | casties |
---|---|
date | Mon, 01 Feb 2016 17:29:04 +0100 |
parents | |
children | 4c046f3244ec |
comparison
equal
deleted
inserted
replaced
29:52af480a843e | 30:193271b6b9d2 |
---|---|
1 import {ResultType} from './result-type'; | |
2 | |
3 | |
4 export var ISMI_RESULT_TYPES: {[name:string]: ResultType} = { | |
5 '*': new ResultType('*', 'ismi_id', [ | |
6 'ismi_id', 'label' | |
7 ]), | |
8 'PERSON': new ResultType('PERSON', 'ismi_id', [ | |
9 'ismi_id', 'name_translit', 'name', 'birth_date', 'death_date', 'link' | |
10 ]) | |
11 } |