Download wp-calypso/client/state/imports/constants.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 811 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/imports/constants.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/imports/constants.js
-
curl -L -o constants.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/imports/constants.js
811 Bytes
| export const appStates = Object.freeze( { | |
| CANCEL_PENDING: 'importer-canceling', | |
| DEFUNCT: 'importer-defunct', | |
| DISABLED: 'importer-disabled', | |
| EXPIRED: 'importer-expired', | |
| EXPIRE_PENDING: 'importer-expire-pending', | |
| IMPORT_FAILURE: 'importer-import-failure', | |
| IMPORT_SUCCESS: 'importer-import-success', | |
| IMPORTING: 'importer-importing', | |
| INACTIVE: 'importer-inactive', | |
| MAP_AUTHORS: 'importer-map-authors', | |
| READY_FOR_UPLOAD: 'importer-ready-for-upload', | |
| UPLOAD_PROCESSING: 'importer-upload-processing', | |
| UPLOAD_SUCCESS: 'importer-upload-success', | |
| UPLOAD_FAILURE: 'importer-upload-failure', | |
| UPLOADING: 'importer-uploading', | |
| IMPORT_CLEAR: 'importer-clear', | |
| } ); | |
| export const MAX_FILE_SIZE = 104857000; // In bytes. The file limit is 100mb, but we leave 600 bytes for headers and other meta that are sent. | |