lakutata
Version:
An IoC-based universal application framework.
32 lines (25 loc) • 863 B
JavaScript
/* Build Date: Mon Jan 05 2026 23:52:23 GMT+0800 (China Standard Time) */
;
const e = require("./Package.internal.51.cjs");
var t = {};
Object.defineProperty(t, "__esModule", {
value: true
});
exports.TreeChildren_2 = t.TreeChildren = n;
const r = e.requireGlobals();
function n(e) {
return function(t, n) {
if (!e) e = {};
const a = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", t, n) : undefined;
const o = a && typeof a.name === "string" && a.name.toLowerCase() === "promise" || false;
(0, r.getMetadataArgsStorage)().relations.push({
isTreeChildren: true,
target: t.constructor,
propertyName: n,
isLazy: o,
relationType: "one-to-many",
type: () => t.constructor,
options: e
});
};
}