dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
5 lines (4 loc) • 495 B
TypeScript
import type { ListSchema } from '../../../schema/index.js';
import type { FormatterReturn, FormatterYield } from './formatter.js';
import type { FormatAttrValueOptions } from './options.js';
export declare function listSchemaFormatter(schema: ListSchema, rawValue: unknown, { attributes, valuePath, ...restOptions }?: FormatAttrValueOptions<ListSchema>): Generator<FormatterYield<ListSchema, FormatAttrValueOptions<ListSchema>>, FormatterReturn<ListSchema, FormatAttrValueOptions<ListSchema>>>;