UNPKG

corporate-frontend-mithril

Version:

Corporate frontend MithrilJS modules

67 lines (65 loc) 2.83 kB
const DEPARTMENT_OPTIONS = ([ { value: 31, label: 'Anthropology' }, { value: 294, label: 'Arabic Languages and Cultures' }, { value: 78, label: 'Archaeology' }, { value: 40, label: 'Art History' }, { value: 71, label: 'Asian Studies' }, { value: 69, label: 'Celtic Studies' }, { value: 72, label: 'Chinese Studies' }, { value: 450, label: 'Classics and Ancient History' }, { value: 465, label: 'Economics' }, { value: 39, label: 'English' }, { value: 85, label: 'European Studies' }, { value: 23, label: 'Faculty of Arts and Social Sci...' }, { value: 41, label: 'French and Francophone Studies' }, { value: 70, label: 'Gender and Cultural Studies' }, { value: 42, label: 'Germanic Studies' }, { value: 439, label: 'Government and International R...' }, { value: 466, label: 'Graduate School of Government' }, { value: 293, label: 'Hebrew, Biblical and Jewish St...' }, { value: 45, label: 'History' }, { value: 75, label: 'Indian Sub-continental Studies' }, { value: 483, label: 'Indigenous Academic Units' }, { value: 74, label: 'Indonesian Studies' }, { value: 415, label: 'International Comparative Li...' }, { value: 48, label: 'Italian Studies' }, { value: 416, label: 'Japanese Studies' }, { value: 417, label: 'Korean Studies' }, { value: 51, label: 'Linguistics' }, { value: 263, label: 'Media and Communications' }, { value: 44, label: 'Modern Greek Studies' }, { value: 480, label: 'Peace and Conflict Studies' }, { value: 57, label: 'Philosophy' }, { value: 440, label: 'Political Economy' }, { value: 279, label: 'SLAM' }, { value: 277, label: 'SLC' }, { value: 484, label: 'Social Work' }, { value: 291, label: 'Sociology and Social Policy' }, { value: 414, label: 'Spanish and Latin American Studies' }, { value: 481, label: 'SSESW' }, { value: 76, label: 'Studies in Religion' }, { value: 491, label: 'Sydney College of the Arts' }, { value: 53, label: 'The Medieval and Early Modern...' }, { value: 35, label: 'Theatre and Performance Studies...' }, { value: 437, label: 'United States Studies Centre' }, { value: 469, label: 'Writing Studies' }, ]).map(({value,label})=> { return {name:label,value}; }); module.exports = { ARTS_UOS_API : 'https://sydney.edu.au/arts/app/uos/data/uos.php', DEPARTMENT_OPTIONS, LEVELS_OPTIONS: [ {name: 'Undergraduate', value: 'uc'}, {name: 'Postgraduate', value: 'pg'}, ], SEMESTERS_OPTIONS: [ {name: 'Semester 1', value: 'S1C'}, {name: 'Semester 2', value: 'S2C'}, ], kEY_DEPARTMENT: 'deptID', KEY_LEVEL: 'level', KEY_SEMESTER: 'session', LOADING_RESULT: 'loading results', NO_RESULT: 'no results', };