simple-queries-react
Version:
Simple Queries React: Streamlined requests, powerful results. Transform your API calls into something simple, fast, and scalable with just a few lines of code.
7 lines (6 loc) • 514 B
TypeScript
import { FetchHeaders, SimpleQueriesConfig } from "../@types";
export declare const initSimpleQueries: (config: Partial<SimpleQueriesConfig>) => void;
export declare const getConfig: () => SimpleQueriesConfig;
export declare const setBearerToken: (token: string | null | undefined, apiName?: string | undefined) => void;
export declare const cleanBearerToken: (apiName?: string | undefined) => void;
export declare const setHeaders: (headers: FetchHeaders | undefined, apiName?: string | undefined) => void;