Download next.js/examples/cms-wordpress/src/queries/general/SeoQuery.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-wordpress/src/queries/general/SeoQuery.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/cms-wordpress/src/queries/general/SeoQuery.ts
-
curl -L -o SeoQuery.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-wordpress/src/queries/general/SeoQuery.ts
1.02 kB
| import gql from "graphql-tag"; | |
| export const SeoQuery = gql` | |
| query SeoQuery( | |
| $slug: ID! | |
| $idType: ContentNodeIdTypeEnum | |
| $preview: Boolean = false | |
| ) { | |
| contentNode(id: $slug, idType: $idType, asPreview: $preview) { | |
| seo { | |
| canonical | |
| cornerstone | |
| focuskw | |
| metaDesc | |
| metaKeywords | |
| metaRobotsNofollow | |
| metaRobotsNoindex | |
| opengraphAuthor | |
| opengraphDescription | |
| opengraphModifiedTime | |
| opengraphPublishedTime | |
| opengraphPublisher | |
| opengraphSiteName | |
| opengraphTitle | |
| opengraphType | |
| opengraphUrl | |
| readingTime | |
| title | |
| twitterDescription | |
| twitterTitle | |
| opengraphImage { | |
| altText | |
| mediaDetails { | |
| height | |
| width | |
| } | |
| sourceUrl | |
| } | |
| twitterImage { | |
| altText | |
| mediaDetails { | |
| width | |
| height | |
| } | |
| sourceUrl | |
| } | |
| } | |
| } | |
| } | |
| `; | |