From 0718ae45cb4f9853a52c3999ec6c38b7c53fbe81 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 2 Apr 2018 14:18:01 +0900 Subject: [PATCH] Add visibility property --- src/models/post.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/post.ts b/src/models/post.ts index 4daad306d..798c18e4b 100644 --- a/src/models/post.ts +++ b/src/models/post.ts @@ -40,6 +40,7 @@ export type IPost = { repliesCount: number; reactionCounts: any; mentions: mongo.ObjectID[]; + visibility: 'public' | 'unlisted' | 'private' | 'direct'; geo: { coordinates: number[]; altitude: number;