wip
This commit is contained in:
parent
08524feb03
commit
b7a6699c35
6 changed files with 35 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue