Mercurial > hg > ng2-query-ismi
diff src/app/ismi-result-types.ts @ 47:b65a031c4967 ng2-final
first step to angular2-final (2.4) version of the query browser.
author | casties |
---|---|
date | Fri, 17 Mar 2017 20:16:52 +0100 |
parents | app/ismi-result-types.ts@4c046f3244ec |
children | 6adf95d9a190 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/app/ismi-result-types.ts Fri Mar 17 20:16:52 2017 +0100 @@ -0,0 +1,14 @@ +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' + ]), + 'TEXT': new ResultType('TEXT', 'ismi_id', [ + 'ismi_id', 'full_title_translit', 'full_title', 'creation_date' + ]) +}