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:
parent
f95628636b
commit
7294aab0c8
30 changed files with 249 additions and 76 deletions
12
shared/models/plugins/register-client-form-field.model.ts
Normal file
12
shared/models/plugins/register-client-form-field.model.ts
Normal 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'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue