fix: build

This commit is contained in:
2024-08-25 19:20:08 +03:00
parent d9abcd0101
commit a3bc479b1f
2 changed files with 14 additions and 4 deletions

View File

@ -1,5 +1,11 @@
import { dedupe, ExternalStore, FeedCache, removeUndefined } from "@snort/shared";
import { EventKind, NostrEvent, RequestBuilder, SystemInterface, TaggedNostrEvent } from "@snort/system";
import {
EventKind,
NostrEvent,
RequestBuilder,
SystemInterface,
TaggedNostrEvent,
} from "@snort/system";
import { Chat, ChatSystem, ChatType, lastReadInChat } from "@/chat";
import { LoginSession } from "@/Utils/Login";
@ -12,6 +18,10 @@ export class Nip29ChatSystem extends ExternalStore<Array<Chat>> implements ChatS
this.#cache = cache;
}
processEvents(): Promise<void> {
return Promise.resolve();
}
takeSnapshot(): Chat[] {
return this.listChats();
}