+# config :pleroma, :frontends,
+# primary: %{"name" => "pleroma-fe", "ref" => "develop"},
+# admin: %{"name" => "admin-fe", "ref" => "stable"},
+# mastodon: %{"enabled" => true, "name" => "mastodon-fe", "ref" => "develop"}
+# available: %{...}
+
+config :pleroma, :frontends,
+ primary: %{"name" => "pleroma-fe", "ref" => "stable"},
+ admin: %{"name" => "admin-fe", "ref" => "stable"},
+ mastodon: %{"name" => "mastodon-fe", "ref" => "akkoma"},
+ swagger: %{
+ "name" => "swagger-ui",
+ "ref" => "stable",
+ "enabled" => false
+ },
+ available: %{
+ "pleroma-fe" => %{
+ "name" => "pleroma-fe",
+ "git" => "https://akkoma.dev/AkkomaGang/pleroma-fe",
+ "build_url" =>
+ "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/${ref}/akkoma-fe.zip",
+ "ref" => "stable",
+ "build_dir" => "dist"
+ },
+ # Mastodon-Fe cannot be set as a primary - this is only here so we can update this seperately
+ "mastodon-fe" => %{
+ "name" => "mastodon-fe",
+ "git" => "https://akkoma.dev/AkkomaGang/masto-fe",
+ "build_url" =>
+ "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/${ref}/masto-fe.zip",
+ "build_dir" => "distribution",
+ "ref" => "akkoma"
+ },
+ "admin-fe" => %{
+ "name" => "admin-fe",
+ "git" => "https://akkoma.dev/AkkomaGang/admin-fe",
+ "build_url" =>
+ "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/${ref}/admin-fe.zip",
+ "ref" => "stable"
+ },
+ "soapbox-fe" => %{
+ "name" => "soapbox-fe",
+ "git" => "https://gitlab.com/soapbox-pub/soapbox-fe",
+ "build_url" =>
+ "https://gitlab.com/soapbox-pub/soapbox-fe/-/jobs/artifacts/${ref}/download?job=build-production",
+ "ref" => "v1.0.0",
+ "build_dir" => "static"
+ },
+ # For developers - enables a swagger frontend to view the openapi spec
+ "swagger-ui" => %{
+ "name" => "swagger-ui",
+ "git" => "https://github.com/swagger-api/swagger-ui",
+ "build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/swagger-ui.zip",
+ "build_dir" => "dist",
+ "ref" => "stable"
+ }
+ }