From a6fb4f2e33b5bcbda5c9461d3c55e3d1c956b2c9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 6 Apr 2018 04:04:50 +0900 Subject: wip --- src/models/post.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/models') 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; + }; + }; }; /** -- cgit v1.2.3-freya