dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
8 lines (7 loc) • 466 B
TypeScript
import type { DeleteCommandInput } from '@aws-sdk/lib-dynamodb';
import type { Entity } from '../../../../entity/index.js';
import type { DeleteItemOptions } from '../options.js';
type CommandOptions = Omit<DeleteCommandInput, 'TableName' | 'Key'>;
type DeleteItemOptionsParser = <ENTITY extends Entity>(entity: ENTITY, deleteItemOptions: DeleteItemOptions<ENTITY>) => CommandOptions;
export declare const parseDeleteItemOptions: DeleteItemOptionsParser;
export {};