UNPKG

dynamodb-toolbox

Version:

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

5 lines (4 loc) 417 B
import type { RecordSchema } from '../../../schema/index.js'; import type { ParseAttrValueOptions } from './options.js'; import type { ParserReturn, ParserYield } from './parser.js'; export declare function recordSchemaParser<OPTIONS extends ParseAttrValueOptions = {}>(schema: RecordSchema, inputValue: unknown, options?: OPTIONS): Generator<ParserYield<RecordSchema, OPTIONS>, ParserReturn<RecordSchema, OPTIONS>>;