UNPKG

@schorts/shared-kernel

Version:

A modular, type-safe foundation for building expressive, maintainable applications. This package provides core abstractions for domain modeling, HTTP integration, authentication, state management, and more — designed to be framework-agnostic and highly ex

11 lines 459 B
import { ValueObject } from "./"; export declare abstract class EnumValue implements ValueObject { readonly valueType = "Enum"; readonly allowedValues: Array<string>; readonly value: typeof this.allowedValues[number] | string; constructor(allowedValues: Array<string>, value: string); get isValid(): boolean; equals(valueObject: unknown): boolean; abstract readonly attributeName: string; } //# sourceMappingURL=enum-value.d.ts.map