Mercurial > hg > ng2-query-ismi
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/ismi-result-types.ts Mon Feb 01 17:29:04 2016 +0100 @@ -0,0 +1,11 @@ +import {ResultType} from './result-type'; + + +export var ISMI_RESULT_TYPES: {[name:string]: ResultType} = { + '*': new ResultType('*', 'ismi_id', [ + 'ismi_id', 'label' + ]), + 'PERSON': new ResultType('PERSON', 'ismi_id', [ + 'ismi_id', 'name_translit', 'name', 'birth_date', 'death_date', 'link' + ]) +}