feat(config): add durationOfLongEvent in FullConfig query

For #1568
This commit is contained in:
Massedil
2025-02-11 17:14:10 +01:00
parent e4cf73b9a7
commit 8303eb13a5
6 changed files with 14 additions and 0 deletions

View File

@@ -32,6 +32,11 @@ defmodule Mobilizon.GraphQL.Schema.ConfigType do
field(:demo_mode, :boolean, description: "Whether the demo mode is enabled")
field(:long_events, :boolean, description: "Whether the long events mode is enabled")
field(:duration_of_long_event, :integer,
description: "Events longer than this duration are considered long events"
)
field(:country_code, :string, description: "The country code from the IP")
field(:location, :lonlat, description: "The IP's location")
field(:geocoding, :geocoding, description: "The instance's geocoding settings")