Files
srbhr--resume-matcher/apps/frontend/lib/api/index.ts
T
wehub-resource-sync 5bdf4cc89a
Publish Docker Image / publish (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:39:36 +08:00

68 lines
1.2 KiB
TypeScript

/**
* API Module Exports
*
* Centralized exports for all API-related functionality.
*/
// Client utilities
export {
API_URL,
API_BASE,
apiFetch,
apiPost,
apiPatch,
apiPut,
apiDelete,
getUploadUrl,
} from './client';
// Resume operations
export {
uploadJobDescriptions,
improveResume,
previewImproveResume,
confirmImproveResume,
fetchResume,
fetchResumeList,
updateResume,
downloadResumePdf,
deleteResume,
type ResumeListItem,
} from './resume';
// Resume wizard operations
export {
createInitialResumeWizardState,
finalizeResumeWizard,
postResumeWizardTurn,
type ResumeWizardAction,
type ResumeWizardFinalizeResponse,
type ResumeWizardSection,
type ResumeWizardState,
type ResumeWizardStep,
type ResumeWizardTurnRequest,
type ResumeWizardTurnResponse,
} from './resume-wizard';
// Config operations
export {
fetchLlmConfig,
fetchLlmApiKey,
updateLlmConfig,
updateLlmApiKey,
testLlmConnection,
fetchSystemStatus,
PROVIDER_INFO,
fetchPromptConfig,
updatePromptConfig,
type LLMProvider,
type LLMConfig,
type LLMConfigUpdate,
type DatabaseStats,
type SystemStatus,
type LLMHealthCheck,
type PromptOption,
type PromptConfig,
type PromptConfigUpdate,
} from './config';