UNPKG

@upstart.gg/sdk

Version:

You can test the CLI without recompiling by running:

38 lines (36 loc) 919 B
import { Type } from "@sinclair/typebox"; //#region src/shared/datasources/external/youtube/list/schema.ts const youtubeListSchema = Type.Array(Type.Object({ etag: Type.String(), id: Type.Object({ videoId: Type.String(), channelId: Type.String(), playlistId: Type.String() }), snippet: Type.Object({ publishedAt: Type.String(), channelId: Type.String(), title: Type.String(), description: Type.String(), thumbnails: Type.Object({ default: Type.Object({ url: Type.String(), width: Type.Number(), height: Type.Number() }), standard: Type.Object({ url: Type.String(), width: Type.Number(), height: Type.Number() }) }), channelTitle: Type.String(), liveBroadcastContent: Type.String() }) }), { title: "Youtube list schema", description: "Schema for a list of Youtube videos" }); //#endregion export { youtubeListSchema }; //# sourceMappingURL=schema.js.map