lakutata
Version:
An IoC-based universal application framework.
36 lines (28 loc) • 961 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.Entity_2 = t.Entity = i;
const n = e.requireGlobals();
const a = e.ObjectUtils;
function i(e, t) {
const i = (a.ObjectUtils.isObject(e) ? e : t) || {};
const r = typeof e === "string" ? e : i.name;
return function(e) {
(0, n.getMetadataArgsStorage)().tables.push({
target: e,
name: r,
type: "regular",
orderBy: i.orderBy ? i.orderBy : undefined,
engine: i.engine ? i.engine : undefined,
database: i.database ? i.database : undefined,
schema: i.schema ? i.schema : undefined,
synchronize: i.synchronize,
withoutRowid: i.withoutRowid,
comment: i.comment ? i.comment : undefined
});
};
}