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) • 686 B
TypeScript
import { Message } from "../utility";
import { CallableRequest, CallableFunction } from "firebase-functions/v2/https";
export declare const isConfirmedApp: (app: object | undefined, next: Function) => void;
export declare const isAuthorizedUser: (auth: object | undefined, next: Function) => void;
export declare const chainMiddlewares: (middlewares: Function[], request: any, handler: Function) => Promise<Message>;
export declare const callableFunctionWrapper: (callback: (request: CallableRequest<any>) => Promise<Message>, withAuth?: boolean, maxInstances?: number) => CallableFunction<any, Promise<Message | {
status: string;
message: string;
data?: any;
}>, unknown>;