Download wp-calypso/client/state/data-layer/wpcom/sites/stats/visits/schema.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 456 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/data-layer/wpcom/sites/stats/visits/schema.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/data-layer/wpcom/sites/stats/visits/schema.js
-
curl -L -o schema.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/data-layer/wpcom/sites/stats/visits/schema.js
456 Bytes
| export default { | |
| id: 'sites-stats-visits-response', | |
| title: 'Stats Visits Response', | |
| type: 'object', | |
| $schema: 'http://json-schema.org/draft-04/schema#', | |
| properties: { | |
| data: { | |
| type: 'array', | |
| items: { | |
| type: 'array', | |
| items: { | |
| // Valid for NULL from unsupported stats fields in hourly data | |
| type: [ 'integer', 'string', 'array', null ], | |
| }, | |
| }, | |
| }, | |
| fields: { | |
| type: 'array', | |
| }, | |
| unit: { | |
| type: 'string', | |
| }, | |
| }, | |
| }; | |