@3dsource/metabox-front-api
    Preparing search index...

    Interface MetaBoxApiEnvelope<T>Internal

    This creates all event envelopes defined in MetaBoxAPIPayloads.

    Envelope structure for wrapping MetaBox API messages. Encapsulates commands and data for transmission.

    Protocol envelope structure wrapping all MetaBox API messages. Internal to the communication layer — adds routing and protocol headers. The Communicator handles this automatically.

    For debugging: inspect postMessage events in browser devtools and match against this structure to diagnose malformed messages. The Communicator handles all wrapping/unwrapping.

    interface MetaBoxApiEnvelope<T extends FromMetaBoxApiEvents> {
        action: "bridge";
        eventType: T;
        payload: FromMetaboxMessagePayloads[T];
    }

    Type Parameters

    • T extends FromMetaBoxApiEvents
    Index

    Properties

    action: "bridge"
    eventType: T