brepjs API Reference
    Preparing search index...

    Type Alias LineageResolution

    LineageResolution:
        | { entity: ResolvedEntity; ok: true }
        | {
            candidates?: readonly ResolvedEntity[];
            ok: false;
            reason: BrokenReason;
        }

    Outcome of resolving a lineage ref. Carries the failure reason (and any tied candidates) rather than collapsing to undefined, so a replay engine can tell "deleted by the edit" (expected — skip) from "ambiguous" (warn the author).