rag-context-optimizer / frontend /node_modules /next /dist /server /api-utils /node /api-resolver.d.ts
Download frontend/node_modules/next/dist/server/api-utils/node/api-resolver.d.ts from netzkontrast/rag-context-optimizer: direct link, hf CLI and curl.
- Browser
- Download file 763 Bytes
-
https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/server/api-utils/node/api-resolver.d.ts
- Command line
-
hf download hf://spaces/netzkontrast/rag-context-optimizer/frontend/node_modules/next/dist/server/api-utils/node/api-resolver.d.ts
-
curl -L -o api-resolver.d.ts https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/server/api-utils/node/api-resolver.d.ts
763 Bytes
| import type { IncomingMessage, ServerResponse } from 'http'; | |
| import type { __ApiPreviewProps } from '../.'; | |
| import type { RevalidateFn } from '../../lib/router-utils/router-server-context'; | |
| import type { InstrumentationOnRequestError } from '../../instrumentation/types'; | |
| type ApiContext = __ApiPreviewProps & { | |
| trustHostHeader?: boolean; | |
| allowedRevalidateHeaderKeys?: string[]; | |
| hostname?: string; | |
| multiZoneDraftMode?: boolean; | |
| dev: boolean; | |
| internalRevalidate?: RevalidateFn; | |
| }; | |
| export declare function apiResolver(req: IncomingMessage, res: ServerResponse, query: any, resolverModule: any, apiContext: ApiContext, propagateError: boolean, dev?: boolean, page?: string, onError?: InstrumentationOnRequestError): Promise<void>; | |
| export {}; | |