couchbase-index-manager
Version:
Manage Couchbase indexes during the CI/CD process
21 lines (20 loc) • 532 B
TypeScript
import { IndexManager } from './index-manager';
import { SyncOptions } from './options';
import { Plan } from './plan';
/**
* Executes a synchronization, loading definitions from disk
*/
export declare class Sync {
private manager;
private paths;
private options;
constructor(manager: IndexManager, path: string | ArrayLike<string>, options?: SyncOptions);
/**
* Executes the synchronization
*/
execute(): Promise<void>;
/**
* Creates the plan
*/
createPlan(): Promise<Plan>;
}