import { Injectable } from '@nestjs/common'; import { AuthRepository } from '../../../database/domain/auth-repository'; import { Username } from '../../domain/entities/username'; @Injectable() export class UsernameRepository extends AuthRepository { protected model = 'username'; }