Separation between internal and submitted types - TanStack