Files
talk/src/core/client/stream/local/local.graphql
T
2018-09-07 18:18:39 +02:00

38 lines
548 B
GraphQL

# Extend graph with local types
type Network {
isOffline: Boolean!
}
enum View {
SIGN_UP
SIGN_IN
FORGOT_PASSWORD
}
type AuthPopup {
open: Boolean!
focus: Boolean!
view: View
}
extend type Comment {
pending: Boolean
}
type Local {
network: Network!
assetID: String
assetURL: String
commentID: String
authPopup: AuthPopup!
authToken: String
# Used to invalidate the `me` endpoint.
# This is incremented whenever the auth status
# might have changed.
authRevision: Int!
}
extend type Query {
local: Local!
}