@lunora/server 1.0.0-alpha.179 → 1.0.0-alpha.180
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +0 -2
- package/dist/index.d.ts +0 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1894,7 +1894,6 @@ interface HttpRouteHandlerOptions<SearchParams extends ArgsValidator, Body exten
|
|
|
1894
1894
|
* handler receives. There is no parsed `body` — streams are typically GET, and
|
|
1895
1895
|
* the raw `request` is exposed if a handler needs to read the body itself.
|
|
1896
1896
|
* `signal` is tripped when the client disconnects.
|
|
1897
|
-
* @experimental Part of the HTTP-SSE stream surface; reconnect/POST-body design questions are still open.
|
|
1898
1897
|
*/
|
|
1899
1898
|
interface HttpStreamHandlerOptions<SearchParams extends ArgsValidator, Params extends ArgsValidator> {
|
|
1900
1899
|
ctx: HttpActionCtx;
|
|
@@ -1944,7 +1943,6 @@ interface HttpRouteBuilder<SearchParams extends ArgsValidator, Body extends Args
|
|
|
1944
1943
|
* handler's yielded type — unless `.output()` was declared, in which case each
|
|
1945
1944
|
* chunk must be that type and is parsed through the validator before the frame
|
|
1946
1945
|
* is written (a violation ends the stream with an `event: error` frame).
|
|
1947
|
-
* @experimental Reconnect/POST-body/wire-fidelity design questions are still open, so the shape may change.
|
|
1948
1946
|
*/
|
|
1949
1947
|
stream: [Output] extends [undefined] ? <R>(handler: (options: HttpStreamHandlerOptions<SearchParams, Params>) => AsyncGenerator<R, void, void> | AsyncIterable<R>) => LunoraRouteHandler : (handler: (options: HttpStreamHandlerOptions<SearchParams, Params>) => AsyncGenerator<Output, void, void> | AsyncIterable<Output>) => LunoraRouteHandler;
|
|
1950
1948
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1894,7 +1894,6 @@ interface HttpRouteHandlerOptions<SearchParams extends ArgsValidator, Body exten
|
|
|
1894
1894
|
* handler receives. There is no parsed `body` — streams are typically GET, and
|
|
1895
1895
|
* the raw `request` is exposed if a handler needs to read the body itself.
|
|
1896
1896
|
* `signal` is tripped when the client disconnects.
|
|
1897
|
-
* @experimental Part of the HTTP-SSE stream surface; reconnect/POST-body design questions are still open.
|
|
1898
1897
|
*/
|
|
1899
1898
|
interface HttpStreamHandlerOptions<SearchParams extends ArgsValidator, Params extends ArgsValidator> {
|
|
1900
1899
|
ctx: HttpActionCtx;
|
|
@@ -1944,7 +1943,6 @@ interface HttpRouteBuilder<SearchParams extends ArgsValidator, Body extends Args
|
|
|
1944
1943
|
* handler's yielded type — unless `.output()` was declared, in which case each
|
|
1945
1944
|
* chunk must be that type and is parsed through the validator before the frame
|
|
1946
1945
|
* is written (a violation ends the stream with an `event: error` frame).
|
|
1947
|
-
* @experimental Reconnect/POST-body/wire-fidelity design questions are still open, so the shape may change.
|
|
1948
1946
|
*/
|
|
1949
1947
|
stream: [Output] extends [undefined] ? <R>(handler: (options: HttpStreamHandlerOptions<SearchParams, Params>) => AsyncGenerator<R, void, void> | AsyncIterable<R>) => LunoraRouteHandler : (handler: (options: HttpStreamHandlerOptions<SearchParams, Params>) => AsyncGenerator<Output, void, void> | AsyncIterable<Output>) => LunoraRouteHandler;
|
|
1950
1948
|
/**
|