Skip to content

NewParticipant

Object type

One newly-added participant surfaced on the New Records / New Entities view. Carries the same identity payload as PotentialMatch plus a pre-computed possibleDuplicateCount so the row’s “N matches” pill (REQ-004) renders without a follow-up query per row.

FieldArgsTypeDescription
id—ID! requiredID of the participant. Same as entity.id; lifted for caller convenience.
name—String! requiredCanonical name as stored.
createdAt—DateTime! requiredWhen the row was created (participants.created_at).
firstSeenProvider—StringProvider that first introduced the participant, derived from participants.legacy_ids. Null when the entity was manually created or carries no recognised provider key.
possibleDuplicateCount—Int! requiredNumber of candidate duplicates potentialMatches would surface for this entity right now, counted from the same matching query before its list limit. Zero for types with no matcher. Drives the “1 match” / “N matches” / “No matches” pill on each row (REQ-004) — no per-row follow-up query needed.
entity—Entity! requiredThe participant itself, polymorphic — reuses the Entity union.