7 lines
141 B
TypeScript
7 lines
141 B
TypeScript
export interface EventEnvelope<T = any> {
|
|
id: string;
|
|
timestamp: string; // ISO
|
|
type: string; // PascalCase event type
|
|
payload: T;
|
|
}
|