UNPKG

dynamodb-toolbox

Version:

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

7 lines (6 loc) 438 B
import type { GetCommandInput } from '@aws-sdk/lib-dynamodb'; import type { Entity, KeyInputItem } from '../../../../entity/index.js'; import type { GetItemOptions } from '../options.js'; type GetItemParamsGetter = <ENTITY extends Entity, OPTIONS extends GetItemOptions<ENTITY>>(entity: ENTITY, input: KeyInputItem<ENTITY>, getItemOptions?: OPTIONS) => GetCommandInput; export declare const getItemParams: GetItemParamsGetter; export {};