diff --git a/Queries/Fragments/CollectionParts.gql b/Queries/Fragments/CollectionParts.gql index 90db1910..0469945d 100644 --- a/Queries/Fragments/CollectionParts.gql +++ b/Queries/Fragments/CollectionParts.gql @@ -6,6 +6,16 @@ fragment CollectionParts on Collection { excerpt modifiedGmt slug + tags( + where: { + orderby: COUNT + }, + last: 10 + ) { + nodes { + slug + } + } featuredImage { ...MediaParts } diff --git a/Schemas/ContentSchema.operations.json b/Schemas/ContentSchema.operations.json index b74cc160..8956fc6a 100644 --- a/Schemas/ContentSchema.operations.json +++ b/Schemas/ContentSchema.operations.json @@ -71,37 +71,37 @@ "name": "BulletinsBySeries", "source": "query BulletinsBySeries($after: String = \"\", $perPage: Int, $slug: [String]) {\n serieses(where: {slug: $slug}) {\n __typename\n nodes {\n __typename\n ...SeriesParts\n posts: bulletins(after: $after, first: $perPage) {\n __typename\n nodes {\n __typename\n ...BulletinParts\n }\n pageInfo {\n __typename\n endCursor\n hasNextPage\n }\n }\n }\n }\n}\nfragment SeriesParts on Series {\n __typename\n colors\n count\n description\n emailListId\n ended\n featuredImage {\n __typename\n ...MediaParts\n }\n headerImages {\n __typename\n layer\n size\n image {\n __typename\n ...MediaParts\n }\n }\n headerVideos {\n __typename\n size\n mp4 {\n __typename\n ...MediaParts\n }\n webm {\n __typename\n ...MediaParts\n }\n poster {\n __typename\n ...MediaParts\n }\n }\n id\n link\n name\n postOrder\n shortDescription\n showToc\n slug\n socialImage {\n __typename\n ...MediaParts\n }\n socialTitle\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BulletinParts on Bulletin {\n __typename\n link\n title\n dateGmt\n featuredImage {\n __typename\n ...MediaParts\n }\n bulletin {\n __typename\n sponsor {\n __typename\n name\n }\n campaign {\n __typename\n id\n }\n clientTracking {\n __typename\n article\n elsewhere\n }\n }\n}" }, - "14f003ba8de1f99a88780929b11896073c974d9f6ba1befb18749061554aacb2": { + "584019f6eec171f38c21262474ecf97d48add3dbb9634085b40d57205ef6d59b": { "name": "Collection", - "source": "query Collection($id: Int!, $previewTime: Int, $previewToken: String) {\n collections(\n where: {id: $id, preview: {time: $previewTime, token: $previewToken}}\n ) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}" + "source": "query Collection($id: Int!, $previewTime: Int, $previewToken: String) {\n collections(\n where: {id: $id, preview: {time: $previewTime, token: $previewToken}}\n ) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n tags(where: {orderby: COUNT}, last: 10) {\n __typename\n nodes {\n __typename\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}" }, - "8cce508324c5f3eb40d2cba36fc92292b21b6185b17b3570b1915b6bf715aa18": { + "b7b382e40ea5c86960faa2a37e7fe544cc49a857457dfdec912f00d2acbce008": { "name": "Collections", - "source": "query Collections($first: Int = 10, $after: String) {\n collections(first: $first, after: $after) {\n __typename\n pageInfo {\n __typename\n endCursor\n }\n nodes {\n __typename\n ...CollectionParts\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}" + "source": "query Collections($first: Int = 10, $after: String) {\n collections(first: $first, after: $after) {\n __typename\n pageInfo {\n __typename\n endCursor\n }\n nodes {\n __typename\n ...CollectionParts\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n tags(where: {orderby: COUNT}, last: 10) {\n __typename\n nodes {\n __typename\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}" }, - "ec6cd1d2ccbe5ac69bdaacd32772c52253c5fc19b241e8a66110ea5da5c9acdd": { + "736868892ce0a360efbc7be8cb1566854930a13a1d221f810c59a67c7dce3ee2": { "name": "EssentialsByArticle", - "source": "query EssentialsByArticle($id: ID!) {\n post(id: $id) {\n __typename\n id\n essentials(first: 3) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n obsessions {\n __typename\n nodes {\n __typename\n ...ObsessionParts\n essentials(first: 1) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n }\n }\n guides {\n __typename\n nodes {\n __typename\n ...GuideParts\n essentials(first: 1) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n }\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}\nfragment ObsessionParts on Obsession {\n __typename\n id\n description\n hasEssentials\n headerImage {\n __typename\n ...MediaParts\n }\n link\n name\n shortDescription\n slug\n subtitle\n featuredImage {\n __typename\n ...MediaParts\n }\n sponsor {\n __typename\n name\n campaign {\n __typename\n id\n logo\n logoLink\n }\n }\n}\nfragment GuideParts on Guide {\n __typename\n id\n guideId\n hasEssentials\n link\n count\n description\n shortDescription\n name\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n socialImage {\n __typename\n ...MediaParts\n }\n socialTitle\n colors\n headerImages {\n __typename\n layer\n size\n image {\n __typename\n ...MediaParts\n }\n }\n}" + "source": "query EssentialsByArticle($id: ID!) {\n post(id: $id) {\n __typename\n id\n essentials(first: 3) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n obsessions {\n __typename\n nodes {\n __typename\n ...ObsessionParts\n essentials(first: 1) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n }\n }\n guides {\n __typename\n nodes {\n __typename\n ...GuideParts\n essentials(first: 1) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n }\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n tags(where: {orderby: COUNT}, last: 10) {\n __typename\n nodes {\n __typename\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}\nfragment ObsessionParts on Obsession {\n __typename\n id\n description\n hasEssentials\n headerImage {\n __typename\n ...MediaParts\n }\n link\n name\n shortDescription\n slug\n subtitle\n featuredImage {\n __typename\n ...MediaParts\n }\n sponsor {\n __typename\n name\n campaign {\n __typename\n id\n logo\n logoLink\n }\n }\n}\nfragment GuideParts on Guide {\n __typename\n id\n guideId\n hasEssentials\n link\n count\n description\n shortDescription\n name\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n socialImage {\n __typename\n ...MediaParts\n }\n socialTitle\n colors\n headerImages {\n __typename\n layer\n size\n image {\n __typename\n ...MediaParts\n }\n }\n}" }, - "d0dad9386ce029fa94f75d5224b22825daa1dcca39c3e6b070da3d40afa32707": { + "83cd2bc6e66a7f4b3a8970e9cd5864f0bd46f632aa9e90d7e97b68ca2aa61fe3": { "name": "EssentialsByArticlePreview", - "source": "query EssentialsByArticlePreview($id: Int!, $time: Int!, $token: String!) {\n posts(where: {id: $id, preview: {time: $time, token: $token}}) {\n __typename\n nodes {\n __typename\n id\n essentials(first: 3) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n obsessions {\n __typename\n nodes {\n __typename\n ...ObsessionParts\n essentials(first: 1) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n }\n }\n guides {\n __typename\n nodes {\n __typename\n ...GuideParts\n essentials(first: 1) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n }\n }\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}\nfragment ObsessionParts on Obsession {\n __typename\n id\n description\n hasEssentials\n headerImage {\n __typename\n ...MediaParts\n }\n link\n name\n shortDescription\n slug\n subtitle\n featuredImage {\n __typename\n ...MediaParts\n }\n sponsor {\n __typename\n name\n campaign {\n __typename\n id\n logo\n logoLink\n }\n }\n}\nfragment GuideParts on Guide {\n __typename\n id\n guideId\n hasEssentials\n link\n count\n description\n shortDescription\n name\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n socialImage {\n __typename\n ...MediaParts\n }\n socialTitle\n colors\n headerImages {\n __typename\n layer\n size\n image {\n __typename\n ...MediaParts\n }\n }\n}" + "source": "query EssentialsByArticlePreview($id: Int!, $time: Int!, $token: String!) {\n posts(where: {id: $id, preview: {time: $time, token: $token}}) {\n __typename\n nodes {\n __typename\n id\n essentials(first: 3) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n obsessions {\n __typename\n nodes {\n __typename\n ...ObsessionParts\n essentials(first: 1) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n }\n }\n guides {\n __typename\n nodes {\n __typename\n ...GuideParts\n essentials(first: 1) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n }\n }\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n tags(where: {orderby: COUNT}, last: 10) {\n __typename\n nodes {\n __typename\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}\nfragment ObsessionParts on Obsession {\n __typename\n id\n description\n hasEssentials\n headerImage {\n __typename\n ...MediaParts\n }\n link\n name\n shortDescription\n slug\n subtitle\n featuredImage {\n __typename\n ...MediaParts\n }\n sponsor {\n __typename\n name\n campaign {\n __typename\n id\n logo\n logoLink\n }\n }\n}\nfragment GuideParts on Guide {\n __typename\n id\n guideId\n hasEssentials\n link\n count\n description\n shortDescription\n name\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n socialImage {\n __typename\n ...MediaParts\n }\n socialTitle\n colors\n headerImages {\n __typename\n layer\n size\n image {\n __typename\n ...MediaParts\n }\n }\n}" }, - "40cf6cfbf41f6a1a498c3830cf4fa8065f0b49564171c2b21a3de204670dcee3": { + "bb484107080c059d05bcb99cf6bca4c798fcc74fddcd1439525e1a48a2be4817": { "name": "EssentialsByCollection", - "source": "query EssentialsByCollection($collectionId: Int!) {\n collectionBy(collectionId: $collectionId) {\n __typename\n ...CollectionParts\n bulletin {\n __typename\n ...BulletinDataParts\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}\nfragment BulletinDataParts on BulletinData {\n __typename\n campaign {\n __typename\n attribution\n id\n logo\n logoLink\n name\n slug\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n sponsor {\n __typename\n attribution\n id\n logo\n logoLink\n name\n slug\n }\n}" + "source": "query EssentialsByCollection($collectionId: Int!) {\n collectionBy(collectionId: $collectionId) {\n __typename\n ...CollectionParts\n bulletin {\n __typename\n ...BulletinDataParts\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n tags(where: {orderby: COUNT}, last: 10) {\n __typename\n nodes {\n __typename\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}\nfragment BulletinDataParts on BulletinData {\n __typename\n campaign {\n __typename\n attribution\n id\n logo\n logoLink\n name\n slug\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n sponsor {\n __typename\n attribution\n id\n logo\n logoLink\n name\n slug\n }\n}" }, - "fea72ec62fecdd017b1021aa88daf998cfc7d76a21bad6dd8cf53f1934cb6a95": { + "df1494d49b9b1a17a267d2d07449219b61db3c5133e6e396146f9d4e5b9abcd7": { "name": "EssentialsByGuide", - "source": "query EssentialsByGuide($slug: String!) {\n guides(last: 1, where: {slug: [$slug]}) {\n __typename\n nodes {\n __typename\n id\n essentials(first: 1) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}" + "source": "query EssentialsByGuide($slug: String!) {\n guides(last: 1, where: {slug: [$slug]}) {\n __typename\n nodes {\n __typename\n id\n essentials(first: 1) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n tags(where: {orderby: COUNT}, last: 10) {\n __typename\n nodes {\n __typename\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}" }, - "6bf04cba95c037783fd6e5ec082428c68206395260f36e9ba107ff7344ccdce2": { + "7568a7f5cec928baca0ca7ff8ba2d4cc8d85dbd2c67a89d60f2e5dc436e72503": { "name": "EssentialsByObsession", - "source": "query EssentialsByObsession($slug: String!) {\n obsessions(last: 1, where: {slug: [$slug]}) {\n __typename\n nodes {\n __typename\n id\n essentials(first: 1) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}" + "source": "query EssentialsByObsession($slug: String!) {\n obsessions(last: 1, where: {slug: [$slug]}) {\n __typename\n nodes {\n __typename\n id\n essentials(first: 1) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n tags(where: {orderby: COUNT}, last: 10) {\n __typename\n nodes {\n __typename\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}" }, - "76ec210be52794b00baf21570c99b7f09dfe3e563858e5dcf4bb66341df2c754": { + "b52290432468fd30618a35817a1eb75d8d4cc91ec3f0554073020e1b2b0c3dec": { "name": "NonHomeEssentials", - "source": "query NonHomeEssentials($after: String = \"\", $perPage: Int) {\n collections(first: $perPage, after: $after, where: {tagNotIn: 400}) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n bulletin {\n __typename\n ...BulletinDataParts\n }\n }\n pageInfo {\n __typename\n endCursor\n hasNextPage\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}\nfragment BulletinDataParts on BulletinData {\n __typename\n campaign {\n __typename\n attribution\n id\n logo\n logoLink\n name\n slug\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n sponsor {\n __typename\n attribution\n id\n logo\n logoLink\n name\n slug\n }\n}" + "source": "query NonHomeEssentials($after: String = \"\", $perPage: Int) {\n collections(first: $perPage, after: $after, where: {tagNotIn: 400}) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n bulletin {\n __typename\n ...BulletinDataParts\n }\n }\n pageInfo {\n __typename\n endCursor\n hasNextPage\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n tags(where: {orderby: COUNT}, last: 10) {\n __typename\n nodes {\n __typename\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}\nfragment BulletinDataParts on BulletinData {\n __typename\n campaign {\n __typename\n attribution\n id\n logo\n logoLink\n name\n slug\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n sponsor {\n __typename\n attribution\n id\n logo\n logoLink\n name\n slug\n }\n}" }, "b3d5a4a962f0834ea8e4da2fd61d7b94c30c04a6f00bdd0682b59e5dcfc70a98": { "name": "Contributors", @@ -147,13 +147,13 @@ "name": "GuidesByTopic", "source": "query GuidesByTopic($perPage: Int = 50, $slug: [String]!) {\n topics(where: {slug: $slug}) {\n __typename\n nodes {\n __typename\n id\n name\n slug\n guides(last: $perPage) {\n __typename\n nodes {\n __typename\n ...GuideParts\n }\n }\n }\n }\n}\nfragment GuideParts on Guide {\n __typename\n id\n guideId\n hasEssentials\n link\n count\n description\n shortDescription\n name\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n socialImage {\n __typename\n ...MediaParts\n }\n socialTitle\n colors\n headerImages {\n __typename\n layer\n size\n image {\n __typename\n ...MediaParts\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}" }, - "e4a5bb02d0f71aae377432d998ae97f5f13a066a75cd7ed9023fd27d085daf9a": { + "62937df7189382b272a88a7d971812c8474f667e180185d70f8a780b2a3f1804": { "name": "HomeCollection", - "source": "query HomeCollection {\n collections(first: 1, where: {tagSlugIn: [\"home\"]}) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}" + "source": "query HomeCollection {\n collections(first: 1, where: {tagSlugIn: [\"home\"]}) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n tags(where: {orderby: COUNT}, last: 10) {\n __typename\n nodes {\n __typename\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}" }, - "77fb4c92d12552783e34c71e73ce08308dc57e914a18f7211f21ce03c1d5e978": { + "a1840b13c7bb92d7e588207ee761a3b7adc42c20e0c851ec2bbeb1f9dab09cea": { "name": "HomeCollectionPreview", - "source": "query HomeCollectionPreview($id: Int!, $time: Int!, $token: String!) {\n collections(where: {id: $id, preview: {time: $time, token: $token}}) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}" + "source": "query HomeCollectionPreview($id: Int!, $time: Int!, $token: String!) {\n collections(where: {id: $id, preview: {time: $time, token: $token}}) {\n __typename\n nodes {\n __typename\n ...CollectionParts\n }\n }\n}\nfragment CollectionParts on Collection {\n __typename\n id\n collectionId\n title\n dateGmt\n excerpt\n modifiedGmt\n slug\n tags(where: {orderby: COUNT}, last: 10) {\n __typename\n nodes {\n __typename\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n ... on Nug {\n ...NugParts\n }\n }\n }\n}\nfragment MediaParts on MediaItem {\n __typename\n altText\n caption\n credit\n id\n mediaDetails {\n __typename\n height\n width\n }\n mediaItemUrl\n sourceUrl\n title\n}\nfragment BlockParts on Block {\n __typename\n attributes {\n __typename\n name\n value\n }\n id\n innerHtml\n tagName\n type\n}\nfragment ArticleTeaserParts on Post {\n __typename\n bulletin {\n __typename\n campaign {\n __typename\n id\n logo\n name\n slug\n }\n sponsor {\n __typename\n attribution\n id\n slug\n name\n }\n clientTracking {\n __typename\n article\n elsewhere\n logo\n }\n }\n dateGmt\n editions {\n __typename\n nodes {\n __typename\n name\n slug\n }\n }\n featuredImage {\n __typename\n ...MediaParts\n }\n guides {\n __typename\n nodes {\n __typename\n name\n }\n }\n id\n kicker\n link\n postId\n serieses {\n __typename\n nodes {\n __typename\n name\n }\n }\n title\n trailerVideo {\n __typename\n ...VideoParts\n }\n video {\n __typename\n ...VideoParts\n }\n}\nfragment VideoParts on VideoData {\n __typename\n id\n duration\n episode\n playlistId\n season\n type\n}\nfragment NugParts on Nug {\n __typename\n id\n blocks {\n __typename\n ...BlockParts\n connections {\n __typename\n ... on Post {\n ...ArticleTeaserParts\n }\n ... on MediaItem {\n ...MediaParts\n }\n }\n }\n dateGmt\n emailLists {\n __typename\n nodes {\n __typename\n emailListId\n slug\n listId\n name\n }\n }\n link\n modifiedGmt\n nugId\n slug\n title\n tags {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n topics {\n __typename\n nodes {\n __typename\n id\n name\n slug\n }\n }\n}" }, "89a0f7db82fb64996559913cb3f7f896fc7baacfbd9dcb9d4cb9406121611b6e": { "name": "MediaItemsById", diff --git a/Web/CollectionParts.ts b/Web/CollectionParts.ts index 3449c253..0c0dc94e 100644 --- a/Web/CollectionParts.ts +++ b/Web/CollectionParts.ts @@ -9,7 +9,7 @@ import { MediaPartsFragmentDoc } from './MediaParts'; import { BlockPartsFragmentDoc } from './BlockParts'; import { ArticleTeaserPartsFragmentDoc } from './ArticleTeaserParts'; import { NugPartsFragmentDoc } from './NugParts'; -export type CollectionPartsFragment = { __typename?: 'Collection', id: string, collectionId: number, title?: Types.Maybe, dateGmt?: Types.Maybe, excerpt?: Types.Maybe, modifiedGmt?: Types.Maybe, slug?: Types.Maybe, featuredImage?: Types.Maybe<( +export type CollectionPartsFragment = { __typename?: 'Collection', id: string, collectionId: number, title?: Types.Maybe, dateGmt?: Types.Maybe, excerpt?: Types.Maybe, modifiedGmt?: Types.Maybe, slug?: Types.Maybe, tags?: Types.Maybe<{ __typename?: 'CollectionToTagConnection', nodes?: Types.Maybe }>>> }>, featuredImage?: Types.Maybe<( { __typename?: 'MediaItem' } & MediaPartsFragment )>, blocks?: Types.Maybe; modifiedGmt?: Types.Maybe; slug?: Types.Maybe; + tags?: Types.Maybe<{ + __typename?: 'CollectionToTagConnection'; + nodes?: Types.Maybe; + }>>>; + }>; featuredImage?: Types.Maybe<({ __typename?: 'MediaItem'; } & MediaPartsFragment)>; diff --git a/Web/dist-cjs/CollectionParts.d.ts.map b/Web/dist-cjs/CollectionParts.d.ts.map index 76472ead..9d885d31 100644 --- a/Web/dist-cjs/CollectionParts.d.ts.map +++ b/Web/dist-cjs/CollectionParts.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"CollectionParts.d.ts","sourceRoot":"","sources":["../CollectionParts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AAEtC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAMnD,oBAAY,uBAAuB,GAAG;IAAE,UAAU,CAAC,EAAE,YAAY,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAAC,OAAO,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAAC,OAAO,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAAC,WAAW,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAAC,aAAa,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CACvR;QAAE,UAAU,CAAC,EAAE,WAAW,CA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E,GACrB,0BAA0B,CAC7B,GAAG;YAAE,UAAU,CAAC,EAAE,MAAM,CAAA;SAAE,GAAG,CAC5B;YAAE,UAAU,CAAC,EAAE,WAAW,CAAA;SAAE,GAC1B,kBAAkB,CACrB,GAAG;YAAE,UAAU,CAAC,EAAE,OAAO,CAAA;SAAE,GAAG;YAAE,UAAU,CAAC,EAAE,SAAS,CAAA;SAAE,GAAG;YAAE,UAAU,CAAC,EAAE,WAAW,CAAA;SAAE,GAAG;YAAE,UAAU,CAAC,EAAE,UAAU,CAAA;SAAE,GAAG,CACvH;YAAE,UAAU,CAAC,EAAE,KAAK,CAAA;SAAE,GACpB,gBAAgB,CACnB,GAAG;YAAE,UAAU,CAAC,EAAE,YAAY,CAAA;SAAE,GAAG;YAAE,UAAU,CAAC,EAAE,UAAU,CAAA;SAAE,CAAC,CAAC,CAAC,CAAA;KAAE,GAClE,kBAAkB,CACrB,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC;AAET,eAAO,MAAM,0BAA0B,uCAmChB,CAAC"} \ No newline at end of file diff --git a/Web/dist-cjs/CollectionParts.js b/Web/dist-cjs/CollectionParts.js index 3ecfc5cc..512b6630 100644 --- a/Web/dist-cjs/CollectionParts.js +++ b/Web/dist-cjs/CollectionParts.js @@ -15,6 +15,11 @@ exports.CollectionPartsFragmentDoc = client_1.gql ` excerpt modifiedGmt slug + tags(where: {orderby: COUNT}, last: 10) { + nodes { + slug + } + } featuredImage { ...MediaParts } diff --git a/Web/dist-cjs/CollectionParts.js.map b/Web/dist-cjs/CollectionParts.js.map index 0b61de52..c04ce829 100644 --- a/Web/dist-cjs/CollectionParts.js.map +++ b/Web/dist-cjs/CollectionParts.js.map @@ -1 +1 @@ -{"version":3,"file":"CollectionParts.js","sourceRoot":"","sources":["../CollectionParts.ts"],"names":[],"mappings":";;;AAMA,2CAAqC;AACrC,6CAAqD;AACrD,6CAAqD;AACrD,6DAAqE;AACrE,yCAAiD;AAkBpC,QAAA,0BAA0B,GAAiB,YAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BrD,kCAAqB;EACzB,kCAAqB;EACrB,kDAA6B;EAC7B,8BAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"CollectionParts.js","sourceRoot":"","sources":["../CollectionParts.ts"],"names":[],"mappings":";;;AAMA,2CAAqC;AACrC,6CAAqD;AACrD,6CAAqD;AACrD,6DAAqE;AACrE,yCAAiD;AAkBpC,QAAA,0BAA0B,GAAiB,YAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgCrD,kCAAqB;EACzB,kCAAqB;EACrB,kDAA6B;EAC7B,8BAAmB,EAAE,CAAC"} \ No newline at end of file diff --git a/Web/dist/CollectionParts.d.ts b/Web/dist/CollectionParts.d.ts index 687b38bc..1b31cc4c 100644 --- a/Web/dist/CollectionParts.d.ts +++ b/Web/dist/CollectionParts.d.ts @@ -12,6 +12,13 @@ export declare type CollectionPartsFragment = { excerpt?: Types.Maybe; modifiedGmt?: Types.Maybe; slug?: Types.Maybe; + tags?: Types.Maybe<{ + __typename?: 'CollectionToTagConnection'; + nodes?: Types.Maybe; + }>>>; + }>; featuredImage?: Types.Maybe<({ __typename?: 'MediaItem'; } & MediaPartsFragment)>; diff --git a/Web/dist/CollectionParts.d.ts.map b/Web/dist/CollectionParts.d.ts.map index 76472ead..9d885d31 100644 --- a/Web/dist/CollectionParts.d.ts.map +++ b/Web/dist/CollectionParts.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"CollectionParts.d.ts","sourceRoot":"","sources":["../CollectionParts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AAEtC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,KAAK,EA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--git a/Web/dist/CollectionParts.js b/Web/dist/CollectionParts.js index d439eb86..9d9fd1d9 100644 --- a/Web/dist/CollectionParts.js +++ b/Web/dist/CollectionParts.js @@ -12,6 +12,11 @@ export const CollectionPartsFragmentDoc = /*#__PURE__*/ gql ` excerpt modifiedGmt slug + tags(where: {orderby: COUNT}, last: 10) { + nodes { + slug + } + } featuredImage { ...MediaParts } diff --git a/Web/dist/CollectionParts.js.map b/Web/dist/CollectionParts.js.map index 4cfcd622..a9b94741 100644 --- a/Web/dist/CollectionParts.js.map +++ b/Web/dist/CollectionParts.js.map @@ -1 +1 @@ -{"version":3,"file":"CollectionParts.js","sourceRoot":"","sources":["../CollectionParts.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAkBjD,MAAM,CAAC,MAAM,0BAA0B,GAAG,aAAa,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BrD,qBAAqB;EACzB,qBAAqB;EACrB,6BAA6B;EAC7B,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"CollectionParts.js","sourceRoot":"","sources":["../CollectionParts.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAkBjD,MAAM,CAAC,MAAM,0BAA0B,GAAG,aAAa,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgCrD,qBAAqB;EACzB,qBAAqB;EACrB,6BAA6B;EAC7B,mBAAmB,EAAE,CAAC"} \ No newline at end of file diff --git a/iOS/QuartzContent/QuartzContent.swift b/iOS/QuartzContent/QuartzContent.swift index a11f9a06..f26fa7a2 100644 --- a/iOS/QuartzContent/QuartzContent.swift +++ b/iOS/QuartzContent/QuartzContent.swift @@ -7796,7 +7796,7 @@ public final class CollectionQuery: GraphQLQuery { public let operationName: String = "Collection" - public let operationIdentifier: String? = "14f003ba8de1f99a88780929b11896073c974d9f6ba1befb18749061554aacb2" + public let operationIdentifier: String? = "584019f6eec171f38c21262474ecf97d48add3dbb9634085b40d57205ef6d59b" public var queryDocument: String { var document: String = operationDefinition @@ -7967,7 +7967,7 @@ public final class CollectionsQuery: GraphQLQuery { public let operationName: String = "Collections" - public let operationIdentifier: String? = "8cce508324c5f3eb40d2cba36fc92292b21b6185b17b3570b1915b6bf715aa18" + public let operationIdentifier: String? = "b7b382e40ea5c86960faa2a37e7fe544cc49a857457dfdec912f00d2acbce008" public var queryDocument: String { var document: String = operationDefinition @@ -8215,7 +8215,7 @@ public final class EssentialsByArticleQuery: GraphQLQuery { public let operationName: String = "EssentialsByArticle" - public let operationIdentifier: String? = "ec6cd1d2ccbe5ac69bdaacd32772c52253c5fc19b241e8a66110ea5da5c9acdd" + public let operationIdentifier: String? = "736868892ce0a360efbc7be8cb1566854930a13a1d221f810c59a67c7dce3ee2" public var queryDocument: String { var document: String = operationDefinition @@ -8878,7 +8878,7 @@ public final class EssentialsByArticlePreviewQuery: GraphQLQuery { public let operationName: String = "EssentialsByArticlePreview" - public let operationIdentifier: String? = "d0dad9386ce029fa94f75d5224b22825daa1dcca39c3e6b070da3d40afa32707" + public let operationIdentifier: String? = "83cd2bc6e66a7f4b3a8970e9cd5864f0bd46f632aa9e90d7e97b68ca2aa61fe3" public var queryDocument: String { var document: String = operationDefinition @@ -9551,7 +9551,7 @@ public final class EssentialsByCollectionQuery: GraphQLQuery { public let operationName: String = "EssentialsByCollection" - public let operationIdentifier: String? = "40cf6cfbf41f6a1a498c3830cf4fa8065f0b49564171c2b21a3de204670dcee3" + public let operationIdentifier: String? = "bb484107080c059d05bcb99cf6bca4c798fcc74fddcd1439525e1a48a2be4817" public var queryDocument: String { var document: String = operationDefinition @@ -9746,7 +9746,7 @@ public final class EssentialsByGuideQuery: GraphQLQuery { public let operationName: String = "EssentialsByGuide" - public let operationIdentifier: String? = "fea72ec62fecdd017b1021aa88daf998cfc7d76a21bad6dd8cf53f1934cb6a95" + public let operationIdentifier: String? = "df1494d49b9b1a17a267d2d07449219b61db3c5133e6e396146f9d4e5b9abcd7" public var queryDocument: String { var document: String = operationDefinition @@ -10007,7 +10007,7 @@ public final class EssentialsByObsessionQuery: GraphQLQuery { public let operationName: String = "EssentialsByObsession" - public let operationIdentifier: String? = "6bf04cba95c037783fd6e5ec082428c68206395260f36e9ba107ff7344ccdce2" + public let operationIdentifier: String? = "7568a7f5cec928baca0ca7ff8ba2d4cc8d85dbd2c67a89d60f2e5dc436e72503" public var queryDocument: String { var document: String = operationDefinition @@ -10270,7 +10270,7 @@ public final class NonHomeEssentialsQuery: GraphQLQuery { public let operationName: String = "NonHomeEssentials" - public let operationIdentifier: String? = "76ec210be52794b00baf21570c99b7f09dfe3e563858e5dcf4bb66341df2c754" + public let operationIdentifier: String? = "b52290432468fd30618a35817a1eb75d8d4cc91ec3f0554073020e1b2b0c3dec" public var queryDocument: String { var document: String = operationDefinition @@ -14377,7 +14377,7 @@ public final class HomeCollectionQuery: GraphQLQuery { public let operationName: String = "HomeCollection" - public let operationIdentifier: String? = "e4a5bb02d0f71aae377432d998ae97f5f13a066a75cd7ed9023fd27d085daf9a" + public let operationIdentifier: String? = "62937df7189382b272a88a7d971812c8474f667e180185d70f8a780b2a3f1804" public var queryDocument: String { var document: String = operationDefinition @@ -14533,7 +14533,7 @@ public final class HomeCollectionPreviewQuery: GraphQLQuery { public let operationName: String = "HomeCollectionPreview" - public let operationIdentifier: String? = "77fb4c92d12552783e34c71e73ce08308dc57e914a18f7211f21ce03c1d5e978" + public let operationIdentifier: String? = "a1840b13c7bb92d7e588207ee761a3b7adc42c20e0c851ec2bbeb1f9dab09cea" public var queryDocument: String { var document: String = operationDefinition @@ -22314,6 +22314,13 @@ public struct CollectionParts: GraphQLFragment { excerpt modifiedGmt slug + tags(where: {orderby: COUNT}, last: 10) { + __typename + nodes { + __typename + slug + } + } featuredImage { __typename ...MediaParts @@ -22349,6 +22356,7 @@ public struct CollectionParts: GraphQLFragment { GraphQLField("excerpt", type: .scalar(String.self)), GraphQLField("modifiedGmt", type: .scalar(String.self)), GraphQLField("slug", type: .scalar(String.self)), + GraphQLField("tags", arguments: ["where": ["orderby": "COUNT"], "last": 10], type: .object(Tag.selections)), GraphQLField("featuredImage", type: .object(FeaturedImage.selections)), GraphQLField("blocks", type: .list(.object(Block.selections))), ] @@ -22360,8 +22368,8 @@ public struct CollectionParts: GraphQLFragment { self.resultMap = unsafeResultMap } - public init(id: GraphQLID, collectionId: Int, title: String? = nil, dateGmt: String? = nil, excerpt: String? = nil, modifiedGmt: String? = nil, slug: String? = nil, featuredImage: FeaturedImage? = nil, blocks: [Block?]? = nil) { - self.init(unsafeResultMap: ["__typename": "Collection", "id": id, "collectionId": collectionId, "title": title, "dateGmt": dateGmt, "excerpt": excerpt, "modifiedGmt": modifiedGmt, "slug": slug, "featuredImage": featuredImage.flatMap { (value: FeaturedImage) -> ResultMap in value.resultMap }, "blocks": blocks.flatMap { (value: [Block?]) -> [ResultMap?] in value.map { (value: Block?) -> ResultMap? in value.flatMap { (value: Block) -> ResultMap in value.resultMap } } }]) + public init(id: GraphQLID, collectionId: Int, title: String? = nil, dateGmt: String? = nil, excerpt: String? = nil, modifiedGmt: String? = nil, slug: String? = nil, tags: Tag? = nil, featuredImage: FeaturedImage? = nil, blocks: [Block?]? = nil) { + self.init(unsafeResultMap: ["__typename": "Collection", "id": id, "collectionId": collectionId, "title": title, "dateGmt": dateGmt, "excerpt": excerpt, "modifiedGmt": modifiedGmt, "slug": slug, "tags": tags.flatMap { (value: Tag) -> ResultMap in value.resultMap }, "featuredImage": featuredImage.flatMap { (value: FeaturedImage) -> ResultMap in value.resultMap }, "blocks": blocks.flatMap { (value: [Block?]) -> [ResultMap?] in value.map { (value: Block?) -> ResultMap? in value.flatMap { (value: Block) -> ResultMap in value.resultMap } } }]) } public var __typename: String { @@ -22444,6 +22452,16 @@ public struct CollectionParts: GraphQLFragment { } } + /// Connection between the collection type and the tag type + public var tags: Tag? { + get { + return (resultMap["tags"] as? ResultMap).flatMap { Tag(unsafeResultMap: $0) } + } + set { + resultMap.updateValue(newValue?.resultMap, forKey: "tags") + } + } + /// Featured image (direct node access) public var featuredImage: FeaturedImage? { get { @@ -22464,6 +22482,86 @@ public struct CollectionParts: GraphQLFragment { } } + public struct Tag: GraphQLSelectionSet { + public static let possibleTypes: [String] = ["CollectionToTagConnection"] + + public static var selections: [GraphQLSelection] { + return [ + GraphQLField("__typename", type: .nonNull(.scalar(String.self))), + GraphQLField("nodes", type: .list(.object(Node.selections))), + ] + } + + public private(set) var resultMap: ResultMap + + public init(unsafeResultMap: ResultMap) { + self.resultMap = unsafeResultMap + } + + public init(nodes: [Node?]? = nil) { + self.init(unsafeResultMap: ["__typename": "CollectionToTagConnection", "nodes": nodes.flatMap { (value: [Node?]) -> [ResultMap?] in value.map { (value: Node?) -> ResultMap? in value.flatMap { (value: Node) -> ResultMap in value.resultMap } } }]) + } + + public var __typename: String { + get { + return resultMap["__typename"]! as! String + } + set { + resultMap.updateValue(newValue, forKey: "__typename") + } + } + + /// The nodes of the connection, without the edges + public var nodes: [Node?]? { + get { + return (resultMap["nodes"] as? [ResultMap?]).flatMap { (value: [ResultMap?]) -> [Node?] in value.map { (value: ResultMap?) -> Node? in value.flatMap { (value: ResultMap) -> Node in Node(unsafeResultMap: value) } } } + } + set { + resultMap.updateValue(newValue.flatMap { (value: [Node?]) -> [ResultMap?] in value.map { (value: Node?) -> ResultMap? in value.flatMap { (value: Node) -> ResultMap in value.resultMap } } }, forKey: "nodes") + } + } + + public struct Node: GraphQLSelectionSet { + public static let possibleTypes: [String] = ["Tag"] + + public static var selections: [GraphQLSelection] { + return [ + GraphQLField("__typename", type: .nonNull(.scalar(String.self))), + GraphQLField("slug", type: .scalar(String.self)), + ] + } + + public private(set) var resultMap: ResultMap + + public init(unsafeResultMap: ResultMap) { + self.resultMap = unsafeResultMap + } + + public init(slug: String? = nil) { + self.init(unsafeResultMap: ["__typename": "Tag", "slug": slug]) + } + + public var __typename: String { + get { + return resultMap["__typename"]! as! String + } + set { + resultMap.updateValue(newValue, forKey: "__typename") + } + } + + /// An alphanumeric identifier for the object unique to its type. + public var slug: String? { + get { + return resultMap["slug"] as? String + } + set { + resultMap.updateValue(newValue, forKey: "slug") + } + } + } + } + public struct FeaturedImage: GraphQLSelectionSet { public static let possibleTypes: [String] = ["MediaItem"]