mirror of
https://github.com/stablyai/orca.git
synced 2026-10-01 16:02:03 +00:00
fix(gitlab): paginate TaskPage issues beyond 50 (#13538)
Co-authored-by: Neil <neil@stably.ai>
This commit is contained in:
@@ -67,8 +67,14 @@ export type GitLabApi = {
|
||||
state?: 'opened' | 'closed' | 'all'
|
||||
assignee?: string
|
||||
limit?: number
|
||||
page?: number
|
||||
}
|
||||
) => Promise<{ items: GitLabWorkItem[]; error?: ClassifiedError }>
|
||||
) => Promise<{
|
||||
items: GitLabWorkItem[]
|
||||
/** Optional while paired with a host older than issue pagination. */
|
||||
totalPages?: number
|
||||
error?: ClassifiedError
|
||||
}>
|
||||
createIssue: (
|
||||
args: GitLabRepoSelectorArgs & {
|
||||
title: string
|
||||
|
||||
Reference in New Issue
Block a user