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