job-hoarder
Version:
Job board aggregator to pull in standardized job postings from company job pages
37 lines (36 loc) • 944 B
TypeScript
export default class LeverParser implements ClientParser {
/**
* Build description from lever job
* @param {object} job Job to build description from
* @returns {string} Job description
*/
private parseDescription;
/**
* Parse jobs from request result
* @param {string} data String of jobs
* @returns {array} List of parsed jobs
*/
parseJobs: (data?: any) => {
id: any;
url: any;
title: any;
jobLocation: any;
datePosted: Date;
department: string;
description: string;
}[];
/**
* Parses job from request result
* @param {string} data String of job result
* @returns {object} Object of parsed job
*/
parseJob: (data?: any) => {
id: any;
url: any;
title: any;
jobLocation: any;
datePosted: Date;
department: string;
description: string;
};
}