UNPKG

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

Version:

The DynamoDB + Elasticsearch storage operations Webiny Page Builder API.

27 lines (25 loc) 1.09 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createBlockCategoryDynamoDbFields = void 0; var _BlockCategoryDynamoDbElasticFieldPlugin = require("../../plugins/definitions/BlockCategoryDynamoDbElasticFieldPlugin"); const createBlockCategoryDynamoDbFields = () => { return [new _BlockCategoryDynamoDbElasticFieldPlugin.BlockCategoryDynamoDbElasticFieldPlugin({ field: "id" }), new _BlockCategoryDynamoDbElasticFieldPlugin.BlockCategoryDynamoDbElasticFieldPlugin({ field: "createdOn", type: "date" }), new _BlockCategoryDynamoDbElasticFieldPlugin.BlockCategoryDynamoDbElasticFieldPlugin({ field: "savedOn", type: "date" }), new _BlockCategoryDynamoDbElasticFieldPlugin.BlockCategoryDynamoDbElasticFieldPlugin({ field: "publishedOn", type: "date" }), new _BlockCategoryDynamoDbElasticFieldPlugin.BlockCategoryDynamoDbElasticFieldPlugin({ field: "createdBy", path: "createdBy.id" })]; }; exports.createBlockCategoryDynamoDbFields = createBlockCategoryDynamoDbFields; //# sourceMappingURL=fields.js.map