lakutata 2.0.8 → 2.0.10

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/orm.mjs CHANGED
@@ -2,11 +2,11 @@ import "./vendor/Package.4.mjs";
2
2
 
3
3
  import { g as e } from "./vendor/Package.5.mjs";
4
4
 
5
- import { r, F as a, c, d, O as f, P as O, B as _, f as b, R as P, D as E, e as R } from "./vendor/Package.14.mjs";
5
+ import { r, F as a, b as c, c as d, O, P as _, B as b, d as P, R as E, D as R, e as B } from "./vendor/Package.14.mjs";
6
6
 
7
- export { A as AbstractLogger, w as AdvancedConsoleLogger, i as Brackets, C as ConnectionOptionsReader, o as DefaultNamingStrategy, g as DeleteQueryBuilder, l as DeleteResult, z as EntityMetadata, y as FileLogger, t as FindOperator, v as FindOptionsUtils, s as In, I as InsertQueryBuilder, j as InsertResult, p as InstanceChecker, M as Migration, n as MigrationExecutor, J as MongoRepository, Z as MssqlParameter, Q as QueryBuilder, m as QueryResult, h as RelationQueryBuilder, G as Repository, S as SelectQueryBuilder, x as SimpleConsoleLogger, Y as Table, K as TableCheck, L as TableColumn, N as TableExclusion, V as TableForeignKey, W as TableIndex, X as TableUnique, H as TreeRepository, T as TreeRepositoryUtils, U as UpdateQueryBuilder, k as UpdateResult, q as getFromContainer, u as useContainer } from "./vendor/Package.14.mjs";
7
+ export { A as AbstractLogger, w as AdvancedConsoleLogger, i as Brackets, f as ConnectionOptionsReader, o as DefaultNamingStrategy, g as DeleteQueryBuilder, l as DeleteResult, z as EntityMetadata, y as FileLogger, t as FindOperator, v as FindOptionsUtils, s as In, I as InsertQueryBuilder, j as InsertResult, p as InstanceChecker, M as Migration, n as MigrationExecutor, J as MongoRepository, Z as MssqlParameter, Q as QueryBuilder, m as QueryResult, h as RelationQueryBuilder, G as Repository, S as SelectQueryBuilder, x as SimpleConsoleLogger, Y as Table, K as TableCheck, L as TableColumn, N as TableExclusion, V as TableForeignKey, W as TableIndex, X as TableUnique, H as TreeRepository, T as TreeRepositoryUtils, U as UpdateQueryBuilder, k as UpdateResult, q as getFromContainer, u as useContainer } from "./vendor/Package.14.mjs";
8
8
 
9
- import { D as B } from "./vendor/Package.15.mjs";
9
+ import { D as F } from "./vendor/Package.15.mjs";
10
10
 
11
11
  import "./vendor/Package.8.mjs";
12
12
 
@@ -50,9 +50,9 @@ import "./vendor/Package.73.mjs";
50
50
 
51
51
  import "fs/promises";
52
52
 
53
- var F = r();
53
+ var C = r();
54
54
 
55
- const D = e(F);
55
+ const D = e(C);
56
56
 
57
57
  var $ = {};
58
58
 
