-
Notifications
You must be signed in to change notification settings - Fork 764
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
366 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,302 @@ | ||
[ | ||
{ | ||
"id": 143115247486, | ||
"name": "Youness gradient cuts impact 8.375 skateboard deck", | ||
"description": "Almost Youness Gradient Cuts Impact 8.375 Skateboard Deck", | ||
"images": [ | ||
{ | ||
"id": "b82fc763-3504-4718-9d19-b52c7b364090", | ||
"url": "https://utfs.io/f/029b15c0-f634-4f13-bfd8-dc517b482959_deck-four.webp", | ||
"name": "Youness gradient cuts impact 8.375 skateboard deck" | ||
} | ||
], | ||
"category": "skateboards", | ||
"subcategory": "decks", | ||
"price": "74.95", | ||
"inventory": 100, | ||
"rating": 19, | ||
"tags": null, | ||
"store_id": 1, | ||
"created_at": "2023-11-18T12:03:46.000Z", | ||
"updated_at": "2023-12-27T13:48:40.000Z" | ||
}, | ||
{ | ||
"id": 172381559778, | ||
"name": "Max mean pets paintings impact light 8.25 skateboard deck", | ||
"description": "Almost Max Mean Pets Paintings Impact Light 8.25 Skateboard Deck", | ||
"images": [ | ||
{ | ||
"id": "7676d1ea-7128-4a64-b9d8-3330ab27b450", | ||
"url": "https://utfs.io/f/f7e7aabe-5878-4500-a22d-74995694bef2-5scd3q.webp", | ||
"name": "Max mean pets paintings impact light 8.25 skateboard deck" | ||
}, | ||
{ | ||
"id": "32c84868-4cfb-4355-9f63-59746c866c02", | ||
"url": "https://utfs.io/f/029b15c0-f634-4f13-bfd8-dc517b482959_deck-four.webp", | ||
"name": "Youness gradient cuts impact 8.375 skateboard deck" | ||
}, | ||
{ | ||
"id": "28adc1b5-4d62-4fa4-a078-bdff1a4e78a5", | ||
"url": "https://utfs.io/f/60f481bd-754a-4cc5-8988-4a17319255ef_deck-one.webp", | ||
"name": "Yuri black blur impact 8.5 skateboard deck" | ||
} | ||
], | ||
"category": "skateboards", | ||
"subcategory": "decks", | ||
"price": "74.95", | ||
"inventory": 94, | ||
"rating": 9, | ||
"tags": null, | ||
"store_id": 1, | ||
"created_at": "2023-11-18T12:03:46.000Z", | ||
"updated_at": "2024-01-20T12:10:12.000Z" | ||
}, | ||
{ | ||
"id": 196749972702, | ||
"name": "Nike Streakfly", | ||
"description": "Our lightest racing shoe, the Nike Streakfly is all about the speed you need to take on the competition in a mile, 5k or 10k race. Low profile with sleek details, it feels like it disappears on your foot to help you better connect with the road on the way to your personal best.", | ||
"images": [ | ||
{ | ||
"id": "9d315346-1369-440e-8e6b-20c209c9cac2", | ||
"url": "https://utfs.io/f/d2682ef9-b0d4-483e-b145-2530582f14bf-1xl88u.webp", | ||
"name": "Nike Streakfly" | ||
}, | ||
{ | ||
"id": "e35f331f-f725-4212-81b5-3254da5d1261", | ||
"url": "https://utfs.io/f/9b869899-1bd7-4271-a493-7777ccce4569-p9xkm9.webp", | ||
"name": "Nike Streakfly" | ||
}, | ||
{ | ||
"id": "8571d6fa-257b-4a6e-b557-0967c480714a", | ||
"url": "https://utfs.io/f/241352b6-a86d-4f2f-87b9-97c6cb9e904d-4kqxah.webp", | ||
"name": "Nike Streakfly" | ||
} | ||
], | ||
"category": "shoes", | ||
"subcategory": "pros", | ||
"price": "170.00", | ||
"inventory": 96, | ||
"rating": 24, | ||
"tags": null, | ||
"store_id": 1, | ||
"created_at": "2023-11-18T12:03:46.000Z", | ||
"updated_at": "2024-01-22T03:24:31.000Z" | ||
}, | ||
{ | ||
"id": 218391174616, | ||
"name": "Nike InfinityRN 4", | ||
"description": "With supportive cushioning built for a smooth run, the Nike InfinityRN 4 is a brand-new take on a familiar favorite. It's made from our all-new Nike ReactX foam, which gives you 13% more energy return compared with Nike React foam, to help you stay fresh and bouncy. (What's more? Nike ReactX reduces its carbon footprint in a pair of midsoles by at least 43% compared to Nike React foam.*) We coupled the ReactX foam with Nike Running's best-fitting Flyknit yet, so you can take off anytime, anywhere with secure upper support and breathability. It’s the kind of shoe that can grant you that priceless peace of mind to go faster and farther thanks to an intuitive design that supports every stride. *The carbon footprint of ReactX is based on cradle-to-gate assessment reviewed by PRé Sustainability B.V and Intertek China. Other midsole components such as airbags, plates or other foam formulations were not considered.", | ||
"images": [ | ||
{ | ||
"id": "1188414c-acfd-4dd3-b25d-b2f1d9828aae", | ||
"url": "https://utfs.io/f/d7415f6b-5da5-4bbc-b6d6-d6457443110c-3b9mk5.webp", | ||
"name": "Nike InfinityRN 4" | ||
}, | ||
{ | ||
"id": "a7730a4f-0c79-468b-84cf-d1f63393f9e9", | ||
"url": "https://utfs.io/f/c43f2067-eacf-4668-8e4a-ab4537a21b71-mkcuiq.webp", | ||
"name": "Nike InfinityRN 4" | ||
}, | ||
{ | ||
"id": "47d65708-79bb-4696-aecd-b6f4891710c9", | ||
"url": "https://utfs.io/f/801b4f3e-4a3d-468d-ad6c-e2d8e7da6309-7ucg83.webp", | ||
"name": "Nike InfinityRN 4" | ||
} | ||
], | ||
"category": "skateboards", | ||
"subcategory": "decks", | ||
"price": "160.00", | ||
"inventory": 93, | ||
"rating": 58, | ||
"tags": null, | ||
"store_id": 1, | ||
"created_at": "2023-11-18T12:03:46.000Z", | ||
"updated_at": "2024-01-18T23:27:28.000Z" | ||
}, | ||
{ | ||
"id": 236100450110, | ||
"name": "Nike Air Max 2013", | ||
"description": "Back and just as stylish as ever. The Air Max 2013 returns with mesh detailing and sporty, no-sew overlays to help keep you looking and feeling fresh. Plus, tried-and-true Flywire lacing and classic full-length Air cushioning provide lasting comfort and support.", | ||
"images": [ | ||
{ | ||
"id": "cf8cd0ed-d404-4ff1-9c8a-ef760460d831", | ||
"url": "https://utfs.io/f/839da893-5021-4882-aa01-eafc8385d8e5-hwtxdy.webp", | ||
"name": "Nike Air Max 2013" | ||
}, | ||
{ | ||
"id": "3213d271-fddc-4384-bbbf-9c8a4bca78e3", | ||
"url": "https://utfs.io/f/67f06bb7-e5b0-44fb-90ab-cdceccf7c545-tww166.webp", | ||
"name": "Nike Air Max 2013" | ||
}, | ||
{ | ||
"id": "b799dd73-83fe-47dc-8605-5a53ae2cf1ed", | ||
"url": "https://utfs.io/f/70394775-bb0c-4522-bf77-3cd71ee7a2ce-2t78fm.webp", | ||
"name": "Nike Air Max 2013" | ||
} | ||
], | ||
"category": "shoes", | ||
"subcategory": "pros", | ||
"price": "180.00", | ||
"inventory": 94, | ||
"rating": 28, | ||
"tags": null, | ||
"store_id": 1, | ||
"created_at": "2023-11-18T12:03:46.000Z", | ||
"updated_at": "2024-01-20T13:49:21.000Z" | ||
}, | ||
{ | ||
"id": 362757654209, | ||
"name": "Yuri mean pets paintings impact light 8.375 skateboard deck", | ||
"description": "Almost Yuri Mean Pets Paintings Impact Light 8.375 Skateboard Deck", | ||
"images": [ | ||
{ | ||
"id": "ec70a8a3-4506-4373-bab2-578324a0819d", | ||
"url": "https://utfs.io/f/09d0e587-5770-4ad7-b5e6-3c700fa44e06-9coeym.webp", | ||
"name": "Yuri mean pets paintings impact light 8.375 skateboard deck" | ||
}, | ||
{ | ||
"id": "4b752d5b-01d0-448f-bfa7-c6a8749ef77f", | ||
"url": "https://utfs.io/f/f7e7aabe-5878-4500-a22d-74995694bef2-5scd3q.webp", | ||
"name": "Max mean pets paintings impact light 8.25 skateboard deck" | ||
}, | ||
{ | ||
"id": "34def867-c4f6-456b-8529-0e82a798e78e", | ||
"url": "https://utfs.io/f/029b15c0-f634-4f13-bfd8-dc517b482959_deck-four.webp", | ||
"name": "Youness gradient cuts impact 8.375 skateboard deck" | ||
} | ||
], | ||
"category": "skateboards", | ||
"subcategory": "decks", | ||
"price": "74.95", | ||
"inventory": 97, | ||
"rating": 26, | ||
"tags": null, | ||
"store_id": 1, | ||
"created_at": "2023-11-18T12:03:46.000Z", | ||
"updated_at": "2024-01-11T09:50:01.000Z" | ||
}, | ||
{ | ||
"id": 605985351828, | ||
"name": "Nike Pegasus 40 BTC", | ||
"description": "A springy ride for every run, the Peg’s familiar, just-for-you feel returns to help you accomplish your goals. This version has the same responsiveness and neutral support you love, but with improved comfort in those sensitive areas of your foot, like the arch and toes. Whether you’re logging long marathon miles, squeezing in a speed session before the sun goes down or hopping into a spontaneous group jaunt, it’s still the established road runner you can put your faith in, day after day, run after run.", | ||
"images": [ | ||
{ | ||
"id": "2aab3c20-ba86-4571-b4c3-19c897d5ff9b", | ||
"url": "https://utfs.io/f/28626cca-5a97-4ede-bcb3-68ffa7254cae-2r45tw.webp", | ||
"name": "Nike Pegasus 40 BTC" | ||
}, | ||
{ | ||
"id": "5ea3f106-775b-41d6-8403-4fa24f06cee5", | ||
"url": "https://utfs.io/f/23facce4-b358-4d2d-b2f0-09710b37894b-xe92r.webp", | ||
"name": "Nike Pegasus 40 BTC" | ||
}, | ||
{ | ||
"id": "d5e4e09b-af2e-4ef9-9314-78f2e5941a5d", | ||
"url": "https://utfs.io/f/a3790b05-cf69-439e-b002-2a6baf39ccc8-jxivir.webp", | ||
"name": "Nike Pegasus 40 BTC" | ||
} | ||
], | ||
"category": "shoes", | ||
"subcategory": "pros", | ||
"price": "140.00", | ||
"inventory": 91, | ||
"rating": 40, | ||
"tags": null, | ||
"store_id": 1, | ||
"created_at": "2023-11-18T12:03:46.000Z", | ||
"updated_at": "2024-01-20T20:56:17.000Z" | ||
}, | ||
{ | ||
"id": 844257825579, | ||
"name": "Nike Air Force 1 '07", | ||
"description": "It doesn't get more legendary than this. Crossing hardwood comfort with off-court flair, this hoops original pairs a crisp white leather upper with starry cosmic accents for style with every step. Hidden Nike Air units and durable, era-echoing '80s construction add the comfort you know and love.", | ||
"images": [ | ||
{ | ||
"id": "9de586e9-527a-40eb-b5da-8826aa7ef54f", | ||
"url": "https://utfs.io/f/4cf94b5c-73a0-4533-9164-7d341c266fdb-hpjse0.webp", | ||
"name": "Nike Air Force 1 '07" | ||
}, | ||
{ | ||
"id": "ee75cfbd-c4ec-4da7-bc33-b65a500a2e10", | ||
"url": "https://utfs.io/f/7549a840-00c1-4779-9ffa-6de287ecc082-jgyubn.webp", | ||
"name": "Nike Air Force 1 '07" | ||
}, | ||
{ | ||
"id": "eae117cc-38ea-42ba-9276-bda930a49058", | ||
"url": "https://utfs.io/f/7549a840-00c1-4779-9ffa-6de287ecc082-jgyubn.webp", | ||
"name": "Nike Air Force 1 '07" | ||
} | ||
], | ||
"category": "skateboards", | ||
"subcategory": "decks", | ||
"price": "135.00", | ||
"inventory": 92, | ||
"rating": 43, | ||
"tags": null, | ||
"store_id": 1, | ||
"created_at": "2023-11-18T12:03:46.000Z", | ||
"updated_at": "2024-01-20T20:56:18.000Z" | ||
}, | ||
{ | ||
"id": 1354252700983, | ||
"name": "Yuri black blur impact 8.5 skateboard deck", | ||
"description": "Almost Yuri Black Blur Impact 8.5 Skateboard Deck", | ||
"images": [ | ||
{ | ||
"id": "386074d2-615f-4c22-9e28-f136dbc39346", | ||
"url": "https://utfs.io/f/60f481bd-754a-4cc5-8988-4a17319255ef_deck-one.webp", | ||
"name": "Yuri black blur impact 8.5 skateboard deck" | ||
}, | ||
{ | ||
"id": "2cc5d301-e18c-42ad-83ed-22b1c0676d22", | ||
"url": "https://utfs.io/f/f7e7aabe-5878-4500-a22d-74995694bef2-5scd3q.webp", | ||
"name": "Max mean pets paintings impact light 8.25 skateboard deck" | ||
}, | ||
{ | ||
"id": "7899a1f0-da80-4e4e-a3d4-362ed3981556", | ||
"url": "https://utfs.io/f/029b15c0-f634-4f13-bfd8-dc517b482959_deck-four.webp", | ||
"name": "Youness gradient cuts impact 8.375 skateboard deck" | ||
} | ||
], | ||
"category": "skateboards", | ||
"subcategory": "decks", | ||
"price": "74.95", | ||
"inventory": 95, | ||
"rating": 36, | ||
"tags": null, | ||
"store_id": 1, | ||
"created_at": "2023-11-18T12:03:46.000Z", | ||
"updated_at": "2024-01-12T09:01:16.000Z" | ||
}, | ||
{ | ||
"id": 1656485993251, | ||
"name": "Nike Pegasus Trail 4 GORE-TEX", | ||
"description": "The Nike Pegasus Trail 4 GORE-TEX is your running companion for those days when the weather turns. Its waterproof GORE-TEX layer helps keep your feet dry, and less rubber in the outsole creates a smooth transition from road to trail without breaking stride.", | ||
"images": [ | ||
{ | ||
"id": "e357d85f-063d-4de6-86f0-b35d5654c8fd", | ||
"url": "https://utfs.io/f/cb257d00-0603-48ca-86a9-ca3a7eebff3b-4hkdzk.webp", | ||
"name": "Nike Pegasus Trail 4 GORE-TEX" | ||
}, | ||
{ | ||
"id": "db7717db-6274-4160-a873-f0cd32889f90", | ||
"url": "https://utfs.io/f/e06bde8a-9ee2-4ff5-bcdc-6f060fe805b9-pogo06.webp", | ||
"name": "Nike Pegasus Trail 4 GORE-TEX" | ||
}, | ||
{ | ||
"id": "cc97de21-9b89-4de3-9427-435f872f481e", | ||
"url": "https://utfs.io/f/9f5b03bc-f5f7-4734-80f7-efc6f83b8d56-eeaksl.webp", | ||
"name": "Nike Pegasus Trail 4 GORE-TEX" | ||
} | ||
], | ||
"category": "shoes", | ||
"subcategory": "pros", | ||
"price": "140.00", | ||
"inventory": 96, | ||
"rating": 31, | ||
"tags": null, | ||
"store_id": 1, | ||
"created_at": "2023-11-18T12:03:46.000Z", | ||
"updated_at": "2024-01-16T07:53:39.000Z" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { seedRealProducts } from "@/lib/actions/product" | ||
|
||
async function runSeed() { | ||
console.log("⏳ Running seed...") | ||
|
||
const start = Date.now() | ||
|
||
await seedRealProducts({ storeId: 1 }) | ||
|
||
const end = Date.now() | ||
|
||
console.log(`✅ Seed completed in ${end - start}ms`) | ||
|
||
process.exit(0) | ||
} | ||
|
||
runSeed().catch((err) => { | ||
console.error("❌ Seed failed") | ||
console.error(err) | ||
process.exit(1) | ||
}) |
Oops, something went wrong.