query-registry
Version:
Query the npm registry for packuments, manifests, packages and download counts
14 lines (12 loc) • 403 B
TypeScript
import * as z from "zod";
/**
Repository for the package's source code.
@remarks
In some packages (like `tinacms@3.15.2`) the `type` property of the repository
object is missing.
*/
export declare const Repository: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
type: z.ZodOptional<z.ZodString>;
url: z.ZodString;
directory: z.ZodOptional<z.ZodString>;
}, z.core.$strip>]>>;