Download wp-calypso/client/dashboard/data/constants.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.52 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/data/constants.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/dashboard/data/constants.ts
-
curl -L -o constants.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/data/constants.ts
1.52 kB
| export enum DotcomPlans { | |
| BUSINESS = 'business-bundle', | |
| BUSINESS_MONTHLY = 'business-bundle-monthly', | |
| BUSINESS_2_YEARS = 'business-bundle-2y', | |
| BUSINESS_3_YEARS = 'business-bundle-3y', | |
| ECOMMERCE_TRIAL_MONTHLY = 'ecommerce-trial-bundle-monthly', | |
| FREE_PLAN = 'free_plan', | |
| HOSTING_TRIAL_MONTHLY = 'wp_bundle_hosting_trial_monthly', | |
| JETPACK_FREE = 'jetpack_free', | |
| MIGRATION_TRIAL_MONTHLY = 'wp_bundle_migration_trial_monthly', | |
| PREMIUM = 'value_bundle', | |
| PREMIUM_MONTHLY = 'value_bundle_monthly', | |
| PREMIUM_2_YEARS = 'value_bundle-2y', | |
| PREMIUM_3_YEARS = 'value_bundle-3y', | |
| } | |
| export enum DotcomFeatures { | |
| ATOMIC = 'atomic', | |
| BACKUPS = 'backups', | |
| SCAN = 'scan', | |
| SUBSCRIPTION_GIFTING = 'subscription-gifting', | |
| COPY_SITE = 'copy-site', | |
| LEGACY_CONTACT = 'legacy-contact', | |
| LOCKED_MODE = 'locked-mode', | |
| SFTP = 'sftp', | |
| SSH = 'ssh', | |
| SITE_PREVIEW_LINKS = 'site-preview-links', | |
| STAGING_SITES = 'staging-sites', | |
| } | |
| // Features that needs Atomic or self-hosted infrastructure, | |
| // mapped to the required WordPress.com plan feature. | |
| export enum HostingFeatures { | |
| BACKUPS = DotcomFeatures.BACKUPS, | |
| CACHING = DotcomFeatures.ATOMIC, | |
| DATABASE = DotcomFeatures.SFTP, | |
| DEFENSIVE_MODE = DotcomFeatures.SFTP, | |
| PHP = DotcomFeatures.SFTP, | |
| PRIMARY_DATA_CENTER = DotcomFeatures.SFTP, | |
| SCAN = DotcomFeatures.SCAN, | |
| SFTP = DotcomFeatures.SFTP, | |
| SSH = DotcomFeatures.SSH, | |
| STAGING_SITE = DotcomFeatures.STAGING_SITES, | |
| STATIC_FILE_404 = DotcomFeatures.SFTP, | |
| } | |
| export enum JetpackModules { | |
| STATS = 'stats', | |
| MONITOR = 'monitor', | |
| } | |