Download next.js/examples/cms-cosmic/interfaces/index.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 372 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-cosmic/interfaces/index.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/cms-cosmic/interfaces/index.ts
-
curl -L -o index.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-cosmic/interfaces/index.ts
372 Bytes
| export type ImgixType = { | |
| url: string; | |
| imgix_url: string; | |
| }; | |
| export type AuthorType = { | |
| title: string; | |
| metadata: { | |
| picture: ImgixType; | |
| }; | |
| }; | |
| export type PostType = { | |
| title: string; | |
| slug: string; | |
| content: string; | |
| created_at: string; | |
| metadata: { | |
| cover_image: ImgixType; | |
| author: AuthorType; | |
| excerpt: string; | |
| content: string; | |
| }; | |
| }; | |