UNPKG

youtube-likes-downloader

Version:
59 lines 2.23 kB
import z from 'zod'; import '@anmiles/prototypes'; export declare const videoInfoSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; channel: z.ZodString; ext: z.ZodString; epoch: z.ZodNumber; }, z.core.$strip>; export declare const videoJSONSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; channel: z.ZodString; ext: z.ZodString; width: z.ZodNumber; height: z.ZodNumber; resolution: z.ZodString; duration_string: z.ZodString; epoch: z.ZodNumber; }, z.core.$strip>; export declare const commonErrorSchema: z.ZodObject<{ errors: z.ZodUnion<[z.ZodNull, z.ZodArray<z.ZodUnknown>]>; }, z.core.$strip>; export declare const errorSchema: z.ZodObject<{ errors: z.ZodArray<z.ZodObject<{ reason: z.ZodOptional<z.ZodString>; message: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>; export declare const stringSchema: z.ZodString; export declare const numberSchema: z.ZodNumber; export declare const urlSchema: z.ZodString; export declare const youtubeIdSchema: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>; export declare const durationSchema: z.ZodString; export declare const resolutionSchema: z.ZodPipe<z.ZodString, z.ZodTransform<[number, number], string>>; export declare const epochSchema: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>; export declare const fileSchema: z.ZodString; export declare const inputDataSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; channel: z.ZodString; duration: z.ZodString; resolution: z.ZodPipe<z.ZodString, z.ZodTransform<[number, number], string>>; epoch: z.ZodNumber; thumbnail: z.ZodString; description: z.ZodString; }, z.core.$strip>; export declare const dataSchema: z.ZodObject<{ id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>; title: z.ZodString; channel: z.ZodString; duration: z.ZodString; resolution: z.ZodPipe<z.ZodString, z.ZodTransform<[number, number], string>>; epoch: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>; videoFile: z.ZodString; imageFile: z.ZodString; descriptionFile: z.ZodString; }, z.core.$strip>; //# sourceMappingURL=schema.d.ts.map