diff --git a/src/resolvers/programmeResolvers.ts b/src/resolvers/programmeResolvers.ts index 94d233cb..eadd9a24 100644 --- a/src/resolvers/programmeResolvers.ts +++ b/src/resolvers/programmeResolvers.ts @@ -21,6 +21,7 @@ import { nodeToTaxonomyEntity } from "../utils/apiHelpers"; const nodeToProgramme = (node: Node, language: string): GQLProgrammePage => { return { id: node.id, + contextId: node.contextId, title: { title: node.name, language: language, diff --git a/src/schema.ts b/src/schema.ts index 44c3aeae..620d674b 100644 --- a/src/schema.ts +++ b/src/schema.ts @@ -783,6 +783,7 @@ export const typeDefs = gql` type ProgrammePage { id: String! + contextId: String title: Title! url: String contentUri: String diff --git a/src/types/schema.d.ts b/src/types/schema.d.ts index 80c6fa17..1ca6aec5 100644 --- a/src/types/schema.d.ts +++ b/src/types/schema.d.ts @@ -1532,6 +1532,7 @@ export type GQLPodcastSeriesWithEpisodes = GQLPodcastSeriesBase & { export type GQLProgrammePage = { __typename?: 'ProgrammePage'; contentUri?: Maybe; + contextId?: Maybe; desktopImage?: Maybe; grades?: Maybe>; id: Scalars['String']; @@ -4024,6 +4025,7 @@ export type GQLPodcastSeriesWithEpisodesResolvers = { contentUri?: Resolver, ParentType, ContextType>; + contextId?: Resolver, ParentType, ContextType>; desktopImage?: Resolver, ParentType, ContextType>; grades?: Resolver>, ParentType, ContextType>; id?: Resolver;