@webiny/api-headless-cms-ddb-es
Version:
DynamoDB and Elasticsearch storage operations plugin for Headless CMS API.
12 lines (11 loc) • 668 B
TypeScript
import { CmsEntryOpenSearchFieldIndex } from "../abstractions/CmsEntryOpenSearchFieldIndex.js";
declare class DateTimeFieldIndexImpl implements CmsEntryOpenSearchFieldIndex.Interface {
readonly fieldType = "datetime";
unmappedType(): string;
toIndex({ field, value }: CmsEntryOpenSearchFieldIndex.ToIndex): CmsEntryOpenSearchFieldIndex.ToValue;
fromIndex({ field, value }: CmsEntryOpenSearchFieldIndex.FromIndex): any;
}
export declare const DateTimeFieldIndex: typeof DateTimeFieldIndexImpl & {
__abstraction: import("@webiny/di").Abstraction<import("../abstractions/CmsEntryOpenSearchFieldIndex.js").ICmsEntryOpenSearchFieldIndex>;
};
export {};