aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-29 15:33:24 +0100
committerChocobozzz <me@florianbigard.com>2022-01-03 14:20:52 +0100
commitcc4bf76c13e38e9065d49161b6e0485657424577 (patch)
treed7ecc6bd58037c41587eb911776b676592985cd1 /shared/models/plugins/client
parente2aeb8ad0f3055d54ac416ec5908d26b70aac4be (diff)
downloadPeerTube-cc4bf76c13e38e9065d49161b6e0485657424577.tar.gz
PeerTube-cc4bf76c13e38e9065d49161b6e0485657424577.tar.zst
PeerTube-cc4bf76c13e38e9065d49161b6e0485657424577.zip
Handle async validators
Diffstat (limited to 'shared/models/plugins/client')
-rw-r--r--shared/models/plugins/client/register-client-form-field.model.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/models/plugins/client/register-client-form-field.model.ts b/shared/models/plugins/client/register-client-form-field.model.ts
index 30fd63266..153c4a6ea 100644
--- a/shared/models/plugins/client/register-client-form-field.model.ts
+++ b/shared/models/plugins/client/register-client-form-field.model.ts
@@ -19,7 +19,7 @@ export type RegisterClientFormFieldOptions = {
19 19
20 // Return undefined | null if there is no error or return a string with the detailed error 20 // Return undefined | null if there is no error or return a string with the detailed error
21 // Not supported by plugin setting registration 21 // Not supported by plugin setting registration
22 error?: (options: any) => { error: boolean, text?: string } 22 error?: (options: any) => Promise<{ error: boolean, text?: string }>
23} 23}
24 24
25export interface RegisterClientVideoFieldOptions { 25export interface RegisterClientVideoFieldOptions {