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

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

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