Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/openai/internal/qs/types.ts>StringifyBaseOptions

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Latest
type alias StringifyBaseOptions
import { type StringifyBaseOptions } from "https://deno.land/x/openai@v4.64.0/internal/qs/types.ts";
definition: { delimiter?: string; allowDots?: boolean; encodeDotInKeys?: boolean; strictNullHandling?: boolean; skipNulls?: boolean; encode?: boolean; encoder?: (
str: any,
defaultEncoder: DefaultEncoder,
charset: string,
type: "key" | "value",
format?: Format,
) => string; filter?: Array<PropertyKey> | ((prefix: PropertyKey, value: any) => any); arrayFormat?:
| "indices"
| "brackets"
| "repeat"
| "comma"
; indices?: boolean; sort?: ((a: PropertyKey, b: PropertyKey) => number) | null; serializeDate?: (d: Date) => string; format?: "RFC1738" | "RFC3986"; formatter?: (str: PropertyKey) => string; encodeValuesOnly?: boolean; addQueryPrefix?: boolean; charset?: "utf-8" | "iso-8859-1"; charsetSentinel?: boolean; allowEmptyArrays?: boolean; commaRoundTrip?: boolean; }