From e92657d0dd8c2cd0be93243845ee719e1fbcf439 Mon Sep 17 00:00:00 2001 From: zetaloop Date: Fri, 20 Feb 2026 20:02:29 +0800 Subject: [PATCH] chore: add auth store placeholder for future use --- store/auth.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/store/auth.ts b/store/auth.ts index 7e2ae75..97acc69 100644 --- a/store/auth.ts +++ b/store/auth.ts @@ -4,6 +4,7 @@ import type { UserRole } from "@/lib/types" interface AuthState { isAuthenticated: boolean currentRole: UserRole + verifiedRoles: UserRole[] switchRole: (role: UserRole) => void login: () => void logout: () => void @@ -12,6 +13,7 @@ interface AuthState { export const useAuthStore = create((set) => ({ isAuthenticated: false, currentRole: "consumer", + verifiedRoles: ["consumer"], switchRole: (role) => set({ currentRole: role }), login: () => set({ isAuthenticated: true }), logout: () => set({ isAuthenticated: false, currentRole: "consumer" }),