UNPKG

1.53 kBTypeScriptView Raw
1/**
2 * The 2nd gen API for Cloud Functions for Firebase.
3 * This SDK supports deep imports. For example, the namespace
4 * `pubsub` is available at `firebase-functions/v2` or is directly importable
5 * from `firebase-functions/v2/pubsub`.
6 * @packageDocumentation
7 */
8import * as logger from "../logger";
9import * as alerts from "./providers/alerts";
10import * as database from "./providers/database";
11import * as eventarc from "./providers/eventarc";
12import * as https from "./providers/https";
13import * as identity from "./providers/identity";
14import * as pubsub from "./providers/pubsub";
15import * as scheduler from "./providers/scheduler";
16import * as storage from "./providers/storage";
17import * as tasks from "./providers/tasks";
18import * as remoteConfig from "./providers/remoteConfig";
19import * as testLab from "./providers/testLab";
20import * as firestore from "./providers/firestore";
21export { alerts, database, storage, https, identity, pubsub, logger, tasks, eventarc, scheduler, remoteConfig, testLab, firestore, };
22export { setGlobalOptions, GlobalOptions, SupportedRegion, MemoryOption, VpcEgressSetting, IngressSetting, EventHandlerOptions, } from "./options";
23export { CloudFunction, CloudEvent, ParamsOf, onInit } from "./core";
24export { Change } from "../common/change";
25import * as params from "../params";
26export { params };
27export { config } from "../v1/config";
28import { setApp as setEmulatedAdminApp } from "../common/app";
29export declare const app: {
30 setEmulatedAdminApp: typeof setEmulatedAdminApp;
31};