gatsby-theme-advanced
Version:
GatsbyJS theme equipped with advanced features.
4 lines (3 loc) • 2.23 kB
TypeScript
export declare const indexListingQuery = "#graphql\nquery IndexFeedListing($skip: Int, $limit: Int) {\n allMdx(\n sort: { fields: [frontmatter___datePublished], order: DESC }\n limit: $limit\n skip: $skip\n ) {\n edges {\n node {\n fields {\n slug\n route\n pathName\n url\n }\n excerpt\n timeToRead\n frontmatter {\n title\n description\n cover {\n childImageSharp {\n gatsbyImageData(height: 368)\n }\n }\n coverAlt\n tags\n category\n datePublished\n dateModified\n }\n }\n }\n }\n}\n";
export declare const tagListingQuery = "#graphql\nquery TagFeedListing($tag: String) {\n allMdx(\n limit: 1000\n sort: { fields: [frontmatter___datePublished], order: DESC }\n filter: { frontmatter: { tags: { in: [$tag] } } }\n ) {\n totalCount\n edges {\n node {\n fields {\n slug\n route\n pathName\n url\n }\n excerpt\n timeToRead\n frontmatter {\n title\n tags\n category\n cover {\n childImageSharp {\n gatsbyImageData(height: 368)\n }\n }\n coverAlt\n datePublished\n dateModified\n description\n }\n }\n }\n }\n}\n";
export declare const categoryListingQuery = "#graphql\nquery CategoryFeedListing($category: String) {\n allMdx(\n limit: 1000\n sort: { fields: [frontmatter___datePublished], order: DESC }\n filter: { frontmatter: { category: { eq: $category } } }\n ) {\n totalCount\n edges {\n node {\n fields {\n slug\n route\n pathName\n url\n }\n excerpt\n timeToRead\n frontmatter {\n title\n tags\n category\n cover {\n childImageSharp {\n gatsbyImageData(height: 368)\n }\n }\n coverAlt\n datePublished\n dateModified\n description\n }\n }\n }\n }\n}\n";