Service worker precache

Yarn upgrades / cleanup
This commit is contained in:
2023-08-26 22:48:15 +01:00
parent 6fae5accde
commit 5cd1ad070a
26 changed files with 2885 additions and 4336 deletions

View File

@ -9,7 +9,7 @@ import {
SystemInterface,
TLVEntry,
TLVEntryType,
TaggedRawEvent,
TaggedNostrEvent,
UserMetadata,
encodeTLVEntries,
} from "@snort/system";
@ -61,7 +61,7 @@ export interface ChatSystem {
* Create a request for this system to get updates
*/
subscription(id: string): RequestBuilder | undefined;
onEvent(evs: readonly TaggedRawEvent[]): Promise<void> | void;
onEvent(evs: readonly TaggedNostrEvent[]): Promise<void> | void;
listChats(pk: string): Array<Chat>;
}