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

Method set

packages/plugin-sdk/src/api/settings.ts:40–42  ·  view source on GitHub ↗
(id: string, value: T)

Source from the content-addressed store, hash-verified

38 }
39
40 set<T extends SettingValue = SettingValue>(id: string, value: T) {
41 return this.#withHost((h) => h.set<T>(id, value));
42 }
43
44 getGlobal<T extends SettingValue = SettingValue>(id: string) {
45 return this.#withHost((h) => h.getGlobal<T>(id));

Callers 3

settings.test.tsFile · 0.45
createFramerMotionMockFunction · 0.45

Calls 1

#withHostMethod · 0.95

Tested by

no test coverage detected