aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/types
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/types')
-rw-r--r--client/src/types/register-client-option.model.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/types/register-client-option.model.ts b/client/src/types/register-client-option.model.ts
index b64652a0f..1c235107a 100644
--- a/client/src/types/register-client-option.model.ts
+++ b/client/src/types/register-client-option.model.ts
@@ -19,5 +19,13 @@ export type RegisterClientHelpers = {
19 success: (text: string, title?: string, timeout?: number) => void 19 success: (text: string, title?: string, timeout?: number) => void
20 } 20 }
21 21
22 showModal: (input: {
23 title: string,
24 content: string,
25 close?: boolean,
26 cancel?: { value: string, action?: () => void },
27 confirm?: { value: string, action?: () => void }
28 }) => void
29
22 translate: (toTranslate: string) => Promise<string> 30 translate: (toTranslate: string) => Promise<string>
23} 31}