mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
* feat: extract jwt information * feat: login status dependent auto redirect * feat: Sign Out button * feat: add a 404 page * feat: improve loading state and use auth token info * feat: redirect to previous destination * feat: implement new design * fix: change asset to story * feat: add translations * feat: more compact design * test: add unit tests * chore: refactor NavigationLink * test: add integration tests * chore: refactor replaceHistoryLocation * fix: typo * fix: property name typo
18 lines
243 B
GraphQL
18 lines
243 B
GraphQL
# Extend graph with local types
|
|
type Network {
|
|
isOffline: Boolean!
|
|
}
|
|
|
|
type Local {
|
|
network: Network!
|
|
authToken: String
|
|
authExp: Int
|
|
authJTI: String
|
|
loggedIn: Boolean!
|
|
redirectPath: String
|
|
}
|
|
|
|
extend type Query {
|
|
local: Local!
|
|
}
|