dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
24 lines (23 loc) • 816 B
TypeScript
import type { ErrorBlueprint } from '../../errors/blueprint.js';
type OptionalElementsErrorBlueprint = ErrorBlueprint<{
code: 'schema.list.optionalElements';
hasPath: true;
payload: undefined;
}>;
type HiddenElementsErrorBlueprint = ErrorBlueprint<{
code: 'schema.list.hiddenElements';
hasPath: true;
payload: undefined;
}>;
type SavedAsElementsErrorBlueprint = ErrorBlueprint<{
code: 'schema.list.savedAsElements';
hasPath: true;
payload: undefined;
}>;
type DefaultedElementsErrorBlueprint = ErrorBlueprint<{
code: 'schema.list.defaultedElements';
hasPath: true;
payload: undefined;
}>;
export type ListSchemaErrorBlueprint = OptionalElementsErrorBlueprint | HiddenElementsErrorBlueprint | SavedAsElementsErrorBlueprint | DefaultedElementsErrorBlueprint;
export {};