mirror of
https://github.com/wassname/talk.git
synced 2026-07-19 11:28:50 +08:00
29 lines
348 B
GraphQL
29 lines
348 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
|
|
}
|
|
|
|
type Local {
|
|
network: Network!
|
|
assetID: String
|
|
assetURL: String
|
|
commentID: String
|
|
authPopup: AuthPopup!
|
|
}
|
|
|
|
extend type Query {
|
|
local: Local!
|
|
}
|