This commit is contained in:
mei23 2019-01-20 11:48:09 +09:00
parent 15460d5b53
commit 08524feb03
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ export type INote = {
replyId: mongo.ObjectID; replyId: mongo.ObjectID;
renoteId: mongo.ObjectID; renoteId: mongo.ObjectID;
poll: { poll: {
choices: choice[] choices: IChoice[]
}; };
text: string; text: string;
tags: string[]; tags: string[];
@ -100,7 +100,7 @@ export type INote = {
_files?: IDriveFile[]; _files?: IDriveFile[];
}; };
export type choice = { export type IChoice = {
id: number; id: number;
text: string; text: string;
votes: number; votes: number;