feat(modules): basic setup for controllers, services and modules of the customer-support module

This commit is contained in:
Matthieu Haineault 2026-02-10 08:35:50 -05:00
parent ee6337758e
commit 3f248a212d
27 changed files with 185 additions and 0 deletions

View File

@ -0,0 +1,6 @@
import { Controller } from "@nestjs/common";
@Controller()
export class CustomerController {
}

View File

@ -0,0 +1,8 @@
import { Module } from "@nestjs/common";
import { CustomerController } from "src/customer-support/customers/customer.controller";
import { CustomerService } from "src/customer-support/customers/customer.service";
@Module({
imports: [CustomerService],
providers: [CustomerController],
}) export class CustomerModule { }

View File

@ -0,0 +1,6 @@
import { Injectable } from "@nestjs/common";
@Injectable()
export class CustomerService {
}

View File

@ -0,0 +1,6 @@
import { Controller } from "@nestjs/common";
@Controller()
export class DeliveryController {
}

View File

@ -0,0 +1,8 @@
import { Module } from "@nestjs/common";
import { DeliveryController } from "src/customer-support/deliveries/delivery.controller";
import { DeliveryService } from "src/customer-support/deliveries/delivery.service";
@Module({
imports: [DeliveryService],
providers: [DeliveryController],
}) export class DeliveryModule { }

View File

@ -0,0 +1,6 @@
import { Injectable } from "@nestjs/common";
@Injectable()
export class DeliveryService {
}

View File

@ -0,0 +1,6 @@
import { Controller } from "@nestjs/common";
@Controller()
export class DeviceController {
}

View File

@ -0,0 +1,8 @@
import { Module } from "@nestjs/common";
import { DeviceController } from "src/customer-support/devices/device.controller";
import { DeviceService } from "src/customer-support/devices/device.service";
@Module({
imports: [DeviceService],
providers: [DeviceController]
}) export class DeviceModule { }

View File

@ -0,0 +1,6 @@
import { Injectable } from "@nestjs/common";
@Injectable()
export class DeviceService {
}

View File

@ -0,0 +1,6 @@
import { Controller } from "@nestjs/common";
@Controller()
export class FibreController {
}

View File

@ -0,0 +1,8 @@
import { Module } from "@nestjs/common";
import { FibreController } from "src/customer-support/fibre/fibre.controller";
import { FibreService } from "src/customer-support/fibre/fibre.service";
@Module({
imports: [FibreService],
providers: [FibreController],
}) export class FibreModule { }

View File

@ -0,0 +1,6 @@
import { Injectable } from "@nestjs/common";
@Injectable()
export class FibreService {
}

View File

@ -0,0 +1,6 @@
import { Controller } from "@nestjs/common";
@Controller()
export class PhoneController {
}

View File

@ -0,0 +1,8 @@
import { Module } from "@nestjs/common";
import { PhoneController } from "src/customer-support/phones/phone.controller";
import { PhoneService } from "src/customer-support/phones/phone.service";
@Module({
imports: [PhoneService],
providers: [PhoneController],
}) export class PhoneModule { }

View File

@ -0,0 +1,6 @@
import { Injectable } from "@nestjs/common";
@Injectable()
export class PhoneService {
}

View File

@ -0,0 +1,6 @@
import { Controller } from "@nestjs/common";
@Controller()
export class ProductController {
}

View File

@ -0,0 +1,8 @@
import { Module } from "@nestjs/common";
import { ProductController } from "src/customer-support/product/product.controller";
import { ProductService } from "src/customer-support/product/product.service";
@Module({
imports: [ProductService],
providers: [ProductController],
}) export class ProductModule { }

View File

@ -0,0 +1,6 @@
import { Injectable } from "@nestjs/common";
@Injectable()
export class ProductService {
}

View File

@ -0,0 +1,6 @@
import { Controller } from "@nestjs/common";
@Controller()
export class ServiceController{
}

View File

@ -0,0 +1,8 @@
import { Module } from "@nestjs/common";
import { ServiceController } from "src/customer-support/services/services.controller";
import { ServiceService } from "src/customer-support/services/services.service";
@Module({
imports: [ServiceService],
providers: [ServiceController],
}) export class ServiceModule { }

View File

@ -0,0 +1,6 @@
import { Injectable } from "@nestjs/common";
@Injectable()
export class ServiceService {
}

View File

@ -0,0 +1,8 @@
import { Controller } from "@nestjs/common";
@Controller()
export class TelevisionController {
}

View File

@ -0,0 +1,8 @@
import { Module } from "@nestjs/common";
import { TelevisionController } from "src/customer-support/television/television.controller";
import { TelevisionService } from "src/customer-support/television/television.service";
@Module({
imports: [TelevisionService],
providers: [TelevisionController],
}) export class TelevisionModule { }

View File

@ -0,0 +1,7 @@
import { Injectable } from "@nestjs/common";
@Injectable()
export class TelevisionService {
}

View File

@ -0,0 +1,7 @@
import { Controller } from "@nestjs/common";
@Controller()
export class TicketController {
}

View File

@ -0,0 +1,9 @@
import { Module } from "@nestjs/common";
import { TicketController } from "src/customer-support/tickets/ticket.controller";
import { TicketService } from "src/customer-support/tickets/ticket.service";
@Module({
imports: [TicketService],
providers: [TicketController]
})
export class TicketModule { }

View File

@ -0,0 +1,6 @@
import { Injectable } from "@nestjs/common";
@Injectable()
export class TicketService {
}