1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 18:29:27 +02:00

Add ability to set custom field to video form

This commit is contained in:
Chocobozzz 2020-08-20 16:18:16 +02:00 committed by Chocobozzz
parent f95628636b
commit 7294aab0c8
30 changed files with 249 additions and 76 deletions

View file

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