조민수 조민수 05-15
관리자 feature 구조를 세부메뉴 단위로 정리
@245c8634781d89bcffae93d83a1abb8fcb181418
 
src/admin/feature/board/article/api/boardArticleApi.ts (added)
+++ src/admin/feature/board/article/api/boardArticleApi.ts
@@ -0,0 +1,11 @@
+import {apiClient} from "../../../../../api/apiClient.ts";
+import type {PageResponse} from "../../../../../type/pageResponse.ts";
+import type {
+    BoardArticleExtra,
+    BoardArticleListItem,
+    BoardArticleSearchParams
+} from "../type/boardArticle.types.ts";
+
+export async function fetchBoardArticleList(params: BoardArticleSearchParams) {
+    return apiClient.get<PageResponse<BoardArticleListItem, BoardArticleExtra>>('/cop/bbs/boardList.do', params);
+}
src/admin/feature/board/article/components/BoardArticleImageListTable.tsx (Renamed from src/admin/feature/board/components/article/BoardArticleImageListTable.tsx)
--- src/admin/feature/board/components/article/BoardArticleImageListTable.tsx
+++ src/admin/feature/board/article/components/BoardArticleImageListTable.tsx
@@ -1,5 +1,5 @@
 import {BoardArticleImageListTableRow} from "./BoardArticleImageListTableRow.tsx";
