Download tasks/hipcamp/solution/site/implementation/clone/db/seed.ts from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 407 Bytes
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/hipcamp/solution/site/implementation/clone/db/seed.ts
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/hipcamp/solution/site/implementation/clone/db/seed.ts
-
curl -L -o seed.ts https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/hipcamp/solution/site/implementation/clone/db/seed.ts
407 Bytes
| import { camps } from "@/lib/camps"; | |
| export const campsiteSeed = camps.map((camp) => ({ | |
| id: camp.id, | |
| slug: camp.slug, | |
| title: camp.title, | |
| location: camp.location, | |
| type: camp.type, | |
| description: camp.description, | |
| price: camp.price, | |
| latitude: camp.latitude, | |
| longitude: camp.longitude, | |
| amenities: camp.amenities, | |
| status: "published" as const, | |
| createdAt: "2026-08-04T00:00:00.000Z", | |
| })); | |