@decaf-ts/core
Version:
Core persistence module for the decaf framework
39 lines • 1.62 kB
JavaScript
/**
* @module core
* @description Core module for the Decaf TypeScript framework
* @summary This module provides the foundational components of the Decaf framework, including identity management,
* model definitions, repository patterns, persistence layer, query building, and utility functions.
* It exports functionality from various submodules and sets up the injectable registry for repository decorators.
*/
import { InjectablesRegistry } from "./repository/injectables.js";
import { Injectables } from "@decaf-ts/injectable-decorators";
import { Metadata } from "@decaf-ts/decoration";
// overrides the previous Injectables registry to enable the @repository decorator
Injectables.setRegistry(new InjectablesRegistry());
// imported first on purpose
export * from "./overrides/index.js";
export * from "./repository/index.js";
export * from "./identity/index.js";
export * from "./interfaces/index.js";
export * from "./model/index.js";
export * from "./query/index.js";
export * from "./utils/index.js";
//left to last on purpose
export * from "./persistence/index.js";
export * from "./ram/index.js";
/**
* @description Stores the current package version
* @summary A constant representing the version of the core package
* @const VERSION
* @memberOf module:core
*/
export const VERSION = "0.7.44";
/**
* @description Stores the current package version
* @summary A constant representing the version of the core package
* @const PACKAGE_NAME
* @memberOf module:core
*/
export const PACKAGE_NAME = "@decaf-ts/core";
Metadata.registerLibrary(PACKAGE_NAME, VERSION);
//# sourceMappingURL=index.js.map