[added] - inversify for inversion of control (IoC) container

This commit is contained in:
Swapnil Bendal
2024-12-18 13:17:41 +05:30
parent ca2831cf23
commit f67cfc4ef7
12 changed files with 100 additions and 11 deletions

View 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
View 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";