UNPKG

lakutata

Version:

An IoC-based universal application framework.

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