UNPKG

@chakra-ui/cli

Version:

Generate theme typings for autocomplete

96 lines (95 loc) 2.68 kB
import { z } from "zod"; export declare const compositionFileSchema: z.ZodObject<{ type: z.ZodString; id: z.ZodString; file: z.ZodObject<{ name: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; name: string; }, { content: string; name: string; }>; component: z.ZodString; npmDependencies: z.ZodArray<z.ZodString, "many">; fileDependencies: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { id: string; type: string; file: { content: string; name: string; }; component: string; npmDependencies: string[]; fileDependencies: string[]; }, { id: string; type: string; file: { content: string; name: string; }; component: string; npmDependencies: string[]; fileDependencies: string[]; }>; export interface CompositionFile extends z.infer<typeof compositionFileSchema> { } export declare const compositionIndexSchema: z.ZodArray<z.ZodObject<{ type: z.ZodString; id: z.ZodString; file: z.ZodString; component: z.ZodString; npmDependencies: z.ZodArray<z.ZodString, "many">; fileDependencies: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { id: string; type: string; file: string; component: string; npmDependencies: string[]; fileDependencies: string[]; }, { id: string; type: string; file: string; component: string; npmDependencies: string[]; fileDependencies: string[]; }>, "many">; export interface Compositions extends z.infer<typeof compositionIndexSchema> { } export declare const processEnvSchema: z.ZodObject<{ REGISTRY_URL: z.ZodDefault<z.ZodString>; HTTPS_PROXY: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { REGISTRY_URL: string; HTTPS_PROXY?: string | undefined; }, { REGISTRY_URL?: string | undefined; HTTPS_PROXY?: string | undefined; }>; export declare const addCommandFlagsSchema: z.ZodObject<{ force: z.ZodOptional<z.ZodBoolean>; dryRun: z.ZodOptional<z.ZodBoolean>; outdir: z.ZodOptional<z.ZodString>; all: z.ZodOptional<z.ZodBoolean>; tsx: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { all?: boolean | undefined; tsx?: boolean | undefined; force?: boolean | undefined; dryRun?: boolean | undefined; outdir?: string | undefined; }, { all?: boolean | undefined; tsx?: boolean | undefined; force?: boolean | undefined; dryRun?: boolean | undefined; outdir?: string | undefined; }>; export interface AddCommandFlags extends z.infer<typeof addCommandFlagsSchema> { }