export const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:5000'; export const API_ENDPOINTS = { // Auth LOGIN: '/api/auth/login', REGISTER_TENANT: '/api/auth/register-tenant', REFRESH_TOKEN: '/api/auth/refresh', LOGOUT: '/api/auth/logout', ME: '/api/auth/me', // Users USERS: '/api/users', USER_PROFILE: (userId: string) => `/api/users/${userId}`, // Tenants TENANT_USERS: (tenantId: string) => `/api/tenants/${tenantId}/users`, ASSIGN_ROLE: (tenantId: string, userId: string) => `/api/tenants/${tenantId}/users/${userId}/role`, // Projects (to be implemented) PROJECTS: '/api/projects', PROJECT: (id: string) => `/api/projects/${id}`, };