UNPKG

dynamodb-toolbox

Version:

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

12 lines (11 loc) 625 B
import type { BatchWriteCommandInput } from '@aws-sdk/lib-dynamodb'; import { EntityAction } from '../../../entity/index.js'; import type { Entity, KeyInputItem } from '../../../entity/index.js'; import { $key } from './constants.js'; export declare class BatchDeleteRequest<ENTITY extends Entity = Entity> extends EntityAction<ENTITY> { static actionName: "batchDelete"; [$key]?: KeyInputItem<ENTITY>; constructor(entity: ENTITY, key?: KeyInputItem<ENTITY>); key(nextKey: KeyInputItem<ENTITY>): BatchDeleteRequest<ENTITY>; params(): NonNullable<BatchWriteCommandInput['RequestItems']>[string][number]; }