Surface common tracker pattern link across APIs
Expose the existing tracker_patterns.common_tracker_pattern_id foreign key on the TrackerPattern type so it is possible to tell whether a pattern is linked to the global common-tracker catalog (its description likely came from the seed or the mapping/enrichment agents) or has no link (added manually or inherited). This is a read-only debugging aid for agent-generated descriptions; no migration or write path changes. The field is added in sync across all four API surfaces (GraphQL, MCP, CLI, n8n) plus the console UI, and covered by e2e assertions for both the linked and unlinked cases. Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
@@ -313,6 +313,16 @@ type TrackerPattern implements Node
|
||||
"""
|
||||
commonThirdParty: CommonThirdParty @goField(forceResolver: true)
|
||||
|
||||
"""
|
||||
The common tracker-pattern catalog entry this pattern is linked to,
|
||||
if any. Non-null means the pattern was matched to the global catalog
|
||||
(so its description may originate from the Open Cookie Database seed
|
||||
or the mapping/enrichment agents); null means no catalog link
|
||||
(description was added manually or inherited). Exposed primarily for
|
||||
debugging agent-generated descriptions.
|
||||
"""
|
||||
commonTrackerPatternId: ID
|
||||
|
||||
detectedTrackers(
|
||||
first: Int
|
||||
after: CursorKey
|
||||
|
||||
Reference in New Issue
Block a user