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

Function registerCoreSettings

packages/player/src/stores/settingsStore.ts:83–87  ·  view source on GitHub ↗
(
  definitions: SettingDefinition[],
)

Source from the content-addressed store, hash-verified

81};
82
83export const registerCoreSettings = (
84 definitions: SettingDefinition[],
85): string[] => {
86 return useSettingsStore.getState().register(definitions, { type: 'core' });
87};
88
89export const getSetting = (fullyQualifiedId: string): SettingValue =>
90 useSettingsStore.getState().getValue(fullyQualifiedId);

Callers 2

Calls 2

getStateMethod · 0.80
registerMethod · 0.45

Tested by

no test coverage detected