feat: eslint 적용 및 관련 코드 일괄 수정

This commit is contained in:
2026-01-05 15:46:47 +00:00
parent cb312f02b3
commit c965b1120f
387 changed files with 39808 additions and 38800 deletions
+11 -11
View File
@@ -2,20 +2,20 @@ import { defineStore } from 'pinia';
import { ref } from 'vue';
export interface UserInfo {
id: string;
username: string;
displayName: string;
roles: string[];
id: string;
username: string;
displayName: string;
roles: string[];
}
export const useAuthStore = defineStore('auth', () => {
const user = ref<UserInfo | null>(null);
const isLoggedIn = ref(false);
const user = ref<UserInfo | null>(null);
const isLoggedIn = ref(false);
function setUser(userData: UserInfo | null) {
user.value = userData;
isLoggedIn.value = !!userData;
}
function setUser(userData: UserInfo | null) {
user.value = userData;
isLoggedIn.value = !!userData;
}
return { user, isLoggedIn, setUser };
return { user, isLoggedIn, setUser };
});