dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
10 lines (9 loc) • 482 B
TypeScript
import type { ArrayPath } from '../../../schema/actions/utils/types.js';
import type { Schema } from '../../../schema/index.js';
import { SchemaAction } from '../../../schema/index.js';
import { SubSchema } from './subSchema.js';
export declare class Finder<SCHEMA extends Schema = Schema> extends SchemaAction<SCHEMA> {
static actionName: "finder";
search(path: string): SubSchema[];
}
export declare const findSubSchemas: (schema: Schema, path: ArrayPath) => SubSchema[];