2023-01-30 02:38:45 +01:00
|
|
|
import Resume from './resume.js'
|
2023-09-28 02:50:43 +02:00
|
|
|
// @ts-expect-error `?inline` query
|
2023-01-31 02:37:41 +01:00
|
|
|
import css from './style.css?inline'
|
2021-02-14 15:46:32 +01:00
|
|
|
|
2021-11-05 18:39:36 +01:00
|
|
|
export const pdfRenderOptions = { mediaType: 'print' }
|
2020-11-03 17:44:00 +01:00
|
|
|
|
2023-09-28 02:50:43 +02:00
|
|
|
/**
|
|
|
|
* @param {import('./schema.d.ts').ResumeSchema} resume
|
|
|
|
* @returns {string}
|
|
|
|
*/
|
2021-11-05 18:39:36 +01:00
|
|
|
export const render = resume => {
|
2023-01-30 02:38:45 +01:00
|
|
|
return Resume(resume, css)
|
2020-07-05 14:54:30 +02:00
|
|
|
}
|