UNPKG

@dolittle/sdk.artifacts

Version:

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

19 lines 874 B
import { ConceptAs } from '@dolittle/concepts'; import { Guid } from '@dolittle/rudiments'; import { Constructor } from '@dolittle/types'; import { ComplexValueMap } from './Mappings/ComplexValueMap'; import { Artifact } from './Artifact'; /** * Represents a map for mapping an {@link Artifact} to a value. * @template TArtifact The type of the artifact to use as key. * @template TId The type of the artifact id. * @template V The type of the value. */ export declare class ArtifactMap<TArtifact extends Artifact<TId>, TId extends ConceptAs<Guid, string>, V> extends ComplexValueMap<TArtifact, V, [string, number]> { /** * Initialises a new instance of the {@link ArtifactMap} class. * @param {Constructor} artifactType - The type of the artifact. */ constructor(artifactType: Constructor<TArtifact>); } //# sourceMappingURL=ArtifactMap.d.ts.map