@decaf-ts/decorator-validation
Version:
simple decorator based validation engine
45 lines • 1.81 kB
JavaScript
/**
* @module decorator-validation
* @description TypeScript decorator-based validation library
* @summary This module provides a comprehensive validation framework using TypeScript decorators.
* It exposes utility functions, validation decorators, and model-related functionality for
* implementing type-safe, declarative validation in TypeScript applications.
*/
import { Metadata } from "@decaf-ts/decoration";
import "./validation/index.js";
export * from "./overrides/index.js";
export * from "./constants/index.js";
export * from "./types/index.js";
export * from "./utils/index.js";
export * from "./validation/index.js";
export * from "./model/index.js";
/**
* @description Current version of the reflection package
* @summary Stores the semantic version number of the package
* @const VERSION
* @memberOf module:decorator-validation
*/
export const VERSION = "1.22.1";
/**
* @description Represents the current commit hash of the module build.
* @summary Stores the current git commit hash for the package. The build replaces
* the placeholder with the actual commit hash at publish time.
* @const COMMIT
*/
export const COMMIT = "189c072";
/**
* @description Represents the full version string of the module.
* @summary Stores the semver version and commit hash for the package.
* The build replaces the placeholder with the actual `<version>-<commit>` value at publish time.
* @const FULL_VERSION
*/
export const FULL_VERSION = "1.22.1-189c072";
/**
* @description Current version of the reflection package
* @summary Stores the semantic version number of the package
* @const PACKAGE_NAME
* @memberOf module:decorator-validation
*/
export const PACKAGE_NAME = "@decaf-ts/decorator-validation";
Metadata.registerLibrary(PACKAGE_NAME, VERSION);
//# sourceMappingURL=index.js.map