feat(modules): basic setup for controllers, services and modules of the customer-support module
This commit is contained in:
parent
ee6337758e
commit
3f248a212d
|
|
@ -0,0 +1,6 @@
|
|||
import { Controller } from "@nestjs/common";
|
||||
|
||||
@Controller()
|
||||
export class CustomerController {
|
||||
|
||||
}
|
||||
|
|
@ -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 { }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Injectable } from "@nestjs/common";
|
||||
|
||||
@Injectable()
|
||||
export class CustomerService {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Controller } from "@nestjs/common";
|
||||
|
||||
@Controller()
|
||||
export class DeliveryController {
|
||||
|
||||
}
|
||||
|
|
@ -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 { }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Injectable } from "@nestjs/common";
|
||||
|
||||
@Injectable()
|
||||
export class DeliveryService {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Controller } from "@nestjs/common";
|
||||
|
||||
@Controller()
|
||||
export class DeviceController {
|
||||
|
||||
}
|
||||
|
|
@ -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 { }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Injectable } from "@nestjs/common";
|
||||
|
||||
@Injectable()
|
||||
export class DeviceService {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Controller } from "@nestjs/common";
|
||||
|
||||
@Controller()
|
||||
export class FibreController {
|
||||
|
||||
}
|
||||
|
|
@ -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 { }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Injectable } from "@nestjs/common";
|
||||
|
||||
@Injectable()
|
||||
export class FibreService {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Controller } from "@nestjs/common";
|
||||
|
||||
@Controller()
|
||||
export class PhoneController {
|
||||
|
||||
}
|
||||
|
|
@ -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 { }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Injectable } from "@nestjs/common";
|
||||
|
||||
@Injectable()
|
||||
export class PhoneService {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Controller } from "@nestjs/common";
|
||||
|
||||
@Controller()
|
||||
export class ProductController {
|
||||
|
||||
}
|
||||
|
|
@ -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 { }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Injectable } from "@nestjs/common";
|
||||
|
||||
@Injectable()
|
||||
export class ProductService {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Controller } from "@nestjs/common";
|
||||
|
||||
@Controller()
|
||||
export class ServiceController{
|
||||
|
||||
}
|
||||
|
|
@ -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 { }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Injectable } from "@nestjs/common";
|
||||
|
||||
@Injectable()
|
||||
export class ServiceService {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
import { Controller } from "@nestjs/common";
|
||||
|
||||
@Controller()
|
||||
export class TelevisionController {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -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 { }
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
import { Injectable } from "@nestjs/common";
|
||||
|
||||
@Injectable()
|
||||
export class TelevisionService {
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
import { Controller } from "@nestjs/common";
|
||||
|
||||
|
||||
@Controller()
|
||||
export class TicketController {
|
||||
|
||||
}
|
||||
|
|
@ -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 { }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { Injectable } from "@nestjs/common";
|
||||
|
||||
@Injectable()
|
||||
export class TicketService {
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user