added more jobtypes
This commit is contained in:
5
index.js
5
index.js
@@ -55,10 +55,13 @@ Query.prototype.getExperienceLevel = function(){
|
|||||||
Query.prototype.getJobType = function(){
|
Query.prototype.getJobType = function(){
|
||||||
const jobTypeRange = {
|
const jobTypeRange = {
|
||||||
'full time': 'F',
|
'full time': 'F',
|
||||||
|
'full-time': 'F',
|
||||||
'part time': 'P',
|
'part time': 'P',
|
||||||
|
'part-time': 'P',
|
||||||
'contract': 'C',
|
'contract': 'C',
|
||||||
'temporary': 'T',
|
'temporary': 'T',
|
||||||
'volunteer': 'V'
|
'volunteer': 'V',
|
||||||
|
'internship': 'I'
|
||||||
}
|
}
|
||||||
return jobTypeRange[this.jobType.toLowerCase()] ?? ''
|
return jobTypeRange[this.jobType.toLowerCase()] ?? ''
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user