@@ -190,6 +190,10 @@ defmodule Mobilizon.GraphQL.Schema.UserType do
|
||||
"When does the user receives a notification about a new pending membership in one of the group they're admin for"
|
||||
)
|
||||
|
||||
field(:group_notifications, :notification_pending_enum,
|
||||
description: "When does the user receives a notification about new activity"
|
||||
)
|
||||
|
||||
field(:location, :location,
|
||||
description: "The user's preferred location, where they want to be suggested events"
|
||||
)
|
||||
@@ -213,6 +217,11 @@ defmodule Mobilizon.GraphQL.Schema.UserType do
|
||||
as: :one_day,
|
||||
description: "One day. Notifications will be sent at most each day"
|
||||
)
|
||||
|
||||
value(:one_week,
|
||||
as: :one_week,
|
||||
description: "One Week. Notifications will be sent at most each week"
|
||||
)
|
||||
end
|
||||
|
||||
object :location do
|
||||
@@ -384,6 +393,10 @@ defmodule Mobilizon.GraphQL.Schema.UserType do
|
||||
"When does the user receives a notification about a new pending membership in one of the group they're admin for"
|
||||
)
|
||||
|
||||
arg(:group_notifications, :notification_pending_enum,
|
||||
description: "When does the user receives a notification about new activity"
|
||||
)
|
||||
|
||||
arg(:location, :location_input,
|
||||
description: "A geohash of the user's preferred location, where they want to see events"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user