1
0
forked from mirror/misskey
This commit is contained in:
syuilo 2018-04-26 20:22:51 +09:00
parent a0795b1afe
commit 1625fdc2f4

View File

@ -37,7 +37,7 @@ export default User;
type IUserBase = { type IUserBase = {
_id: mongo.ObjectID; _id: mongo.ObjectID;
createdAt: Date; createdAt: Date;
deletedAt: Date; deletedAt?: Date;
followersCount: number; followersCount: number;
followingCount: number; followingCount: number;
name?: string; name?: string;
@ -51,7 +51,6 @@ type IUserBase = {
description: string; description: string;
pinnedNoteId: mongo.ObjectID; pinnedNoteId: mongo.ObjectID;
isSuspended: boolean; isSuspended: boolean;
keywords: string[];
host: string; host: string;
}; };
@ -81,7 +80,7 @@ export interface ILocalUser extends IUserBase {
isPro: boolean; isPro: boolean;
twoFactorSecret: string; twoFactorSecret: string;
twoFactorEnabled: boolean; twoFactorEnabled: boolean;
twoFactorTempSecret: string; twoFactorTempSecret?: string;
clientSettings: any; clientSettings: any;
settings: any; settings: any;
} }