UNPKG

@dolittle/sdk.projections

Version:

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

16 lines (13 loc) 549 B
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. import { Guid } from '@dolittle/rudiments'; import { ScopeId } from '@dolittle/sdk.events'; import { projection } from './projectionDecorator'; import { ProjectionAliasLike } from '../ProjectionAlias'; /** * Defines the options that can be defined in a {@link projection} decorator. */ export type ProjectionOptions = { inScope?: ScopeId | Guid | string, alias?: ProjectionAliasLike, };