123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.getMachineLearning = exports.Model = exports.MachineLearning = void 0;
- const app_1 = require("../app");
- const machine_learning_1 = require("./machine-learning");
- var machine_learning_2 = require("./machine-learning");
- Object.defineProperty(exports, "MachineLearning", { enumerable: true, get: function () { return machine_learning_2.MachineLearning; } });
- Object.defineProperty(exports, "Model", { enumerable: true, get: function () { return machine_learning_2.Model; } });
- function getMachineLearning(app) {
- if (typeof app === 'undefined') {
- app = (0, app_1.getApp)();
- }
- const firebaseApp = app;
- return firebaseApp.getOrInitService('machineLearning', (app) => new machine_learning_1.MachineLearning(app));
- }
- exports.getMachineLearning = getMachineLearning;
|