Add description for configuration.
authorRoman Chvanikov <chvanikoff@pm.me>
Tue, 28 Jul 2020 15:40:21 +0000 (17:40 +0200)
committerlain <lain@soykaf.club>
Tue, 28 Jul 2020 15:40:21 +0000 (17:40 +0200)
config/description.exs

index c303fc8786966c58663fa3ead88281923425ef35..91261c1e17e1228de1c1986b01bfe4771af410f4 100644 (file)
@@ -3481,5 +3481,30 @@ config :pleroma, :config_description, [
         suggestions: ["s3.eu-central-1.amazonaws.com"]
       }
     ]
         suggestions: ["s3.eu-central-1.amazonaws.com"]
       }
     ]
+  },
+  %{
+    group: :pleroma,
+    key: :frontends,
+    type: :group,
+    description: "Installed frontends management",
+    children: [
+      %{
+        key: :primary,
+        type: :map,
+        description: "Primary frontend, the one that is served for all pages by default",
+        children: [
+          %{
+            key: "name",
+            type: :string,
+            description: "Name of the installed primary frontend"
+          },
+          %{
+            key: "ref",
+            type: :string,
+            description: "reference of the installed primary frontend to be used"
+          }
+        ]
+      }
+    ]
   }
 ]
   }
 ]