couchbase-index-manager
Version:
Manage Couchbase indexes during the CI/CD process
20 lines (19 loc) • 503 B
TypeScript
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;
}