mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Plugins can register html/select settings
This commit is contained in:
parent
55b84d5346
commit
32d13b203b
3 changed files with 20 additions and 6 deletions
|
@ -1,7 +1,13 @@
|
|||
export interface RegisterClientFormFieldOptions {
|
||||
name: string
|
||||
label: string
|
||||
type: 'input' | 'input-checkbox' | 'input-password' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced'
|
||||
export type RegisterClientFormFieldOptions = {
|
||||
name?: string
|
||||
label?: string
|
||||
type: 'input' | 'input-checkbox' | 'input-password' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced' | 'select' | 'html'
|
||||
|
||||
// For select type
|
||||
options?: { value: string, label: string }[]
|
||||
|
||||
// For html type
|
||||
html?: string
|
||||
|
||||
descriptionHTML?: string
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue