UNPKG

@dolittle/sdk.projections

Version:

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

19 lines 924 B
import { Constructor } from '@dolittle/types'; import { ProjectionProperty } from '../../Copies/ProjectionProperty'; import { Conversion } from '../../Copies/MongoDB/Conversion'; /** * Represents a projection property decorated with a 'covertToMongoDB' decorator. */ export declare class MongoDBConversionDecoratedProperty { readonly property: ProjectionProperty; readonly conversion: Conversion; readonly type: Constructor<any>; /** * Initialises a new instance of the {@link MongoDBConversionDecoratedProperty} class. * @param {ProjectionProperty} property - The projection property to be converted. * @param {Conversion} conversion - The conversion to apply. * @param {Constructor<any>} type - The decorated type. */ constructor(property: ProjectionProperty, conversion: Conversion, type: Constructor<any>); } //# sourceMappingURL=MongoDBConversionDecoratedProperty.d.ts.map