Type Alias InferArvoEvent<TEvent>

InferArvoEvent<TEvent>: {
    data: TEvent["data"];
    datacontenttype: string;
    dataschema: string | null;
    id: string;
    source: string;
    specversion: string;
    subject: string;
    time: string;
    type: TEvent["type"];
} & ArvoExtension & OpenTelemetryExtension & TEvent["extensions"]

Infers the complete structure of an ArvoEvent by combining base CloudEvents fields, Arvo-specific extensions, OpenTelemetry extensions, and custom extensions.

Type Parameters

type UserCreatedEvent = InferArvoEvent<ArvoEvent
{ userId: string; email: string },
{ region: string },
'user.created'
>>;