summaryrefslogtreecommitdiff
path: root/src/models
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-06 04:04:50 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-06 04:04:50 +0900
commita6fb4f2e33b5bcbda5c9461d3c55e3d1c956b2c9 (patch)
treee3c6496ede5a4acb8881feb354292887a3d6e962 /src/models
parentFix bugs (diff)
downloadmisskey-a6fb4f2e33b5bcbda5c9461d3c55e3d1c956b2c9.tar.gz
misskey-a6fb4f2e33b5bcbda5c9461d3c55e3d1c956b2c9.tar.bz2
misskey-a6fb4f2e33b5bcbda5c9461d3c55e3d1c956b2c9.zip
wip
Diffstat (limited to 'src/models')
-rw-r--r--src/models/post.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/models/post.ts b/src/models/post.ts
index 2f2b51b946..68a638fa2f 100644
--- a/src/models/post.ts
+++ b/src/models/post.ts
@@ -52,6 +52,20 @@ export type IPost = {
speed: number;
};
uri: string;
+
+ _reply?: {
+ userId: mongo.ObjectID;
+ };
+ _repost?: {
+ userId: mongo.ObjectID;
+ };
+ _user: {
+ host: string;
+ hostLower: string;
+ account: {
+ inbox?: string;
+ };
+ };
};
/**