.
All checks were successful
Deploy blog-frontend / build-and-deploy (push) Successful in 2m10s

This commit is contained in:
wypark
2026-05-28 19:29:54 +09:00
parent f4481b88cb
commit 58a012621a
23 changed files with 2169 additions and 679 deletions

View File

@@ -26,12 +26,17 @@ export interface Post {
nextPost?: PostNeighbor | null;
}
// 3. 게시글 목록 페이징 응답
export interface PostListResponse {
content: Post[];
export interface PageMeta {
totalPages: number;
totalElements: number;
last: boolean;
number?: number;
last?: boolean;
}
// 3. 게시글 목록 페이징 응답
export interface PostListResponse extends PageMeta {
content: Post[];
page?: PageMeta;
}
export interface PostSaveRequest {
@@ -136,3 +141,19 @@ export interface CommentSaveRequest {
export interface CommentDeleteRequest {
guestPassword?: string;
}
export interface AdminComment {
id: number;
content: string;
author?: string;
guestNickname?: string;
memberNickname?: string;
postSlug?: string;
postTitle?: string;
createdAt: string;
}
export interface AdminCommentListResponse extends PageMeta {
content: AdminComment[];
page?: PageMeta;
}