mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Handle async validators
This commit is contained in:
@@ -19,7 +19,7 @@ export type RegisterClientFormFieldOptions = {
|
||||
|
||||
// Return undefined | null if there is no error or return a string with the detailed error
|
||||
// Not supported by plugin setting registration
|
||||
error?: (options: any) => { error: boolean, text?: string }
|
||||
error?: (options: any) => Promise<{ error: boolean, text?: string }>
|
||||
}
|
||||
|
||||
export interface RegisterClientVideoFieldOptions {
|
||||
|
||||
Reference in New Issue
Block a user