Files
kottgard-production/src/application/use-cases/auth/Register.ts
T

10 lines
314 B
TypeScript

import { RegisterInput } from '@/domain/services/AuthDomainService';
import { IAuthRepository } from '@/application/ports/IAuthRepository';
export class RegisterUseCase {
constructor(private readonly auth: IAuthRepository) {}
execute(data: RegisterInput): boolean {
return this.auth.register(data);
}
}