UNPKG

dynamodb-toolbox

Version:

Lightweight and type-safe query builder for DynamoDB and TypeScript.

5 lines (4 loc) 338 B
import type { NullSchema, NullSchema_ } from '../../../index.js'; import type { SchemaProps } from '../../../schema/types/schemaProps.js'; export type FromZodNull<ROOT extends boolean = true, PROPS extends SchemaProps = {}> = ROOT extends true ? NullSchema_<PROPS> : NullSchema<PROPS>; export declare const fromZodNull: () => NullSchema;