MCPcopy Create free account
hub / github.com/Donnadieu/Epstein-File-Explorer / getVoteCounts

Method getVoteCounts

server/storage.ts:112–112  ·  view source on GitHub ↗
(documentIds: number[])

Source from the content-addressed store, hash-verified

110 createVote(vote: InsertDocumentVote): Promise<DocumentVote>;
111 deleteVote(id: number): Promise<boolean>;
112 getVoteCounts(documentIds: number[]): Promise<Record<number, number>>;
113 getMostVotedDocuments(limit: number): Promise<(Document & { voteCount: number })[]>;
114
115 getPersonVotes(userId: string): Promise<PersonVote[]>;

Callers 1

registerRoutesFunction · 0.65

Implementers 1

DatabaseStorageserver/storage.ts

Calls

no outgoing calls

Tested by

no test coverage detected