I have a usecase where I need to build a multi step form, where each stpe will be a child route of a parent - so my-form/step-1, my-form/step-2, and so on. Ideally i'd like to be able to pull the array of child routes and make a fuction that takes the current route and tells me where to go next/previous
Is there a way I can pull this info from the routes.ts file? or the types file? And specifically make these strings typesafe?