UNPKG

lakutata

Version:

An IoC-based universal application framework.

32 lines (25 loc) 836 B
/* Build Date: Mon Jan 05 2026 23:52:23 GMT+0800 (China Standard Time) */ import { a as e } from "./Package.internal.51.mjs"; var t = {}; Object.defineProperty(t, "__esModule", { value: true }); var a = t.TreeParent = n; const r = e(); function n(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 }); }; } export { a as T };