IFClite TypeScript API
    Preparing search index...

    Interface LineageFromDiffOptions<TRef>

    interface LineageFromDiffOptions<TRef> {
        accepted?: Iterable<SuccessorClaim<TRef>, any, any>;
        aliasReasons?: ReadonlyMap<string, string>;
        aliasRelations?: ReadonlyMap<string, "identity" | "replaced">;
    }

    Type Parameters

    • TRef
    Index
    accepted?: Iterable<SuccessorClaim<TRef>, any, any>

    Successor claims a human accepted; these become replaced entries.

    aliasReasons?: ReadonlyMap<string, string>

    Reasons for the aliases the diff was run with (appliedKeyAliases), keyed by head key, so a carried-forward entry keeps its original provenance instead of reading as freshly derived. Absent reasons fall back to alias:replayed.

    aliasRelations?: ReadonlyMap<string, "identity" | "replaced">

    Explicit relations carried by an incoming lineage. A v1 reason is free form, so replay must not infer a different relation from its prefix.