MCPcopy Create free account
hub / github.com/firebase/firebase-tools / getProjectId

Function getProjectId

src/projectUtils.ts:15–23  ·  view source on GitHub ↗
({
  projectId,
  project,
}: {
  projectId?: string;
  project?: string;
})

Source from the content-addressed store, hash-verified

13 * @returns The projectId
14 */
15export function getProjectId({
16 projectId,
17 project,
18}: {
19 projectId?: string;
20 project?: string;
21}): string | undefined {
22 return projectId || project;
23}
24
25/**
26 * Tries to determine the correct projectId given current

Callers 15

requirePermissionsFunction · 0.90
ensureVertexApiEnabledFunction · 0.90
ext-install.tsFile · 0.90
ext-configure.tsFile · 0.90
ext-update.tsFile · 0.90
serveFunction · 0.90
startFunction · 0.90
getProjectIdMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…