import type { Event } from './event.ts' type EventParams = Partial> /** Build an event for testing purposes. */ export function buildEvent(params: EventParams): Event { return { id: '', kind: 1 as K, pubkey: '', created_at: 0, content: '', tags: [], sig: '', ...params, } }