UNPKG

@webiny/api-page-builder-so-ddb

Version:

The DynamoDB storage operations Webiny Page Builder API.

23 lines (21 loc) 478 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createSortKey = exports.createPartitionKey = void 0; const createPartitionKey = params => { const { tenant, locale } = params; return `T#${tenant}#L#${locale}#PB#BC`; }; exports.createPartitionKey = createPartitionKey; const createSortKey = params => { const { slug } = params; return slug; }; exports.createSortKey = createSortKey; //# sourceMappingURL=keys.js.map