From 6a4943180f2ae345c5945cff305f9bf2dc10ec55 Mon Sep 17 00:00:00 2001 From: ikramBagban <107988060+IkramBagban@users.noreply.github.com> Date: Sun, 8 Dec 2024 15:07:32 +0530 Subject: [PATCH] feat: Add sample data for segments field in video metadata seed script (#1638) --- prisma/seed.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/prisma/seed.ts b/prisma/seed.ts index c58ed617c..0a40fbea3 100644 --- a/prisma/seed.ts +++ b/prisma/seed.ts @@ -211,6 +211,11 @@ async function seedVideoMetadata() { video_360p_4: 'https://www.w3schools.com/html/mov_bbb.mp4', slides: 'https://appx-recordings.s3.ap-south-1.amazonaws.com/drm/100x/slides/Loops%2C+callbacks.pdf', + segments: [ + { title: "Introduction", start: 0, end: 3 }, + { title: "Chapter 1", start: 3, end: 7 }, + { title: "Conclusion", start: 7, end: 10 } + ] }, }); } catch (error) {