File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
src/interface-adapters/controllers/todos Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -78,15 +78,15 @@ export function registerTodosModule(container: Container) {
78
78
. bind ( DI_SYMBOLS . IGetTodosForUserController )
79
79
. toHigherOrderFunction ( getTodosForUserController , [
80
80
DI_SYMBOLS . IInstrumentationService ,
81
- DI_SYMBOLS . IGetTodosForUserUseCase ,
82
81
DI_SYMBOLS . IAuthenticationService ,
82
+ DI_SYMBOLS . IGetTodosForUserUseCase ,
83
83
] ) ;
84
84
85
85
container
86
86
. bind ( DI_SYMBOLS . IToggleTodoController )
87
87
. toHigherOrderFunction ( toggleTodoController , [
88
88
DI_SYMBOLS . IInstrumentationService ,
89
- DI_SYMBOLS . IToggleTodoUseCase ,
90
89
DI_SYMBOLS . IAuthenticationService ,
90
+ DI_SYMBOLS . IToggleTodoUseCase ,
91
91
] ) ;
92
92
}
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ export const createTodoController =
33
33
(
34
34
instrumentationService : IInstrumentationService ,
35
35
authenticationService : IAuthenticationService ,
36
- createTodoUseCase : ICreateTodoUseCase ,
37
- transactionManagerService : ITransactionManagerService
36
+ transactionManagerService : ITransactionManagerService ,
37
+ createTodoUseCase : ICreateTodoUseCase
38
38
) =>
39
39
async (
40
40
input : Partial < z . infer < typeof inputSchema > > ,
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ export type IGetTodosForUserController = ReturnType<
27
27
export const getTodosForUserController =
28
28
(
29
29
instrumentationService : IInstrumentationService ,
30
- getTodosForUserUseCase : IGetTodosForUserUseCase ,
31
- authenticationService : IAuthenticationService
30
+ authenticationService : IAuthenticationService ,
31
+ getTodosForUserUseCase : IGetTodosForUserUseCase
32
32
) =>
33
33
async (
34
34
sessionId : string | undefined
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ export type IToggleTodoController = ReturnType<typeof toggleTodoController>;
29
29
export const toggleTodoController =
30
30
(
31
31
instrumentationService : IInstrumentationService ,
32
- toggleTodoUseCase : IToggleTodoUseCase ,
33
- authenticationService : IAuthenticationService
32
+ authenticationService : IAuthenticationService ,
33
+ toggleTodoUseCase : IToggleTodoUseCase
34
34
) =>
35
35
async (
36
36
input : Partial < z . infer < typeof inputSchema > > ,
You can’t perform that action at this time.
0 commit comments