]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/plugins/register-client-form-field.model.ts
Add ability to set a description to dynamic fields
[github/Chocobozzz/PeerTube.git] / shared / models / plugins / register-client-form-field.model.ts
1 export interface RegisterClientFormFieldOptions {
2 name: string
3 label: string
4 type: 'input' | 'input-checkbox' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced'
5
6 descriptionHTML?: string
7
8 // Default setting value
9 default?: string | boolean
10 }
11
12 export interface RegisterClientVideoFieldOptions {
13 type: 'import-url' | 'import-torrent' | 'update' | 'upload'
14 }