auth/src/modules/authentication/adapters/secondaries/username.repository.ts

9 lines
295 B
TypeScript

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