1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 23:31:48 +09:00
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 = {
_id: mongo.ObjectID;
createdAt: Date;
deletedAt: Date;
deletedAt?: Date;
followersCount: number;
followingCount: number;
name?: string;
@ -51,7 +51,6 @@ type IUserBase = {
description: string;
pinnedNoteId: mongo.ObjectID;
isSuspended: boolean;
keywords: string[];
host: string;
};
@ -81,7 +80,7 @@ export interface ILocalUser extends IUserBase {
isPro: boolean;
twoFactorSecret: string;
twoFactorEnabled: boolean;
twoFactorTempSecret: string;
twoFactorTempSecret?: string;
clientSettings: any;
settings: any;
}