UNPKG

dynamodb-toolbox

Version:

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

10 lines (9 loc) 605 B
import type { UpdateCommandInput } from '@aws-sdk/lib-dynamodb'; import type { Entity } from '../../../../entity/index.js'; import type { UpdateAttributesOptions } from '../options.js'; import type { UpdateAttributesInput } from '../types.js'; type UpdateAttributesParamsGetter = <ENTITY extends Entity, OPTIONS extends UpdateAttributesOptions<ENTITY>>(entity: ENTITY, input: UpdateAttributesInput<ENTITY>, updateItemOptions?: OPTIONS) => UpdateCommandInput & { ToolboxItem: UpdateAttributesInput<ENTITY, true>; }; export declare const updateAttributesParams: UpdateAttributesParamsGetter; export {};