UNPKG

dynamodb-toolbox

Version:

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

11 lines (10 loc) 396 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getFormattedSetJSONSchema = void 0; const schema_js_1 = require("./schema.js"); const getFormattedSetJSONSchema = (schema) => ({ type: 'array', items: (0, schema_js_1.getFormattedValueJSONSchema)(schema.elements), uniqueItems: true }); exports.getFormattedSetJSONSchema = getFormattedSetJSONSchema;