File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 23
23
"@domain" : " ./src/domain" ,
24
24
"@core" : " ./src/core" ,
25
25
"@infra" : " ./src/infra" ,
26
- "@application" : " ./src/application"
26
+ "@application" : " ./src/application" ,
27
+ "@presenter" :" ./src/presenter"
27
28
}
28
29
}
29
30
]
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ import 'reflect-metadata';
2
2
import 'express-async-errors' ;
3
3
import '@shared/container' ;
4
4
5
+ import { routes } from '@presenter/routes' ;
5
6
import express from 'express' ;
6
7
import helmet from 'helmet' ;
7
8
import morgan from 'morgan' ;
8
- import { routes } from 'presenter/routes' ;
9
9
10
10
const app = express ( ) ;
11
11
Original file line number Diff line number Diff line change 1
- import { RegisterCustomerController } from 'presenter/controllers/RegisterCustomerController' ;
1
+ import { RegisterCustomerController } from '@ presenter/controllers/RegisterCustomerController' ;
2
2
3
3
const registerCustomerController = new RegisterCustomerController ( ) ;
4
4
Original file line number Diff line number Diff line change 1
1
import { ExpressAdapter } from '@infra/http/adapters/ExpressAdapter' ;
2
+ import { registerCustomerController } from '@presenter/factories/CustomerControllers' ;
2
3
import { Router } from 'express' ;
3
- import { registerCustomerController } from 'presenter/factories/CustomerControllers' ;
4
4
5
5
const customersRouter = Router ( ) ;
6
6
Original file line number Diff line number Diff line change 23
23
"@core/*" : [" core/*" ],
24
24
"@infra/*" : [" infra/*" ],
25
25
"@shared/*" : [" shared/*" ],
26
- "@config/*" : [" config/*" ]
26
+ "@config/*" : [" config/*" ],
27
+ "@presenter/*" :[" presenter/*" ]
27
28
}
28
29
}
29
30
}
You can’t perform that action at this time.
0 commit comments