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