query-registry

  • Version 3.0.1
  • Published
  • 271 kB
  • 6 dependencies
  • MIT license

Install

npm i query-registry
yarn add query-registry
pnpm add query-registry

Overview

Query the npm registry for packuments, manifests, packages and download counts

Index

Variables

variable AbbreviatedPackument

const AbbreviatedPackument: z.ZodObject<
{
name: z.ZodString;
modified: z.ZodString;
'dist-tags': z.ZodObject<
{
latest: z.ZodString;
next: z.ZodOptional<z.ZodString>;
alpha: z.ZodOptional<z.ZodString>;
beta: z.ZodOptional<z.ZodString>;
rc: z.ZodOptional<z.ZodString>;
canary: z.ZodOptional<z.ZodString>;
dev: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodString,
z.objectOutputType<
{
latest: z.ZodString;
next: z.ZodOptional<z.ZodString>;
alpha: z.ZodOptional<z.ZodString>;
beta: z.ZodOptional<z.ZodString>;
rc: z.ZodOptional<z.ZodString>;
canary: z.ZodOptional<z.ZodString>;
dev: z.ZodOptional<z.ZodString>;
},
z.ZodString,
'strip'
>,
z.objectInputType<
{
latest: z.ZodString;
next: z.ZodOptional<z.ZodString>;
alpha: z.ZodOptional<z.ZodString>;
beta: z.ZodOptional<z.ZodString>;
rc: z.ZodOptional<z.ZodString>;
canary: z.ZodOptional<z.ZodString>;
dev: z.ZodOptional<z.ZodString>;
},
z.ZodString,
'strip'
>
>;
versions: z.ZodRecord<
z.ZodString,
z.ZodObject<
z.objectUtil.extendShape<
Pick<
z.objectUtil.extendShape<
{
name: z.ZodString;
version: z.ZodString;
description: z.ZodOptional<z.ZodString>;
keywords: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
homepage: z.ZodOptional<z.ZodString>;
bugs: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodOptional<z.ZodString>;
email: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url?: string | undefined;
email?: string | undefined;
},
{
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>;
license: z.ZodOptional<z.ZodString>;
author: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>;
contributors: z.ZodOptional<
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>,
'many'
>
>;
maintainers: z.ZodOptional<
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>,
'many'
>
>;
funding: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodString;
type: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url: string;
type?: string | undefined;
},
{
url: string;
type?: string | undefined;
}
>,
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodString;
type: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url: string;
type?:
| string
| undefined;
},
{
url: string;
type?:
| string
| undefined;
}
>
]
>,
'many'
>
]
>
>;
files: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
main: z.ZodOptional<z.ZodString>;
browser: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodRecord<
z.ZodString,
z.ZodUnion<
[z.ZodString, z.ZodBoolean]
>
>
]
>
>;
bin: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodRecord<z.ZodString, z.ZodString>
]
>
>;
man: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
directories: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
repository: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
type: z.ZodString;
url: z.ZodString;
directory: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
type: string;
url: string;
directory?: string | undefined;
},
{
type: string;
url: string;
directory?: string | undefined;
}
>
]
>
>;
scripts: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
config: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
dependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
devDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
peerDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
peerDependenciesMeta: z.ZodOptional<
z.ZodRecord<
z.ZodString,
z.ZodObject<
{ optional: z.ZodBoolean },
'strip',
z.ZodTypeAny,
{ optional: boolean },
{ optional: boolean }
>
>
>;
bundleDependencies: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
bundledDependencies: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
optionalDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
overrides: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
engines: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
os: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
cpu: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
private: z.ZodOptional<z.ZodBoolean>;
publishConfig: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
workspaces: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
deprecated: z.ZodOptional<z.ZodString>;
module: z.ZodOptional<z.ZodString>;
type: z.ZodOptional<
z.ZodUnion<
[
z.ZodLiteral<'module'>,
z.ZodLiteral<'commonjs'>
]
>
>;
types: z.ZodOptional<z.ZodString>;
typings: z.ZodOptional<z.ZodString>;
typesVersions: z.ZodOptional<
z.ZodRecord<
z.ZodString,
z.ZodRecord<
z.ZodString,
z.ZodArray<z.ZodString, 'many'>
>
>
>;
packageManager: z.ZodOptional<z.ZodString>;
sideEffects: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
imports: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
exports: z.ZodOptional<
z.ZodUnion<
[
z.ZodNull,
z.ZodString,
z.ZodArray<z.ZodString, 'many'>,
z.ZodRecord<z.ZodString, z.ZodUnknown>
]
>
>;
},
{
_id: z.ZodString;
dist: z.ZodObject<
{
tarball: z.ZodString;
shasum: z.ZodString;
integrity: z.ZodOptional<z.ZodString>;
fileCount: z.ZodOptional<z.ZodNumber>;
unpackedSize: z.ZodOptional<z.ZodNumber>;
'npm-signature': z.ZodOptional<z.ZodString>;
signatures: z.ZodOptional<
z.ZodArray<
z.ZodObject<
{
keyid: z.ZodString;
sig: z.ZodString;
},
'strip',
z.ZodTypeAny,
{ keyid: string; sig: string },
{ keyid: string; sig: string }
>,
'many'
>
>;
},
'strip',
z.ZodTypeAny,
{
tarball: string;
shasum: string;
integrity?: string | undefined;
fileCount?: number | undefined;
unpackedSize?: number | undefined;
'npm-signature'?: string | undefined;
signatures?:
| { keyid: string; sig: string }[]
| undefined;
},
{
tarball: string;
shasum: string;
integrity?: string | undefined;
fileCount?: number | undefined;
unpackedSize?: number | undefined;
'npm-signature'?: string | undefined;
signatures?:
| { keyid: string; sig: string }[]
| undefined;
}
>;
readme: z.ZodOptional<z.ZodString>;
readmeFilename: z.ZodOptional<z.ZodString>;
gitHead: z.ZodOptional<z.ZodString>;
_hasShrinkwrap: z.ZodOptional<z.ZodBoolean>;
_nodeVersion: z.ZodOptional<z.ZodString>;
_npmVersion: z.ZodOptional<z.ZodString>;
_npmUser: z.ZodOptional<
z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>
>;
_npmOperationalInternal: z.ZodOptional<
z.ZodObject<
{
host: z.ZodOptional<z.ZodString>;
tmp: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
host?: string | undefined;
tmp?: string | undefined;
},
{
host?: string | undefined;
tmp?: string | undefined;
}
>
>;
engines: z.ZodCatch<
z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>
>;
license: z.ZodCatch<z.ZodOptional<z.ZodString>>;
homepage: z.ZodCatch<z.ZodOptional<z.ZodString>>;
deprecated: z.ZodOptional<
z.ZodUnion<[z.ZodString, z.ZodBoolean]>
>;
}
>,
| 'name'
| 'version'
| 'bin'
| 'directories'
| 'dependencies'
| 'devDependencies'
| 'peerDependencies'
| 'peerDependenciesMeta'
| 'bundleDependencies'
| 'optionalDependencies'
| 'engines'
| 'os'
| 'cpu'
| 'deprecated'
| 'dist'
| '_hasShrinkwrap'
>,
{ hasInstallScript: z.ZodOptional<z.ZodBoolean> }
>,
'passthrough',
z.ZodTypeAny,
z.objectOutputType<
z.objectUtil.extendShape<
Pick<
z.objectUtil.extendShape<
{
name: z.ZodString;
version: z.ZodString;
description: z.ZodOptional<z.ZodString>;
keywords: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
homepage: z.ZodOptional<z.ZodString>;
bugs: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodOptional<z.ZodString>;
email: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url?: string | undefined;
email?: string | undefined;
},
{
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>;
license: z.ZodOptional<z.ZodString>;
author: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>;
contributors: z.ZodOptional<
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?:
| string
| undefined;
},
{
name: string;
url?: string | undefined;
email?:
| string
| undefined;
}
>
]
>,
'many'
>
>;
maintainers: z.ZodOptional<
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?:
| string
| undefined;
},
{
name: string;
url?: string | undefined;
email?:
| string
| undefined;
}
>
]
>,
'many'
>
>;
funding: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodString;
type: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url: string;
type?: string | undefined;
},
{
url: string;
type?: string | undefined;
}
>,
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodString;
type: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url: string;
type?:
| string
| undefined;
},
{
url: string;
type?:
| string
| undefined;
}
>
]
>,
'many'
>
]
>
>;
files: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
main: z.ZodOptional<z.ZodString>;
browser: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodRecord<
z.ZodString,
z.ZodUnion<
[z.ZodString, z.ZodBoolean]
>
>
]
>
>;
bin: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodRecord<z.ZodString, z.ZodString>
]
>
>;
man: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
directories: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
repository: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
type: z.ZodString;
url: z.ZodString;
directory: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
type: string;
url: string;
directory?:
| string
| undefined;
},
{
type: string;
url: string;
directory?:
| string
| undefined;
}
>
]
>
>;
scripts: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
config: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
dependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
devDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
peerDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
peerDependenciesMeta: z.ZodOptional<
z.ZodRecord<
z.ZodString,
z.ZodObject<
{ optional: z.ZodBoolean },
'strip',
z.ZodTypeAny,
{ optional: boolean },
{ optional: boolean }
>
>
>;
bundleDependencies: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
bundledDependencies: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
optionalDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
overrides: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
engines: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
os: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
cpu: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
private: z.ZodOptional<z.ZodBoolean>;
publishConfig: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
workspaces: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
deprecated: z.ZodOptional<z.ZodString>;
module: z.ZodOptional<z.ZodString>;
type: z.ZodOptional<
z.ZodUnion<
[
z.ZodLiteral<'module'>,
z.ZodLiteral<'commonjs'>
]
>
>;
types: z.ZodOptional<z.ZodString>;
typings: z.ZodOptional<z.ZodString>;
typesVersions: z.ZodOptional<
z.ZodRecord<
z.ZodString,
z.ZodRecord<
z.ZodString,
z.ZodArray<z.ZodString, 'many'>
>
>
>;
packageManager: z.ZodOptional<z.ZodString>;
sideEffects: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
imports: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
exports: z.ZodOptional<
z.ZodUnion<
[
z.ZodNull,
z.ZodString,
z.ZodArray<z.ZodString, 'many'>,
z.ZodRecord<
z.ZodString,
z.ZodUnknown
>
]
>
>;
},
{
_id: z.ZodString;
dist: z.ZodObject<
{
tarball: z.ZodString;
shasum: z.ZodString;
integrity: z.ZodOptional<z.ZodString>;
fileCount: z.ZodOptional<z.ZodNumber>;
unpackedSize: z.ZodOptional<z.ZodNumber>;
'npm-signature': z.ZodOptional<z.ZodString>;
signatures: z.ZodOptional<
z.ZodArray<
z.ZodObject<
{
keyid: z.ZodString;
sig: z.ZodString;
},
'strip',
z.ZodTypeAny,
{
keyid: string;
sig: string;
},
{
keyid: string;
sig: string;
}
>,
'many'
>
>;
},
'strip',
z.ZodTypeAny,
{
tarball: string;
shasum: string;
integrity?: string | undefined;
fileCount?: number | undefined;
unpackedSize?: number | undefined;
'npm-signature'?: string | undefined;
signatures?:
| { keyid: string; sig: string }[]
| undefined;
},
{
tarball: string;
shasum: string;
integrity?: string | undefined;
fileCount?: number | undefined;
unpackedSize?: number | undefined;
'npm-signature'?: string | undefined;
signatures?:
| { keyid: string; sig: string }[]
| undefined;
}
>;
readme: z.ZodOptional<z.ZodString>;
readmeFilename: z.ZodOptional<z.ZodString>;
gitHead: z.ZodOptional<z.ZodString>;
_hasShrinkwrap: z.ZodOptional<z.ZodBoolean>;
_nodeVersion: z.ZodOptional<z.ZodString>;
_npmVersion: z.ZodOptional<z.ZodString>;
_npmUser: z.ZodOptional<
z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?:
| string
| undefined;
},
{
name: string;
url?: string | undefined;
email?:
| string
| undefined;
}
>
]
>
>
>;
_npmOperationalInternal: z.ZodOptional<
z.ZodObject<
{
host: z.ZodOptional<z.ZodString>;
tmp: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
host?: string | undefined;
tmp?: string | undefined;
},
{
host?: string | undefined;
tmp?: string | undefined;
}
>
>;
engines: z.ZodCatch<
z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>
>;
license: z.ZodCatch<z.ZodOptional<z.ZodString>>;
homepage: z.ZodCatch<z.ZodOptional<z.ZodString>>;
deprecated: z.ZodOptional<
z.ZodUnion<[z.ZodString, z.ZodBoolean]>
>;
}
>,
| 'name'
| 'version'
| 'bin'
| 'directories'
| 'dependencies'
| 'devDependencies'
| 'peerDependencies'
| 'peerDependenciesMeta'
| 'bundleDependencies'
| 'optionalDependencies'
| 'engines'
| 'os'
| 'cpu'
| 'deprecated'
| 'dist'
| '_hasShrinkwrap'
>,
{ hasInstallScript: z.ZodOptional<z.ZodBoolean> }
>,
z.ZodTypeAny,
'passthrough'
>,
z.objectInputType<
z.objectUtil.extendShape<
Pick<
z.objectUtil.extendShape<
{
name: z.ZodString;
version: z.ZodString;
description: z.ZodOptional<z.ZodString>;
keywords: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
homepage: z.ZodOptional<z.ZodString>;
bugs: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodOptional<z.ZodString>;
email: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url?: string | undefined;
email?: string | undefined;
},
{
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>;
license: z.ZodOptional<z.ZodString>;
author: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>;
contributors: z.ZodOptional<
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?:
| string
| undefined;
},
{
name: string;
url?: string | undefined;
email?:
| string
| undefined;
}
>
]
>,
'many'
>
>;
maintainers: z.ZodOptional<
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?:
| string
| undefined;
},
{
name: string;
url?: string | undefined;
email?:
| string
| undefined;
}
>
]
>,
'many'
>
>;
funding: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodString;
type: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url: string;
type?: string | undefined;
},
{
url: string;
type?: string | undefined;
}
>,
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodString;
type: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url: string;
type?:
| string
| undefined;
},
{
url: string;
type?:
| string
| undefined;
}
>
]
>,
'many'
>
]
>
>;
files: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
main: z.ZodOptional<z.ZodString>;
browser: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodRecord<
z.ZodString,
z.ZodUnion<
[z.ZodString, z.ZodBoolean]
>
>
]
>
>;
bin: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodRecord<z.ZodString, z.ZodString>
]
>
>;
man: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
directories: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
repository: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
type: z.ZodString;
url: z.ZodString;
directory: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
type: string;
url: string;
directory?:
| string
| undefined;
},
{
type: string;
url: string;
directory?:
| string
| undefined;
}
>
]
>
>;
scripts: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
config: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
dependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
devDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
peerDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
peerDependenciesMeta: z.ZodOptional<
z.ZodRecord<
z.ZodString,
z.ZodObject<
{ optional: z.ZodBoolean },
'strip',
z.ZodTypeAny,
{ optional: boolean },
{ optional: boolean }
>
>
>;
bundleDependencies: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
bundledDependencies: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
optionalDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
overrides: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
engines: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
os: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
cpu: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
private: z.ZodOptional<z.ZodBoolean>;
publishConfig: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
workspaces: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
deprecated: z.ZodOptional<z.ZodString>;
module: z.ZodOptional<z.ZodString>;
type: z.ZodOptional<
z.ZodUnion<
[
z.ZodLiteral<'module'>,
z.ZodLiteral<'commonjs'>
]
>
>;
types: z.ZodOptional<z.ZodString>;
typings: z.ZodOptional<z.ZodString>;
typesVersions: z.ZodOptional<
z.ZodRecord<
z.ZodString,
z.ZodRecord<
z.ZodString,
z.ZodArray<z.ZodString, 'many'>
>
>
>;
packageManager: z.ZodOptional<z.ZodString>;
sideEffects: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
imports: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
exports: z.ZodOptional<
z.ZodUnion<
[
z.ZodNull,
z.ZodString,
z.ZodArray<z.ZodString, 'many'>,
z.ZodRecord<
z.ZodString,
z.ZodUnknown
>
]
>
>;
},
{
_id: z.ZodString;
dist: z.ZodObject<
{
tarball: z.ZodString;
shasum: z.ZodString;
integrity: z.ZodOptional<z.ZodString>;
fileCount: z.ZodOptional<z.ZodNumber>;
unpackedSize: z.ZodOptional<z.ZodNumber>;
'npm-signature': z.ZodOptional<z.ZodString>;
signatures: z.ZodOptional<
z.ZodArray<
z.ZodObject<
{
keyid: z.ZodString;
sig: z.ZodString;
},
'strip',
z.ZodTypeAny,
{
keyid: string;
sig: string;
},
{
keyid: string;
sig: string;
}
>,
'many'
>
>;
},
'strip',
z.ZodTypeAny,
{
tarball: string;
shasum: string;
integrity?: string | undefined;
fileCount?: number | undefined;
unpackedSize?: number | undefined;
'npm-signature'?: string | undefined;
signatures?:
| { keyid: string; sig: string }[]
| undefined;
},
{
tarball: string;
shasum: string;
integrity?: string | undefined;
fileCount?: number | undefined;
unpackedSize?: number | undefined;
'npm-signature'?: string | undefined;
signatures?:
| { keyid: string; sig: string }[]
| undefined;
}
>;
readme: z.ZodOptional<z.ZodString>;
readmeFilename: z.ZodOptional<z.ZodString>;
gitHead: z.ZodOptional<z.ZodString>;
_hasShrinkwrap: z.ZodOptional<z.ZodBoolean>;
_nodeVersion: z.ZodOptional<z.ZodString>;
_npmVersion: z.ZodOptional<z.ZodString>;
_npmUser: z.ZodOptional<
z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?:
| string
| undefined;
},
{
name: string;
url?: string | undefined;
email?:
| string
| undefined;
}
>
]
>
>
>;
_npmOperationalInternal: z.ZodOptional<
z.ZodObject<
{
host: z.ZodOptional<z.ZodString>;
tmp: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
host?: string | undefined;
tmp?: string | undefined;
},
{
host?: string | undefined;
tmp?: string | undefined;
}
>
>;
engines: z.ZodCatch<
z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>
>;
license: z.ZodCatch<z.ZodOptional<z.ZodString>>;
homepage: z.ZodCatch<z.ZodOptional<z.ZodString>>;
deprecated: z.ZodOptional<
z.ZodUnion<[z.ZodString, z.ZodBoolean]>
>;
}
>,
| 'name'
| 'version'
| 'bin'
| 'directories'
| 'dependencies'
| 'devDependencies'
| 'peerDependencies'
| 'peerDependenciesMeta'
| 'bundleDependencies'
| 'optionalDependencies'
| 'engines'
| 'os'
| 'cpu'
| 'deprecated'
| 'dist'
| '_hasShrinkwrap'
>,
{ hasInstallScript: z.ZodOptional<z.ZodBoolean> }
>,
z.ZodTypeAny,
'passthrough'
>
>
>;
},
'strip',
z.ZodTypeAny,
{
name: string;
modified: string;
'dist-tags': {
latest: string;
next?: string | undefined;
alpha?: string | undefined;
beta?: string | undefined;
rc?: string | undefined;
canary?: string | undefined;
dev?: string | undefined;
} & { [k: string]: string };
versions: Record<
string,
z.objectOutputType<
z.objectUtil.extendShape<
Pick<
z.objectUtil.extendShape<
{
name: z.ZodString;
version: z.ZodString;
description: z.ZodOptional<z.ZodString>;
keywords: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
homepage: z.ZodOptional<z.ZodString>;
bugs: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodOptional<z.ZodString>;
email: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url?: string | undefined;
email?: string | undefined;
},
{
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>;
license: z.ZodOptional<z.ZodString>;
author: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>;
contributors: z.ZodOptional<
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>,
'many'
>
>;
maintainers: z.ZodOptional<
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>,
'many'
>
>;
funding: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodString;
type: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url: string;
type?: string | undefined;
},
{
url: string;
type?: string | undefined;
}
>,
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodString;
type: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url: string;
type?:
| string
| undefined;
},
{
url: string;
type?:
| string
| undefined;
}
>
]
>,
'many'
>
]
>
>;
files: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
main: z.ZodOptional<z.ZodString>;
browser: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodRecord<
z.ZodString,
z.ZodUnion<
[z.ZodString, z.ZodBoolean]
>
>
]
>
>;
bin: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodRecord<z.ZodString, z.ZodString>
]
>
>;
man: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
directories: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
repository: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
type: z.ZodString;
url: z.ZodString;
directory: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
type: string;
url: string;
directory?: string | undefined;
},
{
type: string;
url: string;
directory?: string | undefined;
}
>
]
>
>;
scripts: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
config: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
dependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
devDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
peerDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
peerDependenciesMeta: z.ZodOptional<
z.ZodRecord<
z.ZodString,
z.ZodObject<
{ optional: z.ZodBoolean },
'strip',
z.ZodTypeAny,
{ optional: boolean },
{ optional: boolean }
>
>
>;
bundleDependencies: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
bundledDependencies: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
optionalDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
overrides: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
engines: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
os: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
cpu: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
private: z.ZodOptional<z.ZodBoolean>;
publishConfig: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
workspaces: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
deprecated: z.ZodOptional<z.ZodString>;
module: z.ZodOptional<z.ZodString>;
type: z.ZodOptional<
z.ZodUnion<
[
z.ZodLiteral<'module'>,
z.ZodLiteral<'commonjs'>
]
>
>;
types: z.ZodOptional<z.ZodString>;
typings: z.ZodOptional<z.ZodString>;
typesVersions: z.ZodOptional<
z.ZodRecord<
z.ZodString,
z.ZodRecord<
z.ZodString,
z.ZodArray<z.ZodString, 'many'>
>
>
>;
packageManager: z.ZodOptional<z.ZodString>;
sideEffects: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
imports: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
exports: z.ZodOptional<
z.ZodUnion<
[
z.ZodNull,
z.ZodString,
z.ZodArray<z.ZodString, 'many'>,
z.ZodRecord<z.ZodString, z.ZodUnknown>
]
>
>;
},
{
_id: z.ZodString;
dist: z.ZodObject<
{
tarball: z.ZodString;
shasum: z.ZodString;
integrity: z.ZodOptional<z.ZodString>;
fileCount: z.ZodOptional<z.ZodNumber>;
unpackedSize: z.ZodOptional<z.ZodNumber>;
'npm-signature': z.ZodOptional<z.ZodString>;
signatures: z.ZodOptional<
z.ZodArray<
z.ZodObject<
{
keyid: z.ZodString;
sig: z.ZodString;
},
'strip',
z.ZodTypeAny,
{ keyid: string; sig: string },
{ keyid: string; sig: string }
>,
'many'
>
>;
},
'strip',
z.ZodTypeAny,
{
tarball: string;
shasum: string;
integrity?: string | undefined;
fileCount?: number | undefined;
unpackedSize?: number | undefined;
'npm-signature'?: string | undefined;
signatures?:
| { keyid: string; sig: string }[]
| undefined;
},
{
tarball: string;
shasum: string;
integrity?: string | undefined;
fileCount?: number | undefined;
unpackedSize?: number | undefined;
'npm-signature'?: string | undefined;
signatures?:
| { keyid: string; sig: string }[]
| undefined;
}
>;
readme: z.ZodOptional<z.ZodString>;
readmeFilename: z.ZodOptional<z.ZodString>;
gitHead: z.ZodOptional<z.ZodString>;
_hasShrinkwrap: z.ZodOptional<z.ZodBoolean>;
_nodeVersion: z.ZodOptional<z.ZodString>;
_npmVersion: z.ZodOptional<z.ZodString>;
_npmUser: z.ZodOptional<
z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>
>;
_npmOperationalInternal: z.ZodOptional<
z.ZodObject<
{
host: z.ZodOptional<z.ZodString>;
tmp: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
host?: string | undefined;
tmp?: string | undefined;
},
{
host?: string | undefined;
tmp?: string | undefined;
}
>
>;
engines: z.ZodCatch<
z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>
>;
license: z.ZodCatch<z.ZodOptional<z.ZodString>>;
homepage: z.ZodCatch<z.ZodOptional<z.ZodString>>;
deprecated: z.ZodOptional<
z.ZodUnion<[z.ZodString, z.ZodBoolean]>
>;
}
>,
| 'name'
| 'version'
| 'bin'
| 'directories'
| 'dependencies'
| 'devDependencies'
| 'peerDependencies'
| 'peerDependenciesMeta'
| 'bundleDependencies'
| 'optionalDependencies'
| 'engines'
| 'os'
| 'cpu'
| 'deprecated'
| 'dist'
| '_hasShrinkwrap'
>,
{ hasInstallScript: z.ZodOptional<z.ZodBoolean> }
>,
z.ZodTypeAny,
'passthrough'
>
>;
},
{
name: string;
modified: string;
'dist-tags': {
latest: string;
next?: string | undefined;
alpha?: string | undefined;
beta?: string | undefined;
rc?: string | undefined;
canary?: string | undefined;
dev?: string | undefined;
} & { [k: string]: string };
versions: Record<
string,
z.objectInputType<
z.objectUtil.extendShape<
Pick<
z.objectUtil.extendShape<
{
name: z.ZodString;
version: z.ZodString;
description: z.ZodOptional<z.ZodString>;
keywords: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
homepage: z.ZodOptional<z.ZodString>;
bugs: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodOptional<z.ZodString>;
email: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url?: string | undefined;
email?: string | undefined;
},
{
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>;
license: z.ZodOptional<z.ZodString>;
author: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>;
contributors: z.ZodOptional<
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>,
'many'
>
>;
maintainers: z.ZodOptional<
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>,
'many'
>
>;
funding: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodString;
type: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url: string;
type?: string | undefined;
},
{
url: string;
type?: string | undefined;
}
>,
z.ZodArray<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
url: z.ZodString;
type: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
url: string;
type?:
| string
| undefined;
},
{
url: string;
type?:
| string
| undefined;
}
>
]
>,
'many'
>
]
>
>;
files: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
main: z.ZodOptional<z.ZodString>;
browser: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodRecord<
z.ZodString,
z.ZodUnion<
[z.ZodString, z.ZodBoolean]
>
>
]
>
>;
bin: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodRecord<z.ZodString, z.ZodString>
]
>
>;
man: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
directories: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
repository: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
type: z.ZodString;
url: z.ZodString;
directory: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
type: string;
url: string;
directory?: string | undefined;
},
{
type: string;
url: string;
directory?: string | undefined;
}
>
]
>
>;
scripts: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
config: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
dependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
devDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
peerDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
peerDependenciesMeta: z.ZodOptional<
z.ZodRecord<
z.ZodString,
z.ZodObject<
{ optional: z.ZodBoolean },
'strip',
z.ZodTypeAny,
{ optional: boolean },
{ optional: boolean }
>
>
>;
bundleDependencies: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
bundledDependencies: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
optionalDependencies: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
overrides: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
engines: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>;
os: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
cpu: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
private: z.ZodOptional<z.ZodBoolean>;
publishConfig: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
workspaces: z.ZodOptional<
z.ZodArray<z.ZodString, 'many'>
>;
deprecated: z.ZodOptional<z.ZodString>;
module: z.ZodOptional<z.ZodString>;
type: z.ZodOptional<
z.ZodUnion<
[
z.ZodLiteral<'module'>,
z.ZodLiteral<'commonjs'>
]
>
>;
types: z.ZodOptional<z.ZodString>;
typings: z.ZodOptional<z.ZodString>;
typesVersions: z.ZodOptional<
z.ZodRecord<
z.ZodString,
z.ZodRecord<
z.ZodString,
z.ZodArray<z.ZodString, 'many'>
>
>
>;
packageManager: z.ZodOptional<z.ZodString>;
sideEffects: z.ZodOptional<
z.ZodUnion<
[
z.ZodBoolean,
z.ZodArray<z.ZodString, 'many'>
]
>
>;
imports: z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodUnknown>
>;
exports: z.ZodOptional<
z.ZodUnion<
[
z.ZodNull,
z.ZodString,
z.ZodArray<z.ZodString, 'many'>,
z.ZodRecord<z.ZodString, z.ZodUnknown>
]
>
>;
},
{
_id: z.ZodString;
dist: z.ZodObject<
{
tarball: z.ZodString;
shasum: z.ZodString;
integrity: z.ZodOptional<z.ZodString>;
fileCount: z.ZodOptional<z.ZodNumber>;
unpackedSize: z.ZodOptional<z.ZodNumber>;
'npm-signature': z.ZodOptional<z.ZodString>;
signatures: z.ZodOptional<
z.ZodArray<
z.ZodObject<
{
keyid: z.ZodString;
sig: z.ZodString;
},
'strip',
z.ZodTypeAny,
{ keyid: string; sig: string },
{ keyid: string; sig: string }
>,
'many'
>
>;
},
'strip',
z.ZodTypeAny,
{
tarball: string;
shasum: string;
integrity?: string | undefined;
fileCount?: number | undefined;
unpackedSize?: number | undefined;
'npm-signature'?: string | undefined;
signatures?:
| { keyid: string; sig: string }[]
| undefined;
},
{
tarball: string;
shasum: string;
integrity?: string | undefined;
fileCount?: number | undefined;
unpackedSize?: number | undefined;
'npm-signature'?: string | undefined;
signatures?:
| { keyid: string; sig: string }[]
| undefined;
}
>;
readme: z.ZodOptional<z.ZodString>;
readmeFilename: z.ZodOptional<z.ZodString>;
gitHead: z.ZodOptional<z.ZodString>;
_hasShrinkwrap: z.ZodOptional<z.ZodBoolean>;
_nodeVersion: z.ZodOptional<z.ZodString>;
_npmVersion: z.ZodOptional<z.ZodString>;
_npmUser: z.ZodOptional<
z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodObject<
{
name: z.ZodString;
email: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
name: string;
url?: string | undefined;
email?: string | undefined;
},
{
name: string;
url?: string | undefined;
email?: string | undefined;
}
>
]
>
>
>;
_npmOperationalInternal: z.ZodOptional<
z.ZodObject<
{
host: z.ZodOptional<z.ZodString>;
tmp: z.ZodOptional<z.ZodString>;
},
'strip',
z.ZodTypeAny,
{
host?: string | undefined;
tmp?: string | undefined;
},
{
host?: string | undefined;
tmp?: string | undefined;
}
>
>;
engines: z.ZodCatch<
z.ZodOptional<
z.ZodRecord<z.ZodString, z.ZodString>
>
>;
license: z.ZodCatch<z.ZodOptional<z.ZodString>>;
homepage: z.ZodCatch<z.ZodOptional<z.ZodString>>;
deprecated: z.ZodOptional<
z.ZodUnion<[z.ZodString, z.ZodBoolean]>
>;
}
>,
| 'name'
| 'version'
| 'bin'
| 'directories'
| 'dependencies'
| 'devDependencies'
| 'peerDependencies'
| 'peerDependenciesMeta'
| 'bundleDependencies'
| 'optionalDependencies'
| 'engines'
| 'os'
| 'cpu'
| 'deprecated'
| 'dist'
| '_hasShrinkwrap'
>,
{ hasInstallScript: z.ZodOptional<z.ZodBoolean> }
>,
z.ZodTypeAny,
'passthrough'
>
>;
}
>;

    variable BulkDailyPackageDownloads

    const BulkDailyPackageDownloads: z.ZodRecord<
    z.ZodString,
    z.ZodUnion<
    [
    z.ZodNull,
    z.ZodObject<
    z.objectUtil.extendShape<
    {
    start: z.ZodString;
    end: z.ZodString;
    downloads: z.ZodArray<
    z.ZodObject<
    { downloads: z.ZodNumber; day: z.ZodString },
    'strip',
    z.ZodTypeAny,
    { downloads: number; day: string },
    { downloads: number; day: string }
    >,
    'many'
    >;
    },
    { package: z.ZodString }
    >,
    'strip',
    z.ZodTypeAny,
    {
    start: string;
    end: string;
    downloads: { downloads: number; day: string }[];
    package: string;
    },
    {
    start: string;
    end: string;
    downloads: { downloads: number; day: string }[];
    package: string;
    }
    >
    ]
    >
    >;

      variable BulkPackageDownloads

      const BulkPackageDownloads: z.ZodRecord<
      z.ZodString,
      z.ZodUnion<
      [
      z.ZodNull,
      z.ZodObject<
      z.objectUtil.extendShape<
      { downloads: z.ZodNumber; start: z.ZodString; end: z.ZodString },
      { package: z.ZodString }
      >,
      'strip',
      z.ZodTypeAny,
      { start: string; end: string; downloads: number; package: string },
      { start: string; end: string; downloads: number; package: string }
      >
      ]
      >
      >;

        variable DailyPackageDownloads

        const DailyPackageDownloads: z.ZodObject<
        z.objectUtil.extendShape<
        {
        start: z.ZodString;
        end: z.ZodString;
        downloads: z.ZodArray<
        z.ZodObject<
        { downloads: z.ZodNumber; day: z.ZodString },
        'strip',
        z.ZodTypeAny,
        { downloads: number; day: string },
        { downloads: number; day: string }
        >,
        'many'
        >;
        },
        { package: z.ZodString }
        >,
        'strip',
        z.ZodTypeAny,
        {
        start: string;
        end: string;
        downloads: { downloads: number; day: string }[];
        package: string;
        },
        {
        start: string;
        end: string;
        downloads: { downloads: number; day: string }[];
        package: string;
        }
        >;

          variable DailyRegistryDownloads

          const DailyRegistryDownloads: z.ZodObject<
          {
          start: z.ZodString;
          end: z.ZodString;
          downloads: z.ZodArray<
          z.ZodObject<
          { downloads: z.ZodNumber; day: z.ZodString },
          'strip',
          z.ZodTypeAny,
          { downloads: number; day: string },
          { downloads: number; day: string }
          >,
          'many'
          >;
          },
          'strip',
          z.ZodTypeAny,
          { start: string; end: string; downloads: { downloads: number; day: string }[] },
          { start: string; end: string; downloads: { downloads: number; day: string }[] }
          >;

            variable DownloadPeriod

            const DownloadPeriod: z.ZodUnion<
            [
            z.ZodLiteral<'last-day'>,
            z.ZodLiteral<'last-week'>,
            z.ZodLiteral<'last-month'>,
            z.ZodLiteral<'last-year'>,
            z.ZodString
            ]
            >;

              variable npmRegistryDownloadsApiUrl

              const npmRegistryDownloadsApiUrl: string;

              variable npmRegistryUrl

              const npmRegistryUrl: string;

              variable PackageDownloads

              const PackageDownloads: z.ZodObject<
              z.objectUtil.extendShape<
              { downloads: z.ZodNumber; start: z.ZodString; end: z.ZodString },
              { package: z.ZodString }
              >,
              'strip',
              z.ZodTypeAny,
              { start: string; end: string; downloads: number; package: string },
              { start: string; end: string; downloads: number; package: string }
              >;

                variable PackageManifest

                const PackageManifest: z.ZodObject<
                z.objectUtil.extendShape<
                {
                name: z.ZodString;
                version: z.ZodString;
                description: z.ZodOptional<z.ZodString>;
                keywords: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
                homepage: z.ZodOptional<z.ZodString>;
                bugs: z.ZodOptional<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                url: z.ZodOptional<z.ZodString>;
                email: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                { url?: string | undefined; email?: string | undefined },
                { url?: string | undefined; email?: string | undefined }
                >
                ]
                >
                >;
                license: z.ZodOptional<z.ZodString>;
                author: z.ZodOptional<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                name: z.ZodString;
                email: z.ZodOptional<z.ZodString>;
                url: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                },
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                }
                >
                ]
                >
                >;
                contributors: z.ZodOptional<
                z.ZodArray<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                name: z.ZodString;
                email: z.ZodOptional<z.ZodString>;
                url: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                },
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                }
                >
                ]
                >,
                'many'
                >
                >;
                maintainers: z.ZodOptional<
                z.ZodArray<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                name: z.ZodString;
                email: z.ZodOptional<z.ZodString>;
                url: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                },
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                }
                >
                ]
                >,
                'many'
                >
                >;
                funding: z.ZodOptional<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                { url: z.ZodString; type: z.ZodOptional<z.ZodString> },
                'strip',
                z.ZodTypeAny,
                { url: string; type?: string | undefined },
                { url: string; type?: string | undefined }
                >,
                z.ZodArray<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                url: z.ZodString;
                type: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                { url: string; type?: string | undefined },
                { url: string; type?: string | undefined }
                >
                ]
                >,
                'many'
                >
                ]
                >
                >;
                files: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
                main: z.ZodOptional<z.ZodString>;
                browser: z.ZodOptional<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodRecord<
                z.ZodString,
                z.ZodUnion<[z.ZodString, z.ZodBoolean]>
                >
                ]
                >
                >;
                bin: z.ZodOptional<
                z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>
                >;
                man: z.ZodOptional<
                z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, 'many'>]>
                >;
                directories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
                repository: z.ZodOptional<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                type: z.ZodString;
                url: z.ZodString;
                directory: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                {
                type: string;
                url: string;
                directory?: string | undefined;
                },
                {
                type: string;
                url: string;
                directory?: string | undefined;
                }
                >
                ]
                >
                >;
                scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
                config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
                devDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
                peerDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
                peerDependenciesMeta: z.ZodOptional<
                z.ZodRecord<
                z.ZodString,
                z.ZodObject<
                { optional: z.ZodBoolean },
                'strip',
                z.ZodTypeAny,
                { optional: boolean },
                { optional: boolean }
                >
                >
                >;
                bundleDependencies: z.ZodOptional<
                z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, 'many'>]>
                >;
                bundledDependencies: z.ZodOptional<
                z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, 'many'>]>
                >;
                optionalDependencies: z.ZodOptional<
                z.ZodRecord<z.ZodString, z.ZodString>
                >;
                overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                engines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
                os: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
                cpu: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
                private: z.ZodOptional<z.ZodBoolean>;
                publishConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                workspaces: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
                deprecated: z.ZodOptional<z.ZodString>;
                module: z.ZodOptional<z.ZodString>;
                type: z.ZodOptional<
                z.ZodUnion<[z.ZodLiteral<'module'>, z.ZodLiteral<'commonjs'>]>
                >;
                types: z.ZodOptional<z.ZodString>;
                typings: z.ZodOptional<z.ZodString>;
                typesVersions: z.ZodOptional<
                z.ZodRecord<
                z.ZodString,
                z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, 'many'>>
                >
                >;
                packageManager: z.ZodOptional<z.ZodString>;
                sideEffects: z.ZodOptional<
                z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, 'many'>]>
                >;
                imports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                exports: z.ZodOptional<
                z.ZodUnion<
                [
                z.ZodNull,
                z.ZodString,
                z.ZodArray<z.ZodString, 'many'>,
                z.ZodRecord<z.ZodString, z.ZodUnknown>
                ]
                >
                >;
                },
                {
                _id: z.ZodString;
                dist: z.ZodObject<
                {
                tarball: z.ZodString;
                shasum: z.ZodString;
                integrity: z.ZodOptional<z.ZodString>;
                fileCount: z.ZodOptional<z.ZodNumber>;
                unpackedSize: z.ZodOptional<z.ZodNumber>;
                'npm-signature': z.ZodOptional<z.ZodString>;
                signatures: z.ZodOptional<
                z.ZodArray<
                z.ZodObject<
                { keyid: z.ZodString; sig: z.ZodString },
                'strip',
                z.ZodTypeAny,
                { keyid: string; sig: string },
                { keyid: string; sig: string }
                >,
                'many'
                >
                >;
                },
                'strip',
                z.ZodTypeAny,
                {
                tarball: string;
                shasum: string;
                integrity?: string | undefined;
                fileCount?: number | undefined;
                unpackedSize?: number | undefined;
                'npm-signature'?: string | undefined;
                signatures?: { keyid: string; sig: string }[] | undefined;
                },
                {
                tarball: string;
                shasum: string;
                integrity?: string | undefined;
                fileCount?: number | undefined;
                unpackedSize?: number | undefined;
                'npm-signature'?: string | undefined;
                signatures?: { keyid: string; sig: string }[] | undefined;
                }
                >;
                readme: z.ZodOptional<z.ZodString>;
                readmeFilename: z.ZodOptional<z.ZodString>;
                gitHead: z.ZodOptional<z.ZodString>;
                _hasShrinkwrap: z.ZodOptional<z.ZodBoolean>;
                _nodeVersion: z.ZodOptional<z.ZodString>;
                _npmVersion: z.ZodOptional<z.ZodString>;
                _npmUser: z.ZodOptional<
                z.ZodOptional<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                name: z.ZodString;
                email: z.ZodOptional<z.ZodString>;
                url: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                },
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                }
                >
                ]
                >
                >
                >;
                _npmOperationalInternal: z.ZodOptional<
                z.ZodObject<
                {
                host: z.ZodOptional<z.ZodString>;
                tmp: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                { host?: string | undefined; tmp?: string | undefined },
                { host?: string | undefined; tmp?: string | undefined }
                >
                >;
                engines: z.ZodCatch<
                z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>
                >;
                license: z.ZodCatch<z.ZodOptional<z.ZodString>>;
                homepage: z.ZodCatch<z.ZodOptional<z.ZodString>>;
                deprecated: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
                }
                >,
                'passthrough',
                z.ZodTypeAny,
                z.objectOutputType<
                z.objectUtil.extendShape<
                {
                name: z.ZodString;
                version: z.ZodString;
                description: z.ZodOptional<z.ZodString>;
                keywords: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
                homepage: z.ZodOptional<z.ZodString>;
                bugs: z.ZodOptional<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                url: z.ZodOptional<z.ZodString>;
                email: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                {
                url?: string | undefined;
                email?: string | undefined;
                },
                {
                url?: string | undefined;
                email?: string | undefined;
                }
                >
                ]
                >
                >;
                license: z.ZodOptional<z.ZodString>;
                author: z.ZodOptional<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                name: z.ZodString;
                email: z.ZodOptional<z.ZodString>;
                url: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                },
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                }
                >
                ]
                >
                >;
                contributors: z.ZodOptional<
                z.ZodArray<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                name: z.ZodString;
                email: z.ZodOptional<z.ZodString>;
                url: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                },
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                }
                >
                ]
                >,
                'many'
                >
                >;
                maintainers: z.ZodOptional<
                z.ZodArray<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                name: z.ZodString;
                email: z.ZodOptional<z.ZodString>;
                url: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                },
                {
                name: string;
                url?: string | undefined;
                email?: string | undefined;
                }
                >
                ]
                >,
                'many'
                >
                >;
                funding: z.ZodOptional<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                url: z.ZodString;
                type: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                { url: string; type?: string | undefined },
                { url: string; type?: string | undefined }
                >,
                z.ZodArray<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                url: z.ZodString;
                type: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                {
                url: string;
                type?: string | undefined;
                },
                {
                url: string;
                type?: string | undefined;
                }
                >
                ]
                >,
                'many'
                >
                ]
                >
                >;
                files: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
                main: z.ZodOptional<z.ZodString>;
                browser: z.ZodOptional<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodRecord<
                z.ZodString,
                z.ZodUnion<[z.ZodString, z.ZodBoolean]>
                >
                ]
                >
                >;
                bin: z.ZodOptional<
                z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>
                >;
                man: z.ZodOptional<
                z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, 'many'>]>
                >;
                directories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
                repository: z.ZodOptional<
                z.ZodUnion<
                [
                z.ZodString,
                z.ZodObject<
                {
                type: z.ZodString;
                url: z.ZodString;
                directory: z.ZodOptional<z.ZodString>;
                },
                'strip',
                z.ZodTypeAny,
                {
                type: string;
                url: string;
                directory?: string | undefined;
                },
                {
                type: string;
                url: string;
                directory?: string | undefined;
                }
                >
                ]
                >
                >;
                scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
                config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
                devDependencies: z.ZodOptional<
                z.ZodRecord<z.ZodString, z.ZodString>
                >;
                peerDependencies: z.ZodOptional<
                z.ZodRecord<z.ZodString, z.ZodString>
                >;
                peerDependenciesMeta: z.ZodOptional<
                z.ZodRecord<
                z.ZodString,
                z.ZodObject<
                { optional: z.ZodBoolean },
                'strip',
                z.ZodTypeAny,
                { optional: boolean },
                { optional: boolean }
                >
                >
                >;
                bundleDependencies: z.ZodOptional<
                z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, 'many'>]>
                >;
                bundledDependencies: z.ZodOptional<
                z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, 'many'>]>
                >;
                optionalDependencies: z.ZodOptional<
                z.ZodRecord<z.ZodString, z.ZodString>
                >;
                overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                engines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
                os: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
                cpu: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
                private: z.ZodOptional<z.ZodBoolean>;
                publishConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                workspaces: z.ZodOptional<z.ZodArray<z.ZodString, 'many'>>;
                deprecated: z.ZodOptional<z.ZodString>;
                module: z.ZodOptional<z.ZodString>;
                type: z.ZodOptional<
                z.ZodUnion<[z.ZodLiteral<'module'>, z.ZodLiteral<'commonjs'>]>
                >;
                types: z.ZodOptional<z.ZodString>;
                typings: z.ZodOptional<z.ZodString>;
                typesVersions: z.ZodOptional<
                z.ZodRecord<
                z.ZodString,
                z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, 'many'>>
                >
                >;
                packageManager: z.ZodOptional<z.ZodString>;