dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
12 lines (11 loc) • 582 B
TypeScript
import type { UpdateCommandInput } from '@aws-sdk/lib-dynamodb';
import type { Entity } from '../../../../entity/index.js';
import type { UpdateItemOptions } from '../options.js';
import type { UpdateItemInput } from '../types.js';
type UpdateItemParamsGetter = <ENTITY extends Entity, OPTIONS extends UpdateItemOptions<ENTITY>>(entity: ENTITY, input: UpdateItemInput<ENTITY>, updateItemOptions?: OPTIONS) => UpdateCommandInput & {
ToolboxItem: UpdateItemInput<ENTITY, {
filled: true;
}>;
};
export declare const updateItemParams: UpdateItemParamsGetter;
export {};