UNPKG

dynamodb-toolbox

Version:

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

5 lines (4 loc) 352 B
import type { StringSchema, StringSchema_ } from '../../../index.js'; import type { SchemaProps } from '../../../schema/types/schemaProps.js'; export type FromZodString<ROOT extends boolean = true, PROPS extends SchemaProps = {}> = ROOT extends true ? StringSchema_<PROPS> : StringSchema<PROPS>; export declare const fromZodString: () => StringSchema;