aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/plugins/register-server-setting.model.ts
blob: 78c5abd1bca0dad23f8bb8e54d066fff5a2a788f (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                               





                                                             



                                           
                                                    
 
export interface RegisterServerSettingOptions {
  name: string
  label: string
  type: 'input'

  // If the setting is not private, anyone can view its value
  // Mainly used by the PeerTube client to get admin config
  private: boolean

  // Default setting value
  default?: string
}

export interface RegisteredServerSettings {
  registeredSettings: RegisterServerSettingOptions[]
}