UNPKG

dynamodb-toolbox

Version:

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

5 lines (4 loc) 359 B
import type { BooleanSchema, BooleanSchema_ } from '../../../index.js'; import type { SchemaProps } from '../../../schema/types/schemaProps.js'; export type FromZodBoolean<ROOT extends boolean = true, PROPS extends SchemaProps = {}> = ROOT extends true ? BooleanSchema_<PROPS> : BooleanSchema<PROPS>; export declare const fromZodBoolean: () => BooleanSchema;