@opra/elastic
Version:
Opra Elastic Search adapter package
8 lines (7 loc) • 462 B
TypeScript
import { ComplexType, FieldsProjection } from '@opra/common';
export interface ElasticProjection {
includes?: string[];
excludes?: string[];
}
export default function prepareProjection(dataType: ComplexType, projection?: string | string[], scope?: string): ElasticProjection | undefined;
export declare function prepare(dataType: ComplexType, includes: string[], excludes: string[], curPath: string, projection?: FieldsProjection, scope?: string): void;