ravendb
Version:
RavenDB client for Node.js
22 lines • 1.15 kB
TypeScript
import { IMaintenanceOperation, OperationResultType } from "../OperationAbstractions.js";
import { DocumentConventions } from "../../Conventions/DocumentConventions.js";
import { HttpRequestParameters } from "../../../Primitives/Http.js";
import { RavenCommand } from "../../../Http/RavenCommand.js";
import { ServerNode } from "../../../Http/ServerNode.js";
import { IRaftCommand } from "../../../Http/IRaftCommand.js";
export declare class EnableIndexOperation implements IMaintenanceOperation<void> {
private readonly _indexName;
private readonly _clusterWide;
constructor(indexName: string, clusterWide?: boolean);
getCommand(conventions: DocumentConventions): EnableIndexCommand;
get resultType(): OperationResultType;
}
export declare class EnableIndexCommand extends RavenCommand<void> implements IRaftCommand {
private readonly _indexName;
private readonly _clusterWide;
constructor(indexName: string, clusterWide: boolean);
createRequest(node: ServerNode): HttpRequestParameters;
get isReadRequest(): boolean;
getRaftUniqueRequestId(): string;
}
//# sourceMappingURL=EnableIndexOperation.d.ts.map