-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from brunotot/ioc-refactor
IoC major rework
- Loading branch information
Showing
133 changed files
with
2,637 additions
and
2,274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
.eslintrc | ||
docs/ | ||
./packages/backend/src/internal.ts | ||
packages/backend/src/**/index.ts | ||
**/internal.ts | ||
packages/backend/src/**/index.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
table.responses-table | ||
tbody | ||
tr.response:not([data-code="500"]):is([data-code^="4"], [data-code^="5"]) | ||
:is(section.response-controls, div.model-example) { | ||
display: none; | ||
} | ||
|
||
.swagger-ui .highlight-code > .microlight { | ||
min-height: auto !important; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Every local module inside `config` must only import from `config` using relative paths. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export * from "./singleton/Bottle"; | ||
export * from "./singleton/Environment"; | ||
export * from "./singleton/Logger"; | ||
export * from "./singleton/MongoClient"; | ||
export * from "./singleton/InjectableManager"; | ||
export * from "./singleton/ContractManager"; | ||
export * from "./singleton/JwtManager" | ||
|
||
import "./init"; | ||
|
||
process.on("uncaughtException", err => { | ||
console.error("There was an uncaught error", err); | ||
process.exit(1); | ||
}); | ||
|
||
process.on("unhandledRejection", (reason, promise) => { | ||
console.error("Unhandled Rejection at:", promise, "reason:", reason); | ||
process.exit(1); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { extendZodWithOpenApi } from "@anatine/zod-openapi"; | ||
import z from "zod"; | ||
|
||
import { Environment } from "@org/backend/config/singleton/Environment"; | ||
|
||
extendZodWithOpenApi(z); | ||
Environment.getInstance(); |
Oops, something went wrong.