Refactor code structure for improved readability and maintainability
Test Suite / test (24.15.0) (push) Has been cancelled
Test Suite / test (24.15.0) (push) Has been cancelled
This commit is contained in:
+21
@@ -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;
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user