// Copyright (c) Cratis. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. import { EventContext } from './EventContext.js'; import { EventType } from './EventType.js'; /** * Represents an event that has been appended to an event sequence. */ export interface AppendedEvent> { /** The context of the event. */ readonly context: EventContext; /** The type of the event. */ readonly eventType: EventType; /** The deserialized content of the event. */ readonly content: TContent; }