searchDumps(query: string,page: number,limit: number,requestingUserId?: string,categoryId?: string): { items: Dump[]; total: number; }
Returns a page of the dumps requestingUserId may see whose title, note, or
previewed title or description contains query, newest first, with how many
match in all, optionally only those in the dump category categoryId.
GET /api/search calls it.
{ items: Dump[]; total: number; }