GSI - Employe Self Service 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

2 months ago
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.getDefaultDatabaseInstance = void 0;
  4. const projects_1 = require("./management/projects");
  5. async function getDefaultDatabaseInstance(options) {
  6. var _a;
  7. const projectDetails = await (0, projects_1.getFirebaseProject)(options.project);
  8. return ((_a = projectDetails.resources) === null || _a === void 0 ? void 0 : _a.realtimeDatabaseInstance) || "";
  9. }
  10. exports.getDefaultDatabaseInstance = getDefaultDatabaseInstance;