Type Alias EventMapSchema<TEventMap>

EventMapSchema: {
    [TEventName in keyof TEventMap]: StandardSchemaV1<TEventMap[TEventName]>
}

A map of event names to their corresponding standard schemas. Used to define validation rules for each event in the event map.

Type Parameters

  • TEventMap extends BaseEventMap = BaseEventMap

    The event map type mapping event names to their payloads.

    IMPORT_PATH: "@daiso-tech/core/event-bus"