FDO SDK API Reference
    Preparing search index...

    Interface MappingContext

    The context of a data to FDO record mapping. Holds the local graph, which should contain all the FDOs that should be or should stay published. Also holds the remote graph, containing all records from the mapping that have been published in the past.

    interface MappingContext {
        localGraph: Omit<FDOGraph, "build">;
        mappingPID: string;
        remoteGraph: ReadOnlyFDOGraph;
        get hasResolvedRemoteGraph(): boolean;
        build(): MappingResult;
        newRecord(localID: LocalID): FDORecord;
        resolveRemoteGraph(resolver: ContinuousResolveAdapter): Promise<void>;
    }

    Implemented by

    Index
    localGraph: Omit<FDOGraph, "build">

    The local graph should contain all the FDOs that should be or should stay published

    mappingPID: string

    The PID of the mapping. It identifies the mapping and is also the PID of the high level FDO record that represents the mapping.

    remoteGraph: ReadOnlyFDOGraph

    The remote graph contains all FDO records that have been published by this mapping in the past.