@webiny/api-headless-cms-ddb-es
Version:
DynamoDB and Elasticsearch storage operations plugin for Headless CMS API.
16 lines (15 loc) • 451 B
JavaScript
import { getBaseConfiguration } from "@webiny/api-opensearch";
import { CmsEntryOpenSearchIndex } from "./abstractions.js";
class BaseOpenSearchIndexImpl {
constructor() {
this.body = getBaseConfiguration();
}
canUse(_) {
return true;
}
}
export const BaseOpenSearchIndex = CmsEntryOpenSearchIndex.createImplementation({
implementation: BaseOpenSearchIndexImpl,
dependencies: []
});
//# sourceMappingURL=BaseOpenSearchIndex.js.map