-
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.
* Upgraded lib * Beginning to refactor away non-IO uses of Process API * Trying to integrate Process IO code into express server startup * Finished refactoring express startup to use IO * Refactored more uses of the Process API * Even more process refactoring * More process refactoring * Added TODO * Migrated more logic to new IO-based Process API * More progress on refactoring Process API uses * More process refactoring * Small refactoring * Even more process refactoring * Removed emergency error log * Continuing the process refactor * Even more progress with refactor * Continuing the refactor * Still just continuing the refactor * Continuing refactor * Even more progress * Continuing cleanup * More refactoring * Fixed a bunch of compile errors * More refactoring * Even more progress * Cleaned up TODO * Fixing broken tests * Fixed broken route * Fixed another broken test * Fixed all tests
- Loading branch information
1 parent
ef6eee7
commit bc924e8
Showing
27 changed files
with
341 additions
and
304 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
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
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,9 @@ | ||
import { ReaderT } from '@craigmiller160/ts-functions/types'; | ||
import { IORoute, Route } from './Route'; | ||
import { ExpressDependencies } from './ExpressDependencies'; | ||
|
||
export const ioRouteToReaderRoute = | ||
<T>(fn: IORoute<T>): ReaderT<ExpressDependencies, Route> => | ||
() => | ||
(req, res, next) => | ||
fn(req, res, next)(); |
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 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
Oops, something went wrong.