260123_ENH : Layout가지 완성된 최초 commit

This commit is contained in:
2026-01-23 11:58:39 +09:00
parent cd4e47ce22
commit 649e7f4b26
81 changed files with 5608 additions and 343 deletions

28
src/types/common.ts Normal file
View File

@@ -0,0 +1,28 @@
export type DataVerification = {
success: boolean;
fieldName : string;
errMessage: string;
}
export type RouteContext = { params: Promise<{ slug?: string[] }> };
export type PageRequest = {
pageIndex: number;
pageSize: number;
sortBy: string;
sortDir: "asc" | "desc";
}
export type PageResponse<T> = {
content: T[];
totalElements: number;
totalPages: number;
pageIndex: number;
pageSize: number;
numberOfElements: number;
first: boolean;
last: boolean;
empty: boolean;
}
export type SelectedMap = Record<string, string>;