/* * File: caseAPI.ts * Description: API service for fetching cases using apisauce * Design & Developed by Tech4Biz Solutions * Copyright (c) Spurrin Innovations. All rights reserved. */ import { create } from 'apisauce'; const api = create({ baseURL: 'https://api.example.com', // TODO: Replace with actual endpoint timeout: 10000, }); /** * getCases - fetches the list of cases from the server */ export const caseAPI = { getCases: () => api.get('/cases'), // Add more endpoints as needed }; /* * End of File: caseAPI.ts * Design & Developed by Tech4Biz Solutions * Copyright (c) Spurrin Innovations. All rights reserved. */