How can I infer types in my backend custom session in a separate client where it's not possible to just import the type of the backend auth?