dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
5 lines (4 loc) • 402 B
TypeScript
import type { MapSchema } from '../../../schema/index.js';
import type { ParseAttrValueOptions } from './options.js';
import type { ParserReturn, ParserYield } from './parser.js';
export declare function mapSchemaParser<OPTIONS extends ParseAttrValueOptions = {}>(schema: MapSchema, inputValue: unknown, options?: OPTIONS): Generator<ParserYield<MapSchema, OPTIONS>, ParserReturn<MapSchema, OPTIONS>>;