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 { Strategy } from 'passport-jwt';
declare const JwtStrategy_base: new (...args: any[]) => Strategy;
export declare class JwtStrategy extends JwtStrategy_base {
private readonly logger;
constructor();
validate(payload: {
sub?: number;
id?: number;
userId?: number;
username?: string;
role?: string;
isPremium?: boolean;
}): Promise<{
id: number | undefined;
userId: number | undefined;
username: string | undefined;
role: string;
isPremium: boolean;
}>;
}
export {};