dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
13 lines (12 loc) • 752 B
TypeScript
import type { Path } from '../../../../../schema/actions/utils/path.js';
import type { Schema, TransformedValue } from '../../../../../schema/index.js';
import type { UpdateItemInputExtension } from '../../types.js';
import type { ExpressionPrefix, ExpressionState } from '../types.js';
export declare const pathTokens: (path: Path, prefix: ExpressionPrefix, state: ExpressionState) => string;
export declare const valueToken: (value: TransformedValue<Schema, {
mode: "update";
}>, prefix: ExpressionPrefix, state: ExpressionState) => string;
export declare const refOrValueTokens: (refOrValue: TransformedValue<Schema, {
mode: "update";
extension: UpdateItemInputExtension;
}>, prefix: ExpressionPrefix, state: ExpressionState) => string;