Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

disputes.ts

11 lines287 Bytes

1import { createFileRoute } from '@tanstack/react-router'
2import { json } from '@tanstack/react-start'
3import { DISPUTES } from '@/features/disputes/data'
4​
5export const Route = createFileRoute('/api/disputes')({
6 server: {
7 handlers: {
8 GET: () => json(DISPUTES),
9 },
10 },
11})