- 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 "
- }
+ children: installed_frontend_options
+ },
+ %{
+ key: :available,
+ type: :map,
+ description:
+ "A map containing available frontends and parameters for their installation.",
+ children: frontend_options
+ }
+ ]
+ },
+ %{
+ group: :pleroma,
+ key: Pleroma.Web.Preload,
+ type: :group,
+ description: "Preload-related settings",
+ children: [
+ %{
+ key: :providers,
+ type: {:list, :module},
+ description: "List of preload providers to enable",
+ suggestions: [
+ Pleroma.Web.Preload.Providers.Instance,
+ Pleroma.Web.Preload.Providers.User,
+ Pleroma.Web.Preload.Providers.Timelines,
+ Pleroma.Web.Preload.Providers.StatusNet