UNPKG

dynamodb-toolbox

Version:

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

9 lines (8 loc) 582 B
import type { QueryCommandInput } from '@aws-sdk/lib-dynamodb'; import type { Entity } from '../../../../entity/index.js'; import type { Table } from '../../../../table/index.js'; import type { QueryOptions } from '../options.js'; import type { Query } from '../types.js'; type QueryParamsGetter = <TABLE extends Table, ENTITIES extends Entity[], QUERY extends Query<TABLE>, OPTIONS extends QueryOptions<TABLE, ENTITIES, QUERY>>(table: TABLE, entities: ENTITIES, query: QUERY, options?: OPTIONS) => QueryCommandInput; export declare const queryParams: QueryParamsGetter; export {};