- Complete KidsAI Explorer application - Multi-language support (English/German) - AI-powered educational guidance using OpenAI - Interactive chat interface for children - Proper placeholder translation fixes - Mobile-responsive design - Educational framework for critical thinking
36 lines
1.2 KiB
TypeScript
36 lines
1.2 KiB
TypeScript
import { NullableHeaders } from "./headers.mjs";
|
|
import type { BodyInit } from "./builtin-types.mjs";
|
|
import { Stream } from "../core/streaming.mjs";
|
|
import type { HTTPMethod, MergedRequestInit } from "./types.mjs";
|
|
import { type HeadersLike } from "./headers.mjs";
|
|
export type FinalRequestOptions = RequestOptions & {
|
|
method: HTTPMethod;
|
|
path: string;
|
|
};
|
|
export type RequestOptions = {
|
|
method?: HTTPMethod;
|
|
path?: string;
|
|
query?: object | undefined | null;
|
|
body?: unknown;
|
|
headers?: HeadersLike;
|
|
maxRetries?: number;
|
|
stream?: boolean | undefined;
|
|
timeout?: number;
|
|
fetchOptions?: MergedRequestInit;
|
|
signal?: AbortSignal | undefined | null;
|
|
idempotencyKey?: string;
|
|
defaultBaseURL?: string | undefined;
|
|
__metadata?: Record<string, unknown>;
|
|
__binaryResponse?: boolean | undefined;
|
|
__streamClass?: typeof Stream;
|
|
};
|
|
export type EncodedContent = {
|
|
bodyHeaders: HeadersLike;
|
|
body: BodyInit;
|
|
};
|
|
export type RequestEncoder = (request: {
|
|
headers: NullableHeaders;
|
|
body: unknown;
|
|
}) => EncodedContent;
|
|
export declare const FallbackEncoder: RequestEncoder;
|
|
//# sourceMappingURL=request-options.d.mts.map
|