GeoLeaf Core API - v3.0.0
    Preparing search index...

    Injectable seams (default to the live sync-queue + GeoLeaf.Layers).

    interface PoiRestoreDeps {
        getEntries?: () => Promise<Record<string, unknown>[]>;
        readFeature?: (
            layerId: string,
            localId: string,
        ) => Promise<{ feature?: unknown } | null>;
        layers?: LayerLike;
        logDropped?: (message: string, entry?: Record<string, unknown>) => void;
    }
    Index

    Properties

    getEntries?: () => Promise<Record<string, unknown>[]>

    Overrides the outbox reader (tests).

    readFeature?: (
        layerId: string,
        localId: string,
    ) => Promise<{ feature?: unknown } | null>

    Overrides the feature-store reader (tests).

    layers?: LayerLike

    Overrides the layer seam (tests).

    logDropped?: (message: string, entry?: Record<string, unknown>) => void

    Sink for dropped rows (defaults to Log.warn).