@webiny/api-page-builder-so-ddb-es
Version:
The DynamoDB + Elasticsearch storage operations Webiny Page Builder API.
23 lines (21 loc) • 555 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.IndexPageDataPlugin = void 0;
var _plugins = require("@webiny/plugins");
class IndexPageDataPlugin extends _plugins.Plugin {
static type = "pb.elasticsearch.index-page-data";
constructor(callable) {
super();
this.callable = callable;
}
apply(params) {
if (typeof this.callable !== "function") {
return;
}
this.callable(params);
}
}
exports.IndexPageDataPlugin = IndexPageDataPlugin;
//# sourceMappingURL=IndexPageDataPlugin.js.map