summaryrefslogtreecommitdiff
path: root/src/models/user.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-13 20:11:00 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-13 20:11:00 +0900
commit65e5cfa68eee619843192f3bf2a3e901a0910101 (patch)
tree6ed53b64d96371a5543208b5815718492aebe753 /src/models/user.ts
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadsharkey-65e5cfa68eee619843192f3bf2a3e901a0910101.tar.gz
sharkey-65e5cfa68eee619843192f3bf2a3e901a0910101.tar.bz2
sharkey-65e5cfa68eee619843192f3bf2a3e901a0910101.zip
Resolve #2853
Diffstat (limited to 'src/models/user.ts')
-rw-r--r--src/models/user.ts11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/models/user.ts b/src/models/user.ts
index e0ce561421..6ca09ca168 100644
--- a/src/models/user.ts
+++ b/src/models/user.ts
@@ -66,6 +66,16 @@ type IUserBase = {
isLocked: boolean;
/**
+ * Botか否か
+ */
+ isBot: boolean;
+
+ /**
+ * Botからのフォローを承認制にするか
+ */
+ carefulBot: boolean;
+
+ /**
* このアカウントに届いているフォローリクエストの数
*/
pendingReceivedFollowRequestsCount: number;
@@ -94,7 +104,6 @@ export interface ILocalUser extends IUserBase {
tags: string[];
};
lastUsedAt: Date;
- isBot: boolean;
isCat: boolean;
isAdmin?: boolean;
isVerified?: boolean;