This commit is contained in:
2025-08-04 16:18:30 +09:00
parent 3864eaa965
commit 3daefc7b1b
36 changed files with 349 additions and 92 deletions

View File

@@ -40,6 +40,14 @@ let AuthService = class AuthService {
},
};
}
async isNameAvailable(name) {
const user = await this.userService.findByName(name);
return !user;
}
async isEmailAvailabe(email) {
const user = await this.userService.findByEmail(email);
return !user;
}
};
exports.AuthService = AuthService;
exports.AuthService = AuthService = __decorate([