import { Injectable } from '@nestjs/common' ; import { UserEntity , UserRepository } from '@notifire/dal' ; import { MongooseCrudService } from '../../../shared/crud/mongoose-crud.service' ; @ Injectable ( ) export class UsersService extends MongooseCrudService < UserEntity > { constructor ( private usersRepository ) { super ( usersRepository . _model ) ; } }