forked from swapnil.bendal/TypeScript-Backend-Template
[added] - inversify for inversion of control (IoC) container
This commit is contained in:
7
src/utils/constant/appConstant.ts
Normal file
7
src/utils/constant/appConstant.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export const INTERFACE_TYPE = {
|
||||
ProductRepository: Symbol.for("ProductRepository"),
|
||||
ProductInteractor: Symbol.for("ProductInteractor"),
|
||||
ProductController: Symbol.for("ProductController"),
|
||||
Mailer: Symbol.for("Mailer"),
|
||||
MessageBroker: Symbol.for("MessageBroker"),
|
||||
}
|
||||
5
src/utils/index.ts
Normal file
5
src/utils/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export * from "./handler/async.handler";
|
||||
export * from "./handler/pick.handler";
|
||||
export * from "./helper/ApiError";
|
||||
export * from "./helper/ApiResponse"
|
||||
export * from "./constant/appConstant";
|
||||
Reference in New Issue
Block a user