PeerTube/shared/models/plugins/register-client-form-field....

15 lines
397 B
TypeScript

export interface RegisterClientFormFieldOptions {
name: string
label: string
type: 'input' | 'input-checkbox' | 'input-password' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced'
descriptionHTML?: string
// Default setting value
default?: string | boolean
}
export interface RegisterClientVideoFieldOptions {
type: 'import-url' | 'import-torrent' | 'update' | 'upload'
}