@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias MinimalEnvelope

    What every bus's envelope has in common. The customer bus adds customerId and an entity-reference union; the internal bus adds nothing, because internal events have no tenant.

    type MinimalEnvelope = {
        createdAt: Date;
        data: object;
        event: string;
        id: string;
    }
    Index
    createdAt: Date
    data: object
    event: string
    id: string