Add file type to API route - TanStack