Fix some inconsistencies in graphql schema
This commit is contained in:
parent
f6c78b957b
commit
850e736b3c
@ -18,14 +18,14 @@ type User {
|
||||
|
||||
# All account preferences for a single user
|
||||
type UserPreferences {
|
||||
privacyPreference: PrivacyPreference!
|
||||
notificationPreference: NotificationPreference!
|
||||
securityPreference: SecurityPreference!
|
||||
privacyPreferences: PrivacyPreferences!
|
||||
notificationPreferences: NotificationPreferences!
|
||||
securityPreferences: SecurityPreferences!
|
||||
# TODO: external servers
|
||||
externalServersPreference: ExternalServersPreference!
|
||||
externalServersPreferences: ExternalServersPreferences!
|
||||
}
|
||||
|
||||
type PrivacyPreference {
|
||||
type PrivacyPreferences {
|
||||
# Discovery on other servers
|
||||
discovery: RestrictionPolicy!
|
||||
discoveryUserLimit: [String!]
|
||||
@ -45,12 +45,12 @@ type PrivacyPreference {
|
||||
infoServerLimit: [Url!]
|
||||
}
|
||||
|
||||
type NotificationPreference {
|
||||
type NotificationPreferences {
|
||||
lockDetails: Boolean!
|
||||
doNotDisturb: Boolean!
|
||||
}
|
||||
|
||||
type SecurityPreference {
|
||||
type SecurityPreferences {
|
||||
# One-purpose-passwords
|
||||
accountTokens: [ID!]!
|
||||
|
||||
@ -58,8 +58,8 @@ type SecurityPreference {
|
||||
passwordHash: String!
|
||||
}
|
||||
|
||||
type ExternalServersPreference {
|
||||
privacyPreference: PrivacyPreference
|
||||
type ExternalServersPreferences {
|
||||
privacyPreference: PrivacyPreferences
|
||||
externalServers: RestrictionPolicy!
|
||||
externalServersLimit: [Url!]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user