summaryrefslogtreecommitdiff
path: root/src/models
diff options
context:
space:
mode:
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;
+ };
+ };
};
/**