@clawject/di
Version:
<p align="center"> <a href="https://clawject.com/" target="_blank"><img src="https://clawject.com/img/logo.svg" align="center" alt="Clawject Logo" width="120" height="120" /></a> </p>
30 lines (29 loc) • 1.12 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Internal = exports.External = void 0;
const ErrorBuilder_1 = require("../../ErrorBuilder");
/**
* It Indicates that the bean or configuration import is only visible within the class in which it is applied.
* When applied on class level,
* all beans and configuration imports defined in the class are only visible within the class.
*
* @docs https://clawject.com/docs/fundamentals/internal-external#internal
*
* @public
*/
const External = () => {
throw ErrorBuilder_1.ErrorBuilder.usageWithoutConfiguredDI('@External');
};
exports.External = External;
/**
* It Indicates that the bean or configuration import is visible outside the class in which they are defined.
* When applied on class level, all beans and configuration imports defined in the class become visible outside the class.
*
* @docs https://clawject.com/docs/fundamentals/internal-external#external
*
* @public
*/
const Internal = () => {
throw ErrorBuilder_1.ErrorBuilder.usageWithoutConfiguredDI('@Internal');
};
exports.Internal = Internal;