lakutata 2.0.1 → 2.0.2
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.d.ts +4 -4
- package/com/docker.d.ts +5 -4
- package/com/entrypoint.cjs +13 -11
- package/com/entrypoint.d.ts +13 -8
- package/com/entrypoint.mjs +2 -2
- package/com/logger.d.ts +3 -3
- package/decorator/asst.d.ts +2 -2
- package/decorator/ctrl.d.ts +5 -5
- package/decorator/di.d.ts +5 -5
- package/decorator/dto.d.ts +5 -5
- package/decorator/orm.d.ts +3 -3
- package/helper.d.ts +2 -2
- package/lakutata.cjs +16 -18
- package/lakutata.d.ts +12 -16
- package/lakutata.mjs +2 -2
- package/orm.d.ts +4 -4
- package/orm.mjs +30 -30
- package/package.json +1 -1
- package/src/components/entrypoint/Entrypoint.cjs +1 -1
- package/src/components/entrypoint/Entrypoint.mjs +1 -1
- package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs +34 -0
- package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.mjs +28 -0
- package/src/decorators/orm/Column.cjs +14 -14
- package/src/decorators/orm/Column.mjs +2 -2
- package/src/decorators/orm/PrimaryColumn.cjs +1 -1
- package/src/decorators/orm/PrimaryColumn.mjs +2 -2
- package/src/lib/core/Application.cjs +1 -1
- package/src/lib/core/Application.mjs +1 -1
- package/vendor/Package.14.cjs +20 -18
- package/vendor/Package.14.mjs +17 -19
- package/vendor/TypeDef.1.d.ts +274 -489
- package/vendor/TypeDef.10.d.ts +5 -6
- package/vendor/TypeDef.11.d.ts +4 -104
- package/vendor/TypeDef.12.d.ts +96 -60
- package/vendor/TypeDef.13.d.ts +71 -0
- package/vendor/TypeDef.2.d.ts +489 -948
- package/vendor/TypeDef.3.d.ts +662 -18813
- package/vendor/TypeDef.4.d.ts +18176 -3169
- package/vendor/TypeDef.5.d.ts +4093 -12
- package/vendor/TypeDef.6.d.ts +11 -2
- package/vendor/TypeDef.7.d.ts +20 -2
- package/vendor/TypeDef.8.d.ts +2 -5
- package/vendor/TypeDef.9.d.ts +2 -294
- package/src/exceptions/ControllerActionNotFoundException.cjs +0 -34
- package/src/exceptions/ControllerActionNotFoundException.mjs +0 -28
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@ const i = require("./lib/Controller.cjs");
|
|
|
18
18
|
|
|
19
19
|
const s = require("../../lib/helpers/As.cjs");
|
|
20
20
|
|
|
21
|
-
const a = require("
|
|
21
|
+
const a = require("./exceptions/ControllerActionNotFoundException.cjs");
|
|
22
22
|
|
|
23
23
|
const c = require("../../exceptions/DestroyRuntimeContainerException.cjs");
|
|
24
24
|
|
|
@@ -12,7 +12,7 @@ import { Controller as a } from "./lib/Controller.mjs";
|
|
|
12
12
|
|
|
13
13
|
import { As as c } from "../../lib/helpers/As.mjs";
|
|
14
14
|
|
|
15
|
-
import { ControllerActionNotFoundException as l } from "
|
|
15
|
+
import { ControllerActionNotFoundException as l } from "./exceptions/ControllerActionNotFoundException.mjs";
|
|
16
16
|
|
|
17
17
|
import { DestroyRuntimeContainerException as p } from "../../exceptions/DestroyRuntimeContainerException.mjs";
|
|
18
18
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, {
|
|
4
|
+
value: "Module"
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
const e = require("../../../lib/base/abstracts/Exception.cjs");
|
|
8
|
+
|
|
9
|
+
require("../../../lib/base/internal/BasicInfo.cjs");
|
|
10
|
+
|
|
11
|
+
require("../../../lib/helpers/As.cjs");
|
|
12
|
+
|
|
13
|
+
require("../../../../vendor/Package.7.cjs");
|
|
14
|
+
|
|
15
|
+
require("../../../../vendor/Package.5.cjs");
|
|
16
|
+
|
|
17
|
+
require("../../../../vendor/Package.8.cjs");
|
|
18
|
+
|
|
19
|
+
require("../../../lib/base/internal/ThrowWarning.cjs");
|
|
20
|
+
|
|
21
|
+
require("../../../lib/helpers/Templating.cjs");
|
|
22
|
+
|
|
23
|
+
require("../../../lib/base/internal/CamelCase.cjs");
|
|
24
|
+
|
|
25
|
+
require("../../../lib/helpers/NoCase.cjs");
|
|
26
|
+
|
|
27
|
+
class ControllerActionNotFoundException extends e.Exception {
|
|
28
|
+
constructor() {
|
|
29
|
+
super(...arguments);
|
|
30
|
+
this.errno = "E_CONTROLLER_ACTION_NOT_FOUND";
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
exports.ControllerActionNotFoundException = ControllerActionNotFoundException;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Exception as o } from "../../../lib/base/abstracts/Exception.mjs";
|
|
2
|
+
|
|
3
|
+
import "../../../lib/base/internal/BasicInfo.mjs";
|
|
4
|
+
|
|
5
|
+
import "../../../lib/helpers/As.mjs";
|
|
6
|
+
|
|
7
|
+
import "../../../../vendor/Package.7.mjs";
|
|
8
|
+
|
|
9
|
+
import "../../../../vendor/Package.5.mjs";
|
|
10
|
+
|
|
11
|
+
import "../../../../vendor/Package.8.mjs";
|
|
12
|
+
|
|
13
|
+
import "../../../lib/base/internal/ThrowWarning.mjs";
|
|
14
|
+
|
|
15
|
+
import "../../../lib/helpers/Templating.mjs";
|
|
16
|
+
|
|
17
|
+
import "../../../lib/base/internal/CamelCase.mjs";
|
|
18
|
+
|
|
19
|
+
import "../../../lib/helpers/NoCase.mjs";
|
|
20
|
+
|
|
21
|
+
class ControllerActionNotFoundException extends o {
|
|
22
|
+
constructor() {
|
|
23
|
+
super(...arguments);
|
|
24
|
+
this.errno = "E_CONTROLLER_ACTION_NOT_FOUND";
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { ControllerActionNotFoundException };
|
|
@@ -62,10 +62,10 @@ exports.Column = r.Column = void 0;
|
|
|
62
62
|
|
|
63
63
|
const t = e.requireGlobals();
|
|
64
64
|
|
|
65
|
-
const o = e.
|
|
65
|
+
const o = e.requireColumnTypeUndefinedError();
|
|
66
66
|
|
|
67
|
-
function
|
|
68
|
-
return function(
|
|
67
|
+
function u(e, r) {
|
|
68
|
+
return function(u, a) {
|
|
69
69
|
let i;
|
|
70
70
|
if (typeof e === "string" || typeof e === "function") {
|
|
71
71
|
i = e;
|
|
@@ -74,34 +74,34 @@ function a(e, r) {
|
|
|
74
74
|
i = e.type;
|
|
75
75
|
}
|
|
76
76
|
if (!r) r = {};
|
|
77
|
-
const n = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type",
|
|
77
|
+
const n = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", u, a) : undefined;
|
|
78
78
|
if (!i && n) i = n;
|
|
79
79
|
if (!r.type && i) r.type = i;
|
|
80
80
|
if (r.type === "hstore" && !r.hstoreType) r.hstoreType = n === Object ? "object" : "string";
|
|
81
81
|
if (typeof e === "function") {
|
|
82
82
|
(0, t.getMetadataArgsStorage)().embeddeds.push({
|
|
83
|
-
target:
|
|
84
|
-
propertyName:
|
|
83
|
+
target: u.constructor,
|
|
84
|
+
propertyName: a,
|
|
85
85
|
isArray: n === Array || r.array === true,
|
|
86
86
|
prefix: r.prefix !== undefined ? r.prefix : undefined,
|
|
87
87
|
type: e
|
|
88
88
|
});
|
|
89
89
|
} else {
|
|
90
|
-
if (!r.type) throw new o.ColumnTypeUndefinedError(
|
|
90
|
+
if (!r.type) throw new o.ColumnTypeUndefinedError(u, a);
|
|
91
91
|
if (r.unique === true) (0, t.getMetadataArgsStorage)().uniques.push({
|
|
92
|
-
target:
|
|
93
|
-
columns: [
|
|
92
|
+
target: u.constructor,
|
|
93
|
+
columns: [ a ]
|
|
94
94
|
});
|
|
95
95
|
(0, t.getMetadataArgsStorage)().columns.push({
|
|
96
|
-
target:
|
|
97
|
-
propertyName:
|
|
96
|
+
target: u.constructor,
|
|
97
|
+
propertyName: a,
|
|
98
98
|
mode: "regular",
|
|
99
99
|
options: r
|
|
100
100
|
});
|
|
101
101
|
if (r.generated) {
|
|
102
102
|
(0, t.getMetadataArgsStorage)().generations.push({
|
|
103
|
-
target:
|
|
104
|
-
propertyName:
|
|
103
|
+
target: u.constructor,
|
|
104
|
+
propertyName: a,
|
|
105
105
|
strategy: typeof r.generated === "string" ? r.generated : "increment"
|
|
106
106
|
});
|
|
107
107
|
}
|
|
@@ -109,4 +109,4 @@ function a(e, r) {
|
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
exports.Column = r.Column =
|
|
112
|
+
exports.Column = r.Column = u;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../vendor/Package.5.mjs";
|
|
2
2
|
|
|
3
|
-
import { r as e,
|
|
3
|
+
import { r as e, C as t } from "../../../vendor/Package.14.mjs";
|
|
4
4
|
|
|
5
5
|
import "../../../vendor/Package.8.mjs";
|
|
6
6
|
|
|
@@ -56,7 +56,7 @@ var o = r.Column = void 0;
|
|
|
56
56
|
|
|
57
57
|
const a = e();
|
|
58
58
|
|
|
59
|
-
const i = t
|
|
59
|
+
const i = t;
|
|
60
60
|
|
|
61
61
|
function n(e, t) {
|
|
62
62
|
return function(r, o) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../vendor/Package.5.mjs";
|
|
2
2
|
|
|
3
|
-
import { r as e,
|
|
3
|
+
import { r as e, C as r, a as t } from "../../../vendor/Package.14.mjs";
|
|
4
4
|
|
|
5
5
|
import "../../../vendor/Package.8.mjs";
|
|
6
6
|
|
|
@@ -56,7 +56,7 @@ var a = o.PrimaryColumn = void 0;
|
|
|
56
56
|
|
|
57
57
|
const i = e();
|
|
58
58
|
|
|
59
|
-
const m = r
|
|
59
|
+
const m = r;
|
|
60
60
|
|
|
61
61
|
const n = t();
|
|
62
62
|
|
|
@@ -228,7 +228,7 @@ require("node:http");
|
|
|
228
228
|
|
|
229
229
|
require("../context/ServiceContext.cjs");
|
|
230
230
|
|
|
231
|
-
require("../../exceptions/ControllerActionNotFoundException.cjs");
|
|
231
|
+
require("../../components/entrypoint/exceptions/ControllerActionNotFoundException.cjs");
|
|
232
232
|
|
|
233
233
|
require("../../exceptions/DestroyRuntimeContainerException.cjs");
|
|
234
234
|
|
|
@@ -222,7 +222,7 @@ import "node:http";
|
|
|
222
222
|
|
|
223
223
|
import "../context/ServiceContext.mjs";
|
|
224
224
|
|
|
225
|
-
import "../../exceptions/ControllerActionNotFoundException.mjs";
|
|
225
|
+
import "../../components/entrypoint/exceptions/ControllerActionNotFoundException.mjs";
|
|
226
226
|
|
|
227
227
|
import "../../exceptions/DestroyRuntimeContainerException.mjs";
|
|
228
228
|
|
package/vendor/Package.14.cjs
CHANGED
|
@@ -29640,24 +29640,26 @@ function vE() {
|
|
|
29640
29640
|
|
|
29641
29641
|
var IE = {};
|
|
29642
29642
|
|
|
29643
|
-
|
|
29644
|
-
|
|
29645
|
-
Object.defineProperty(IE, "__esModule", {
|
|
29646
|
-
value: true
|
|
29647
|
-
});
|
|
29648
|
-
|
|
29649
|
-
var ME = IE.ColumnTypeUndefinedError = void 0;
|
|
29643
|
+
var ME;
|
|
29650
29644
|
|
|
29651
|
-
|
|
29652
|
-
|
|
29653
|
-
|
|
29654
|
-
|
|
29655
|
-
|
|
29656
|
-
|
|
29645
|
+
function wE() {
|
|
29646
|
+
if (ME) return IE;
|
|
29647
|
+
ME = 1;
|
|
29648
|
+
"use strict";
|
|
29649
|
+
Object.defineProperty(IE, "__esModule", {
|
|
29650
|
+
value: true
|
|
29651
|
+
});
|
|
29652
|
+
IE.ColumnTypeUndefinedError = void 0;
|
|
29653
|
+
const e = yp;
|
|
29654
|
+
let t = class ColumnTypeUndefinedError extends e.TypeORMError {
|
|
29655
|
+
constructor(e, t) {
|
|
29656
|
+
super(`Column type for ${e.constructor.name}#${t} is not defined and cannot be guessed. ` + `Make sure you have turned on an "emitDecoratorMetadata": true option in tsconfig.json. ` + `Also make sure you have imported "reflect-metadata" on top of the main entry file in your application (before any entity imported).` + `If you are using JavaScript instead of TypeScript you must explicitly provide a column type.`);
|
|
29657
|
+
}
|
|
29658
|
+
};
|
|
29659
|
+
IE.ColumnTypeUndefinedError = t;
|
|
29660
|
+
return IE;
|
|
29657
29661
|
}
|
|
29658
29662
|
|
|
29659
|
-
ME = IE.ColumnTypeUndefinedError = ColumnTypeUndefinedError;
|
|
29660
|
-
|
|
29661
29663
|
var DE = {};
|
|
29662
29664
|
|
|
29663
29665
|
var LE;
|
|
@@ -29828,7 +29830,7 @@ function YE() {
|
|
|
29828
29830
|
t.__exportStar(bE(), e);
|
|
29829
29831
|
t.__exportStar(AE(), e);
|
|
29830
29832
|
t.__exportStar(vE(), e);
|
|
29831
|
-
t.__exportStar(
|
|
29833
|
+
t.__exportStar(wE(), e);
|
|
29832
29834
|
t.__exportStar(PE(), e);
|
|
29833
29835
|
t.__exportStar(xE, e);
|
|
29834
29836
|
t.__exportStar($E(), e);
|
|
@@ -72385,8 +72387,6 @@ function wB() {
|
|
|
72385
72387
|
|
|
72386
72388
|
exports.Brackets = kg;
|
|
72387
72389
|
|
|
72388
|
-
exports.ColumnTypeUndefinedError = IE;
|
|
72389
|
-
|
|
72390
72390
|
exports.DefaultNamingStrategy = rb;
|
|
72391
72391
|
|
|
72392
72392
|
exports.EventListenerTypes = Dk;
|
|
@@ -72403,6 +72403,8 @@ exports.error = gp;
|
|
|
72403
72403
|
|
|
72404
72404
|
exports.requireAbstractRepository = pN;
|
|
72405
72405
|
|
|
72406
|
+
exports.requireColumnTypeUndefinedError = wE;
|
|
72407
|
+
|
|
72406
72408
|
exports.requireDataSource = OB;
|
|
72407
72409
|
|
|
72408
72410
|
exports.requireEntityManager = WC;
|
package/vendor/Package.14.mjs
CHANGED
|
@@ -29620,26 +29620,24 @@ function bE() {
|
|
|
29620
29620
|
|
|
29621
29621
|
var NE = {};
|
|
29622
29622
|
|
|
29623
|
-
|
|
29623
|
+
"use strict";
|
|
29624
29624
|
|
|
29625
|
-
|
|
29626
|
-
|
|
29627
|
-
|
|
29628
|
-
|
|
29629
|
-
|
|
29630
|
-
|
|
29631
|
-
|
|
29632
|
-
|
|
29633
|
-
|
|
29634
|
-
|
|
29635
|
-
|
|
29636
|
-
|
|
29637
|
-
}
|
|
29638
|
-
};
|
|
29639
|
-
NE.ColumnTypeUndefinedError = t;
|
|
29640
|
-
return NE;
|
|
29625
|
+
Object.defineProperty(NE, "__esModule", {
|
|
29626
|
+
value: true
|
|
29627
|
+
});
|
|
29628
|
+
|
|
29629
|
+
var CE = NE.ColumnTypeUndefinedError = void 0;
|
|
29630
|
+
|
|
29631
|
+
const AE = pp;
|
|
29632
|
+
|
|
29633
|
+
class ColumnTypeUndefinedError extends AE.TypeORMError {
|
|
29634
|
+
constructor(e, t) {
|
|
29635
|
+
super(`Column type for ${e.constructor.name}#${t} is not defined and cannot be guessed. ` + `Make sure you have turned on an "emitDecoratorMetadata": true option in tsconfig.json. ` + `Also make sure you have imported "reflect-metadata" on top of the main entry file in your application (before any entity imported).` + `If you are using JavaScript instead of TypeScript you must explicitly provide a column type.`);
|
|
29636
|
+
}
|
|
29641
29637
|
}
|
|
29642
29638
|
|
|
29639
|
+
CE = NE.ColumnTypeUndefinedError = ColumnTypeUndefinedError;
|
|
29640
|
+
|
|
29643
29641
|
var RE = {};
|
|
29644
29642
|
|
|
29645
29643
|
var OE;
|
|
@@ -29810,7 +29808,7 @@ function $E() {
|
|
|
29810
29808
|
t.__exportStar(EE(), e);
|
|
29811
29809
|
t.__exportStar(TE(), e);
|
|
29812
29810
|
t.__exportStar(bE(), e);
|
|
29813
|
-
t.__exportStar(
|
|
29811
|
+
t.__exportStar(NE, e);
|
|
29814
29812
|
t.__exportStar(vE(), e);
|
|
29815
29813
|
t.__exportStar(IE, e);
|
|
29816
29814
|
t.__exportStar(PE(), e);
|
|
@@ -72365,4 +72363,4 @@ function cF() {
|
|
|
72365
72363
|
return S;
|
|
72366
72364
|
}
|
|
72367
72365
|
|
|
72368
|
-
export { EB as A, wg as B,
|
|
72366
|
+
export { EB as A, wg as B, NE as C, mb as D, iU as E, Lg as F, EN as G, NN as H, iy as I, fN as J, wb as K, Sb as L, Qb as M, Lb as N, ah as O, O as P, Vg as Q, pb as R, iS as S, bN as T, VS as U, Ab as V, Nb as W, Ib as X, Pb as Y, Hb as Z, rF as _, Ah as a, TA as b, kN as c, CA as d, dp as e, xf as f, rT as g, Ay as h, Dg as i, ty as j, PS as k, aT as l, XA as m, Yb as n, _b as o, sh as p, Ok as q, cF as r, $g as s, kg as t, Dk as u, tS as v, SB as w, gB as x, AB as y, _C as z };
|