template-saas/apps/backend/dist/modules/users/users.service.d.ts
rckrdmrd 26f0e52ca7 feat: Initial commit - template-saas
Template base para proyectos SaaS multi-tenant.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React/Vite)
- apps/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>
2026-01-07 04:41:24 -06:00

16 lines
577 B
TypeScript

import { Repository } from 'typeorm';
import { User } from '../auth/entities/user.entity';
export declare class UsersService {
private readonly userRepository;
constructor(userRepository: Repository<User>);
findAllByTenant(tenantId: string, page: number, limit: number): Promise<{
data: Partial<User>[];
total: number;
page: number;
limit: number;
}>;
findOne(id: string, tenantId: string): Promise<Partial<User>>;
update(id: string, updateDto: any, tenantId: string): Promise<Partial<User>>;
private sanitizeUser;
}