/*
 * File: profileAPI.ts
 * Description: API service for fetching user profile 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,
});

/**
 * getProfile - fetches user profile by userId
 */
export const profileAPI = {
  getProfile: (userId: string) => api.get(`/users/${userId}`),
  // Add more endpoints as needed
};

/*
 * End of File: profileAPI.ts
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */ 