From 7f4a2cb996b53e20cc6830c882e032c621d3967c Mon Sep 17 00:00:00 2001
From: Stephanie Freitag <stephanie.freitag@holi.team>
Date: Tue, 4 Mar 2025 15:01:52 +0100
Subject: [PATCH] HOLI-9793, HOLI-10970: expose V2 versions of matched topics
 and skills for recommendations in graphql API

---
 app/server.ts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/app/server.ts b/app/server.ts
index 8e3e628..e04c6e3 100644
--- a/app/server.ts
+++ b/app/server.ts
@@ -96,11 +96,19 @@ const typeDefs = `
       Contains the slugs of matched topics. The order is defined as follows: 1) topics that were part of the query come first (sorted by matching confidence). 2) other topics the engagement matches (sorted by matching confidence)
       """
       matchedTopics: [String]
+      """
+      Contains the V2 slugs of matched topics. The order is defined as follows: 1) topics that were part of the query come first (sorted by matching confidence). 2) other topics the engagement matches (sorted by matching confidence)
+      """
+      matchedTopicsV2: [String]
       
       """
       Contains the slugs of matched skills. The order is defined as follows: 1) skills that were part of the query come first (sorted by matching confidence). 2) other topics the engagement matches (sorted by matching confidence)
       """
       matchedSkills: [String]
+      """
+      Contains the V2 slugs of matched skills. The order is defined as follows: 1) skills that were part of the query come first (sorted by matching confidence). 2) other topics the engagement matches (sorted by matching confidence)
+      """
+      matchedSkillsV2: [String]
       
       """
       Contains the distance (in meters) between the engagement and the location given in the query.
-- 
GitLab