-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor/improve server code #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or 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
* refactor: remove empty files, move content to utils.ts * feat: add index.ts to server utils folder * refactor: move fn checkExistResource.ts to ErrorHandlerUtil.ts * refactor: change export default to named export * refactor: rename imports from "@utils/[...] to @utils" rename import from @utils to work with new @Util path * chore(tsconfig): rename path @utils/* to @utils
* feat: add index.ts to services folder * refactor: rename types index.d.ts to index.ts * refactor: rename index.d.ts to index.ts * refactor: rename imports @services/[...] to @services * chore(tsconfig): rename @services/* path to @services * feat: add PopulateSelect type * refactor: remove type from export from "./types" * refactor: fix Data types, change populateSelect type fix some Data types reokace oioykateSekect type from PopulateOption.select to PopulateSelect * refactor: remove hard coded populate * refactor: add default value for populateSelect add default value for populateSelect - [] * refactor: rename populateSelect to populate * refactor(populateSelect): change parameter structure
* chore(tsconfig): rename @middlewares/* paths to @middlewares * feat: add index.ts to middlewares folder * refactor: replace export default with named export * refactor: rename import @middlewares/[...] to @middlewares
* refactor: move initRoutes into separate file * refactor: add import named export from ./routes * chore(tsconfig): remove @routes path
* chore(tsconfig): rename @controllers/* path to @controllers * refactor: rename import path from @controllers/[...] to @controllers * feat: add index.ts to controllers folder * feat: add index.ts to controllers/filters folder * refactor: rename import paths from "./filters/[...] to ./filters replace to work with index.ts file
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
mostly refactor of structure
some type fixes
somewhere replace export defaults with named exports
remove unused tsconfig paths
remove unused package _moduleAliases