allowing tailoring of resume before being manually built

This commit is contained in:
DaKheera47
2026-01-06 23:06:19 +00:00
parent 4e17371990
commit cd5ec25c3b
12 changed files with 417 additions and 68 deletions
+19 -1
View File
@@ -63,6 +63,19 @@ export async function processJob(id: string, options?: { force?: boolean }): Pro
});
}
export async function summarizeJob(id: string, options?: { force?: boolean }): Promise<Job> {
const query = options?.force ? '?force=1' : '';
return fetchApi<Job>(`/jobs/${id}/summarize${query}`, {
method: 'POST',
});
}
export async function generateJobPdf(id: string): Promise<Job> {
return fetchApi<Job>(`/jobs/${id}/generate-pdf`, {
method: 'POST',
});
}
export async function markAsApplied(id: string): Promise<Job> {
return fetchApi<Job>(`/jobs/${id}/apply`, {
method: 'POST',
@@ -95,11 +108,16 @@ export async function runPipeline(config?: {
});
}
// Settings API
// Settings & Profile API
export async function getSettings(): Promise<AppSettings> {
return fetchApi<AppSettings>('/settings');
}
export async function getProfileProjects(): Promise<ResumeProjectCatalogItem[]> {
return fetchApi<ResumeProjectCatalogItem[]>('/profile/projects');
}
export async function updateSettings(update: {
model?: string | null
pipelineWebhookUrl?: string | null