feat: 게시판 상세 및 삭제 기능 작업

This commit is contained in:
2025-04-29 19:56:56 +09:00
parent 50b97a466e
commit 8a9e4bbf96
10 changed files with 176 additions and 16 deletions
@@ -31,8 +31,17 @@ export interface Post {
rgtrNm: string;
}
export interface PostInfo extends Post {
pstCn: string;
rgtr: string;
mdfcnDt: string;
mdfr: string;
}
export type PostList = PageableList<Post>;
export interface PostService {
getPostList(params: PostParams): Promise<PostList>;
getPostInfo(bbsId: string, pstNo: string): Promise<PostInfo>;
deletePost(bbsId: string, pstNo: string): Promise<void>;
}