UNPKG

duenamodb

Version:

Simple DynamoDB client written in TypeScript.

9 lines (8 loc) 530 B
import { DynamoDBTypes, PK } from './types'; export declare const createTableFunctions: <Attributes extends DynamoDBTypes, PartitionKey extends PK>(tablename: string, partitionKeyName: string) => { scanItems: import("./scan").ScanItemsFunction<Attributes>; putItem: import("./put").PutItemFunction<Attributes>; updateItem: import("./update").UpdateItemFunction<Attributes>; getItem: import("./get").GetItemFunction<Attributes, PartitionKey>; deleteItem: import("./delete").DeleteItemFunction<PartitionKey>; };