From b8df755eac80607834de1f177411ef141281ba15 Mon Sep 17 00:00:00 2001 From: Ikram Bagban <107988060+IkramBagban@users.noreply.github.com> Date: Thu, 12 Dec 2024 01:23:48 +0530 Subject: [PATCH] feat: Add sample data for segments field in video metadata seed script (#1638) (#1639) --- 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) {