ravendb
Version:
RavenDB client for Node.js
24 lines • 1.28 kB
TypeScript
import { HttpRequestParameters } from "../../../Primitives/Http.js";
import { ServerNode } from "../../../Http/ServerNode.js";
import { RavenCommand } from "../../../Http/RavenCommand.js";
import { IndexDefinition } from "../../Indexes/IndexDefinition.js";
import { IMaintenanceOperation, OperationResultType } from "../OperationAbstractions.js";
import { DocumentConventions } from "../../Conventions/DocumentConventions.js";
import { Stream } from "node:stream";
export declare class GetIndexesOperation implements IMaintenanceOperation<IndexDefinition[]> {
private readonly _start;
private readonly _pageSize;
constructor(start: number, pageSize: number);
getCommand(conventions: DocumentConventions): RavenCommand<IndexDefinition[]>;
get resultType(): OperationResultType;
}
export declare class GetIndexesCommand extends RavenCommand<IndexDefinition[]> {
private readonly _start;
private readonly _pageSize;
private readonly _conventions;
constructor(start: number, pageSize: number, conventions: DocumentConventions);
createRequest(node: ServerNode): HttpRequestParameters;
setResponseAsync(bodyStream: Stream, fromCache: boolean): Promise<string>;
get isReadRequest(): boolean;
}
//# sourceMappingURL=GetIndexesOperation.d.ts.map