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