1
0
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:
Quentin Gliech
2023-07-19 13:34:39 +02:00
parent 5f8cd98052
commit 7e82ae845c
15 changed files with 360 additions and 86 deletions

View File

@ -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