X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=server%2Fmodels%2Fuser%2Fuser-interface.ts;h=48c67678ba7c6414c3efa14866e7ae1194f52a46;hb=154898b0b7bc1af41fc5a94974e338a3590c90f3;hp=fd98a042e06e75c66fda005df6b700a0d6022a35;hpb=df98563e2104b82b119c00a3cd83cd0dc1242d25;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/user/user-interface.ts b/server/models/user/user-interface.ts index fd98a042e..48c67678b 100644 --- a/server/models/user/user-interface.ts +++ b/server/models/user/user-interface.ts @@ -58,6 +58,10 @@ export interface UserInstance extends UserClass, UserAttributes, Sequelize.Insta id: number createdAt: Date updatedAt: Date + + isPasswordMatch: UserMethods.IsPasswordMatch + toFormatedJSON: UserMethods.ToFormatedJSON + isAdmin: UserMethods.IsAdmin } export interface UserModel extends UserClass, Sequelize.Model {}