UNPKG

@restorecommerce/chassis-srv

Version:

Restore Commerce microservice chassis

36 lines 984 B
import { ArrayCursor } from 'arangojs/cursor'; import { CreateArangoSearchViewOptions } from 'arangojs/view'; import { CreateAnalyzerOptions } from 'arangojs/analyzer'; export interface TraversalResponse { rootCursor?: ArrayCursor; associationCursor?: ArrayCursor; } export interface AnalyzerOptions { [key: string]: CreateAnalyzerOptions; } export interface ViewAnalyzerOptions { view: { collectionName: string; viewName: string; similarityThreshold: number; options: CreateArangoSearchViewOptions; }; analyzers: string[]; analyzerOptions: AnalyzerOptions[]; } export interface ViewMap { fields: string[]; viewName: string; similarityThreshold: number; analyzerOptions: AnalyzerOptions[]; } export interface CustomQuery { code: string; type: 'filter' | 'query'; } export interface ArangoDocument { _key?: string; id?: string; [key: string]: any; } //# sourceMappingURL=interface.d.ts.map