UNPKG

dynamodb-toolbox

Version:

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

13 lines (12 loc) 654 B
import type { Schema } from '../../../schema/index.js'; import { SchemaAction } from '../../../schema/index.js'; import type { TransformPathsOptions } from './transformPaths.js'; import type { ProjectionExpression } from './types.js'; export interface ParsePathsOptions extends TransformPathsOptions { } export declare class PathParser<SCHEMA extends Schema = Schema> extends SchemaAction<SCHEMA> { static actionName: "parsePath"; static express(paths: string[]): ProjectionExpression; transform(paths: string[], options?: TransformPathsOptions): string[]; parse(paths: string[], options?: TransformPathsOptions): ProjectionExpression; }