import type { RemovableRef } from '@vueuse/core'; import { useStorage } from '@vueuse/core'; export interface UserMeta { nick: string; mail: string; link: string; } const useUserMeta = (): RemovableRef => useStorage('WALINE_USER_META', { nick: '', mail: '', link: '', }); const UserMeta = useUserMeta(); export default UserMeta;