@nerdware/ddb-single-table
Version:
A schema-based DynamoDB modeling tool, high-level API, and type-generator built to supercharge single-table designs!⚡
9 lines • 399 B
TypeScript
import type { IOAction } from "./types/index.js";
/**
* This `IOAction` performs nullish-value `item` validation checks:
*
* @throws {ItemInputError} If an attr is `required`, and the value is missing/`undefined`.
* @throws {ItemInputError} If an attr is _**NOT**_ `nullable`, and the value is `null`.
*/
export declare const checkRequired: IOAction;
//# sourceMappingURL=checkRequired.d.ts.map