@kurrent/kurrentdb-client
Version:
KurrentDB gRPC NodeJS Client SDK
13 lines (12 loc) • 441 B
TypeScript
import type { BaseOptions } from "../types";
export type EnableProjectionOptions = BaseOptions;
declare module "../Client" {
interface Client {
/**
* Enables a projection.
* @param projectionName - The name of the projection to enable.
* @param options - Enable projection options.
*/
enableProjection(projectionName: string, options?: EnableProjectionOptions): Promise<void>;
}
}