@aws/dynamodb-data-mapper-annotations
Version:
Annotations providing easy integration between TypeScript domain objects and the @aws/dynamodb-data-mapper library
12 lines (11 loc) • 539 B
TypeScript
import { ClassAnnotation } from './annotationShapes';
/**
* Declare a TypeScript class to be represent items in a table in a way
* understandable by the AWS DynamoDB DataMapper for JavaScript. Meant to be
* used as a TypeScript class decorator in projects compiled with the
* `experimentalDecorators` option enabled.
*
* @see https://www.typescriptlang.org/docs/handbook/decorators.html
* @see https://www.typescriptlang.org/docs/handbook/compiler-options.html
*/
export declare function table(tableName: string): ClassAnnotation;