From fc97ee4c94283867aa07bebff207ace2882e5425 Mon Sep 17 00:00:00 2001 From: Pedro Cattori Date: Thu, 18 Aug 2022 15:29:11 -0400 Subject: [PATCH] feat(@remix-run/deno,@remix-run/cloudflare,@remix-run/node): export `SerializeFrom` type utility also, sync re-exports from `@remix-run/server-runtime` --- packages/remix-cloudflare/index.ts | 7 +++++-- packages/remix-deno/index.ts | 7 +++++-- packages/remix-node/index.ts | 8 +++++--- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/packages/remix-cloudflare/index.ts b/packages/remix-cloudflare/index.ts index 0014967db94..e695c246ffe 100644 --- a/packages/remix-cloudflare/index.ts +++ b/packages/remix-cloudflare/index.ts @@ -32,7 +32,6 @@ export type { CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, - CreateRequestHandlerFunction, DataFunctionArgs, EntryContext, ErrorBoundaryComponent, @@ -53,12 +52,16 @@ export type { RequestHandler, RouteComponent, RouteHandle, + SerializeFrom, ServerBuild, ServerEntryModule, Session, SessionData, SessionIdStorageStrategy, SessionStorage, - UploadHandler, + SignFunction, + TypedResponse, + UnsignFunction, UploadHandlerPart, + UploadHandler, } from "@remix-run/server-runtime"; diff --git a/packages/remix-deno/index.ts b/packages/remix-deno/index.ts index 13ce08afd21..be143a2beb2 100644 --- a/packages/remix-deno/index.ts +++ b/packages/remix-deno/index.ts @@ -35,7 +35,6 @@ export type { CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, - CreateRequestHandlerFunction, DataFunctionArgs, EntryContext, ErrorBoundaryComponent, @@ -56,12 +55,16 @@ export type { RequestHandler, RouteComponent, RouteHandle, + SerializeFrom, ServerBuild, ServerEntryModule, Session, SessionData, SessionIdStorageStrategy, SessionStorage, - UploadHandler, + SignFunction, + TypedResponse, + UnsignFunction, UploadHandlerPart, + UploadHandler, } from "@remix-run/server-runtime"; diff --git a/packages/remix-node/index.ts b/packages/remix-node/index.ts index 03adb7aab93..01098e494cb 100644 --- a/packages/remix-node/index.ts +++ b/packages/remix-node/index.ts @@ -42,7 +42,6 @@ export { isSession, json, JsonFunction, - TypedResponse, MaxPartSizeExceededError, redirect, unstable_composeUploadHandlers, @@ -60,7 +59,6 @@ export type { CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, - CreateRequestHandlerFunction, DataFunctionArgs, EntryContext, ErrorBoundaryComponent, @@ -81,12 +79,16 @@ export type { RequestHandler, RouteComponent, RouteHandle, + SerializeFrom, ServerBuild, ServerEntryModule, Session, SessionData, SessionIdStorageStrategy, SessionStorage, - UploadHandler, + SignFunction, + TypedResponse, + UnsignFunction, UploadHandlerPart, + UploadHandler, } from "@remix-run/server-runtime";