Files
talk/src/core/client/stream/local/local.graphql
T
Kiwi f4037ce6fb [CORL-260] Bring back sorting (#2186)
* feat: sort stream

* feat: add FieldSet component to ui

* feat: make accessible and add feature test

* test: fix snapshots
2019-02-13 16:11:13 +00:00

47 lines
739 B
GraphQL

# Extend graph with local types
type Network {
isOffline: Boolean!
}
enum View {
SIGN_UP
SIGN_IN
FORGOT_PASSWORD
}
enum Tab {
COMMENTS
}
type AuthPopup {
open: Boolean!
focus: Boolean!
view: View
}
extend type Comment {
# pending is true during the optimistic response.
pending: Boolean
# localReplies contains only comments created by the user
# on the ultimate threading level.
localReplies: [Comment!]
}
type Local {
network: Network!
accessToken: String
accessTokenExp: Int
accessTokenJTI: String
loggedIn: Boolean!
activeTab: Tab!
authPopup: AuthPopup!
storyID: String
storyURL: String
commentID: String
defaultStreamOrderBy: COMMENT_SORT!
}
extend type Query {
local: Local!
}