UNPKG

domain-objects

Version:

A simple, convenient way to represent domain objects, leverage domain knowledge, and add runtime validation in your code base.

11 lines (10 loc) 431 B
/** * .what = marker symbols for domain object type checks * .why = extracted to break circular dependencies with isOf* functions * * uses Symbol.for() for cross-version, global registry */ export declare const MARK_AS_DOMAIN_OBJECT: unique symbol; export declare const MARK_AS_DOMAIN_ENTITY: unique symbol; export declare const MARK_AS_DOMAIN_EVENT: unique symbol; export declare const MARK_AS_DOMAIN_LITERAL: unique symbol;