koatty_core
Advanced tools
Comparing version 1.9.0-0 to 1.9.0-2
@@ -5,2 +5,16 @@ # Changelog | ||
## [1.9.0-2](https://github.com/koatty/koatty_core/compare/v1.9.0-1...v1.9.0-2) (2024-01-15) | ||
### Bug Fixes | ||
* IHttpImplementation ([106e83c](https://github.com/koatty/koatty_core/commit/106e83c98ba0a2cecec74a020ec1562d2cf51de9)) | ||
## [1.9.0-1](https://github.com/koatty/koatty_core/compare/v1.9.0-0...v1.9.0-1) (2024-01-15) | ||
### Bug Fixes | ||
* HttpImplementation ([39af80c](https://github.com/koatty/koatty_core/commit/39af80c2fcd8f122e05c20210b37818ec32a043e)) | ||
## [1.9.0-0](https://github.com/koatty/koatty_core/compare/v1.8.6...v1.9.0-0) (2024-01-15) | ||
@@ -7,0 +21,0 @@ |
/*! | ||
* @Author: richen | ||
* @Date: 2024-01-15 21:13:23 | ||
* @Date: 2024-01-15 21:28:19 | ||
* @License: BSD (3-Clause) | ||
@@ -57,11 +57,3 @@ * @Copyright (c) - <richenlin(at)gmail.com> | ||
/** | ||
* Implementation | ||
* | ||
* @export | ||
* @interface Implementation | ||
*/ | ||
export declare interface Implementation { | ||
[methodName: string]: UntypedHandleCall; | ||
} | ||
export declare type IHttpImplementation = (ctx: KoattyContext, next: KoattyNext) => Promise<any>; | ||
@@ -82,2 +74,12 @@ /** | ||
/** | ||
* gRPC Implementation | ||
* | ||
* @export | ||
* @interface IRpcImplementation | ||
*/ | ||
export declare interface IRpcImplementation { | ||
[methodName: string]: UntypedHandleCall; | ||
} | ||
export declare type IRpcServerCall<RequestType, ResponseType> = IRpcServerUnaryCall<RequestType, ResponseType> | IRpcServerReadableStream<RequestType, ResponseType> | IRpcServerWriteableStream<RequestType, ResponseType> | IRpcServerDuplexStream<RequestType, ResponseType>; | ||
@@ -429,3 +431,3 @@ | ||
service?: ServiceDefinition; | ||
implementation?: Function | Implementation; | ||
implementation?: Function | IRpcImplementation | IHttpImplementation; | ||
} | ||
@@ -432,0 +434,0 @@ |
/*! | ||
* @Author: richen | ||
* @Date: 2024-01-15 21:13:12 | ||
* @Date: 2024-01-15 21:28:07 | ||
* @License: BSD (3-Clause) | ||
@@ -5,0 +5,0 @@ * @Copyright (c) - <richenlin(at)gmail.com> |
{ | ||
"name": "koatty_core", | ||
"version": "1.9.0-0", | ||
"version": "1.9.0-2", | ||
"description": "Koatty framework core", | ||
@@ -5,0 +5,0 @@ "scripts": { |
{ | ||
"name": "koatty_core", | ||
"version": "1.9.0-0", | ||
"version": "1.9.0-2", | ||
"description": "Koatty framework core", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64816
1692