IFClite TypeScript API
    Preparing search index...

    Interface ClashDecisionEvent<Review>

    One review decision the user made in the viewer.

    interface ClashDecisionEvent<Review extends HostClashReview = HostClashReview> {
        attribution: ClashDecisionAttribution;
        findings: readonly { id: string; key: string | null }[];
        legacyKey: string;
        review: Review;
        run: { createdAt: string; runId: string | null } | null;
    }

    Type Parameters

    Index
    findings: readonly { id: string; key: string | null }[]

    With attribution: 'run', the findings this decision covers in that document: usually one, several when a GlobalId repeats across slots; empty when it does not list the clash. Empty otherwise.

    legacyKey: string

    The viewer's review key for the clash: the rule and both elements, not qualified by slot.

    review: Review

    The decision as the viewer now holds it; open with no comment is a decision withdrawn.

    run: { createdAt: string; runId: string | null } | null

    With attribution: 'run', which run document findings refers to; null otherwise.