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