1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Add ability to hide plugin form fields

This commit is contained in:
Chocobozzz 2021-04-22 14:25:32 +02:00
parent 87e0b71d36
commit 0f31933406
No known key found for this signature in database
GPG key ID: 583A612D890159BE
7 changed files with 35 additions and 18 deletions

View file

@ -13,6 +13,9 @@ export type RegisterClientFormFieldOptions = {
// Default setting value
default?: string | boolean
// Not supported by plugin setting registration, use registerSettingsScript instead
hidden?: (options: any) => boolean
}
export interface RegisterClientVideoFieldOptions {