]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/types/register-client-option.model.ts
Add video channel and video thumbnail, rework video appearance in row
[github/Chocobozzz/PeerTube.git] / client / src / types / register-client-option.model.ts
index b64652a0ff8ca4bd99a6ad13c9bc9527bd214997..dff00e9dd93d924c4e6d98f32667dbc4bca5be79 100644 (file)
@@ -19,5 +19,18 @@ export type RegisterClientHelpers = {
     success: (text: string, title?: string, timeout?: number) => void
   }
 
+  showModal: (input: {
+    title: string,
+    content: string,
+    close?: boolean,
+    cancel?: { value: string, action?: () => void },
+    confirm?: { value: string, action?: () => void }
+  }) => void
+
+  markdownRenderer: {
+    textMarkdownToHTML: (textMarkdown: string) => Promise<string>
+    enhancedMarkdownToHTML: (enhancedMarkdown: string) => Promise<string>
+  }
+
   translate: (toTranslate: string) => Promise<string>
 }