dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
13 lines (12 loc) • 383 B
TypeScript
import type { ErrorBlueprint } from '../../../errors/blueprint.js';
type InvalidKeyPartErrorBlueprint = ErrorBlueprint<{
code: 'actions.parsePrimaryKey.invalidKeyPart';
hasPath: true;
payload: {
expected: string;
received: unknown;
keyPart: string;
};
}>;
export type PrimaryKeyParserErrorBlueprints = InvalidKeyPartErrorBlueprint;
export {};