-import type {BoardArticleListItem} from "../../type/board.types.ts";
+import type {BoardArticleListItem} from "../type/boardArticle.types.ts";
 
 type BoardArticleImageListTableProps = {
     items: BoardArticleListItem[];
src/admin/feature/board/article/components/BoardArticleImageListTableRow.tsx (Renamed from src/admin/feature/board/components/article/BoardArticleImageListTableRow.tsx)
--- src/admin/feature/board/components/article/BoardArticleImageListTableRow.tsx
+++ src/admin/feature/board/article/components/BoardArticleImageListTableRow.tsx
@@ -1,4 +1,4 @@
-import type {BoardArticleListItem} from "../../type/board.types.ts";
+import type {BoardArticleListItem} from "../type/boardArticle.types.ts";
 
 type BoardArticleImageListTableRowProps = {
     item: BoardArticleListItem
src/admin/feature/board/article/components/BoardArticleListTable.tsx (Renamed from src/admin/feature/board/components/article/BoardArticleListTable.tsx)
--- src/admin/feature/board/components/article/BoardArticleListTable.tsx
+++ src/admin/feature/board/article/components/BoardArticleListTable.tsx
@@ -1,4 +1,4 @@
-import type {BoardArticleListItem, BoardArticleSearchParams} from "../../type/board.types.ts";
+import type {BoardArticleListItem, BoardArticleSearchParams} from "../type/boardArticle.types.ts";
 import {EmptyRow} from "../../../../component/EmptyRow.tsx";
 import {BoardArticleListTableHeader} from "./BoardArticleListTableHeader.tsx";
 import {BoardArticleListTableRow} from "./BoardArticleListTableRow.tsx";
src/admin/feature/board/article/components/BoardArticleListTableHeader.tsx (Renamed from src/admin/feature/board/components/article/BoardArticleListTableHeader.tsx)
--- src/admin/feature/board/components/article/BoardArticleListTableHeader.tsx
+++ src/admin/feature/board/article/components/BoardArticleListTableHeader.tsx
@@ -1,4 +1,4 @@
-import type {BoardArticleSearchParams} from "../../type/board.types.ts";
+import type {BoardArticleSearchParams} from "../type/boardArticle.types.ts";
 import {CheckBox} from "../../../../component/checkbox/CheckBox.tsx";
 
 type BoardArticleListTableHeaderProps = {
src/admin/feature/board/article/components/BoardArticleListTableRow.tsx (Renamed from src/admin/feature/board/components/article/BoardArticleListTableRow.tsx)
--- src/admin/feature/board/components/article/BoardArticleListTableRow.tsx
+++ src/admin/feature/board/article/components/BoardArticleListTableRow.tsx
@@ -1,4 +1,4 @@
-import type {BoardArticleListItem} from "../../type/board.types.ts";
+import type {BoardArticleListItem} from "../type/boardArticle.types.ts";
 import type {SearchParams} from "../../../../../type/searchParams.ts";
 import {CheckBox} from "../../../../component/checkbox/CheckBox.tsx";
 
src/admin/feature/board/article/hook/page/useBoardArticleListPage.ts (Renamed from src/admin/feature/board/hook/page/useBoardArticleListPage.ts)
--- src/admin/feature/board/hook/page/useBoardArticleListPage.ts
+++ src/admin/feature/board/article/hook/page/useBoardArticleListPage.ts
@@ -1,7 +1,7 @@
 import {useMemo, useState} from "react";
-import {ADMIN_BBS_MASTER_ROUTE} from "../../../../route/adminRouteMap.ts";
-import {useCheckedList} from "../../../../hook/useCheckedList.ts";
-import type {BoardArticleListItem, BoardArticleSearchParams} from "../../type/board.types.ts";
+import {ADMIN_BBS_MASTER_ROUTE} from "../../../../../route/adminRouteMap.ts";
+import {useCheckedList} from "../../../../../hook/useCheckedList.ts";
+import type {BoardArticleListItem, BoardArticleSearchParams} from "../../type/boardArticle.types.ts";
 import {useBoardArticleList} from "../query/useBoardArticleList.ts";
 import type {
     CheckableTableModel,
@@ -9,7 +9,7 @@
     PaginationModel,
     SearchModel,
     StatusModel,
-} from "../../../../../type/viewModel.ts";
+} from "../../../../../../type/viewModel.ts";
 
 type BoardArticleListPageModel = {
     header: HeaderModel;
src/admin/feature/board/article/hook/query/useBoardArticleList.ts (Renamed from src/admin/feature/board/hook/query/useBoardArticleList.ts)
--- src/admin/feature/board/hook/query/useBoardArticleList.ts
+++ src/admin/feature/board/article/hook/query/useBoardArticleList.ts
@@ -1,6 +1,6 @@
 import {keepPreviousData, useQuery} from "@tanstack/react-query";
-import {fetchBoardArticleList} from "../../api/boardApi.ts";
-import type {BoardArticleSearchParams} from "../../type/board.types.ts";
+import {fetchBoardArticleList} from "../../api/boardArticleApi.ts";
+import type {BoardArticleSearchParams} from "../../type/boardArticle.types.ts";
 
 export function useBoardArticleList(searchParams: BoardArticleSearchParams) {
     const query = useQuery({
src/admin/feature/board/article/page/BoardArticleListPage.tsx (Renamed from src/admin/feature/board/page/BoardArticleListPage.tsx)
--- src/admin/feature/board/page/BoardArticleListPage.tsx
+++ src/admin/feature/board/article/page/BoardArticleListPage.tsx
@@ -1,10 +1,10 @@
 import {useParams} from "react-router-dom";
-import {PageHeader} from "../../../component/PageHeader.tsx";
-import {ListSearchForm} from "../../../component/ListSearchForm.tsx";
-import {Pagination} from "../../../component/pagination/Pagination.tsx";
-import {useLoadingToast} from "../../../hook/useLoadingToast.ts";
-import {BoardArticleListTable} from "../components/article/BoardArticleListTable.tsx";
-import {BoardArticleImageListTable} from "../components/article/BoardArticleImageListTable.tsx";
+import {PageHeader} from "../../../../component/PageHeader.tsx";
+import {ListSearchForm} from "../../../../component/ListSearchForm.tsx";
+import {Pagination} from "../../../../component/pagination/Pagination.tsx";
+import {useLoadingToast} from "../../../../hook/useLoadingToast.ts";
+import {BoardArticleListTable} from "../components/BoardArticleListTable.tsx";
+import {BoardArticleImageListTable} from "../components/BoardArticleImageListTable.tsx";
 import {useBoardArticleListPage} from "../hook/page/useBoardArticleListPage.ts";
 
 export const BoardArticleListPage = () => {
 
src/admin/feature/board/article/type/boardArticle.types.ts (added)
+++ src/admin/feature/board/article/type/boardArticle.types.ts
@@ -0,0 +1,25 @@
+import type {SearchParams} from "../../../../../type/searchParams.ts";
+
+export interface BoardArticleSearchParams extends SearchParams {
+    bbsId: string;
+}
+
+export interface BoardArticleListItem {
+    bbsId: string;
+    nttId: string;
+    replyLc: string;
+    nttSj: string;
+    atchFileId: string;
+    secretAt: string;
+    frstRegisterNm: string;
+    frstRegisterPnttm: string;
+    inqireCo: string;
+    fileSn: string;
+}
+
+export interface BoardArticleExtra {
+    boardMaster?: {
+        bbsNm: string;
+        bbsTyCode: string;
+    }
+}
src/admin/feature/board/master/api/boardMasterApi.ts (Renamed from src/admin/feature/board/api/boardApi.ts)
--- src/admin/feature/board/api/boardApi.ts
+++ src/admin/feature/board/master/api/boardMasterApi.ts
@@ -1,21 +1,15 @@
-import {apiClient} from "../../../../api/apiClient.ts";
-import type {PageResponse} from "../../../../type/pageResponse.ts";
+import {apiClient} from "../../../../../api/apiClient.ts";
+import type {PageResponse} from "../../../../../type/pageResponse.ts";
 import type {
-    BoardArticleExtra,
-    BoardArticleListItem,
-    BoardArticleSearchParams, BoardDeleteListItem,
+    BoardDeleteListItem,
     BoardDetailResponse,
     BoardFormItem,
     BoardListItem,
     BoardSearchParams
-} from "../type/board.types.ts";
+} from "../type/boardMaster.types.ts";
 
 export async function fetchBoardList(params: BoardSearchParams) {
     return apiClient.get<PageResponse<BoardListItem>>('/cop/bbs/list.do', params);
-}
-
-export async function fetchBoardArticleList(params: BoardArticleSearchParams) {
-    return apiClient.get<PageResponse<BoardArticleListItem, BoardArticleExtra>>('/cop/bbs/boardList.do', params);
 }
 
 export async function fetchBoardDetail(bbsId: string) {
@@ -34,6 +28,6 @@
     return apiClient.post(`/cop/bbs/deleteBoardMaster.do?bbsId=${bbsId}`);
 }
 
-export async function deleteBoardBatch(bbsIds: BoardDeleteListItem[] ) {
+export async function deleteBoardBatch(bbsIds: BoardDeleteListItem[]) {
     return apiClient.post(`/cop/bbs/deleteBoardMasterBatch.do`, bbsIds);
 }
src/admin/feature/board/master/components/BoardFormTable.tsx (Renamed from src/admin/feature/board/components/master/BoardFormTable.tsx)
--- src/admin/feature/board/components/master/BoardFormTable.tsx
+++ src/admin/feature/board/master/components/BoardFormTable.tsx
@@ -1,5 +1,5 @@
 import type {ChangeEvent} from "react";
-import type {BoardFormItem} from "../../type/board.types.ts";
+import type {BoardFormItem} from "../type/boardMaster.types.ts";
 
 type BoardFormTableProps = {
     form: BoardFormItem;
src/admin/feature/board/master/components/BoardListTable.tsx (Renamed from src/admin/feature/board/components/master/BoardListTable.tsx)
--- src/admin/feature/board/components/master/BoardListTable.tsx
+++ src/admin/feature/board/master/components/BoardListTable.tsx
@@ -1,4 +1,4 @@
-import type {BoardListItem} from "../../type/board.types.ts";
+import type {BoardListItem} from "../type/boardMaster.types.ts";
 import type {SearchParams} from "../../../../../type/searchParams.ts";
 import {EmptyRow} from "../../../../component/EmptyRow.tsx";
 import {BoardListTableHeader} from "./BoardListTableHeader.tsx";
src/admin/feature/board/master/components/BoardListTableHeader.tsx (Renamed from src/admin/feature/board/components/master/BoardListTableHeader.tsx)
--- src/admin/feature/board/components/master/BoardListTableHeader.tsx
+++ src/admin/feature/board/master/components/BoardListTableHeader.tsx
No changes
src/admin/feature/board/master/components/BoardListTableRow.tsx (Renamed from src/admin/feature/board/components/master/BoardListTableRow.tsx)
--- src/admin/feature/board/components/master/BoardListTableRow.tsx
+++ src/admin/feature/board/master/components/BoardListTableRow.tsx
@@ -1,4 +1,4 @@
-import type {BoardListItem} from "../../type/board.types.ts";
+import type {BoardListItem} from "../type/boardMaster.types.ts";
 import type {SearchParams} from "../../../../../type/searchParams.ts";
 import {CheckBox} from "../../../../component/checkbox/CheckBox.tsx";
 
src/admin/feature/board/master/hook/mutation/useCreateBoard.ts (Renamed from src/admin/feature/board/hook/mutation/useCreateBoard.ts)
--- src/admin/feature/board/hook/mutation/useCreateBoard.ts
+++ src/admin/feature/board/master/hook/mutation/useCreateBoard.ts
@@ -1,5 +1,5 @@
 import {useMutation, useQueryClient} from "@tanstack/react-query";
-import {createBoard} from "../../api/boardApi.ts";
+import {createBoard} from "../../api/boardMasterApi.ts";
 
 export const useCreateBoard = () => {
     const queryClient = useQueryClient();
src/admin/feature/board/master/hook/mutation/useDeleteBatchBoard.ts (Renamed from src/admin/feature/board/hook/mutation/useDeleteBatchBoard.ts)
--- src/admin/feature/board/hook/mutation/useDeleteBatchBoard.ts
+++ src/admin/feature/board/master/hook/mutation/useDeleteBatchBoard.ts
@@ -1,5 +1,5 @@
 import {useMutation, useQueryClient} from "@tanstack/react-query";
-import {deleteBoardBatch} from "../../api/boardApi.ts";
+import {deleteBoardBatch} from "../../api/boardMasterApi.ts";
 
 export const useDeleteBatchBoard = () => {
     const queryClient = useQueryClient();
src/admin/feature/board/master/hook/mutation/useDeleteBoard.ts (Renamed from src/admin/feature/board/hook/mutation/useDeleteBoard.ts)
--- src/admin/feature/board/hook/mutation/useDeleteBoard.ts
+++ src/admin/feature/board/master/hook/mutation/useDeleteBoard.ts
@@ -1,5 +1,5 @@
 import {useMutation, useQueryClient} from "@tanstack/react-query";
-import {deleteBoard} from "../../api/boardApi.ts";
+import {deleteBoard} from "../../api/boardMasterApi.ts";
 
 export const useDeleteBoard = () => {
     const queryClient = useQueryClient();
src/admin/feature/board/master/hook/mutation/useUpdateBoard.ts (Renamed from src/admin/feature/board/hook/mutation/useUpdateBoard.ts)
--- src/admin/feature/board/hook/mutation/useUpdateBoard.ts
+++ src/admin/feature/board/master/hook/mutation/useUpdateBoard.ts
@@ -1,5 +1,5 @@
 import {useMutation, useQueryClient} from "@tanstack/react-query";
-import {updateBoard} from "../../api/boardApi.ts";
+import {updateBoard} from "../../api/boardMasterApi.ts";
 
 export const useUpdateBoard = () => {
     const queryClient = useQueryClient();
src/admin/feature/board/master/hook/page/useBoardFormPage.ts (Renamed from src/admin/feature/board/hook/page/useBoardFormPage.ts)
--- src/admin/feature/board/hook/page/useBoardFormPage.ts
+++ src/admin/feature/board/master/hook/page/useBoardFormPage.ts
@@ -1,14 +1,14 @@
 import {type ChangeEvent, useMemo, useState} from "react";
 import {useNavigate} from "react-router-dom";
 import {toast} from "react-toastify";
-import {ADMIN_BBS_MASTER_ROUTE} from "../../../../route/adminRouteMap.ts";
-import type {CommonCodeItem} from "../../../../../type/code.ts";
-import type {BoardFormItem} from "../../type/board.types.ts";
+import {ADMIN_BBS_MASTER_ROUTE} from "../../../../../route/adminRouteMap.ts";
+import type {CommonCodeItem} from "../../../../../../type/code.ts";
+import type {BoardFormItem} from "../../type/boardMaster.types.ts";
 import {useBoardDetail} from "../query/useBoardDetail.ts";
 import {useCreateBoard} from "../mutation/useCreateBoard.ts";
 import {useDeleteBoard} from "../mutation/useDeleteBoard.ts";
 import {useUpdateBoard} from "../mutation/useUpdateBoard.ts";
-import type {FormActionsModel, HeaderModel, StatusModel} from "../../../../../type/viewModel.ts";
+import type {FormActionsModel, HeaderModel, StatusModel} from "../../../../../../type/viewModel.ts";
 
 export type BoardFormMode = 'create' | 'update';
 
src/admin/feature/board/master/hook/page/useBoardListPage.ts (Renamed from src/admin/feature/board/hook/page/useBoardListPage.ts)
--- src/admin/feature/board/hook/page/useBoardListPage.ts
+++ src/admin/feature/board/master/hook/page/useBoardListPage.ts
@@ -1,9 +1,9 @@
 import {useMemo, useState} from "react";
-import type {BoardDeleteListItem, BoardListItem, BoardSearchParams} from "../../type/board.types.ts";
+import type {BoardDeleteListItem, BoardListItem, BoardSearchParams} from "../../type/boardMaster.types.ts";
 import {useBoardList} from "../query/useBoardList.ts";
-import {ADMIN_BBS_ARTICLE_FORM_ROUTE, ADMIN_BBS_ARTICLE_LIST_ROUTE} from "../../../../route/adminRouteMap.ts";
+import {ADMIN_BBS_ARTICLE_FORM_ROUTE, ADMIN_BBS_ARTICLE_LIST_ROUTE} from "../../../../../route/adminRouteMap.ts";
 import {useNavigate} from "react-router-dom";
-import {useCheckedList} from "../../../../hook/useCheckedList.ts";
+import {useCheckedList} from "../../../../../hook/useCheckedList.ts";
 import {toast} from "react-toastify";
 import {useDeleteBatchBoard} from "../mutation/useDeleteBatchBoard.ts";
 import type {
@@ -14,7 +14,7 @@
     RowActionsModel,
     SearchModel,
     StatusModel,
-} from "../../../../../type/viewModel.ts";
+} from "../../../../../../type/viewModel.ts";
 
 type BoardListRowActions = {
     onDetail: (bbsId: string) => void;
src/admin/feature/board/master/hook/query/useBoardDetail.ts (Renamed from src/admin/feature/board/hook/query/useBoardDetail.ts)
--- src/admin/feature/board/hook/query/useBoardDetail.ts
+++ src/admin/feature/board/master/hook/query/useBoardDetail.ts
@@ -1,4 +1,4 @@
-import {fetchBoardDetail} from "../../api/boardApi.ts";
+import {fetchBoardDetail} from "../../api/boardMasterApi.ts";
 import {keepPreviousData, useQuery} from "@tanstack/react-query";
 
 type UseBoardDetailOptions = {
src/admin/feature/board/master/hook/query/useBoardList.ts (Renamed from src/admin/feature/board/hook/query/useBoardList.ts)
--- src/admin/feature/board/hook/query/useBoardList.ts
+++ src/admin/feature/board/master/hook/query/useBoardList.ts
@@ -1,6 +1,6 @@
 import {keepPreviousData, useQuery} from "@tanstack/react-query";
-import {fetchBoardList} from "../../api/boardApi.ts";
-import type {SearchParams} from "../../../../../type/searchParams.ts";
+import {fetchBoardList} from "../../api/boardMasterApi.ts";
+import type {SearchParams} from "../../../../../../type/searchParams.ts";
 
 export function useBoardList(searchParams: SearchParams) {
 
src/admin/feature/board/master/page/BoardFormPage.tsx (Renamed from src/admin/feature/board/page/BoardFormPage.tsx)
--- src/admin/feature/board/page/BoardFormPage.tsx
+++ src/admin/feature/board/master/page/BoardFormPage.tsx
@@ -1,8 +1,8 @@
 import {useParams} from "react-router-dom";
-import {PageHeader} from "../../../component/PageHeader.tsx";
-import {useLoadingToast} from "../../../hook/useLoadingToast.ts";
-import {ActionButtonFormGroup} from "../../../component/button/ActionButtonFormGroup.tsx";
-import {BoardFormTable} from "../components/master/BoardFormTable.tsx";
+import {PageHeader} from "../../../../component/PageHeader.tsx";
+import {useLoadingToast} from "../../../../hook/useLoadingToast.ts";
+import {ActionButtonFormGroup} from "../../../../component/button/ActionButtonFormGroup.tsx";
+import {BoardFormTable} from "../components/BoardFormTable.tsx";
 import {useBoardFormPage} from "../hook/page/useBoardFormPage.ts";
 
 export const BoardFormPage = () => {
src/admin/feature/board/master/page/BoardListPage.tsx (Renamed from src/admin/feature/board/page/BoardListPage.tsx)
--- src/admin/feature/board/page/BoardListPage.tsx
+++ src/admin/feature/board/master/page/BoardListPage.tsx
@@ -1,9 +1,9 @@
-import {PageHeader} from "../../../component/PageHeader.tsx";
-import {ListSearchForm} from "../../../component/ListSearchForm.tsx";
-import {BoardListTable} from "../components/master/BoardListTable.tsx";
-import {useLoadingToast} from "../../../hook/useLoadingToast.ts";
-import {Pagination} from "../../../component/pagination/Pagination.tsx";
-import {ActionButtonListGroup} from "../../../component/button/ActionButtonListGroup.tsx";
+import {PageHeader} from "../../../../component/PageHeader.tsx";
+import {ListSearchForm} from "../../../../component/ListSearchForm.tsx";
+import {BoardListTable} from "../components/BoardListTable.tsx";
+import {useLoadingToast} from "../../../../hook/useLoadingToast.ts";
+import {Pagination} from "../../../../component/pagination/Pagination.tsx";
+import {ActionButtonListGroup} from "../../../../component/button/ActionButtonListGroup.tsx";
 import {useBoardListPage} from "../hook/page/useBoardListPage.ts";
 
 export const BoardListPage = () => {
 
src/admin/feature/board/master/type/boardMaster.types.ts (added)
+++ src/admin/feature/board/master/type/boardMaster.types.ts
@@ -0,0 +1,38 @@
+import type {SearchParams} from "../../../../../type/searchParams.ts";
+import type {CommonCodeItem} from "../../../../../type/code.ts";
+
+export interface BoardSearchParams extends SearchParams {
+}
+
+export interface BoardDeleteListItem {
+    bbsId: string;
+}
+
+export interface BoardListItem {
+    bbsId: string
+    bbsNm: string
+    menuNm: string
+    newCnt: number
+    totCnt: number
+    bbsTyCodeNm: string
+    frstRegisterPnttm: string
+    useAt: 'Y' | 'N'
+}
+
+export interface BoardFormItem {
+    bbsId: string;
+    bbsNm: string;
+    bbsTyCode: string;
+    noticeYn: string;
+    addYn: string;
+    fileAtchPosblAt: string;
+    posblAtchFileNumber: string;
+    posblAtchFileSize: string;
+    viewsYn: string;
+    useAt: string;
+}
+
+export interface BoardDetailResponse {
+    result: BoardFormItem;
+    typeList: CommonCodeItem[];
+}
 
src/admin/feature/board/type/board.types.ts (deleted)
--- src/admin/feature/board/type/board.types.ts
@@ -1,63 +0,0 @@
-import type {SearchParams} from "../../../../type/searchParams.ts";
-import type {CommonCodeItem} from "../../../../type/code.ts";
-
-export interface BoardSearchParams extends SearchParams {
-
-}
-
-export interface BoardArticleSearchParams extends SearchParams {
-    bbsId: string;
-}
-
-export interface BoardDeleteListItem {
-    bbsId: string;
-}
-
-export interface BoardListItem {
-    bbsId: string
-    bbsNm: string
-    menuNm: string
-    newCnt: number
-    totCnt: number
-    bbsTyCodeNm: string
-    frstRegisterPnttm: string
-    useAt: 'Y' | 'N'
-}
-
-export interface BoardArticleListItem {
-    bbsId: string;
-    nttId: string;
-    replyLc: string;
-    nttSj: string;
-    atchFileId: string;
-    secretAt: string;
-    frstRegisterNm: string;
-    frstRegisterPnttm: string;
-    inqireCo: string;
-    fileSn: string;
-}
-
-export interface BoardArticleExtra {
-    boardMaster?: {
-        bbsNm: string;
-        bbsTyCode: string;
-    }
-}
-
-export interface BoardFormItem {
-    bbsId: string;
-    bbsNm: string;
-    bbsTyCode: string;
-    noticeYn: string;
-    addYn: string;
-    fileAtchPosblAt: string;
-    posblAtchFileNumber: string;
-    posblAtchFileSize: string;
-    viewsYn: string;
-    useAt: string;
-}
-
-export interface BoardDetailResponse {
-    result: BoardFormItem;
-    typeList: CommonCodeItem[];
-}(No newline at end of file)
 
src/admin/feature/role/api/roleApi.ts (deleted)
--- src/admin/feature/role/api/roleApi.ts
@@ -1,49 +0,0 @@
-import {apiClient} from "../../../../api/apiClient.ts";
-import type {
-    AuthorRoleListItem,
-    AuthorGroupSearchParams, AuthorListItem,
-    AuthorRoleMenuSearchParams,
-    AuthorRoleSearchParams,
-    AuthorSearchParams, RoleSearchParams, UpdateAuthorRoleParams, RoleDetailResponse
-} from "../type/role.types.ts";
-import type {PageResponse} from "../../../../type/pageResponse.ts";
-// 권한별롤관리
-export async function fetchAuthorList(params: AuthorSearchParams) {
-    return apiClient.get<PageResponse<AuthorListItem>>(`/sec/ram/list.do`, params);
-}
-
-export async function fetchAuthorDetail(authorCode: string) {
-    return apiClient.get(`/sec/ram/detail.do?authorCode=${authorCode}`);
-}
-
-// 권한롤관리
-export async function fetchAuthorRoleList(params: AuthorRoleSearchParams) {
-    return apiClient.get<PageResponse<AuthorRoleListItem>>(`/sec/ram/authorList.do`, params);
-}
-
-// 권한별메뉴관리
-export async function fetchAuthorRoleMenuList(params: AuthorRoleMenuSearchParams) {
-    return apiClient.get(`/sym/mnu/mcm/list.do`, params);
-}
-export async function fetchAuthorRoleMenuDetail(authorCode: string) {
-    return apiClient.get(`/sym/mnu/mcm/detail?authorCode=${authorCode}`);
-}
-
-// 관리자별권한관리
-export async function fetchAuthorGroupList(params: AuthorGroupSearchParams) {
-    return apiClient.get(`/sec/rgm/list.do`, params);
-}
-
-// 롤관리
-export async function fetchRoleList(params: RoleSearchParams) {
-    return apiClient.get(`/sec/rmt/list.do`, params);
-}
-
-export async function fetchRoleDetail(roleCode: string) {
-    return apiClient.get<RoleDetailResponse>(`/sec/rmt/detail.do?roleCode=${roleCode}`);
-}
-
-export async function updateAuthorRole(params: UpdateAuthorRoleParams) {
-    return apiClient.post(`/sec/ram/updateAuthorRole.do?authorCode=${params.authorCode}&roleCode=${params.roleCode}&regYn=${params.regYn}`);
-}
-
 
src/admin/feature/role/author/api/authorApi.ts (added)
+++ src/admin/feature/role/author/api/authorApi.ts
@@ -0,0 +1,11 @@
+import {apiClient} from "../../../../../api/apiClient.ts";
+import type {PageResponse} from "../../../../../type/pageResponse.ts";
+import type {AuthorListItem, AuthorSearchParams} from "../type/author.types.ts";
+
+export async function fetchAuthorList(params: AuthorSearchParams) {
+    return apiClient.get<PageResponse<AuthorListItem>>(`/sec/ram/list.do`, params);
+}
+
+export async function fetchAuthorDetail(authorCode: string) {
+    return apiClient.get(`/sec/ram/detail.do?authorCode=${authorCode}`);
+}
src/admin/feature/role/author/components/AuthorListTable.tsx (Renamed from src/admin/feature/role/components/author/AuthorListTable.tsx)
--- src/admin/feature/role/components/author/AuthorListTable.tsx
+++ src/admin/feature/role/author/components/AuthorListTable.tsx
@@ -1,6 +1,6 @@
 import {AuthorListTableHeader} from "./AuthorListTableHeader.tsx";
 import type {SearchParams} from "../../../../../type/searchParams.ts";
-import type {AuthorListItem} from "../../type/role.types.ts";
+import type {AuthorListItem} from "../type/author.types.ts";
 import {EmptyRow} from "../../../../component/EmptyRow.tsx";
 import {AuthorListTableRow} from "./AuthorListTableRow.tsx";
 import type {CheckableTableModel, RowActionsModel} from "../../../../../type/viewModel.ts";
src/admin/feature/role/author/components/AuthorListTableHeader.tsx (Renamed from src/admin/feature/role/components/author/AuthorListTableHeader.tsx)
--- src/admin/feature/role/components/author/AuthorListTableHeader.tsx
+++ src/admin/feature/role/author/components/AuthorListTableHeader.tsx
No changes
src/admin/feature/role/author/components/AuthorListTableRow.tsx (Renamed from src/admin/feature/role/components/author/AuthorListTableRow.tsx)
--- src/admin/feature/role/components/author/AuthorListTableRow.tsx
+++ src/admin/feature/role/author/components/AuthorListTableRow.tsx
@@ -1,5 +1,5 @@
 import type {SearchParams} from "../../../../../type/searchParams.ts";
-import type {AuthorListItem} from "../../type/role.types.ts";
+import type {AuthorListItem} from "../type/author.types.ts";
 import {CheckBox} from "../../../../component/checkbox/CheckBox.tsx";
 
 interface AuthorListTableRowProps {
src/admin/feature/role/author/hook/page/useAuthorListPage.ts (Renamed from src/admin/feature/role/hook/page/useAuthorListPage.ts)
--- src/admin/feature/role/hook/page/useAuthorListPage.ts
+++ src/admin/feature/role/author/hook/page/useAuthorListPage.ts
@@ -1,9 +1,9 @@
 import {useNavigate} from "react-router-dom";
 import {useMemo, useState} from "react";
 import {useAuthorList} from "../query/useAuthorList.ts";
-import {useCheckedList} from "../../../../hook/useCheckedList.ts";
-import {ADMIN_AUTHOR_DETAIL_ROUTE, ADMIN_AUTHOR_ROLE_LIST_ROUTE} from "../../../../route/adminRouteMap.ts";
-import type {AuthorListItem, AuthorSearchParams} from "../../type/role.types.ts";
+import {useCheckedList} from "../../../../../hook/useCheckedList.ts";
+import {ADMIN_AUTHOR_DETAIL_ROUTE, ADMIN_AUTHOR_ROLE_LIST_ROUTE} from "../../../../../route/adminRouteMap.ts";
+import type {AuthorListItem, AuthorSearchParams} from "../../type/author.types.ts";
 import type {
     CheckableTableModel,
     HeaderModel,
@@ -12,7 +12,7 @@
     RowActionsModel,
     SearchModel,
     StatusModel,
-} from "../../../../../type/viewModel.ts";
+} from "../../../../../../type/viewModel.ts";
 
 type AuthorListRowActions = {
     onDetail: (authorCode: string) => void;
src/admin/feature/role/author/hook/query/useAuthorDetail.ts (Renamed from src/admin/feature/role/hook/query/useAuthorDetail.ts)
--- src/admin/feature/role/hook/query/useAuthorDetail.ts
+++ src/admin/feature/role/author/hook/query/useAuthorDetail.ts
@@ -1,5 +1,5 @@
 import {keepPreviousData, useQuery} from "@tanstack/react-query";
-import {fetchAuthorDetail} from "../../api/roleApi.ts";
+import {fetchAuthorDetail} from "../../api/authorApi.ts";
 
 export function useAuthorDetail(authorCode: string) {
     return useQuery({
src/admin/feature/role/author/hook/query/useAuthorList.ts (Renamed from src/admin/feature/role/hook/query/useAuthorList.ts)
--- src/admin/feature/role/hook/query/useAuthorList.ts
+++ src/admin/feature/role/author/hook/query/useAuthorList.ts
@@ -1,7 +1,7 @@
-import type {AuthorSearchParams} from "../../type/role.types.ts";
+import type {AuthorSearchParams} from "../../type/author.types.ts";
 import {keepPreviousData, useQuery} from "@tanstack/react-query";
-import {fetchAuthorList} from "../../api/roleApi.ts";
-import {createPageQueryResult} from "../../../../../type/pageResponse.ts";
+import {fetchAuthorList} from "../../api/authorApi.ts";
+import {createPageQueryResult} from "../../../../../../type/pageResponse.ts";
 
 export function useAuthorList(searchParams: AuthorSearchParams) {
     const query = useQuery({
src/admin/feature/role/author/page/AuthorListPage.tsx (Renamed from src/admin/feature/role/page/AuthorListPage.tsx)
--- src/admin/feature/role/page/AuthorListPage.tsx
+++ src/admin/feature/role/author/page/AuthorListPage.tsx
@@ -1,10 +1,10 @@
 import {useAuthorListPage} from "../hook/page/useAuthorListPage.ts";
-import {PageHeader} from "../../../component/PageHeader.tsx";
-import {ListSearchForm} from "../../../component/ListSearchForm.tsx";
-import {ActionButtonListGroup} from "../../../component/button/ActionButtonListGroup.tsx";
-import {Pagination} from "../../../component/pagination/Pagination.tsx";
-import {AuthorListTable} from "../components/author/AuthorListTable.tsx";
-import {useLoadingToast} from "../../../hook/useLoadingToast.ts";
+import {PageHeader} from "../../../../component/PageHeader.tsx";
+import {ListSearchForm} from "../../../../component/ListSearchForm.tsx";
+import {ActionButtonListGroup} from "../../../../component/button/ActionButtonListGroup.tsx";
+import {Pagination} from "../../../../component/pagination/Pagination.tsx";
+import {AuthorListTable} from "../components/AuthorListTable.tsx";
+import {useLoadingToast} from "../../../../hook/useLoadingToast.ts";
 
 export const AuthorListPage = () => {
     const {
 
src/admin/feature/role/author/type/author.types.ts (added)
+++ src/admin/feature/role/author/type/author.types.ts
@@ -0,0 +1,11 @@
+import type {SearchParams} from "../../../../../type/searchParams.ts";
+
+export interface AuthorSearchParams extends SearchParams {
+}
+
+export interface AuthorListItem {
+    authorCode: string;
+    authorNm: string;
+    authorDc: string;
+    authorCreatDe: string;
+}
 
src/admin/feature/role/authorGroup/api/authorGroupApi.ts (added)
+++ src/admin/feature/role/authorGroup/api/authorGroupApi.ts
@@ -0,0 +1,6 @@
+import {apiClient} from "../../../../../api/apiClient.ts";
+import type {AuthorGroupSearchParams} from "../type/authorGroup.types.ts";
+
+export async function fetchAuthorGroupList(params: AuthorGroupSearchParams) {
+    return apiClient.get(`/sec/rgm/list.do`, params);
+}
src/admin/feature/role/authorGroup/hook/page/useAuthorGroupListPage.ts (Renamed from src/admin/feature/role/hook/page/useAuthorGroupListPage.ts)
--- src/admin/feature/role/hook/page/useAuthorGroupListPage.ts
+++ src/admin/feature/role/authorGroup/hook/page/useAuthorGroupListPage.ts
No changes
src/admin/feature/role/authorGroup/hook/query/useAuthorGroupList.ts (Renamed from src/admin/feature/role/hook/query/useAuthorGroupList.ts)
--- src/admin/feature/role/hook/query/useAuthorGroupList.ts
+++ src/admin/feature/role/authorGroup/hook/query/useAuthorGroupList.ts
@@ -1,6 +1,6 @@
-import type {AuthorGroupSearchParams} from "../../type/role.types.ts";
+import type {AuthorGroupSearchParams} from "../../type/authorGroup.types.ts";
 import {keepPreviousData, useQuery} from "@tanstack/react-query";
-import {fetchAuthorGroupList} from "../../api/roleApi.ts";
+import {fetchAuthorGroupList} from "../../api/authorGroupApi.ts";
 
 export function useAuthorGroupList(searchParams: AuthorGroupSearchParams) {
     return useQuery({
 
src/admin/feature/role/authorGroup/type/authorGroup.types.ts (added)
+++ src/admin/feature/role/authorGroup/type/authorGroup.types.ts
@@ -0,0 +1,4 @@
+import type {SearchParams} from "../../../../../type/searchParams.ts";
+
+export interface AuthorGroupSearchParams extends SearchParams {
+}
 
src/admin/feature/role/authorRole/api/authorRoleApi.ts (added)
+++ src/admin/feature/role/authorRole/api/authorRoleApi.ts
@@ -0,0 +1,15 @@
+import {apiClient} from "../../../../../api/apiClient.ts";
+import type {PageResponse} from "../../../../../type/pageResponse.ts";
+import type {
+    AuthorRoleListItem,
+    AuthorRoleSearchParams,
+    UpdateAuthorRoleParams
+} from "../type/authorRole.types.ts";
+
+export async function fetchAuthorRoleList(params: AuthorRoleSearchParams) {
+    return apiClient.get<PageResponse<AuthorRoleListItem>>(`/sec/ram/authorList.do`, params);
+}
+
+export async function updateAuthorRole(params: UpdateAuthorRoleParams) {
+    return apiClient.post(`/sec/ram/updateAuthorRole.do?authorCode=${params.authorCode}&roleCode=${params.roleCode}&regYn=${params.regYn}`);
+}
src/admin/feature/role/authorRole/components/AuthorRoleListTable.tsx (Renamed from src/admin/feature/role/components/author/role/AuthorRoleListTable.tsx)
--- src/admin/feature/role/components/author/role/AuthorRoleListTable.tsx
+++ src/admin/feature/role/authorRole/components/AuthorRoleListTable.tsx
@@ -1,9 +1,9 @@
 import {AuthorRoleListTableHeader} from "./AuthorRoleListTableHeader.tsx";
-import type {SearchParams} from "../../../../../../type/searchParams.ts";
-import {EmptyRow} from "../../../../../component/EmptyRow.tsx";
+import type {SearchParams} from "../../../../../type/searchParams.ts";
+import {EmptyRow} from "../../../../component/EmptyRow.tsx";
 import {AuthorRoleListTableRow} from "./AuthorRoleListTableRow.tsx";
-import type {AuthorRoleListItem} from "../../../type/role.types.ts";
-import type {ListTableModel, RowActionsModel} from "../../../../../../type/viewModel.ts";
+import type {AuthorRoleListItem} from "../type/authorRole.types.ts";
+import type {ListTableModel, RowActionsModel} from "../../../../../type/viewModel.ts";
 
 type AuthorRoleListTableProps<T extends SearchParams = SearchParams> =
     ListTableModel<AuthorRoleListItem, T> &
src/admin/feature/role/authorRole/components/AuthorRoleListTableHeader.tsx (Renamed from src/admin/feature/role/components/author/role/AuthorRoleListTableHeader.tsx)
--- src/admin/feature/role/components/author/role/AuthorRoleListTableHeader.tsx
+++ src/admin/feature/role/authorRole/components/AuthorRoleListTableHeader.tsx
@@ -1,4 +1,4 @@
-import type {SearchParams} from "../../../../../../type/searchParams.ts";
+import type {SearchParams} from "../../../../../type/searchParams.ts";
 
 interface AuthorRoleListTableHeaderProps<T extends SearchParams = SearchParams> {
     params: T;
src/admin/feature/role/authorRole/components/AuthorRoleListTableRow.tsx (Renamed from src/admin/feature/role/components/author/role/AuthorRoleListTableRow.tsx)
--- src/admin/feature/role/components/author/role/AuthorRoleListTableRow.tsx
+++ src/admin/feature/role/authorRole/components/AuthorRoleListTableRow.tsx
@@ -1,5 +1,5 @@
-import type {SearchParams} from "../../../../../../type/searchParams.ts";
-import type {AuthorRoleListItem} from "../../../type/role.types.ts";
+import type {SearchParams} from "../../../../../type/searchParams.ts";
+import type {AuthorRoleListItem} from "../type/authorRole.types.ts";
 
 
 interface AuthorRoleListTableRowProps {
src/admin/feature/role/authorRole/hook/mutation/useUpdateAuthorRole.ts (Renamed from src/admin/feature/role/hook/mutation/useUpdateAuthorRole.ts)
--- src/admin/feature/role/hook/mutation/useUpdateAuthorRole.ts
+++ src/admin/feature/role/authorRole/hook/mutation/useUpdateAuthorRole.ts
@@ -1,5 +1,5 @@
 import {useMutation, useQueryClient} from "@tanstack/react-query";
-import {updateAuthorRole} from "../../api/roleApi.ts";
+import {updateAuthorRole} from "../../api/authorRoleApi.ts";
 
 export const useUpdateAuthorRole = () => {
     const queryClient = useQueryClient();
src/admin/feature/role/authorRole/hook/page/useAuthorRoleListPage.ts (Renamed from src/admin/feature/role/hook/page/useAuthorRoleListPage.ts)
--- src/admin/feature/role/hook/page/useAuthorRoleListPage.ts
+++ src/admin/feature/role/authorRole/hook/page/useAuthorRoleListPage.ts
@@ -1,7 +1,7 @@
 import {useAuthorRoleList} from "../query/useAuthorRoleList.ts";
-import type {AuthorRoleListItem, AuthorRoleSearchParams} from "../../type/role.types.ts";
+import type {AuthorRoleListItem, AuthorRoleSearchParams} from "../../type/authorRole.types.ts";
 import {useState} from "react";
-import {ADMIN_AUTHOR_LIST_ROUTE} from "../../../../route/adminRouteMap.ts";
+import {ADMIN_AUTHOR_LIST_ROUTE} from "../../../../../route/adminRouteMap.ts";
 import {useUpdateAuthorRole} from "../mutation/useUpdateAuthorRole.ts";
 import {toast} from "react-toastify";
 import type {
@@ -11,7 +11,7 @@
     RowActionsModel,
     SearchModel,
     StatusModel
-} from "../../../../../type/viewModel.ts";
+} from "../../../../../../type/viewModel.ts";
 
 type AuthorRoleListRowActions = {
     onDetail: (authorCode: string) => void;
src/admin/feature/role/authorRole/hook/query/useAuthorRoleList.ts (Renamed from src/admin/feature/role/hook/query/useAuthorRoleList.ts)
--- src/admin/feature/role/hook/query/useAuthorRoleList.ts
+++ src/admin/feature/role/authorRole/hook/query/useAuthorRoleList.ts
@@ -1,7 +1,7 @@
-import type {AuthorRoleSearchParams} from "../../type/role.types.ts";
+import type {AuthorRoleSearchParams} from "../../type/authorRole.types.ts";
 import {keepPreviousData, useQuery} from "@tanstack/react-query";
-import {fetchAuthorRoleList} from "../../api/roleApi.ts";
-import {createPageQueryResult} from "../../../../../type/pageResponse.ts";
+import {fetchAuthorRoleList} from "../../api/authorRoleApi.ts";
+import {createPageQueryResult} from "../../../../../../type/pageResponse.ts";
 
 export function useAuthorRoleList(searchParams: AuthorRoleSearchParams) {
     const query = useQuery({
src/admin/feature/role/authorRole/page/AuthorRoleListPage.tsx (Renamed from src/admin/feature/role/page/AuthorRoleListPage.tsx)
--- src/admin/feature/role/page/AuthorRoleListPage.tsx
+++ src/admin/feature/role/authorRole/page/AuthorRoleListPage.tsx
@@ -1,10 +1,10 @@
 import {useAuthorRoleListPage} from "../hook/page/useAuthorRoleListPage.ts";
 import {useSearchParams} from "react-router-dom";
-import {PageHeader} from "../../../component/PageHeader.tsx";
-import {ListSearchForm} from "../../../component/ListSearchForm.tsx";
-import {Pagination} from "../../../component/pagination/Pagination.tsx";
-import {AuthorRoleListTable} from "../components/author/role/AuthorRoleListTable.tsx";
-import {useLoadingToast} from "../../../hook/useLoadingToast.ts";
+import {PageHeader} from "../../../../component/PageHeader.tsx";
+import {ListSearchForm} from "../../../../component/ListSearchForm.tsx";
+import {Pagination} from "../../../../component/pagination/Pagination.tsx";
+import {AuthorRoleListTable} from "../components/AuthorRoleListTable.tsx";
+import {useLoadingToast} from "../../../../hook/useLoadingToast.ts";
 
 export const AuthorRoleListPage = () => {
     const [urlParams] = useSearchParams();
 
src/admin/feature/role/authorRole/type/authorRole.types.ts (added)
+++ src/admin/feature/role/authorRole/type/authorRole.types.ts
@@ -0,0 +1,22 @@
+import type {SearchParams} from "../../../../../type/searchParams.ts";
+
+export interface AuthorRoleSearchParams extends SearchParams {
+    authorCode: string;
+}
+
+export interface UpdateAuthorRoleParams {
+    authorCode: string,
+    roleCode: string,
+    regYn: string
+}
+
+export interface AuthorRoleListItem {
+    regYn: string;
+    roleNm: string;
+    roleCode: string;
+    rolePtn: string;
+    roleSort: string;
+    roleDc: string;
+    creatDt: string;
+    authorCode: string
+}
 
src/admin/feature/role/authorRoleMenu/api/authorRoleMenuApi.ts (added)
+++ src/admin/feature/role/authorRoleMenu/api/authorRoleMenuApi.ts
@@ -0,0 +1,10 @@
+import {apiClient} from "../../../../../api/apiClient.ts";
+import type {AuthorRoleMenuSearchParams} from "../type/authorRoleMenu.types.ts";
+
+export async function fetchAuthorRoleMenuList(params: AuthorRoleMenuSearchParams) {
+    return apiClient.get(`/sym/mnu/mcm/list.do`, params);
+}
+
+export async function fetchAuthorRoleMenuDetail(authorCode: string) {
+    return apiClient.get(`/sym/mnu/mcm/detail?authorCode=${authorCode}`);
+}
src/admin/feature/role/authorRoleMenu/hook/query/useAuthorRoleMenuDetail.ts (Renamed from src/admin/feature/role/hook/query/useAuthorRoleMenuDetail.ts)
--- src/admin/feature/role/hook/query/useAuthorRoleMenuDetail.ts
+++ src/admin/feature/role/authorRoleMenu/hook/query/useAuthorRoleMenuDetail.ts
@@ -1,5 +1,5 @@
 import {keepPreviousData, useQuery} from "@tanstack/react-query";
-import {fetchAuthorRoleMenuDetail} from "../../api/roleApi.ts";
+import {fetchAuthorRoleMenuDetail} from "../../api/authorRoleMenuApi.ts";
 
 export function useAuthorRoleMenuDetail(authorCode: string) {
     return useQuery({
 
src/admin/feature/role/authorRoleMenu/hook/query/useAuthorRoleMenuList.ts (added)
+++ src/admin/feature/role/authorRoleMenu/hook/query/useAuthorRoleMenuList.ts
@@ -0,0 +1,11 @@
+import type {AuthorRoleMenuSearchParams} from "../../type/authorRoleMenu.types.ts";
+import {keepPreviousData, useQuery} from "@tanstack/react-query";
+import {fetchAuthorRoleMenuList} from "../../api/authorRoleMenuApi.ts";
+
+export function useAuthorRoleMenuList(searchParams: AuthorRoleMenuSearchParams) {
+    return useQuery({
+        queryKey: ['authorRoleMenuList', searchParams],
+        queryFn: () => fetchAuthorRoleMenuList(searchParams),
+        placeholderData: keepPreviousData
+    });
+}
 
src/admin/feature/role/authorRoleMenu/type/authorRoleMenu.types.ts (added)
+++ src/admin/feature/role/authorRoleMenu/type/authorRoleMenu.types.ts
@@ -0,0 +1,4 @@
+import type {SearchParams} from "../../../../../type/searchParams.ts";
+
+export interface AuthorRoleMenuSearchParams extends SearchParams {
+}
 
src/admin/feature/role/hook/query/useAuthorRoleMenuList.ts (deleted)
--- src/admin/feature/role/hook/query/useAuthorRoleMenuList.ts
@@ -1,11 +0,0 @@
-import type {AuthorRoleSearchParams} from "../../type/role.types.ts";
-import {keepPreviousData, useQuery} from "@tanstack/react-query";
-import {fetchAuthorRoleMenuList} from "../../api/roleApi.ts";
-
-export function useAuthorRoleMenuList(searchParams: AuthorRoleSearchParams) {
-    return useQuery({
-        queryKey: ['authorRoleMenuList', searchParams],
-        queryFn: () => fetchAuthorRoleMenuList(searchParams),
-        placeholderData: keepPreviousData
-    });
-}(No newline at end of file)
 
src/admin/feature/role/role/api/roleApi.ts (added)
+++ src/admin/feature/role/role/api/roleApi.ts
@@ -0,0 +1,11 @@
+import {apiClient} from "../../../../../api/apiClient.ts";
+import type {PageResponse} from "../../../../../type/pageResponse.ts";
+import type {RoleDetailResponse, RoleSearchParams} from "../type/role.types.ts";
+
+export async function fetchRoleList(params: RoleSearchParams) {
+    return apiClient.get<PageResponse<unknown>>(`/sec/rmt/list.do`, params);
+}
+
+export async function fetchRoleDetail(roleCode: string) {
+    return apiClient.get<RoleDetailResponse>(`/sec/rmt/detail.do?roleCode=${roleCode}`);
+}
src/admin/feature/role/role/hook/page/useRoleFormPage.ts (Renamed from src/admin/feature/role/hook/page/useRoleFormPage.ts)
--- src/admin/feature/role/hook/page/useRoleFormPage.ts
+++ src/admin/feature/role/role/hook/page/useRoleFormPage.ts
No changes
src/admin/feature/role/role/hook/query/useRoleDetail.ts (Renamed from src/admin/feature/role/hook/query/useRoleDetail.ts)
--- src/admin/feature/role/hook/query/useRoleDetail.ts
+++ src/admin/feature/role/role/hook/query/useRoleDetail.ts
No changes
src/admin/feature/role/role/hook/query/useRoleList.ts (Renamed from src/admin/feature/role/hook/query/useRoleList.ts)
--- src/admin/feature/role/hook/query/useRoleList.ts
+++ src/admin/feature/role/role/hook/query/useRoleList.ts
No changes
src/admin/feature/role/role/page/AuthorRoleFormPage.tsx (Renamed from src/admin/feature/role/page/AuthorRoleFormPage.tsx)
--- src/admin/feature/role/page/AuthorRoleFormPage.tsx
+++ src/admin/feature/role/role/page/AuthorRoleFormPage.tsx
No changes
 
src/admin/feature/role/role/type/role.types.ts (added)
+++ src/admin/feature/role/role/type/role.types.ts
@@ -0,0 +1,13 @@
+import type {SearchParams} from "../../../../../type/searchParams.ts";
+
+export interface RoleSearchParams extends SearchParams {
+}
+
+export interface RoleDetailResponse {
+    roleCode: string,
+    roleNm: string,
+    rolePtn: string,
+    roleDc: string,
+    roleSort: string,
+    roleCreatDe: string,
+}
 
src/admin/feature/role/type/role.types.ts (deleted)
--- src/admin/feature/role/type/role.types.ts
@@ -1,51 +0,0 @@
-import type {SearchParams} from "../../../../type/searchParams.ts";
-
-export interface AuthorSearchParams extends SearchParams {
-}
-
-export interface AuthorRoleSearchParams extends SearchParams {
-    authorCode: string;
-}
-
-export interface AuthorRoleMenuSearchParams extends SearchParams {
-}
-
-export interface AuthorGroupSearchParams extends SearchParams {
-}
-
-export interface RoleSearchParams extends SearchParams {
-}
-
-export interface UpdateAuthorRoleParams {
-    authorCode: string,
-    roleCode: string,
-    regYn: string
-}
-
-export interface RoleDetailResponse {
-    roleCode: string,
-    roleNm: string,
-    rolePtn: string,
-    roleDc: string,
-    roleSort: string,
-    roleCreatDe: string,
-}
-
-
-export interface AuthorListItem {
-    authorCode: string;
-    authorNm: string;
-    authorDc: string;
-    authorCreatDe: string;
-}
-
-export interface AuthorRoleListItem {
-    regYn: string;
-    roleNm: string;
-    roleCode: string;
-    rolePtn: string;
-    roleSort: string;
-    roleDc: string;
-    creatDt: string;
-    authorCode: string
-}(No newline at end of file)
src/admin/route/AdminRoute.tsx
--- src/admin/route/AdminRoute.tsx
+++ src/admin/route/AdminRoute.tsx
@@ -1,16 +1,16 @@
 import {Navigate, Route, Routes} from "react-router-dom";
-import {BoardListPage} from "../feature/board/page/BoardListPage.tsx";
+import {BoardListPage} from "../feature/board/master/page/BoardListPage.tsx";
 import {
     ADMIN_AUTHOR_DETAIL_ROUTE,
     ADMIN_AUTHOR_LIST_ROUTE,
     ADMIN_AUTHOR_ROLE_LIST_ROUTE, ADMIN_BBS_ARTICLE_FORM_ROUTE,
     ADMIN_BBS_MASTER_ROUTE, ADMIN_ROLE_FORM_ROUTE
 } from "./adminRouteMap.ts";
-import {BoardArticleListPage} from "../feature/board/page/BoardArticleListPage.tsx";
-import {BoardFormPage} from "../feature/board/page/BoardFormPage.tsx";
-import {AuthorListPage} from "../feature/role/page/AuthorListPage.tsx";
-import {AuthorRoleListPage} from "../feature/role/page/AuthorRoleListPage.tsx";
-import {AuthorRoleFormPage} from "../feature/role/page/AuthorRoleFormPage.tsx";
+import {BoardArticleListPage} from "../feature/board/article/page/BoardArticleListPage.tsx";
+import {BoardFormPage} from "../feature/board/master/page/BoardFormPage.tsx";
+import {AuthorListPage} from "../feature/role/author/page/AuthorListPage.tsx";
+import {AuthorRoleListPage} from "../feature/role/authorRole/page/AuthorRoleListPage.tsx";
+import {AuthorRoleFormPage} from "../feature/role/role/page/AuthorRoleFormPage.tsx";
 
 const ReadyPage = () => {
     return <div>Preparing menu.</div>;
Add a comment
List