This commit is contained in:
mei23 2019-01-20 11:48:09 +09:00
parent 15460d5b53
commit 08524feb03

View File

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