diff --git a/src/api/@types/NoticeBoard.ts b/src/api/@types/NoticeBoard.ts index b46f258..b2ff45c 100644 --- a/src/api/@types/NoticeBoard.ts +++ b/src/api/@types/NoticeBoard.ts @@ -20,10 +20,11 @@ export interface GetNoticeListPosts { id: number; title: string; content: string; - status: 'PUBLISHED'; + status: 'PUBLISHED' | 'TEMP'; createdDate: string; modifiedDate: string; views: number; + thumbnail: string; } // 개별 게시글 조회 @@ -44,6 +45,7 @@ export interface GetNoticePostsData { createdDate: string; modifiedDate: string; views: number; + thumbnail: string; } //post @@ -51,6 +53,7 @@ export interface PostNoticeRequest { title: string; content: string; status: 'PUBLISHED' | 'TEMP'; + thumbnail: string; } export interface PostNoticeResponse { @@ -66,11 +69,14 @@ export interface PostNoticeData { createdDate: string; modifiedDate: string; views: number; + thumbnail: string; } export interface PostNoticeTempPostsRequest { title: string; content: string; + status: 'PUBLISHED' | 'TEMP'; + thumbnail: string; } export interface PostNoticeTempPostsResponse { @@ -86,6 +92,7 @@ export interface PostNoticeTempPostsData { createdDate: string; modifiedDate: string; views: number; + thumbnail: string; } export interface PostNoticePresignedURLRequest { @@ -110,6 +117,7 @@ export interface PutNoticeRequest { title: string; content: string; status: string; + thumbnail: string; } export interface PutNoticeResponse { @@ -125,6 +133,7 @@ export interface PutNoticeData { createdDate: string; modifiedDate: string; views: number; + thumbnail: string; } // delete diff --git a/src/components/createRetro/modal/TemplateSelect.tsx b/src/components/createRetro/modal/TemplateSelect.tsx index b592a86..3df3759 100644 --- a/src/components/createRetro/modal/TemplateSelect.tsx +++ b/src/components/createRetro/modal/TemplateSelect.tsx @@ -28,6 +28,7 @@ const TemplateSelect: React.FC = ({ onChange, defaultTempla return ( <>
Template
+

템플릿 설정 안할 시, KPT(default)