Download wp-calypso/client/landing/stepper/stores.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 478 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/landing/stepper/stores.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/landing/stepper/stores.ts
-
curl -L -o stores.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/landing/stepper/stores.ts
478 Bytes
| import config from '@automattic/calypso-config'; | |
| import { Onboard, Plans, Site, StepperInternal, User } from '@automattic/data-stores'; | |
| export const ONBOARD_STORE = Onboard.register(); | |
| export const STEPPER_INTERNAL_STORE = StepperInternal.register(); | |
| export const SITE_STORE = Site.register( { | |
| client_id: config( 'wpcom_signup_id' ), | |
| client_secret: config( 'wpcom_signup_key' ), | |
| } ); | |
| export const USER_STORE = User.register(); | |
| export const PLANS_STORE = Plans.register(); | |