- Added city, state, and country optional fields to Complex model - Updated onboarding to include optional location fields - Created new settings page with sidebar navigation (Datos del Complejo, Canchas) - Replaced ESLint with Biome for frontend and backend linting - Added parallel dev script with concurrently - Migrated register-routes to use direct app.route() pattern
18 lines
360 B
TypeScript
18 lines
360 B
TypeScript
import { apiClient } from '@/lib/api-client';
|
|
import { createRouter } from '@tanstack/react-router';
|
|
import { routeTree } from './routeTree.gen';
|
|
|
|
export const router = createRouter({
|
|
routeTree,
|
|
context: {
|
|
auth: undefined!,
|
|
api: apiClient,
|
|
},
|
|
});
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface Register {
|
|
router: typeof router;
|
|
}
|
|
}
|