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
|
# All account preferences for a single user
|
||||||
type UserPreferences {
|
type UserPreferences {
|
||||||
privacyPreference: PrivacyPreference!
|
privacyPreferences: PrivacyPreferences!
|
||||||
notificationPreference: NotificationPreference!
|
notificationPreferences: NotificationPreferences!
|
||||||
securityPreference: SecurityPreference!
|
securityPreferences: SecurityPreferences!
|
||||||
# TODO: external servers
|
# TODO: external servers
|
||||||
externalServersPreference: ExternalServersPreference!
|
externalServersPreferences: ExternalServersPreferences!
|
||||||
}
|
}
|
||||||
|
|
||||||
type PrivacyPreference {
|
type PrivacyPreferences {
|
||||||
# Discovery on other servers
|
# Discovery on other servers
|
||||||
discovery: RestrictionPolicy!
|
discovery: RestrictionPolicy!
|
||||||
discoveryUserLimit: [String!]
|
discoveryUserLimit: [String!]
|
||||||
@ -45,12 +45,12 @@ type PrivacyPreference {
|
|||||||
infoServerLimit: [Url!]
|
infoServerLimit: [Url!]
|
||||||
}
|
}
|
||||||
|
|
||||||
type NotificationPreference {
|
type NotificationPreferences {
|
||||||
lockDetails: Boolean!
|
lockDetails: Boolean!
|
||||||
doNotDisturb: Boolean!
|
doNotDisturb: Boolean!
|
||||||
}
|
}
|
||||||
|
|
||||||
type SecurityPreference {
|
type SecurityPreferences {
|
||||||
# One-purpose-passwords
|
# One-purpose-passwords
|
||||||
accountTokens: [ID!]!
|
accountTokens: [ID!]!
|
||||||
|
|
||||||
@ -58,8 +58,8 @@ type SecurityPreference {
|
|||||||
passwordHash: String!
|
passwordHash: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
type ExternalServersPreference {
|
type ExternalServersPreferences {
|
||||||
privacyPreference: PrivacyPreference
|
privacyPreference: PrivacyPreferences
|
||||||
externalServers: RestrictionPolicy!
|
externalServers: RestrictionPolicy!
|
||||||
externalServersLimit: [Url!]
|
externalServersLimit: [Url!]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user