Download next.js/examples/blog-starter/src/interfaces/post.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 248 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/blog-starter/src/interfaces/post.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/blog-starter/src/interfaces/post.ts
-
curl -L -o post.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/blog-starter/src/interfaces/post.ts
248 Bytes
| import { type Author } from "./author"; | |
| export type Post = { | |
| slug: string; | |
| title: string; | |
| date: string; | |
| coverImage: string; | |
| author: Author; | |
| excerpt: string; | |
| ogImage: { | |
| url: string; | |
| }; | |
| content: string; | |
| preview?: boolean; | |
| }; | |