MCPcopy
hub / github.com/nukeop/nuclear / getRegistryEntry

Function getRegistryEntry

packages/player/src/services/plugins/pluginRegistry.ts:36–44  ·  view source on GitHub ↗
(
  id: string,
)

Source from the content-addressed store, hash-verified

34};
35
36export const getRegistryEntry = async (
37 id: string,
38): Promise<PluginRegistryEntry | undefined> => {
39 const value = await store.get<PluginRegistryEntry | undefined>(keyFor(id));
40 if (value) {
41 return value;
42 }
43 return undefined;
44};
45
46export const upsertRegistryEntry = async (
47 entry: PluginRegistryEntry,

Callers 6

pluginStore.tsxFile · 0.90
setRegistryEntryEnabledFunction · 0.85
setRegistryEntryWarningsFunction · 0.85

Calls 1

keyForFunction · 0.85

Tested by

no test coverage detected