@@ -194,15 +194,15 @@ function ge(e) {
194
194
 
195
195
  me = Oe.Any = ge;
196
196
 
197
- var he = {};
197
+ var be = {};
198
198
 
199
199
  "use strict";
200
200
 
201
- Object.defineProperty(he, "__esModule", {
201
+ Object.defineProperty(be, "__esModule", {
202
202
  value: true
203
203
  });
204
204
 
205
- var be = he.ArrayContainedBy = void 0;
205
+ var he = be.ArrayContainedBy = void 0;
206
206
 
207
207
  const je = a;
208
208
 
@@ -210,7 +210,7 @@ function Pe(e) {
210
210
  return new je.FindOperator("arrayContainedBy", e);
211
211
  }
212
212
 
213
- be = he.ArrayContainedBy = Pe;
213
+ he = be.ArrayContainedBy = Pe;
214
214
 
215
215
  var Me = {};
216
216
 
@@ -443,21 +443,21 @@ var _t = mt.Not = void 0;
443
443
 
444
444
  const gt = a;
445
445
 
446
- function ht(e) {
446
+ function bt(e) {
447
447
  return new gt.FindOperator("not", e);
448
448
  }
449
449
 
450
- _t = mt.Not = ht;
450
+ _t = mt.Not = bt;
451
451
 
452
- var bt = {};
452
+ var ht = {};
453
453
 
454
454
  "use strict";
455
455
 
456
- Object.defineProperty(bt, "__esModule", {
456
+ Object.defineProperty(ht, "__esModule", {
457
457
  value: true
458
458
  });
459
459
 
460
- var jt = bt.Raw = void 0;
460
+ var jt = ht.Raw = void 0;
461
461
 
462
462
  const Pt = a;
463
463
 
@@ -468,7 +468,7 @@ function Mt(e, t) {
468
468
  return new Pt.FindOperator("raw", [], true, true, e, t);
469
469
  }
470
470
 
471
- jt = bt.Raw = Mt;
471
+ jt = ht.Raw = Mt;
472
472
 
473
473
  var Et = {};
474
474
 
@@ -602,7 +602,7 @@ Object.defineProperty(zt, "__esModule", {
602
602
 
603
603
  var Zt = zt.BaseEntity = void 0;
604
604
 
605
- const Jt = f;
605
+ const Jt = O;
606
606
 
607
607
  class BaseEntity {
608
608
  hasId() {
@@ -950,7 +950,7 @@ var or = ar.BSON = void 0;
950
950
  return t.serialize;
951
951
  }
952
952
  });
953
- const r = O;
953
+ const r = _;
954
954
  })(nr);
955
955
 
956
956
  const ir = e(nr);
@@ -989,7 +989,7 @@ Object.defineProperty(lr, "__esModule", {
989
989
 
990
990
  var yr = lr.NotBrackets = void 0;
991
991
 
992
- const pr = _;
992
+ const pr = b;
993
993
 
994
994
  class NotBrackets extends pr.Brackets {
995
995
  constructor() {
@@ -1000,7 +1000,7 @@ class NotBrackets extends pr.Brackets {
1000
1000
 
1001
1001
  yr = lr.NotBrackets = NotBrackets;
1002
1002
 
1003
- var vr = b();
1003
+ var vr = P();
1004
1004
 
1005
1005
  const fr = e(vr);
1006
1006
 
@@ -1014,11 +1014,11 @@ Object.defineProperty(Or, "__esModule", {
1014
1014
 
1015
1015
  var mr = Or.LegacyOracleNamingStrategy = void 0;
1016
1016
 
1017
- const _r = P;
1017
+ const _r = E;
1018
1018
 
1019
- const gr = E;
1019
+ const gr = R;
1020
1020
 
1021
- const hr = R;
1021
+ const br = B;
1022
1022
 
1023
1023
  class LegacyOracleNamingStrategy extends gr.DefaultNamingStrategy {
1024
1024
  constructor(e = "hash") {
@@ -1034,12 +1034,12 @@ class LegacyOracleNamingStrategy extends gr.DefaultNamingStrategy {
1034
1034
  } else if (this.shortenStrategy === "hash") {
1035
1035
  return this.hashIdentifier(s, this.DEFAULT_COLUMN_PREFIX);
1036
1036
  } else {
1037
- throw new hr.TypeORMError(`Invalid shortenStrategy`);
1037
+ throw new br.TypeORMError(`Invalid shortenStrategy`);
1038
1038
  }
1039
1039
  }
1040
1040
  hashIdentifier(e, t) {
1041
1041
  if (t.length >= this.IDENTIFIER_MAX_SIZE) {
1042
- throw new hr.TypeORMError(`Prefix must be shorter than IDENTIFIER_MAX_SIZE`);
1042
+ throw new br.TypeORMError(`Prefix must be shorter than IDENTIFIER_MAX_SIZE`);
1043
1043
  }
1044
1044
  return t + _r.RandomGenerator.sha1(e).substring(0, this.IDENTIFIER_MAX_SIZE - t.length);
1045
1045
  }
@@ -1054,15 +1054,15 @@ class LegacyOracleNamingStrategy extends gr.DefaultNamingStrategy {
1054
1054
 
1055
1055
  mr = Or.LegacyOracleNamingStrategy = LegacyOracleNamingStrategy;
1056
1056
 
1057
- var br = {};
1057
+ var hr = {};
1058
1058
 
1059
1059
  "use strict";
1060
1060
 
1061
- Object.defineProperty(br, "__esModule", {
1061
+ Object.defineProperty(hr, "__esModule", {
1062
1062
  value: true
1063
1063
  });
1064
1064
 
1065
- var jr = br.EntitySchema = void 0;
1065
+ var jr = hr.EntitySchema = void 0;
1066
1066
 
1067
1067
  class EntitySchema {
1068
1068
  constructor(e) {
@@ -1071,7 +1071,7 @@ class EntitySchema {
1071
1071
  }
1072
1072
  }
1073
1073
 
1074
- jr = br.EntitySchema = EntitySchema;
1074
+ jr = hr.EntitySchema = EntitySchema;
1075
1075
 
1076
1076
  var Pr = {};
1077
1077
 
@@ -1101,8 +1101,8 @@ class EntitySchemaOptions {}
1101
1101
 
1102
1102
  Rr = Er.EntitySchemaOptions = EntitySchemaOptions;
1103
1103
 
1104
- const Br = B.DataSource;
1104
+ const Br = F.DataSource;
1105
1105
 
1106
1106
  const Ir = vr.MongoEntityManager;
1107
1107
 
1108
- export { pe as And, me as Any, be as ArrayContainedBy, Ee as ArrayContains, Se as ArrayOverlap, Zt as BaseEntity, we as Between, Br as DataSource, jr as EntitySchema, Mr as EntitySchemaEmbeddedColumnOptions, Rr as EntitySchemaOptions, xe as Equal, De as EqualOperator, rt as ILike, Ke as IsNull, Rt as JsonContains, mr as LegacyOracleNamingStrategy, Ge as LessThan, Ye as LessThanOrEqual, ot as Like, Ir as MongoEntityManager, dt as MoreThan, vt as MoreThanOrEqual, _t as Not, yr as NotBrackets, jt as Raw };
1108
+ export { pe as And, me as Any, he as ArrayContainedBy, Ee as ArrayContains, Se as ArrayOverlap, Zt as BaseEntity, we as Between, Br as DataSource, jr as EntitySchema, Mr as EntitySchemaEmbeddedColumnOptions, Rr as EntitySchemaOptions, xe as Equal, De as EqualOperator, rt as ILike, Ke as IsNull, Rt as JsonContains, mr as LegacyOracleNamingStrategy, Ge as LessThan, Ye as LessThanOrEqual, ot as Like, Ir as MongoEntityManager, dt as MoreThan, vt as MoreThanOrEqual, _t as Not, yr as NotBrackets, jt as Raw };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lakutata",
3
- "version": "2.0.8",
3
+ "version": "2.0.10",
4
4
  "description": "An IoC-based universal application framework.",
5
5
  "exports": {
6
6
  ".": {
@@ -162,6 +162,6 @@ require("node:http");
162
162
 
163
163
  exports.Controller = class Controller extends r.Provider {};
164
164
 
165
- e.__decorate([ n.Configurable(a.DTO.Alternatives(c.CLIContext.Schema(), s.HTTPContext.Schema(), o.ServiceContext.Schema()).required()), e.__metadata("design:type", Object) ], exports.Controller.prototype, "context", void 0);
165
+ e.__decorate([ n.Configurable(a.DTO.Alternatives(c.CLIContext.Schema().raw(true), s.HTTPContext.Schema().raw(true), o.ServiceContext.Schema().raw(true)).raw(true).required()), e.__metadata("design:type", Object) ], exports.Controller.prototype, "context", void 0);
166
166
 
167
167
  exports.Controller = e.__decorate([ t.Scoped(true), i.DefineObjectType(i.ObjectType.Controller) ], exports.Controller);
@@ -156,7 +156,7 @@ import "node:http";
156
156
 
157
157
  let c = class Controller extends e {};
158
158
 
159
- t([ a(l.Alternatives(s.Schema(), p.Schema(), n.Schema()).required()), o("design:type", Object) ], c.prototype, "context", void 0);
159
+ t([ a(l.Alternatives(s.Schema().raw(true), p.Schema().raw(true), n.Schema().raw(true)).raw(true).required()), o("design:type", Object) ], c.prototype, "context", void 0);
160
160
 
161
161
  c = t([ m(true), i(r.Controller) ], c);
162
162
 
@@ -1,6 +1,6 @@
1
1
  import "../../../vendor/Package.5.mjs";
2
2
 
3
- import { r as e, a as t } from "../../../vendor/Package.14.mjs";
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, a as r, b as t } from "../../../vendor/Package.14.mjs";
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
 
@@ -29620,26 +29620,24 @@ function bE() {
29620
29620
 
29621
29621
  var NE = {};
29622
29622
 
29623
- var CE;
29623
+ "use strict";
29624
29624
 
29625
- function AE() {
29626
- if (CE) return NE;
29627
- CE = 1;
29628
- "use strict";
29629
- Object.defineProperty(NE, "__esModule", {
29630
- value: true
29631
- });
29632
- NE.ColumnTypeUndefinedError = void 0;
29633
- const e = pp;
29634
- let t = class ColumnTypeUndefinedError extends e.TypeORMError {
29635
- constructor(e, t) {
29636
- 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.`);
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(AE(), e);
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, xf 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 _, AE as a, Ah as b, TA as c, kN as d, dp as e, CA 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 };
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 };