api: Make cursors non-null.

This is more consistent with other services.
This commit is contained in:
Thorben Günther 2022-11-07 13:58:05 +01:00 committed by Drew DeVault
parent c14bc1e326
commit 5da42f9448
1 changed files with 4 additions and 4 deletions

View File

@ -81,10 +81,10 @@ type User implements Entity {
bio: String
list(name: String!): MailingList @access(scope: LISTS, kind: RO)
lists(cursor: Cursor): MailingListCursor @access(scope: LISTS, kind: RO)
emails(cursor: Cursor): EmailCursor @access(scope: EMAILS, kind: RO)
threads(cursor: Cursor): ThreadCursor @access(scope: EMAILS, kind: RO)
patches(cursor: Cursor): PatchsetCursor @access(scope: PATCHES, kind: RO)
lists(cursor: Cursor): MailingListCursor! @access(scope: LISTS, kind: RO)
emails(cursor: Cursor): EmailCursor! @access(scope: EMAILS, kind: RO)
threads(cursor: Cursor): ThreadCursor! @access(scope: EMAILS, kind: RO)
patches(cursor: Cursor): PatchsetCursor! @access(scope: PATCHES, kind: RO)
}
"A mailbox not associated with a registered user"