feat: follow button
This commit is contained in:
parent
d5b941535f
commit
3f9042b3be
7 changed files with 179 additions and 55 deletions
|
|
@ -125,6 +125,10 @@ class ClientService {
|
|||
return this.eventCache.fetch(JSON.stringify({ ...filter, limit: 1 }))
|
||||
}
|
||||
|
||||
deleteEventCacheByFilter(filter: Filter) {
|
||||
this.eventCache.delete(JSON.stringify({ ...filter, limit: 1 }))
|
||||
}
|
||||
|
||||
async fetchEventById(id: string): Promise<NEvent | undefined> {
|
||||
return this.eventDataloader.load(id)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue