-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rework request :onBefore and :onAfter hook * _ * _ * _ * _ * improvements to spanner * fix implementation for re-attaching nodes back into pharaoh tree * rework pharaoh exports * _
- Loading branch information
Showing
30 changed files
with
319 additions
and
381 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,18 +1,20 @@ | ||
library; | ||
|
||
export 'src/core.dart' hide $PharaohImpl; | ||
export 'src/view/view.dart'; | ||
export 'src/http/cookie.dart'; | ||
export 'src/http/request.dart'; | ||
export 'src/http/response.dart'; | ||
export 'src/http/router.dart'; | ||
|
||
export 'src/shelf_interop/adapter.dart'; | ||
export 'src/shelf_interop/shelf.dart' show ShelfBody; | ||
|
||
export 'src/utils/utils.dart'; | ||
export 'src/utils/exceptions.dart'; | ||
export 'src/router/router_handler.dart'; | ||
|
||
export 'src/middleware/session_mw.dart'; | ||
export 'src/middleware/body_parser.dart'; | ||
export 'src/middleware/cookie_parser.dart'; | ||
export 'src/middleware/request_logger.dart'; | ||
|
||
// shelf | ||
export 'src/shelf_interop/adapter.dart'; | ||
export 'src/shelf_interop/shelf.dart' show ShelfBody; | ||
export 'package:spanner/spanner.dart' show HTTPMethod; |
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,10 +1,5 @@ | ||
export 'src/_next/validation.dart'; | ||
export 'src/_next/router.dart'; | ||
export 'pharaoh.dart'; | ||
export 'src/_next/core.dart'; | ||
export 'src/_next/http.dart'; | ||
export 'src/core.dart'; | ||
|
||
export 'src/http/response.dart'; | ||
export 'src/http/request.dart'; | ||
export 'src/router/router_handler.dart'; | ||
export 'package:spanner/spanner.dart' show HTTPMethod; | ||
export 'src/_next/router.dart'; | ||
export 'src/_next/validation.dart'; |
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 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
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
26 changes: 22 additions & 4 deletions
26
.../pharaoh/lib/src/router/router_mixin.dart → .../lib/src/http/router/router_contract.dart
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
Oops, something went wrong.