MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / ensureInitialized

Method ensureInitialized

packages/cloud/src/CloudService.ts:368–372  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

366 }
367
368 private ensureInitialized(): void {
369 if (!this.isInitialized) {
370 throw new Error("CloudService not initialized.")
371 }
372 }
373
374 static get instance(): CloudService {
375 if (!this._instance) {

Callers 15

loginMethod · 0.95
logoutMethod · 0.95
isAuthenticatedMethod · 0.95
hasActiveSessionMethod · 0.95
getUserInfoMethod · 0.95
getOrganizationIdMethod · 0.95
getOrganizationNameMethod · 0.95
getOrganizationRoleMethod · 0.95
getAuthStateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected