MCPcopy
hub / github.com/AutoMaker-Org/automaker / getHttpApiClient

Function getHttpApiClient

apps/ui/src/lib/http-api-client.ts:3210–3215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3208let httpApiClientInstance: HttpApiClient | null = null;
3209
3210export function getHttpApiClient(): HttpApiClient {
3211 if (!httpApiClientInstance) {
3212 httpApiClientInstance = new HttpApiClient();
3213 }
3214 return httpApiClientInstance;
3215}
3216
3217// Start API key initialization immediately when this module is imported
3218// This ensures the init promise is created early, even before React components mount

Callers 15

NotificationBellFunction · 0.90
handleCustomIconUploadFunction · 0.90
generateDescriptionFunction · 0.90
loadPipelineConfigFunction · 0.90
BoardViewFunction · 0.90
OverviewViewFunction · 0.90
WelcomeViewFunction · 0.90
handleCreateFromTemplateFunction · 0.90
NotificationsViewFunction · 0.90
DashboardViewFunction · 0.90
handleCreateFromTemplateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected