dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
18 lines (17 loc) • 561 B
TypeScript
import type { ErrorBlueprint } from '../../../errors/blueprint.js';
type UnrecognizedLiteralErrorBlueprint = ErrorBlueprint<{
code: 'fromZodSchema.unrecognizedLiteral';
hasPath: false;
payload: {
received: unknown;
};
}>;
type UnsupportedSetValueTypeErrorBlueprint = ErrorBlueprint<{
code: 'fromZodSchema.unsupportedSetValueType';
hasPath: false;
payload: {
received: unknown;
};
}>;
export type FromZodSchemaErrorBlueprints = UnrecognizedLiteralErrorBlueprint | UnsupportedSetValueTypeErrorBlueprint;
export {};