Download wp-calypso/packages/data-stores/src/domain-suggestions/index.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 605 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/data-stores/src/domain-suggestions/index.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/data-stores/src/domain-suggestions/index.ts
-
curl -L -o index.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/data-stores/src/domain-suggestions/index.ts
605 Bytes
| import { register, createReduxStore } from '@wordpress/data'; | |
| import { controls } from '../wpcom-request-controls'; | |
| import * as actions from './actions'; | |
| import { STORE_KEY } from './constants'; | |
| import reducer, { State } from './reducer'; | |
| import * as resolvers from './resolvers'; | |
| import * as selectors from './selectors'; | |
| export * from './types'; | |
| export * from './constants'; | |
| export * from './queries'; | |
| export { getFormattedPrice } from './utils'; | |
| export type { State }; | |
| export const store = createReduxStore( STORE_KEY, { | |
| actions, | |
| controls, | |
| reducer, | |
| resolvers, | |
| selectors, | |
| } ); | |
| register( store ); | |