@onetyped/zod
Advanced tools
Comparing version 0.0.11 to 0.0.12-canary.2df8e02lkmd
@@ -1,11 +0,4 @@ | ||
import { CustomTypeNode, AnyNode, DefinitionMap, Infer } from '@onetyped/core'; | ||
import { z } from 'zod'; | ||
declare const fromZodSchema: <TZodType extends z.ZodTypeAny>(schema: TZodType) => CustomTypeNode<z.TypeOf<TZodType>>; | ||
type ToZodSchema<TNode extends AnyNode> = z.ZodType<Infer<TNode>>; | ||
declare const toZodSchema: <TNode extends AnyNode>(node: TNode, definitions?: DefinitionMap) => ToZodSchema<TNode>; | ||
declare const toZodString: (node: AnyNode) => string; | ||
export { fromZodSchema, toZodSchema, toZodString }; | ||
export { fromZodSchema } from './from-schema'; | ||
export { toZodSchema } from './to-schema'; | ||
export { toZodString } from './to-string'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@onetyped/zod", | ||
"version": "0.0.11", | ||
"version": "0.0.12-canary.2df8e02lkmd", | ||
"type": "module", | ||
@@ -44,3 +44,3 @@ "description": "onetyped Zod integration", | ||
"devDependencies": { | ||
"@onetyped/core": "0.0.11", | ||
"@onetyped/core": "0.0.12", | ||
"@trpc-labs/eslint-config": "0.1.1", | ||
@@ -47,0 +47,0 @@ "@trpc-labs/tsconfig": "0.1.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30811
13
902