Skip to content
0

katanakit-js / YoutubeVideoNormalizedSchema

Variable: YoutubeVideoNormalizedSchema ​

ts
const YoutubeVideoNormalizedSchema: ZodObject<{
  channelTitle: ZodOptional<ZodString>;
  description: ZodString;
  durationSeconds: ZodOptional<ZodNumber>;
  embedUrl: ZodString;
  id: ZodString;
  publishedAt: ZodString;
  thumbnail: ZodString;
  thumbnails: ZodObject<{
     default: ZodString;
     high: ZodString;
     medium: ZodString;
  }, $strip>;
  title: ZodString;
  url: ZodString;
  viewCount: ZodOptional<ZodNumber>;
}, $strip>;

Defined in: src/schemas/youtube.schema.ts:31

Normalized video, enriched with player-ready URLs.

Released under the MIT License.