comic-vine-sdk
Version:
A JS/TS client for the Comic Vine API
21 lines (20 loc) • 713 B
TypeScript
import { z } from 'zod';
declare const options: z.ZodObject<{
/**
* The base url for the Comic Vine API.
* This could be used to set a proxy when using the library in a browser.
* It also ensures that if the comic vine url was to change it wouldn't be a breaking change to the library.
* @default https://comicvine.gamespot.com/api/
*/
baseUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
baseUrl: string;
}, {
baseUrl?: string | undefined;
}>;
export type userOptions = z.input<typeof options>;
export type Options = z.output<typeof options>;
export declare const loadOptions: (userOptions?: userOptions) => {
baseUrl: string;
};
export {};