firebase-admin-ql
Version:
A powerful library that bridges Firebase Admin SDK with PostgreSQL, simplifies interaction with stored procedures, facilitates seamless third-party API calls using fetch, and provides utility functions to streamline backend operations.
11 lines (10 loc) • 355 B
TypeScript
export declare class APIFetcher {
private _method;
private _secretKey?;
private _baseUrl;
private _body?;
private _otherHeader?;
constructor(method: "GET" | "POST", baseUrl: string, body?: object, apiSecret?: string, otherHeader?: object);
private _fetcher;
apiCall: (endpoint?: string) => Promise<Response | undefined>;
}