Download wp-calypso/client/state/document-head/schema.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 458 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/document-head/schema.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/document-head/schema.js
-
curl -L -o schema.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/document-head/schema.js
458 Bytes
| export const titleSchema = { | |
| type: 'string', | |
| }; | |
| export const unreadCountSchema = { | |
| type: 'number', | |
| }; | |
| export const metaSchema = { | |
| type: 'array', | |
| items: { | |
| type: 'object', | |
| properties: { | |
| name: { type: 'string' }, | |
| property: { type: 'string' }, | |
| content: { type: 'string' }, | |
| }, | |
| }, | |
| }; | |
| export const linkSchema = { | |
| type: 'array', | |
| items: { | |
| type: 'object', | |
| properties: { | |
| href: { type: 'string' }, | |
| rel: { type: 'string' }, | |
| }, | |
| }, | |
| }; | |