lakutata 2.0.57 → 2.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/com/database.cjs +2 -0
- package/com/database.d.ts +2 -2
- package/com/database.mjs +2 -0
- package/decorator/orm.cjs +88 -86
- package/decorator/orm.d.ts +74 -50
- package/decorator/orm.mjs +46 -44
- package/orm.cjs +112 -1075
- package/orm.d.ts +5 -5
- package/orm.mjs +17 -1015
- package/package.json +1 -1
- package/provider/database.cjs +2 -0
- package/provider/database.d.ts +2 -2
- package/provider/database.mjs +2 -0
- package/src/components/Database.cjs +2 -0
- package/src/components/Database.mjs +2 -0
- package/src/decorators/orm/AfterInsert.cjs +7 -27
- package/src/decorators/orm/AfterInsert.mjs +6 -28
- package/src/decorators/orm/AfterLoad.cjs +7 -27
- package/src/decorators/orm/AfterLoad.mjs +6 -28
- package/src/decorators/orm/AfterRecover.cjs +7 -27
- package/src/decorators/orm/AfterRecover.mjs +6 -28
- package/src/decorators/orm/AfterRemove.cjs +7 -27
- package/src/decorators/orm/AfterRemove.mjs +6 -28
- package/src/decorators/orm/AfterSoftRemove.cjs +7 -27
- package/src/decorators/orm/AfterSoftRemove.mjs +6 -28
- package/src/decorators/orm/AfterUpdate.cjs +7 -27
- package/src/decorators/orm/AfterUpdate.mjs +6 -28
- package/src/decorators/orm/BeforeInsert.cjs +7 -27
- package/src/decorators/orm/BeforeInsert.mjs +6 -28
- package/src/decorators/orm/BeforeRecover.cjs +7 -27
- package/src/decorators/orm/BeforeRecover.mjs +6 -28
- package/src/decorators/orm/BeforeRemove.cjs +7 -27
- package/src/decorators/orm/BeforeRemove.mjs +6 -28
- package/src/decorators/orm/BeforeSoftRemove.cjs +7 -27
- package/src/decorators/orm/BeforeSoftRemove.mjs +6 -28
- package/src/decorators/orm/BeforeUpdate.cjs +7 -27
- package/src/decorators/orm/BeforeUpdate.mjs +6 -28
- package/src/decorators/orm/Check.cjs +7 -30
- package/src/decorators/orm/Check.mjs +6 -31
- package/src/decorators/orm/ChildEntity.cjs +7 -30
- package/src/decorators/orm/ChildEntity.mjs +6 -31
- package/src/decorators/orm/Column.cjs +7 -62
- package/src/decorators/orm/Column.mjs +6 -63
- package/src/decorators/orm/CreateDateColumn.cjs +7 -26
- package/src/decorators/orm/CreateDateColumn.mjs +6 -27
- package/src/decorators/orm/DeleteDateColumn.cjs +7 -26
- package/src/decorators/orm/DeleteDateColumn.mjs +6 -27
- package/src/decorators/orm/Entity.cjs +7 -36
- package/src/decorators/orm/Entity.mjs +6 -37
- package/src/decorators/orm/EventSubscriber.cjs +7 -23
- package/src/decorators/orm/EventSubscriber.mjs +6 -24
- package/src/decorators/orm/Exclusion.cjs +7 -30
- package/src/decorators/orm/Exclusion.mjs +6 -31
- package/src/decorators/orm/Generated.cjs +7 -25
- package/src/decorators/orm/Generated.mjs +6 -26
- package/src/decorators/orm/Index.cjs +7 -42
- package/src/decorators/orm/Index.mjs +6 -43
- package/src/decorators/orm/JoinColumn.cjs +7 -30
- package/src/decorators/orm/JoinColumn.mjs +6 -31
- package/src/decorators/orm/JoinTable.cjs +7 -31
- package/src/decorators/orm/JoinTable.mjs +6 -32
- package/src/decorators/orm/ManyToMany.cjs +7 -43
- package/src/decorators/orm/ManyToMany.mjs +6 -44
- package/src/decorators/orm/ManyToOne.cjs +7 -43
- package/src/decorators/orm/ManyToOne.mjs +6 -44
- package/src/decorators/orm/ObjectIdColumn.cjs +7 -29
- package/src/decorators/orm/ObjectIdColumn.mjs +6 -30
- package/src/decorators/orm/OneToMany.cjs +7 -35
- package/src/decorators/orm/OneToMany.mjs +6 -36
- package/src/decorators/orm/OneToOne.cjs +7 -43
- package/src/decorators/orm/OneToOne.mjs +6 -44
- package/src/decorators/orm/PrimaryColumn.cjs +7 -50
- package/src/decorators/orm/PrimaryColumn.mjs +6 -51
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +7 -55
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +6 -56
- package/src/decorators/orm/RelationId.cjs +7 -27
- package/src/decorators/orm/RelationId.mjs +6 -28
- package/src/decorators/orm/TableInheritance.cjs +7 -27
- package/src/decorators/orm/TableInheritance.mjs +6 -28
- package/src/decorators/orm/Tree.cjs +7 -25
- package/src/decorators/orm/Tree.mjs +6 -26
- package/src/decorators/orm/TreeChildren.cjs +7 -32
- package/src/decorators/orm/TreeChildren.mjs +6 -33
- package/src/decorators/orm/TreeLevelColumn.cjs +7 -26
- package/src/decorators/orm/TreeLevelColumn.mjs +6 -27
- package/src/decorators/orm/TreeParent.cjs +7 -32
- package/src/decorators/orm/TreeParent.mjs +6 -33
- package/src/decorators/orm/Unique.cjs +7 -45
- package/src/decorators/orm/Unique.mjs +6 -46
- package/src/decorators/orm/UpdateDateColumn.cjs +7 -26
- package/src/decorators/orm/UpdateDateColumn.mjs +6 -27
- package/src/decorators/orm/VersionColumn.cjs +7 -26
- package/src/decorators/orm/VersionColumn.mjs +6 -27
- package/src/decorators/orm/ViewColumn.cjs +7 -26
- package/src/decorators/orm/ViewColumn.mjs +6 -27
- package/src/decorators/orm/ViewEntity.cjs +7 -35
- package/src/decorators/orm/ViewEntity.mjs +6 -36
- package/src/decorators/orm/VirtualColumn.cjs +7 -43
- package/src/decorators/orm/VirtualColumn.mjs +6 -44
- package/src/providers/Database.cjs +2 -0
- package/src/providers/Database.mjs +2 -0
- package/vendor/Package.122.cjs +19932 -14856
- package/vendor/Package.122.mjs +32675 -27699
- package/vendor/Package.19.cjs +1 -1
- package/vendor/Package.19.mjs +1 -1
- package/vendor/Package.6.cjs +1 -1
- package/vendor/Package.6.mjs +1 -1
- package/vendor/TypeDef.4.d.ts +347 -181
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, Symbol.toStringTag, {
|
|
|
4
4
|
value: "Module"
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
require("../../../vendor/Package.5.cjs");
|
|
8
|
-
|
|
9
7
|
const e = require("../../../vendor/Package.122.cjs");
|
|
10
8
|
|
|
9
|
+
require("../../../vendor/Package.5.cjs");
|
|
10
|
+
|
|
11
11
|
require("../../../vendor/Package.13.cjs");
|
|
12
12
|
|
|
13
13
|
require("../../../vendor/Package.1.cjs");
|
|
@@ -52,6 +52,10 @@ require("../../../vendor/Package.11.cjs");
|
|
|
52
52
|
|
|
53
53
|
require("url");
|
|
54
54
|
|
|
55
|
+
require("node:util");
|
|
56
|
+
|
|
57
|
+
require("../../../vendor/Package.4.cjs");
|
|
58
|
+
|
|
55
59
|
require("../../../vendor/Package.63.cjs");
|
|
56
60
|
|
|
57
61
|
require("node:url");
|
|
@@ -68,44 +72,4 @@ require("node:stream");
|
|
|
68
72
|
|
|
69
73
|
require("node:string_decoder");
|
|
70
74
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"use strict";
|
|
74
|
-
|
|
75
|
-
Object.defineProperty(r, "__esModule", {
|
|
76
|
-
value: true
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
var t = r.VirtualColumn = i;
|
|
80
|
-
|
|
81
|
-
const o = e.error;
|
|
82
|
-
|
|
83
|
-
const u = e.requireGlobals();
|
|
84
|
-
|
|
85
|
-
function i(e, r) {
|
|
86
|
-
return function(t, i) {
|
|
87
|
-
let n;
|
|
88
|
-
if (typeof e === "string") {
|
|
89
|
-
n = e;
|
|
90
|
-
} else {
|
|
91
|
-
r = e;
|
|
92
|
-
n = r.type;
|
|
93
|
-
}
|
|
94
|
-
if (!r?.query) {
|
|
95
|
-
throw new Error("Column options must be defined for calculated columns.");
|
|
96
|
-
}
|
|
97
|
-
const s = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", t, i) : undefined;
|
|
98
|
-
if (!n && s) n = s;
|
|
99
|
-
if (n) r.type = n;
|
|
100
|
-
if (r.type === "hstore" && !r.hstoreType) r.hstoreType = s === Object ? "object" : "string";
|
|
101
|
-
if (!r.type) throw new o.ColumnTypeUndefinedError(t, i);
|
|
102
|
-
(0, u.getMetadataArgsStorage)().columns.push({
|
|
103
|
-
target: t.constructor,
|
|
104
|
-
propertyName: i,
|
|
105
|
-
mode: "virtual-property",
|
|
106
|
-
options: r || {}
|
|
107
|
-
});
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
exports.VirtualColumn = t;
|
|
75
|
+
exports.VirtualColumn = e.VirtualColumn_2;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
export { H as VirtualColumn } from "../../../vendor/Package.122.mjs";
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import "../../../vendor/Package.5.mjs";
|
|
4
4
|
|
|
5
5
|
import "../../../vendor/Package.13.mjs";
|
|
6
6
|
|
|
@@ -46,6 +46,10 @@ import "../../../vendor/Package.11.mjs";
|
|
|
46
46
|
|
|
47
47
|
import "url";
|
|
48
48
|
|
|
49
|
+
import "node:util";
|
|
50
|
+
|
|
51
|
+
import "../../../vendor/Package.4.mjs";
|
|
52
|
+
|
|
49
53
|
import "../../../vendor/Package.63.mjs";
|
|
50
54
|
|
|
51
55
|
import "node:url";
|
|
@@ -61,45 +65,3 @@ import "node:events";
|
|
|
61
65
|
import "node:stream";
|
|
62
66
|
|
|
63
67
|
import "node:string_decoder";
|
|
64
|
-
|
|
65
|
-
var o = {};
|
|
66
|
-
|
|
67
|
-
"use strict";
|
|
68
|
-
|
|
69
|
-
Object.defineProperty(o, "__esModule", {
|
|
70
|
-
value: true
|
|
71
|
-
});
|
|
72
|
-
|
|
73
|
-
var r = o.VirtualColumn = p;
|
|
74
|
-
|
|
75
|
-
const m = e;
|
|
76
|
-
|
|
77
|
-
const i = t();
|
|
78
|
-
|
|
79
|
-
function p(e, t) {
|
|
80
|
-
return function(o, r) {
|
|
81
|
-
let p;
|
|
82
|
-
if (typeof e === "string") {
|
|
83
|
-
p = e;
|
|
84
|
-
} else {
|
|
85
|
-
t = e;
|
|
86
|
-
p = t.type;
|
|
87
|
-
}
|
|
88
|
-
if (!t?.query) {
|
|
89
|
-
throw new Error("Column options must be defined for calculated columns.");
|
|
90
|
-
}
|
|
91
|
-
const a = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", o, r) : undefined;
|
|
92
|
-
if (!p && a) p = a;
|
|
93
|
-
if (p) t.type = p;
|
|
94
|
-
if (t.type === "hstore" && !t.hstoreType) t.hstoreType = a === Object ? "object" : "string";
|
|
95
|
-
if (!t.type) throw new m.ColumnTypeUndefinedError(o, r);
|
|
96
|
-
(0, i.getMetadataArgsStorage)().columns.push({
|
|
97
|
-
target: o.constructor,
|
|
98
|
-
propertyName: r,
|
|
99
|
-
mode: "virtual-property",
|
|
100
|
-
options: t || {}
|
|
101
|
-
});
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export { r as VirtualColumn };
|