Remove relations filters, switch some stuff to use optimizer (requires bravery)

This commit is contained in:
Alex Gleason
2024-03-06 12:55:02 -06:00
parent 1499f9b417
commit 8b9566d79b
8 changed files with 59 additions and 146 deletions

View File

@@ -9,6 +9,4 @@ export type DittoRelation = Exclude<keyof DittoEvent, keyof NostrEvent>;
export interface DittoFilter extends NostrFilter {
/** Whether the event was authored by a local user. */
local?: boolean;
/** Additional fields to add to the returned event. */
relations?: DittoRelation[];
}