import { AuthController , User } from "../models" ; import { useFireCMSContext } from "./useFireCMSContext" ; see AuthController category export function useAuthController < UserType extends User = User > ( ) { const context = useFireCMSContext ( ) ; return context . authController ; }