- Add goals feature (models, migrations, API, web pages) - Add reserved/centralized wallet balance service - Add wallet detail page and overview components - Add new UI components (progress, multi-select, FAB) - Remove stray empty -H/-d files from working tree
21 lines
602 B
TypeScript
Executable File
21 lines
602 B
TypeScript
Executable File
import { Strategy } from 'passport-jwt';
|
|
export interface JwtPayload {
|
|
sub: string;
|
|
email: string;
|
|
role?: string;
|
|
iat?: number;
|
|
exp?: number;
|
|
}
|
|
declare const JwtStrategy_base: new (...args: [opt: import("passport-jwt").StrategyOptionsWithRequest] | [opt: import("passport-jwt").StrategyOptionsWithoutRequest]) => Strategy & {
|
|
validate(...args: any[]): unknown;
|
|
};
|
|
export declare class JwtStrategy extends JwtStrategy_base {
|
|
constructor();
|
|
validate(payload: JwtPayload): Promise<{
|
|
userId: string;
|
|
email: string;
|
|
role: string;
|
|
}>;
|
|
}
|
|
export {};
|