UNPKG

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

Version:

[![](https://img.shields.io/npm/dw/@webiny/api-form-builder-so-ddb-es.svg)](https://www.npmjs.com/package/@webiny/api-form-builder-so-ddb-es) [![](https://img.shields.io/npm/v/@webiny/api-form-builder-so-ddb-es.svg)](https://www.npmjs.com/package/@webiny

32 lines (30 loc) 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _FormElasticsearchFieldPlugin = require("../../plugins/FormElasticsearchFieldPlugin"); var _default = () => [new _FormElasticsearchFieldPlugin.FormElasticsearchFieldPlugin({ field: "createdOn", unmappedType: "date" }), new _FormElasticsearchFieldPlugin.FormElasticsearchFieldPlugin({ field: "savedOn", unmappedType: "date" }), new _FormElasticsearchFieldPlugin.FormElasticsearchFieldPlugin({ field: "publishedOn", unmappedType: "date" }), new _FormElasticsearchFieldPlugin.FormElasticsearchFieldPlugin({ field: "ownedBy", path: "ownedBy.id" }), new _FormElasticsearchFieldPlugin.FormElasticsearchFieldPlugin({ field: "createdBy", path: "createdBy.id" }), /** * Always add the ALL fields plugin because of the keyword/path build. */ new _FormElasticsearchFieldPlugin.FormElasticsearchFieldPlugin({ field: _FormElasticsearchFieldPlugin.FormElasticsearchFieldPlugin.ALL })]; exports.default = _default; //# sourceMappingURL=elasticsearchFields.js.map