diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-10-31 22:09:09 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-10-31 22:09:09 +0900 |
| commit | b4340b1d91a6fc1679c3cb891ea800e1b491109c (patch) | |
| tree | 8de19c5f5ef4990be63c6d91f2d21d710015e68e /src/api/models | |
| parent | RENAME: bbs -> channel (diff) | |
| download | sharkey-b4340b1d91a6fc1679c3cb891ea800e1b491109c.tar.gz sharkey-b4340b1d91a6fc1679c3cb891ea800e1b491109c.tar.bz2 sharkey-b4340b1d91a6fc1679c3cb891ea800e1b491109c.zip | |
wip
Diffstat (limited to 'src/api/models')
| -rw-r--r-- | src/api/models/post.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/models/post.ts b/src/api/models/post.ts index 8b9f7f5ef6..fe07dcb0b1 100644 --- a/src/api/models/post.ts +++ b/src/api/models/post.ts @@ -10,6 +10,7 @@ export function isValidText(text: string): boolean { export type IPost = { _id: mongo.ObjectID; + channel_id: mongo.ObjectID; created_at: Date; media_ids: mongo.ObjectID[]; reply_to_id: mongo.ObjectID; |