import { Auth0User } from "@creature-chess/auth-web" ; const namespace = "https://creaturechess.jamesmonger.com" ; export const hasNickname = ( user ) : boolean => Boolean ( user && user [ `${ namespace }/playerNickname` ] !== null ) ; export const isRegistered = ( user ) : boolean => Boolean ( user && user [ `${ namespace }/playerNickname` ] !== null && user [ `${ namespace }/playerPicture` ] !== null ) ;