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
+24
View File
@@ -0,0 +1,24 @@
import { JwtService } from '@nestjs/jwt';
import { UsersService } from '../users/users.service';
import { RegisterDto } from './dto/register.dto';
import { LoginDto } from './dto/login.dto';
export declare class AuthService {
private readonly usersService;
private readonly jwtService;
constructor(usersService: UsersService, jwtService: JwtService);
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;
}>;
private issueToken;
}