forked from dienianindya/gsi_ess_mobile
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
510 B
10 lines
510 B
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.getDefaultDatabaseInstance = void 0;
|
|
const projects_1 = require("./management/projects");
|
|
async function getDefaultDatabaseInstance(options) {
|
|
var _a;
|
|
const projectDetails = await (0, projects_1.getFirebaseProject)(options.project);
|
|
return ((_a = projectDetails.resources) === null || _a === void 0 ? void 0 : _a.realtimeDatabaseInstance) || "";
|
|
}
|
|
exports.getDefaultDatabaseInstance = getDefaultDatabaseInstance;
|