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.
 
 
 
 
 

22 lines
749 B

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isFirebaseManaged = exports.labels = exports.value = exports.BASE = void 0;
exports.BASE = "cli-firebase";
function value() {
if (!process.env.FIREBASE_DEPLOY_AGENT) {
return exports.BASE;
}
return [exports.BASE, process.env.FIREBASE_DEPLOY_AGENT].join("--");
}
exports.value = value;
function labels() {
return {
"deployment-tool": value(),
};
}
exports.labels = labels;
function isFirebaseManaged(labels) {
var _a;
return (_a = labels === null || labels === void 0 ? void 0 : labels["deployment-tool"]) === null || _a === void 0 ? void 0 : _a.startsWith(exports.BASE);
}
exports.isFirebaseManaged = isFirebaseManaged;