UNPKG

dynamodb-toolbox

Version:

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

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