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

Method getGlobal

packages/plugin-sdk/src/api/settings.ts:44–46  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

42 }
43
44 getGlobal<T extends SettingValue = SettingValue>(id: string) {
45 return this.#withHost((h) => h.getGlobal<T>(id));
46 }
47
48 setGlobal<T extends SettingValue = SettingValue>(id: string, value: T) {
49 return this.#withHost((h) => h.setGlobal<T>(id, value));

Callers 1

settings.test.tsFile · 0.45

Calls 1

#withHostMethod · 0.95

Tested by

no test coverage detected