MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / createComponentServicesInterface

Function createComponentServicesInterface

chat/ui/appInterface.js:75–86  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

73}
74
75export function createComponentServicesInterface(options = {}) {
76 return {
77 ...options.services,
78 presentation: options.presentation || null,
79 tickets: options.ticketClientImpl || globalThis.ticketClient || null,
80 networkLogger: options.networkLoggerImpl || globalThis.networkLogger || null,
81 networkProxy: options.networkProxyImpl || globalThis.networkProxy || null,
82 inference: options.inferenceServiceImpl || globalThis.inferenceService || null,
83 verifier: options.verifierServiceImpl || globalThis.stationVerifier || null,
84 share: options.shareServiceImpl || globalThis.shareService || null,
85 account: options.accountServiceImpl || globalThis.accountService || null,
86 sync: options.syncServiceImpl || globalThis.syncService || null
87 };
88}
89

Callers 2

createComponentAppFacadeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected