Download wp-calypso/client/my-sites/subscribers/constants.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 769 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/subscribers/constants.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/subscribers/constants.ts
-
curl -L -o constants.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/subscribers/constants.ts
769 Bytes
| import { translate } from 'i18n-calypso'; | |
| export enum SubscribersSortBy { | |
| Name = 'name', | |
| DateSubscribed = 'date_subscribed', | |
| Plan = 'plan', | |
| SubscriptionStatus = 'subscription_status', | |
| } | |
| export enum SubscribersFilterBy { | |
| All = 'all', | |
| Email = 'email', | |
| WPCOM = 'wpcom', | |
| Free = 'free', | |
| Paid = 'paid', | |
| ReaderSubscriber = 'reader_subscriber', | |
| UnconfirmedSubscriber = 'unconfirmed_subscriber', | |
| EmailSubscriber = 'email_subscriber', | |
| BlockedSubscriber = 'blocked_subscriber', | |
| } | |
| export const SubscribersStatus = { | |
| [ 'Subscribed' ]: translate( 'Subscribed' ), | |
| [ 'Not confirmed' ]: translate( 'Not confirmed' ), | |
| [ 'Not subscribed' ]: translate( 'Not subscribed' ), | |
| [ 'Not sending' ]: translate( 'Not sending' ), | |
| } as const; | |
| export const DEFAULT_PER_PAGE = 10; | |