Add external servers preference to graphql
Co-authored-by: Elias Schriefer
This commit is contained in:
parent
34bb49f18a
commit
82f94cfeb9
@ -27,11 +27,10 @@ type User {
|
|||||||
# All account preferences for a single user
|
# All account preferences for a single user
|
||||||
type UserPreferences {
|
type UserPreferences {
|
||||||
privacyPreference: PrivacyPreference!
|
privacyPreference: PrivacyPreference!
|
||||||
# TODO: notifications
|
|
||||||
notificationPreference: NotificationPreference!
|
notificationPreference: NotificationPreference!
|
||||||
# TODO: external servers
|
|
||||||
# TODO: security
|
|
||||||
securityPreference: SecurityPreference!
|
securityPreference: SecurityPreference!
|
||||||
|
# TODO: external servers
|
||||||
|
externalServersPreference: ExternalServersPreference!
|
||||||
}
|
}
|
||||||
|
|
||||||
type PrivacyPreference {
|
type PrivacyPreference {
|
||||||
@ -67,6 +66,12 @@ type SecurityPreference {
|
|||||||
passwordHash: String!
|
passwordHash: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ExternalServersPreference {
|
||||||
|
privacyPreference: PrivacyPreference
|
||||||
|
externalServers: RestrictionPolicy!
|
||||||
|
externalServersLimit: [Url!]
|
||||||
|
}
|
||||||
|
|
||||||
# Everyone = Including all = Excluding none
|
# Everyone = Including all = Excluding none
|
||||||
# None = Including none = Excluding all
|
# None = Including none = Excluding all
|
||||||
enum RestrictionPolicy {
|
enum RestrictionPolicy {
|
||||||
|
Loading…
Reference in New Issue
Block a user