@sovereignbase/schema-crdt
    Preparing search index...

    Type Alias SchemaCRDTEventMap<T>

    Maps Schema CRDT event names to their event payload shapes.

    type SchemaCRDTEventMap<T extends Record<string, unknown>> = {
        ack: CRStructAck<T> | SchemaCRDTRoutedEventMap<T>["ack"];
        change: CRStructChange<T> | SchemaCRDTRoutedEventMap<T>["change"];
        delta: CRStructDelta<T> | SchemaCRDTRoutedEventMap<T>["delta"];
        snapshot: CRStructSnapshot<T> | SchemaCRDTRoutedEventMap<T>["snapshot"];
    }

    Type Parameters

    • T extends Record<string, unknown>
    Index

    Properties

    ack: CRStructAck<T> | SchemaCRDTRoutedEventMap<T>["ack"]
    change: CRStructChange<T> | SchemaCRDTRoutedEventMap<T>["change"]
    delta: CRStructDelta<T> | SchemaCRDTRoutedEventMap<T>["delta"]

    GOSSIP / PROTOCOL

    snapshot: CRStructSnapshot<T> | SchemaCRDTRoutedEventMap<T>["snapshot"]

    STATE / PROJECTION