@codification/cutwater-aws
Version:
A library providing general functionality for TypeScript based AWS projects.
13 lines • 478 B
TypeScript
import { DynamoDB } from '@aws-sdk/client-dynamodb';
import { AttributeMap } from '../AttributeMap';
export interface CompoundItemRepositoryConfig<T> {
readonly db?: DynamoDB;
readonly itemType: string;
readonly tableName: string;
readonly idProperty: string;
readonly partitionKey: string;
readonly sortKey: string;
toItem(map: AttributeMap): T;
toAttributeMap(item: T): AttributeMap;
}
//# sourceMappingURL=CompoundItemRepositoryConfig.d.ts.map