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

    Type Alias EventDefinition

    type EventDefinition = {
        data: TSchema;
        scopes: readonly EventScope[];
    }
    Index
    data: TSchema

    Schema for the delivered data payload.

    scopes: readonly EventScope[]

    Which entity references this event MAY carry — any subset of ["identity", "organization"]. At most one is present on any given envelope; this declares what is permitted, not what is required.