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