Skip to content
0

katanakit-js / YoutubeVideoPageSchema

Variable: YoutubeVideoPageSchema ​

ts
const YoutubeVideoPageSchema: ZodObject<{
  nextPageToken: ZodOptional<ZodString>;
  prevPageToken: ZodOptional<ZodString>;
  totalResults: ZodOptional<ZodNumber>;
  videos: ZodArray<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>>;
}, $strip>;

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

Paginated channel listing result.

Released under the MIT License.