dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
12 lines (11 loc) • 396 B
TypeScript
import type { ArrayPath, StrPath } from './types.js';
export declare class Path {
arrayPath: ArrayPath;
strPath: StrPath;
static fromArray(arrayPath: ArrayPath): Path;
constructor(strPath?: string, arrayPath?: ArrayPath);
prepend(...arrayPath: ArrayPath): Path;
prependPath(path: Path): Path;
append(...arrayPath: ArrayPath): Path;
appendPath(path: Path): Path;
}