MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / registerAdapter

Function registerAdapter

webapp/_webapp/src/views/office/registry.ts:18–20  ·  view source on GitHub ↗
(id: string, adapter: DocumentAdapter)

Source from the content-addressed store, hash-verified

16 * Call this from the host application (Office Add-in) before using the component.
17 */
18export function registerAdapter(id: string, adapter: DocumentAdapter): void {
19 adapterRegistry.set(id, adapter);
20}
21
22/**
23 * Unregister an adapter.

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected