UNPKG

ravendb

Version:
21 lines 1.17 kB
import { IMaintenanceOperation, OperationResultType } from "../OperationAbstractions.js"; import { IndexDefinition } from "../../Indexes/IndexDefinition.js"; import { DocumentConventions } from "../../Conventions/DocumentConventions.js"; import { RavenCommand } from "../../../Http/RavenCommand.js"; import { ServerNode } from "../../../Http/ServerNode.js"; import { HttpRequestParameters } from "../../../Primitives/Http.js"; import { Stream } from "node:stream"; export declare class IndexHasChangedOperation implements IMaintenanceOperation<boolean> { private readonly _definition; constructor(definition: IndexDefinition); getCommand(conventions: DocumentConventions): RavenCommand<boolean>; get resultType(): OperationResultType; } export declare class IndexHasChangedCommand extends RavenCommand<boolean> { private readonly _definition; constructor(conventions: DocumentConventions, definition: IndexDefinition); get isReadRequest(): boolean; createRequest(node: ServerNode): HttpRequestParameters; setResponseAsync(bodyStream: Stream, fromCache: boolean): Promise<string>; } //# sourceMappingURL=IndexHasChangedOperation.d.ts.map