This commit is contained in:
mei23
2019-01-20 13:15:03 +09:00
parent 08524feb03
commit b7a6699c35
6 changed files with 35 additions and 6 deletions

View File

@@ -38,9 +38,7 @@ export type INote = {
fileIds: mongo.ObjectID[];
replyId: mongo.ObjectID;
renoteId: mongo.ObjectID;
poll: {
choices: IChoice[]
};
poll: IPoll;
text: string;
tags: string[];
tagsLower: string[];
@@ -100,6 +98,10 @@ export type INote = {
_files?: IDriveFile[];
};
export type IPoll = {
choices: IChoice[]
};
export type IChoice = {
id: number;
text: string;