UNPKG

couchbase-index-manager

Version:
20 lines (19 loc) 503 B
import { IndexDefinition } from "./index-definition"; export interface StringMap { [key: string]: string; } /** * Stores a map of node aliases to their fully qualified name */ export declare class NodeMap { private _values; constructor(configuration?: StringMap); /** * Adds or overwrites mapped nodes */ merge(hash: StringMap): void; /** * Applies node mappings to an array of index definitions */ apply(definition: Iterable<IndexDefinition>): void; }