UNPKG

renovate

Version:

Automated dependency updates. Flexible so you don't need to be.

35 lines (34 loc) 962 B
import { z } from 'zod'; export declare const ContentsResponse: z.ZodObject<{ name: z.ZodString; path: z.ZodString; type: z.ZodUnion<[z.ZodLiteral<"file">, z.ZodLiteral<"dir">]>; content: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { path: string; type: "file" | "dir"; name: string; content: string | null; }, { path: string; type: "file" | "dir"; name: string; content: string | null; }>; export type ContentsResponse = z.infer<typeof ContentsResponse>; export declare const ContentsListResponse: z.ZodArray<z.ZodObject<{ name: z.ZodString; path: z.ZodString; type: z.ZodUnion<[z.ZodLiteral<"file">, z.ZodLiteral<"dir">]>; content: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { path: string; type: "file" | "dir"; name: string; content: string | null; }, { path: string; type: "file" | "dir"; name: string; content: string | null; }>, "many">;