feature: Phase4 - Clinic two-step treatment UI
This commit is contained in:
9
frontend/src/lib/api/treatment-catalog.ts
Normal file
9
frontend/src/lib/api/treatment-catalog.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { apiClient } from './client';
|
||||
import type { TreatmentCatalogEntry } from '@/types/treatment-catalog';
|
||||
|
||||
export const treatmentCatalogApi = {
|
||||
list: async (): Promise<{ success: boolean; data: TreatmentCatalogEntry[] }> => {
|
||||
const response = await apiClient.get('/treatment-catalog');
|
||||
return response.data;
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user