UNPKG

dynamodb-toolbox

Version:

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

13 lines (12 loc) 545 B
export declare const sanitize: (str: string) => string; type ProjectionMatch = { isProjected: false; childrenAttributes?: never; } | { isProjected: true; childrenAttributes?: string[]; }; export declare const matchItemProjection: (attributeName: string, projectedAttributes?: string[]) => ProjectionMatch; export declare const matchMapProjection: (attributeName: string, projectedAttributes?: string[]) => ProjectionMatch; export declare const matchListProjection: (projectedAttributes?: string[]) => ProjectionMatch; export {};