12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.getFunctions = exports.TaskQueue = exports.Functions = void 0;
- const app_1 = require("../app");
- const functions_1 = require("./functions");
- var functions_2 = require("./functions");
- Object.defineProperty(exports, "Functions", { enumerable: true, get: function () { return functions_2.Functions; } });
- Object.defineProperty(exports, "TaskQueue", { enumerable: true, get: function () { return functions_2.TaskQueue; } });
- function getFunctions(app) {
- if (typeof app === 'undefined') {
- app = (0, app_1.getApp)();
- }
- const firebaseApp = app;
- return firebaseApp.getOrInitService('functions', (app) => new functions_1.Functions(app));
- }
- exports.getFunctions = getFunctions;
|