stackpress
Version:
Incept is a content management framework.
16 lines (15 loc) • 1.73 kB
TypeScript
export type { ConfigLoaderOptions, PluginLoaderOptions, ActionRouterArgs, ActionRouterMap, ActionRouterAction, ActionRouterListener, EntryRouterTaskItem, ImportRouterAction, ImportRouterTaskItem, ViewRouterTaskItem, ViewRouterEngine, ViewRouterRender, AnyRouterAction, ServerAction, ServerHandler, ServerGateway, ServerOptions, NodeServer, NodeServerOptions, NodeRequest, NodeResponse, NodeOptResponse, IM, SR, HttpResponse, HttpRequest, HttpRouter, HttpServer, HttpServerOptions, HttpAction, WhatwgResponse, WhatwgRequest, WhatwgRouter, WhatwgServer, WhatwgServerOptions, WhatwgAction } from '@stackpress/ingest/types';
export type { ServerConfig } from './types.js';
import type { UnknownNest } from '@stackpress/lib/types';
import type { IM, SR } from '@stackpress/ingest/types';
import type IngestRequest from '@stackpress/ingest/Request';
import type IngestResponse from '@stackpress/ingest/Response';
import type IngestServer from '@stackpress/ingest/Server';
import type IngestRouter from '@stackpress/ingest/Router';
import type IngestRoute from '@stackpress/ingest/Route';
export type Response = IngestResponse<SR>;
export type Request = IngestRequest<IM>;
export type Server<C extends UnknownNest = UnknownNest> = IngestServer<C, IM, SR>;
export type Router = IngestRouter<IM, SR>;
export type Route<C extends UnknownNest = UnknownNest> = IngestRoute<C, IM, SR>;
export { isObject, objectFromQuery, objectFromFormData, objectFromJson, withUnknownHost, formDataToObject, cookie, session, Status, Exception, ConfigLoader, PluginLoader, ActionRouter, EntryRouter, ImportRouter, ViewRouter, ReadSession, WriteSession, Adapter, loader, dispatcher, gateway, handler, server, router, action } from '@stackpress/ingest/http';