feat: 새 설문조사 모듈 UI

This commit is contained in:
2022-05-16 01:41:10 +09:00
parent 29228ed3bc
commit 42cca07419
13 changed files with 650 additions and 19 deletions
+4 -1
View File
@@ -5,7 +5,7 @@ export type VoteInfo = {
title: string;
multipleOptions: number;
startDate: string;
endDate: string;
endDate?: string;
options: string[];
}
@@ -16,6 +16,7 @@ export type VoteComment = {
nationName: string;
generalName: string;
text: string;
date: string;
}
export type VoteListResult = ValidResponse & {
@@ -26,4 +27,6 @@ export type VoteDetailResult = ValidResponse & {
voteInfo: VoteInfo,
votes: [number[], number][],
comments: VoteComment[],
myVote: null|number[],
userCnt: number,
}