How to get path param type from parent path on parseParams - TanStack