(eventId: string)
| 713 | } |
| 714 | |
| 715 | export async function getEventById(eventId: string): Promise<RelayEvent> { |
| 716 | const eventJson = await invokeTauri<string>("get_event", { eventId }); |
| 717 | return JSON.parse(eventJson) as RelayEvent; |
| 718 | } |
| 719 | |
| 720 | type RawThreadCursor = { |
| 721 | created_at: number; |
no test coverage detected