Only warning now... Green pipeline?
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-05-02 11:45:41 -04:00
parent 4176b0be51
commit 92d43edd7a
9 changed files with 381 additions and 33 deletions

View File

@@ -26,7 +26,7 @@ export interface AuthMethods {
setPassword(password: string): Promise<boolean>;
}
export interface AuthModel extends Model<AuthPrivate, {}, AuthMethods> {
export interface AuthModel extends Model<AuthPrivate, void, AuthMethods> {
authenticate(password: any): boolean;
findByUsername(username: string): Promise<AuthModel & AuthPrivate>;
isUsernameAvailable(username: string): Promise<boolean>;