LibraryElements: export GetAllElements to service (#93782)

This commit is contained in:
Matheus Macabu
2024-09-27 08:48:56 +02:00
committed by GitHub
parent 87c81825b7
commit 40bcd0df41
2 changed files with 11 additions and 0 deletions

View File

@@ -1081,3 +1081,8 @@ func (l *mockLibraryElementService) DisconnectElementsFromDashboard(c context.Co
func (l *mockLibraryElementService) DeleteLibraryElementsInFolder(c context.Context, signedInUser identity.Requester, folderUID string) error {
return nil
}
// GetAll gets all library elements with support to query filters.
func (l *mockLibraryElementService) GetAllElements(c context.Context, signedInUser identity.Requester, query model.SearchLibraryElementsQuery) (model.LibraryElementSearchResult, error) {
return model.LibraryElementSearchResult{}, nil
}