Scorpy
Scorpy
TTCTheo's Typesafe Cult
Created by Scorpy on 2/7/2025 in #questions
Getting the `OurFileRouter` type for the generateReactHelpers function for custom input component.
Hey guys, this might be a stupid question but I current have a custom React component to handle file input and do a bunch file validation with Zod and React-Hook-Form (irrelavant...ik). Following the example for creating back-end adapter for my API. I'm having trouble for how to get the FileRouter type for the generateReactHelpers function. I'm not using monolithic architecture similar to the example from https://github.com/pingdotgg/uploadthing/blob/main/examples/backend-adapters/client-react/src/uploadthing.ts What would be your recommendation on how to resolve this? Thx u 🙏
1 replies