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.

15 lines 425 B
import { IdImplementation } from "../interface/types"; export declare class Id implements IdImplementation { private _value; private _isNew; constructor(id?: string, isNew?: boolean); static generate(): Id; setAsNew(): void; get value(): string; get longValue(): string; isNew(): boolean; isEqual(id: Id): boolean; cloneAsNew(): Id; clone(): Id; } //# sourceMappingURL=ids.d.ts.map