Marketplace móvil para negocios locales mexicanos. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React Web) - apps/mobile (Expo/React Native) - apps/mcp-server (Claude MCP Server) - apps/whatsapp-service (WhatsApp Business API) - database/ (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
641 B
TypeScript
18 lines
641 B
TypeScript
import { Strategy } from 'passport-jwt';
|
|
import { ConfigService } from '@nestjs/config';
|
|
import { Repository } from 'typeorm';
|
|
import { User } from '../entities/user.entity';
|
|
import { TokenPayload } from '../auth.service';
|
|
declare const JwtStrategy_base: new (...args: any[]) => Strategy;
|
|
export declare class JwtStrategy extends JwtStrategy_base {
|
|
private readonly configService;
|
|
private readonly userRepository;
|
|
constructor(configService: ConfigService, userRepository: Repository<User>);
|
|
validate(payload: TokenPayload): Promise<{
|
|
sub: string;
|
|
tenantId: string;
|
|
phone: string;
|
|
}>;
|
|
}
|
|
export {};
|