diff options
Diffstat (limited to 'src/models/post.ts')
| -rw-r--r-- | src/models/post.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/models/post.ts b/src/models/post.ts index 2f2b51b946..ac7890d2e6 100644 --- a/src/models/post.ts +++ b/src/models/post.ts @@ -27,6 +27,7 @@ export type IPost = { _id: mongo.ObjectID; channelId: mongo.ObjectID; createdAt: Date; + deletedAt: Date; mediaIds: mongo.ObjectID[]; replyId: mongo.ObjectID; repostId: mongo.ObjectID; @@ -52,6 +53,20 @@ export type IPost = { speed: number; }; uri: string; + + _reply?: { + userId: mongo.ObjectID; + }; + _repost?: { + userId: mongo.ObjectID; + }; + _user: { + host: string; + hostLower: string; + account: { + inbox?: string; + }; + }; }; /** |