UNPKG

dynamodb-toolbox

Version:

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

10 lines (9 loc) 526 B
import type { PutCommandInput } from '@aws-sdk/lib-dynamodb'; import type { Entity, ValidItem } from '../../../../entity/index.js'; import type { PutItemOptions } from '../options.js'; import type { PutItemInput } from '../types.js'; type PutItemParamsGetter = <ENTITY extends Entity, OPTIONS extends PutItemOptions<ENTITY>>(entity: ENTITY, input: PutItemInput<ENTITY>, putItemOptions?: OPTIONS) => PutCommandInput & { ToolboxItem: ValidItem<ENTITY>; }; export declare const putItemParams: PutItemParamsGetter; export {};