UNPKG

dynamodb-toolbox

Version:

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

5 lines (4 loc) 471 B
import type { SetSchema } from '../../../schema/index.js'; import type { FormatterReturn, FormatterYield } from './formatter.js'; import type { FormatAttrValueOptions } from './options.js'; export declare function setSchemaFormatter(schema: SetSchema, rawValue: unknown, { valuePath, ...options }?: FormatAttrValueOptions<SetSchema>): Generator<FormatterYield<SetSchema, FormatAttrValueOptions<SetSchema>>, FormatterReturn<SetSchema, FormatAttrValueOptions<SetSchema>>>;