FDO SDK API Reference
    Preparing search index...

    Interface PublishAdapter

    Publishes records to a backend that assigns PIDs.

    A publish adapter has to persist the local ID of every record it publishes, so that it can be restored when the record is resolved again (see ResolveAdapter). How this happens is up to the adapter and the FDO model does not prescribe it: the local ID may be stored as a record attribute, in system metadata that is not part of the record, or even be encoded in the PID.

    interface PublishAdapter {
        publishGraph(
            graph: ReadOnlyFDOGraph<FDORecord>,
        ): Promise<ReadOnlyFDOGraph<PublishedFDORecord>>;
        publishRecord(record: FDORecord): Promise<PublishedFDORecord>;
    }

    Hierarchy (View Summary)

    Index