1
0
Fork 0
peertube/shared/models/plugins/register-client-form-field.model.ts

15 lines
378 B
TypeScript
Raw Normal View History

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