Refactor code structure for improved readability and maintainability
Test Suite / test (24.15.0) (push) Has been cancelled

This commit is contained in:
Nils-Johan Gynther
2026-05-06 07:37:59 +02:00
parent e4f201ea36
commit 969dafdbc6
273 changed files with 11357 additions and 39 deletions
+21
View File
@@ -0,0 +1,21 @@
import { AuthService } from './auth.service';
import { RegisterDto } from './dto/register.dto';
import { LoginDto } from './dto/login.dto';
export declare class AuthController {
private readonly authService;
constructor(authService: AuthService);
register(dto: RegisterDto): Promise<{
accessToken: string;
userId: number;
username: string;
role: string;
isPremium: boolean;
}>;
login(dto: LoginDto): Promise<{
accessToken: string;
userId: number;
username: string;
role: string;
isPremium: boolean;
}>;
}