로그인 백엔드 구현 및 로그인 프론트 기능 구현
This commit is contained in:
33
nuxt/types/login/index.ts
Normal file
33
nuxt/types/login/index.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import type { MenuType } from '../sys/menu';
|
||||
|
||||
export type LoginRequestType = {
|
||||
memberId: string;
|
||||
password: string;
|
||||
remember: boolean;
|
||||
};
|
||||
|
||||
export type LoginResponseType = {
|
||||
memberName: string;
|
||||
instNm: string;
|
||||
deptNm: string;
|
||||
menuList: AuthorizationMenuType[];
|
||||
permitApiList: PermitApiType[];
|
||||
authenticated: boolean;
|
||||
};
|
||||
|
||||
export type AuthorizationMenuType = {
|
||||
menuId: string;
|
||||
upMenuId: string;
|
||||
menuDepth: number;
|
||||
menuName: string;
|
||||
menuType: MenuType;
|
||||
menuUrl: string;
|
||||
bcId: string;
|
||||
contentId: string;
|
||||
|
||||
children: AuthorizationMenuType[];
|
||||
};
|
||||
|
||||
export type PermitApiType = {
|
||||
menuUrl: string;
|
||||
};
|
||||
25
nuxt/types/sys/menu/index.ts
Normal file
25
nuxt/types/sys/menu/index.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
export type MenuType = {
|
||||
menuId: string;
|
||||
siteId: string;
|
||||
upMenuId: string;
|
||||
menuDepth: number;
|
||||
menuOrder: number;
|
||||
menuName: string;
|
||||
menuType: 'MENU' | 'PAGE' | 'API' | 'TAB' | 'COMMON_MENU' | 'COMMON_API';
|
||||
menuFeature: 'PAGE' | 'LIST' | 'DETAIL' | 'CREATE' | 'UPDATE' | 'DELETE';
|
||||
menuLayout: string;
|
||||
menuUrl: string;
|
||||
menuMethod: string;
|
||||
menuDescription: string;
|
||||
menuLinkTarget: 'CURRENT' | 'BLANK';
|
||||
menuUseSatisfaction: boolean;
|
||||
menuUseMngInfo: boolean;
|
||||
menuMngId: string;
|
||||
menuStatus: 'ENABLED' | 'HIDDEN' | 'DISABLED';
|
||||
delYn: boolean;
|
||||
useYn: boolean;
|
||||
frstRgtrId: string;
|
||||
frstRegDt: string;
|
||||
lastMdfrId: string;
|
||||
lastMdfcnDt: string;
|
||||
};
|
||||
Reference in New Issue
Block a user