feat: 새 설문조사 모듈 UI
This commit is contained in:
1 parent
99242ac3d3
commit
9f363e46fc
13 files changed
+650
-19
No files matched your search
@@ -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,
|
||||
}
|
||||
Reference in new issue
Block a user