@remix-run/server-runtime
Version:
Server runtime for Remix
130 lines (90 loc) • 6.73 kB
TypeScript
/**
* @remix-run/server-runtime v1.19.3
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
import * as serverRuntime from '@remix-run/server-runtime';
/** @deprecated Import `createSession` from `@remix-run/server-runtime` instead. */
export declare const createSession: typeof serverRuntime.createSession;
/** @deprecated Import `isCookie` from `@remix-run/server-runtime` instead. */
export declare const isCookie: typeof serverRuntime.isCookie;
/** @deprecated Import `isSession` from `@remix-run/server-runtime` instead. */
export declare const isSession: typeof serverRuntime.isSession;
/** @deprecated Import `json` from `@remix-run/server-runtime` instead. */
export declare const json: typeof serverRuntime.json;
/** @deprecated Import `redirect` from `@remix-run/server-runtime` instead. */
export declare const redirect: typeof serverRuntime.redirect;
import * as ServerRuntimeTypes from '@remix-run/server-runtime';
/** @deprecated Import type `ActionArgs` from `@remix-run/server-runtime` instead. */
export declare type ActionArgs = ServerRuntimeTypes.ActionArgs;
/** @deprecated Import type `ActionFunction` from `@remix-run/server-runtime` instead. */
export declare type ActionFunction = ServerRuntimeTypes.ActionFunction;
/** @deprecated Import type `AppData` from `@remix-run/server-runtime` instead. */
export declare type AppData = ServerRuntimeTypes.AppData;
/** @deprecated Import type `AppLoadContext` from `@remix-run/server-runtime` instead. */
export declare type AppLoadContext = ServerRuntimeTypes.AppLoadContext;
/** @deprecated Import type `Cookie` from `@remix-run/server-runtime` instead. */
export declare type Cookie = ServerRuntimeTypes.Cookie;
/** @deprecated Import type `CookieOptions` from `@remix-run/server-runtime` instead. */
export declare type CookieOptions = ServerRuntimeTypes.CookieOptions;
/** @deprecated Import type `CookieParseOptions` from `@remix-run/server-runtime` instead. */
export declare type CookieParseOptions = ServerRuntimeTypes.CookieParseOptions;
/** @deprecated Import type `CookieSerializeOptions` from `@remix-run/server-runtime` instead. */
export declare type CookieSerializeOptions = ServerRuntimeTypes.CookieSerializeOptions;
/** @deprecated Import type `CookieSignatureOptions` from `@remix-run/server-runtime` instead. */
export declare type CookieSignatureOptions = ServerRuntimeTypes.CookieSignatureOptions;
/** @deprecated Import type `EntryContext` from `@remix-run/server-runtime` instead. */
export declare type EntryContext = ServerRuntimeTypes.EntryContext;
/** @deprecated Import type `ErrorBoundaryComponent` from `@remix-run/server-runtime` instead. */
export declare type ErrorBoundaryComponent = ServerRuntimeTypes.ErrorBoundaryComponent;
/** @deprecated Import type `HandleDataRequestFunction` from `@remix-run/server-runtime` instead. */
export declare type HandleDataRequestFunction = ServerRuntimeTypes.HandleDataRequestFunction;
/** @deprecated Import type `HandleDocumentRequestFunction` from `@remix-run/server-runtime` instead. */
export declare type HandleDocumentRequestFunction = ServerRuntimeTypes.HandleDocumentRequestFunction;
/** @deprecated Import type `HeadersArgs` from `@remix-run/server-runtime` instead. */
export declare type HeadersArgs = ServerRuntimeTypes.HeadersArgs;
/** @deprecated Import type `HeadersFunction` from `@remix-run/server-runtime` instead. */
export declare type HeadersFunction = ServerRuntimeTypes.HeadersFunction;
/** @deprecated Import type `HtmlLinkDescriptor` from `@remix-run/server-runtime` instead. */
export declare type HtmlLinkDescriptor = ServerRuntimeTypes.HtmlLinkDescriptor;
/** @deprecated Import type `HtmlMetaDescriptor` from `@remix-run/server-runtime` instead. */
export declare type HtmlMetaDescriptor = ServerRuntimeTypes.HtmlMetaDescriptor;
/** @deprecated Import type `LinkDescriptor` from `@remix-run/server-runtime` instead. */
export declare type LinkDescriptor = ServerRuntimeTypes.LinkDescriptor;
/** @deprecated Import type `LinksFunction` from `@remix-run/server-runtime` instead. */
export declare type LinksFunction = ServerRuntimeTypes.LinksFunction;
/** @deprecated Import type `LoaderArgs` from `@remix-run/server-runtime` instead. */
export declare type LoaderArgs = ServerRuntimeTypes.LoaderArgs;
/** @deprecated Import type `LoaderFunction` from `@remix-run/server-runtime` instead. */
export declare type LoaderFunction = ServerRuntimeTypes.LoaderFunction;
/** @deprecated Import type `MetaDescriptor` from `@remix-run/server-runtime` instead. */
export declare type MetaDescriptor = ServerRuntimeTypes.MetaDescriptor;
/** @deprecated Import type `MetaFunction` from `@remix-run/server-runtime` instead. */
export declare type MetaFunction = ServerRuntimeTypes.MetaFunction;
/** @deprecated Import type `HandleErrorFunction` from `@remix-run/server-runtime` instead. */
export declare type HandleErrorFunction = ServerRuntimeTypes.HandleErrorFunction;
/** @deprecated Import type `PageLinkDescriptor` from `@remix-run/server-runtime` instead. */
export declare type PageLinkDescriptor = ServerRuntimeTypes.PageLinkDescriptor;
/** @deprecated Import type `RequestHandler` from `@remix-run/server-runtime` instead. */
export declare type RequestHandler = ServerRuntimeTypes.RequestHandler;
/** @deprecated Import type `RouteComponent` from `@remix-run/server-runtime` instead. */
export declare type RouteComponent = ServerRuntimeTypes.RouteComponent;
/** @deprecated Import type `RouteHandle` from `@remix-run/server-runtime` instead. */
export declare type RouteHandle = ServerRuntimeTypes.RouteHandle;
/** @deprecated Import type `ServerBuild` from `@remix-run/server-runtime` instead. */
export declare type ServerBuild = ServerRuntimeTypes.ServerBuild;
/** @deprecated Import type `ServerEntryModule` from `@remix-run/server-runtime` instead. */
export declare type ServerEntryModule = ServerRuntimeTypes.ServerEntryModule;
/** @deprecated Import type `Session` from `@remix-run/server-runtime` instead. */
export declare type Session = ServerRuntimeTypes.Session;
/** @deprecated Import type `SessionData` from `@remix-run/server-runtime` instead. */
export declare type SessionData = ServerRuntimeTypes.SessionData;
/** @deprecated Import type `SessionIdStorageStrategy` from `@remix-run/server-runtime` instead. */
export declare type SessionIdStorageStrategy = ServerRuntimeTypes.SessionIdStorageStrategy;
/** @deprecated Import type `SessionStorage` from `@remix-run/server-runtime` instead. */
export declare type SessionStorage = ServerRuntimeTypes.SessionStorage;