@honua/sdk-js
    Preparing search index...

    Interface EditEnvelope<T>

    Single-source edit envelope. Adapters that do not advertise applyEdits throw HonuaCapabilityNotSupportedError rather than dropping records.

    interface EditEnvelope<T = Record<string, unknown>> {
        adds?: readonly CanonicalFeature<T>[];
        deletes?: readonly FeatureId[];
        rollbackOnFailure?: boolean;
        signal?: AbortSignal;
        updates?: readonly CanonicalFeature<T>[];
    }

    Type Parameters

    • T = Record<string, unknown>
    Index

    Properties

    adds?: readonly CanonicalFeature<T>[]
    deletes?: readonly FeatureId[]
    rollbackOnFailure?: boolean

    When true (and the protocol honors it) the edit batch is atomic.

    signal?: AbortSignal

    Caller-supplied cancellation.

    updates?: readonly CanonicalFeature<T>[]