Skip to content

Commit

Permalink
refactored ticketwork -> work
Browse files Browse the repository at this point in the history
  • Loading branch information
alxford45 committed Nov 29, 2020
1 parent 7c4b76c commit bf89939
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 147 deletions.
4 changes: 2 additions & 2 deletions api/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { join } from 'path';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { TicketModule } from './ticket/ticket.module';
import { TicketWorkModule } from './work/ticketwork.module';
import { WorkModule } from './work/work.module';
import { AssignmentModule } from './assignment/assignment.module.';
import { UserModule } from './user/uer.module';

Expand Down Expand Up @@ -40,7 +40,7 @@ const configImports = (modules: ModuleMetadata['imports']) => {
@Module({
imports: configImports([
TicketModule,
TicketWorkModule,
WorkModule,
AssignmentModule,
UserModule,
]),
Expand Down
18 changes: 0 additions & 18 deletions api/src/work/dto/create-ticketwork.dto.ts

This file was deleted.

7 changes: 0 additions & 7 deletions api/src/work/dto/update-ticketwork.dto.ts

This file was deleted.

7 changes: 0 additions & 7 deletions api/src/work/entities/ticketwork.entity.ts

This file was deleted.

44 changes: 0 additions & 44 deletions api/src/work/ticketwork.controller.ts

This file was deleted.

11 changes: 0 additions & 11 deletions api/src/work/ticketwork.module.ts

This file was deleted.

58 changes: 0 additions & 58 deletions api/src/work/ticketwork.service.ts

This file was deleted.

11 changes: 11 additions & 0 deletions api/src/work/work.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { Module } from '@nestjs/common';
import { WorkService } from './work.service';
import { WorkController } from './work.controller';
import { DbModule } from 'src/db/db.module';

@Module({
imports: [DbModule],
controllers: [WorkController],
providers: [WorkService],
})
export class WorkModule {}

0 comments on commit bf89939

Please sign in to comment.