openblox
Version:
Roblox API Wrapper For Both Classic And OpenCloud APIs.
23 lines (22 loc) • 799 B
TypeScript
import type { HttpAdapter } from "../http/httpAdapters";
import type { CacheAdapter } from "../cache/cacheAdapters/cacheAdapters";
import type { RobloxCookie } from "../http/http.utils";
export type OpenbloxConfig = {
cookie?: RobloxCookie;
cloudKey?: string;
http?: {
adapter?: HttpAdapter;
csrfMaxAttempts?: number;
polling?: {
disabled?: boolean;
iterations?: number;
multiplyer?: number;
retryOffset?: number;
debugMessages?: boolean;
};
};
cache?: ReturnType<CacheAdapter<any, any>>[];
};
export declare const config: OpenbloxConfig;
export declare const setConfig: (newConfig: OpenbloxConfig) => void;
export declare const updateConfig: (updateConfigWith: OpenbloxConfig) => void;