UNPKG

dynamodb-toolbox

Version:

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

8 lines (7 loc) 475 B
import type { UpdateCommandInput } from '@aws-sdk/lib-dynamodb'; import type { Entity } from '../../../../entity/index.js'; import type { UpdateItemOptions } from '../options.js'; type CommandOptions = Omit<UpdateCommandInput, 'TableName' | 'Item' | 'Key'>; type UpdateItemOptionsParser = <ENTITY extends Entity>(entity: ENTITY, updateItemOptions: UpdateItemOptions<ENTITY>) => CommandOptions; export declare const parseUpdateItemOptions: UpdateItemOptionsParser; export {};