dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
8 lines (7 loc) • 378 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.fromZodArray = void 0;
const index_js_1 = require("../../../schema/list/index.js");
const fromZodSchema_js_1 = require("./fromZodSchema.js");
const fromZodArray = (zodArray) => (0, index_js_1.list)((0, fromZodSchema_js_1.fromZodSchema)(zodArray.element));
exports.fromZodArray = fromZodArray;