// Replace the api calls in your screens with these patterns:

// LOGIN  (app/(auth)/login.tsx)
// Change:
//   const { data } = await api.post('/auth/login', { email, password });
// To:
//   const { data } = await post('auth/login', { email, password });

// REGISTER  (app/(auth)/register.tsx)
// Change:
//   const { data } = await api.post('/auth/register', { username, email, password });
// To:
//   const { data } = await post('auth/register', { username, email, password });

// MAILBOX  (app/(app)/mailbox.tsx)
// Change:
//   const { data } = await api.get('/mailbox');
// To:
//   const { data } = await get('mailbox');

// SEND LETTER  (app/(app)/compose.tsx)
// Change:
//   await api.post('/letters', { to, body, envelope_style: envelope });
// To:
//   await post('letters/send', { to, body, envelope_style: envelope });

// KEEP  (app/(app)/letter/[id].tsx)
// Change:
//   await api.post(`/letters/${id}/keep`);
// To:
//   await post('letters/keep', {}, { id });

// THROW  (app/(app)/letter/[id].tsx)
// Change:
//   await api.post(`/letters/${id}/throw`);
// To:
//   await post('letters/throw', {}, { id });

// DESK  (app/(app)/desk.tsx)
// Change:
//   const { data } = await api.get('/desk');
// To:
//   const { data } = await get('desk');

// OUTBOX  (app/(app)/outbox.tsx)
// Change:
//   const { data } = await api.get('/outbox');
// To:
//   const { data } = await get('outbox');

// SEARCH USERS  (app/(app)/compose.tsx)
// Change:
//   const { data } = await api.get(`/users/search?q=${q}`);
// To:
//   const { data } = await get('users/search', { q });

// Also update imports at top of each screen:
// Change:
//   import api, { ... } from '../../lib/api';
// To:
//   import { get, post, ... } from '../../lib/api';
