You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
WIP: use sea-query for dynamic paginated queries
This commit is contained in:
@ -118,6 +118,20 @@ type BrowserSessionEdge {
|
||||
cursor: String!
|
||||
}
|
||||
|
||||
"""
|
||||
The state of a browser session.
|
||||
"""
|
||||
enum BrowserSessionState {
|
||||
"""
|
||||
The session is active.
|
||||
"""
|
||||
ACTIVE
|
||||
"""
|
||||
The session is no longer active.
|
||||
"""
|
||||
FINISHED
|
||||
}
|
||||
|
||||
"""
|
||||
A compat session represents a client session which used the legacy Matrix
|
||||
login API.
|
||||
@ -871,6 +885,7 @@ type User implements Node {
|
||||
Get the list of active browser sessions, chronologically sorted
|
||||
"""
|
||||
browserSessions(
|
||||
state: BrowserSessionState
|
||||
after: String
|
||||
before: String
|
||||
first: Int
|
||||
|
Reference in New Issue
Block a user