Add documents totalCount support

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-06-09 21:20:09 -07:00
parent c4e6de922c
commit 5bc65d3834
7 changed files with 373 additions and 21 deletions

View File

@@ -1152,7 +1152,11 @@ type EvidenceEdge {
node: Evidence!
}
type DocumentConnection {
type DocumentConnection
@goModel(
model: "github.com/getprobo/probo/pkg/server/api/console/v1/types.DocumentConnection"
) {
totalCount: Int! @goField(forceResolver: true)
edges: [DocumentEdge!]!
pageInfo: PageInfo!
}