blob: 6bc25b4aee3a661c65ff46781262700b135162b8 (
plain) (
tree)
|
|
import { RegisterClientFormFieldOptions } from './register-client-form-field.model'
export type RegisterServerSettingOptions = RegisterClientFormFieldOptions & {
// 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
// Mainly used by the PeerTube client to get admin config
private: boolean
}
export interface RegisteredServerSettings {
registeredSettings: RegisterServerSettingOptions[]
}
|