1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 17:59:25 +00:00

Added initial class skeletons

This commit is contained in:
2022-01-20 23:29:26 +00:00
parent b14be8095e
commit 9f4d947126
10 changed files with 310 additions and 0 deletions

53
lib/User.js Normal file
View File

@@ -0,0 +1,53 @@
'use strict';
class User {
id;
firstName;
otherNames;
lastName;
email;
#password;
type = null;
constructor(type, userId) {
}
get fullName() {
}
verifyPassword(hash) {
}
changePassword(password) {
}
getPasswordReset() {
}
generatePasswordReset() {
}
login() {
}
static hashPassword(password) {
}
static createUser() {
}
static getUserByEmail() {
}
}
module.exports = User;