251121_01_ENH : 로그인 및 인증 저장, api통신 시 자동으로 accessKey 붙게 조치

This commit is contained in:
2025-11-21 15:33:51 +09:00
parent 0707c91d41
commit 74de3d58f7
63 changed files with 2056 additions and 261 deletions

25
src/config/menu.types.ts Normal file
View File

@@ -0,0 +1,25 @@
import type { LucideIcon } from "lucide-react";
export type TopMenuItem = {
id: string;
label: string;
path: string;
/** 현재 경로가 이 탭에 해당하는지 판별하는 함수 */
match?: (pathname: string) => boolean;
};
export type SideSubMenuItem = {
id: string;
label: string;
path: string;
};
export type SideMenuItem = {
id: string;
label: string;
icon: LucideIcon;
/** 단일 메뉴일 경우 path 사용 */
path?: string;
/** children이 있으면 2단 메뉴(접었다 펴는 타입) */
children?: SideSubMenuItem[];
};