export interface RegisterServerSettingOptions {
name: string
label: string
- type: 'input' | 'input-checkbox' | 'input-textarea'
+ type: 'input' | 'input-checkbox' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced'
// If the setting is not private, anyone can view its value (client code included)
// If the setting is private, only server-side hooks can access it
private: boolean
// Default setting value
- default?: string
+ default?: string | boolean
}
export interface RegisteredServerSettings {