import { Injectable } from '@nestjs/common' ; import { InjectRepository } from '@nestjs/typeorm' ; import { TypeOrmCrudService } from '../../../crud-typeorm/src/typeorm-crud.service' ; import { Company } from '../../../../integration/crud-typeorm/companies' ; @ Injectable ( ) export class CompaniesService extends TypeOrmCrudService < Company > { constructor ( @ InjectRepository ( Company ) repo ) { super ( repo ) ; } }