dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
8 lines (7 loc) • 443 B
TypeScript
import type { PutCommandInput } from '@aws-sdk/lib-dynamodb';
import type { Entity } from '../../../../entity/index.js';
import type { PutItemOptions } from '../options.js';
type CommandOptions = Omit<PutCommandInput, 'TableName' | 'Item'>;
type PutItemOptionsParser = <ENTITY extends Entity>(entity: ENTITY, putItemOptions: PutItemOptions<ENTITY>) => CommandOptions;
export declare const parsePutItemOptions: PutItemOptionsParser;
export {};