@dolittle/sdk.projections
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
18 lines • 825 B
TypeScript
import { ConceptAs } from '@dolittle/concepts';
/**
* Represents a projection key selector expression.
*/
export declare class PropertyNameKeySelector extends ConceptAs<string, '@dolittle/sdk.projections.PropertyNameKeySelector'> {
/**
* Initializes a new instance of {@link PropertyNameKeySelector}.
* @param {string} expression - The expression that specifices the key selection.
*/
constructor(expression: string);
/**
* Creates a {@link PropertyNameKeySelector} from a string.
* @param {string | PropertyNameKeySelector} expression - The expression to convert.
* @returns {PropertyNameKeySelector} The converted key selector.
*/
static from(expression: string | PropertyNameKeySelector): PropertyNameKeySelector;
}
//# sourceMappingURL=PropertyNameKeySelector.d.ts.map