UNPKG

dynamodb-toolbox

Version:

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

7 lines (6 loc) 462 B
import type { DeleteCommandInput } from '@aws-sdk/lib-dynamodb'; import type { Entity, KeyInputItem } from '../../../../entity/index.js'; import type { DeleteItemOptions } from '../options.js'; type DeleteItemParamsGetter = <ENTITY extends Entity, OPTIONS extends DeleteItemOptions<ENTITY>>(entity: ENTITY, input: KeyInputItem<ENTITY>, deleteItemOptions?: OPTIONS) => DeleteCommandInput; export declare const deleteItemParams: DeleteItemParamsGetter; export {};