Download wp-calypso/client/state/selectors/get-concierge-next-appointment.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 276 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/selectors/get-concierge-next-appointment.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/selectors/get-concierge-next-appointment.ts
-
curl -L -o get-concierge-next-appointment.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/selectors/get-concierge-next-appointment.ts
276 Bytes
| import 'calypso/state/concierge/init'; | |
| import { AppState } from 'calypso/types'; | |
| export interface NextAppointment { | |
| id: number; | |
| siteId: number; | |
| scheduleId: number; | |
| } | |
| export default ( state: AppState ): NextAppointment | null => | |
| state.concierge?.nextAppointment ?? null; | |