perf: make up to 5 calls to database in hydrateEvents & remove old hydrate functions

This commit is contained in:
P. Reis
2024-04-22 19:51:29 -03:00
parent ed08ac7c17
commit b77c8a00cd
11 changed files with 71 additions and 156 deletions

View File

@@ -22,6 +22,6 @@ export interface DittoEvent extends NostrEvent {
event_stats?: EventStats;
d_author?: DittoEvent;
user?: DittoEvent;
repost?: NostrEvent;
quote_repost?: NostrEvent;
repost?: DittoEvent;
quote_repost?: DittoEvent;
}