@kurrent/kurrentdb-client
Version:
KurrentDB gRPC NodeJS Client SDK
14 lines (13 loc) • 547 B
TypeScript
import type { BaseOptions } from "../types";
export type ResetProjectionOptions = BaseOptions;
declare module "../Client" {
interface Client {
/**
* Resets a projection. This will re-emit events.
* Streams that are written to from the projection will also be soft deleted.
* @param projectionName - The name of the projection to reset.
* @param options - Reset projection options.
*/
resetProjection(projectionName: string, options?: ResetProjectionOptions): Promise<void>;
}
}