Skip to content

Commit 651d84b

Browse files
committed
transcript field
1 parent 0319f12 commit 651d84b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/content/stream/example-video/index.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ description: A Super cool video
55
products:
66
- workers
77
- workers-ai
8+
transcript: ./transcript.vtt
89
chapters:
910
00:01: Chapter 1
1011
00:02: Chapter 2

src/schemas/stream.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export const streamSchema = z.object({
77
title: z.string(),
88
description: z.string(),
99
products: z.array(reference("products")),
10+
transcript: z.string().optional(),
1011
chapters: z.record(z.string(), z.string()).optional(),
1112
tags: z.array(z.string()).optional(),
1213
thumbnail: z

0 commit comments

Comments
 (0)