Skip to main content

core.fhircasteventpayload

Home > @medplum/core > FhircastEventPayload

FhircastEventPayload type

Signature:

export type FhircastEventPayload<EventName extends FhircastEventName = FhircastEventName, K extends FhircastEventContextKey<EventName> = FhircastEventContextKey<EventName>> = {
'hub.topic': string;
'hub.event': EventName;
context: FhircastEventContext<EventName, K>[];
'context.versionId'?: string;
'context.priorVersionId'?: string;
};

References: FhircastEventName, FhircastEventContextKey, FhircastEventContext