@dolittle/sdk.projections
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
26 lines • 1.37 kB
TypeScript
import { Logger } from 'winston';
import { ExecutionContext, TenantIdLike } from '@dolittle/sdk.execution';
import { ProjectionsClient } from '@dolittle/contracts/Runtime/Projections/Store_grpc_pb';
import { IProjectionReadModelTypes } from '../IProjectionReadModelTypes';
import { IProjectionStore } from '../IProjectionStore';
import { IProjectionStoreBuilder } from './IProjectionStoreBuilder';
/**
* Represents an implementation of {@link IProjectionsStoreBuilder}.
*/
export declare class ProjectionStoreBuilder extends IProjectionStoreBuilder {
private readonly _projectionsClient;
private readonly _executionContext;
private readonly _readModelTypes;
private readonly _logger;
/**
* Initializes a new instance of {@link ProjectionStoreBuilder}.
* @param {ProjectionsClient} _projectionsClient - The client for the projections.
* @param {ExecutionContext} _executionContext - The execution context.
* @param {IProjectionReadModelTypes} _readModelTypes - The projection associations.
* @param {Logger} _logger - The logger.
*/
constructor(_projectionsClient: ProjectionsClient, _executionContext: ExecutionContext, _readModelTypes: IProjectionReadModelTypes, _logger: Logger);
/** @inheritdoc */
forTenant(tenantId: TenantIdLike): IProjectionStore;
}
//# sourceMappingURL=ProjectionStoreBuilder.d.ts.map