UNPKG

dynamodb-toolbox

Version:

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

13 lines (12 loc) 610 B
import type { $sentArgs } from '../../../table/constants.js'; import type { Table, TableSendableAction } from '../../../table/table.js'; import { $actionName, $spy } from './/constants.js'; import type { TableSpy } from './spy.js'; export declare class TableActionInspector<TABLE extends Table, ACTION extends TableSendableAction<TABLE>> { [$spy]: TableSpy<TABLE>; [$actionName]: string; constructor(spy: TableSpy<TABLE>, Action: new (entity: TABLE) => ACTION); count(): number; args(at: number): ReturnType<ACTION[$sentArgs]> | undefined; allArgs(): ReturnType<ACTION[$sentArgs]>[]; }