dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
10 lines (9 loc) • 377 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getFormattedListJSONSchema = void 0;
const schema_js_1 = require("./schema.js");
const getFormattedListJSONSchema = (schema) => ({
type: 'array',
items: (0, schema_js_1.getFormattedValueJSONSchema)(schema.elements)
});
exports.getFormattedListJSONSchema = getFormattedListJSONSchema;