UNPKG

lakutata

Version:

An IoC-based universal application framework.

32 lines (25 loc) 840 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 r = t.TreeChildren = n; const a = e(); function n(e) { return function(t, r) { if (!e) e = {}; const n = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", t, r) : undefined; const o = n && typeof n.name === "string" && n.name.toLowerCase() === "promise" || false; (0, a.getMetadataArgsStorage)().relations.push({ isTreeChildren: true, target: t.constructor, propertyName: r, isLazy: o, relationType: "one-to-many", type: () => t.constructor, options: e }); }; } export { r as T };