Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

registryItemFileSchema

const registryItemFileSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
path: z.ZodString;
type: z.ZodEnum<["registry:file", "registry:page"]>;
target: z.ZodString;
}
, "strip", z.ZodTypeAny, {
path: string;
type: "registry:page" | "registry:file";
target: string;
content?: string | undefined;
}
, {
path: string;
type: "registry:page" | "registry:file";
target: string;
content?: string | undefined;
}
>
, z.ZodObject<{
path: z.ZodString;
type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
}
, "strip", z.ZodTypeAny, {
path: string;
type:
| "registry:lib"
| "registry:block"
| "registry:component"
| "registry:ui"
| "registry:hook"
| "registry:theme"
| "registry:style"
| "registry:item"
| "registry:base"
| "registry:font"
| "registry:example"
| "registry:internal";
content?: string | undefined;
target?: string | undefined;
}
, {
path: string;
type:
| "registry:lib"
| "registry:block"
| "registry:component"
| "registry:ui"
| "registry:hook"
| "registry:theme"
| "registry:style"
| "registry:item"
| "registry:base"
| "registry:font"
| "registry:example"
| "registry:internal";
content?: string | undefined;
target?: string | undefined;
}
>
]
>
;