(key: string)
| 126 | return settings[key as keyof typeof settings] |
| 127 | }, |
| 128 | getPath(key: string) { |
| 129 | return key.split('.') |
| 130 | }, |
| 131 | getOptionsForSetting(key: string) { |
| 132 | const config = settings[key as keyof typeof settings] |
| 133 | return config && 'options' in config ? [...(config.options ?? [])] : undefined |