]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/plugins/register-server-setting.model.ts
Add markdown support to plugins (#2654)
[github/Chocobozzz/PeerTube.git] / shared / models / plugins / register-server-setting.model.ts
index 65a1817054664e84e8e6b930373d131b99a4c406..ec175e9ef320d0dac012b422324eb9eed050e030 100644 (file)
@@ -1,7 +1,7 @@
 export interface RegisterServerSettingOptions {
   name: string
   label: string
-  type: 'input'
+  type: 'input' | 'input-checkbox' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced'
 
   // If the setting is not private, anyone can view its value (client code included)
   // If the setting is private, only server-side hooks can access it