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

Function loadAll

src/dataconnect/load.ts:76–79  ·  view source on GitHub ↗
(projectId: string, config: Config)

Source from the content-addressed store, hash-verified

74 * Loads all SQL Connect service configurations from the firebase.json file.
75 */
76export async function loadAll(projectId: string, config: Config): Promise<ServiceInfo[]> {
77 const serviceCfgs = readFirebaseJson(config);
78 return await Promise.all(serviceCfgs.map((c) => load(projectId, config, c.source)));
79}
80
81/**
82 * loads schemas and connectors from {sourceDirectory}/dataconnect.yaml

Callers 6

prepare.tsFile · 0.90
askQuestionsFunction · 0.90
chooseExistingConnectorFunction · 0.90
list_services.tsFile · 0.90
schema.tsFile · 0.90
pickServicesFunction · 0.70

Calls 3

readFirebaseJsonFunction · 0.85
allMethod · 0.80
loadFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…