feat: 게시판 관리 로직 적용(cs)

This commit is contained in:
2025-05-13 17:56:18 +09:00
parent d1400a6908
commit 89b37981a2
6 changed files with 75 additions and 27 deletions
@@ -1,12 +1,6 @@
import { z } from "zod";
import type { PageableList, PageableParams } from "@/shared/model";
export const BOARD_TYPE = {
BBSNORMAL: "BBSNORMAL",
BBSFAQ: "BBSFAQ",
BBSIMAGE: "BBSIMAGE",
BBSMOVIE: "BBSMOVIE",
} as const;
import type { BbsType } from "@/shared/store/menu-store";
export const BOARD_POSTING_CODE = {
팝업게시: "01",
@@ -14,7 +8,6 @@ export const BOARD_POSTING_CODE = {
기간게시: "03",
} as const;
export type BoardType = (typeof BOARD_TYPE)[keyof typeof BOARD_TYPE];
export type BoardPostingCode =
(typeof BOARD_POSTING_CODE)[keyof typeof BOARD_POSTING_CODE];
@@ -45,7 +38,7 @@ export interface BoardPopupParams extends PageableParams {
export interface Board {
bbsId: number;
bbsTypeCd: string;
bbsTypeCd: BbsType;
bbsTypeNm: string;
bbsNm: string;
bbsExpln: string;