@nestjs-cqrs-eventsourcing/core
Version:
Event sourcing for nestjs CQRS
14 lines (13 loc) • 438 B
TypeScript
import { AnyObject, SnapshotType } from '@nestjs-cqrs-eventsourcing/core';
export declare class Snapshot implements SnapshotType {
id: string;
streamId?: string | undefined;
aggregateId?: string | undefined;
aggregate?: string | undefined;
context?: string | undefined;
timestamp?: Date | undefined;
revision: number;
version: number;
data: AnyObject;
constructor(id: string, obj: SnapshotType);
}