Skip to content

Commit 36e6450

Browse files
committed
tweaks to schema
1 parent 775e8e7 commit 36e6450

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/ResourcesBySelector.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export default function ResourcesBySelector({
9999
? `/videos/${page.data.url}/`
100100
: `/${page.id}/`;
101101

102+
// title can either be set directly in title or added as a meta.title property when we want something different for sidebar and SEO titles
102103
let title;
103104

104105
if (page.collection === "docs") {

src/schemas/stream.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const streamSchema = z.object({
1010
transcript: z.string().optional(),
1111
chapters: z.record(z.string(), z.string()).optional(),
1212
tags: z.array(z.string()).optional(),
13+
updated: z.date().optional(),
1314
thumbnail: z
1415
.object({
1516
url: z.string(),

0 commit comments

Comments
 (0)