import { DiscoverBlockInput, DiscoverContextInput } from "./../../../shared/types/graphql"; export interface DiscoverLearningCarousel_metadata_topic { __typename: "Topic"; id: string; name: string; } export interface DiscoverLearningCarousel_metadata { __typename: "CarouselMetadata"; name: string; topic: DiscoverLearningCarousel_metadata_topic | null; } export interface DiscoverLearningCarousel_response_edges_node_provider { __typename: "Provider"; id: string; name: string; } export interface DiscoverLearningCarousel_response_edges_node_pricing { __typename: "Pricing"; price: number; currency: string; } export interface DiscoverLearningCarousel_response_edges_node_metadata { __typename: "ContentMetadata"; isAuthor: boolean; link: string; } export interface DiscoverLearningCarousel_response_edges_node_permissions { __typename: "ContentPermissions"; canAssign: boolean; canChangeSettings: boolean; canEdit: boolean; canEnroll: boolean; canEnrollOthers: boolean; } export interface DiscoverLearningCarousel_response_edges_node_bookmark { __typename: "Bookmark"; id: string; linkId: string; } export interface DiscoverLearningCarousel_response_edges_node { __typename: "CourseCard"; id: string; type: string; title: string; author: string | null; image: string | null; duration: number; provider: DiscoverLearningCarousel_response_edges_node_provider; pricing: DiscoverLearningCarousel_response_edges_node_pricing; metadata: DiscoverLearningCarousel_response_edges_node_metadata; permissions: DiscoverLearningCarousel_response_edges_node_permissions; bookmark: DiscoverLearningCarousel_response_edges_node_bookmark | null; } export interface DiscoverLearningCarousel_response_edges { __typename: "CarouselEdge"; node: DiscoverLearningCarousel_response_edges_node; } export interface DiscoverLearningCarousel_response { __typename: "CarouselResponse"; edges: DiscoverLearningCarousel_response_edges[]; } export interface DiscoverLearningCarousel { __typename: "LearningCarousel"; id: string; title: string; metadata: DiscoverLearningCarousel_metadata; response: DiscoverLearningCarousel_response; } export interface DiscoverTopicCarousel_items { __typename: "Topic"; id: string; name: string; level: number; } export interface DiscoverTopicCarousel { __typename: "TopicCarousel"; id: string; title: string; items: DiscoverTopicCarousel_items[]; } export interface DiscoverFeaturedCarousel_items_bookmark { __typename: "Bookmark"; id: string; linkId: string; } export interface DiscoverFeaturedCarousel_items_metadata { __typename: "ContentMetadata"; link: string; } export interface DiscoverFeaturedCarousel_items { __typename: "FeaturedContent"; id: string; topic: string; title: string; description: string; image: string; bookmark: DiscoverFeaturedCarousel_items_bookmark | null; metadata: DiscoverFeaturedCarousel_items_metadata; } export interface DiscoverFeaturedCarousel { __typename: "FeaturedCarousel"; id: string; items: DiscoverFeaturedCarousel_items[]; } export type Discover_discover_blocks = DiscoverLearningCarousel | DiscoverTopicCarousel | DiscoverFeaturedCarousel; export interface Discover_discover { __typename: "DiscoverResponse"; blocks: Discover_discover_blocks[]; } export interface Discover { /** * The discover() endpoint supports the display of learning recommendations by * categories and topics. It is commonly used to display as a landing page * providing an overview and entry point to browse the content offering. */ discover: Discover_discover; } export interface DiscoverVariables { blocks: DiscoverBlockInput[]; context?: DiscoverContextInput | null; responseName?: string | null; responseFirst: number; responseAfter?: string | null; }