UNPKG

dynamodb-toolbox

Version:

Lightweight and type-safe query builder for DynamoDB and TypeScript.

7 lines (6 loc) 289 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fromZodEnum = void 0; const index_js_1 = require("../../../schema/string/index.js"); const fromZodEnum = (zodEnum) => (0, index_js_1.string)().enum(...zodEnum.options); exports.fromZodEnum = fromZodEnum;