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