@decaf-ts/decorator-validation
Version:
simple decorator based validation engine
63 lines • 2.83 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PACKAGE_NAME = exports.FULL_VERSION = exports.COMMIT = exports.VERSION = void 0;
/**
* @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.
*/
const decoration_1 = require("@decaf-ts/decoration");
require("./validation/index.cjs");
__exportStar(require("./overrides/index.cjs"), exports);
__exportStar(require("./constants/index.cjs"), exports);
__exportStar(require("./types/index.cjs"), exports);
__exportStar(require("./utils/index.cjs"), exports);
__exportStar(require("./validation/index.cjs"), exports);
__exportStar(require("./model/index.cjs"), exports);
/**
* @description Current version of the reflection package
* @summary Stores the semantic version number of the package
* @const VERSION
* @memberOf module:decorator-validation
*/
exports.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
*/
exports.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
*/
exports.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
*/
exports.PACKAGE_NAME = "@decaf-ts/decorator-validation";
decoration_1.Metadata.registerLibrary(exports.PACKAGE_NAME, exports.VERSION);
//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.cjs.map