Folders: Add pagination to list (#102334)

This commit is contained in:
Stephanie Hingtgen
2025-03-18 04:56:06 -06:00
committed by GitHub
parent ba44ceb4b2
commit c79c768421
6 changed files with 105 additions and 8 deletions
+4
View File
@@ -175,6 +175,10 @@ type GetFoldersQuery struct {
WithFullpathUIDs bool
BatchSize uint64
// Pagination options
Limit int64
Page int64
// OrderByTitle is used to sort the folders by title
// Set to true when ordering is meaningful (used for listing folders)
// otherwise better to keep it false since ordering can have a performance impact