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

Function getFirebaseConfig

src/functionsConfig.ts:115–121  ·  view source on GitHub ↗
(options: any)

Source from the content-addressed store, hash-verified

113}
114
115export async function getFirebaseConfig(options: any): Promise<args.FirebaseConfig> {
116 const projectId = needProjectId(options);
117 const response = await apiClient.get<args.FirebaseConfig>(
118 `/v1beta1/projects/${projectId}/adminSdkConfig`,
119 );
120 return response.body;
121}
122
123// If you make changes to this function, run "node scripts/test-functions-config.js"
124// to ensure that nothing broke.

Callers 1

getFirebaseProjectParamsFunction · 0.90

Calls 1

needProjectIdFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…