aboutsummaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs51
1 files changed, 51 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index d823812fb..b56ea3339 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -3562,6 +3562,57 @@ config :pleroma, :config_description, [
key: "ref",
type: :string,
description: "reference of the installed primary frontend to be used"
+ },
+ %{
+ key: "git",
+ type: :string,
+ description: "URL of the git repository of the frontend"
+ },
+ %{
+ key: "build_url",
+ type: :string,
+ description:
+ "Either an url to a zip file containing the frontend or a template to build it by inserting the `ref`. The string `${ref}` will be replaced by the configured `ref`.",
+ example: "https://some.url/builds/${ref}.zip"
+ },
+ %{
+ key: "build_dir",
+ type: :string,
+ description: "The directory inside the zip file "
+ }
+ ]
+ },
+ %{
+ key: :admin,
+ type: :map,
+ description: "Admin frontend",
+ children: [
+ %{
+ key: "name",
+ type: :string,
+ description: "Name of the installed Admin frontend"
+ },
+ %{
+ key: "ref",
+ type: :string,
+ description: "reference of the installed Admin frontend to be used"
+ },
+ %{
+ key: "git",
+ type: :string,
+ description: "URL of the git repository of the frontend"
+ },
+ %{
+ key: "build_url",
+ type: :string,
+ description:
+ "Either an url to a zip file containing the frontend or a template to build it by inserting the `ref`. The string `${ref}` will be replaced by the configured `ref`.",
+ example: "https://some.url/builds/${ref}.zip"
+ },
+ %{
+ key: "build_dir",
+ type: :string,
+ description: "The directory inside the zip file "
}
]
}