UNPKG

@hiki9/rich-domain

Version:

Rich Domain is a library that provides a set of tools to help you build complex business logic in NodeJS using Domain Driven Design principles.

14 lines 459 B
import { EntityProps, ISnapshot, SnapshotTrace } from "../interface/types"; export declare class Snapshot<T extends EntityProps> implements ISnapshot<T> { readonly props: T; trace: SnapshotTrace; fromDeepWatch: boolean; deepWatchPath: string | null; constructor(input: { props: T; trace: SnapshotTrace; }); hasChange(key: string): boolean; get timestamp(): Date; } //# sourceMappingURL=history-snapshot.d.ts.map