diff --git a/client/src/composables/useAuth.ts b/client/src/composables/useAuth.ts index b6f6826..3654a56 100644 --- a/client/src/composables/useAuth.ts +++ b/client/src/composables/useAuth.ts @@ -1,4 +1,4 @@ -import { useUserinfoStore, Userinfo } from '@/stores/UserinfoStore' +import { useUserinfoStore } from '@/stores/UserinfoStore' import { useEngineStore } from '@/stores/EngineStore' import { useGameinfoStore } from '@/stores/GameinfoStore' import { usePlayersStore } from '@/stores/PlayersStore' @@ -6,6 +6,7 @@ import { useRoundStore } from '@/stores/RoundStore' import useI18n from './useI18n' import { $fetch } from 'ohmyfetch' +import type { Userinfo } from '@/stores/UserinfoStore' export type AllowRole = '' | 'player' | 'gamemaster' | 'admin' | 'setup' export type AllowRoles = Array