dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
12 lines (11 loc) • 435 B
TypeScript
import type { ErrorBlueprint } from '../../../errors/blueprint.js';
import type { QueryCommandParamsErrorBlueprints } from './queryParams/errors.js';
type NoEntityMatchedErrorBlueprint = ErrorBlueprint<{
code: 'queryCommand.noEntityMatched';
hasPath: false;
payload: {
item: unknown;
};
}>;
export type QueryCommandErrorBlueprints = QueryCommandParamsErrorBlueprints | NoEntityMatchedErrorBlueprint;
export {};