import { Injectable } from "@nestjs/common" ; import { InjectRepository } from "@nestjs/typeorm" ; import { TypeOrmCrudService } from "@nestjsx/crud-typeorm" ; import { Repository } from "typeorm" ; import { Chamber } from "../entities/chamber.entity" ; @ Injectable ( ) export class ChambersService extends TypeOrmCrudService < Chamber > { constructor ( @ InjectRepository ( Chamber ) repo ) { super ( repo ) ; } }