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