lakutata 2.0.78 → 2.0.79

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lakutata",
3
- "version": "2.0.78",
3
+ "version": "2.0.79",
4
4
  "description": "An IoC-based universal application framework.",
5
5
  "exports": {
6
6
  ".": {
@@ -667,27 +667,27 @@ exports.GenerateMigration = Ue = class GenerateMigration extends t.Provider {
667
667
  if (this.check) {
668
668
  console.log(G.green`No changes in database schema were found`);
669
669
  if (this.exitProcess) {
670
- this.app.exit(0);
670
+ return this.app.exit(0);
671
671
  } else {
672
672
  return;
673
673
  }
674
674
  } else {
675
675
  console.log(G.yellow`No changes in database schema were found`);
676
676
  if (this.exitProcess) {
677
- this.app.exit(1);
677
+ return this.app.exit(1);
678
678
  } else {
679
679
  return;
680
680
  }
681
681
  }
682
682
  } else if (!this.path) {
683
683
  console.log(G.yellow`Please specify a migration path`);
684
- this.app.exit(1);
684
+ return this.app.exit(1);
685
685
  }
686
686
  const r = this.outputJs ? Ue.getJavascriptTemplate(S.default.basename(this.path), this.timestamp, e, t.reverse(), this.esm) : Ue.getTemplate(S.default.basename(this.path), this.timestamp, e, t.reverse());
687
687
  if (this.check) {
688
688
  console.log(G.yellow`Unexpected changes in database schema were found in check mode:\n\n${G.white(r)}`);
689
689
  if (this.exitProcess) {
690
- this.app.exit(0);
690
+ return this.app.exit(0);
691
691
  } else {
692
692
  return;
693
693
  }
@@ -699,14 +699,14 @@ exports.GenerateMigration = Ue = class GenerateMigration extends t.Provider {
699
699
  await M.createFile(e, r);
700
700
  console.log(G.green`Migration ${G.blue(e)} has been generated successfully.`);
701
701
  if (this.exitProcess) {
702
- this.app.exit(0);
702
+ return this.app.exit(0);
703
703
  } else {
704
704
  return;
705
705
  }
706
706
  }
707
707
  } catch (e) {
708
708
  o.PlatformTools.PlatformTools.logCmdErr("Error during migration generation:", e);
709
- this.app.exit(1);
709
+ return this.app.exit(1);
710
710
  }
711
711
  }
712
712
  static queryParams(e) {
@@ -2,9 +2,9 @@ import { _ as t, a as e } from "../../../vendor/Package.1.mjs";
2
2
 
3
3
  import { Provider as o } from "./Provider.mjs";
4
4
 
5
- import { Configurable as i } from "../../decorators/di/Configurable.mjs";
5
+ import { Configurable as r } from "../../decorators/di/Configurable.mjs";
6
6
 
7
- import { D as r } from "../../../vendor/Package.2.mjs";
7
+ import { D as i } from "../../../vendor/Package.2.mjs";
8
8
 
9
9
  import n from "path";
10
10
 
@@ -326,10 +326,10 @@ class CommandUtils {
326
326
  }
327
327
  const o = [];
328
328
  for (const t in e) {
329
- const i = e[t];
330
- const r = await i;
331
- if (Q.InstanceChecker.isDataSource(r)) {
332
- o.push(r);
329
+ const r = e[t];
330
+ const i = await r;
331
+ if (Q.InstanceChecker.isDataSource(i)) {
332
+ o.push(i);
333
333
  }
334
334
  }
335
335
  if (o.length === 0) {
@@ -378,7 +378,7 @@ var J = m();
378
378
 
379
379
  const V = d(J);
380
380
 
381
- const {Ansis: H, ansi256: z, fg: W, bgAnsi256: K, bg: X, rgb: Y, bgRgb: Z, hex: tt, bgHex: et, reset: ot, inverse: it, hidden: rt, visible: nt, bold: st, dim: at, italic: ct, underline: pt, strikethrough: mt, strike: lt, black: ut, red: ht, green: dt, yellow: gt, blue: jt, magenta: ft, cyan: yt, white: bt, grey: vt, gray: xt, blackBright: Et, redBright: wt, greenBright: Ot, yellowBright: Pt, blueBright: Ct, magentaBright: St, cyanBright: kt, whiteBright: It, bgBlack: At, bgRed: Dt, bgGreen: Rt, bgYellow: Nt, bgBlue: Bt, bgMagenta: Mt, bgCyan: Tt, bgWhite: Lt, bgGrey: qt, bgGray: Ft, bgBlackBright: $t, bgRedBright: Ut, bgGreenBright: Gt, bgYellowBright: Qt, bgBlueBright: _t, bgMagentaBright: Jt, bgCyanBright: Vt, bgWhiteBright: Ht} = V;
381
+ const {Ansis: H, ansi256: z, fg: W, bgAnsi256: K, bg: X, rgb: Y, bgRgb: Z, hex: tt, bgHex: et, reset: ot, inverse: rt, hidden: it, visible: nt, bold: st, dim: at, italic: ct, underline: pt, strikethrough: mt, strike: lt, black: ut, red: ht, green: dt, yellow: gt, blue: jt, magenta: ft, cyan: yt, white: bt, grey: vt, gray: xt, blackBright: Et, redBright: wt, greenBright: Ot, yellowBright: Pt, blueBright: Ct, magentaBright: St, cyanBright: kt, whiteBright: It, bgBlack: At, bgRed: Dt, bgGreen: Rt, bgYellow: Nt, bgBlue: Bt, bgMagenta: Mt, bgCyan: Tt, bgWhite: Lt, bgGrey: qt, bgGray: Ft, bgBlackBright: $t, bgRedBright: Ut, bgGreenBright: Gt, bgYellowBright: Qt, bgBlueBright: _t, bgMagentaBright: Jt, bgCyanBright: Vt, bgWhiteBright: Ht} = V;
382
382
 
383
383
  var zt;
384
384
 
@@ -451,9 +451,9 @@ let Kt = class Application extends b {
451
451
  static onFatalException(t) {
452
452
  this.eventEmitter.once(Wt.FatalException, (async e => {
453
453
  const o = await this.getLogger();
454
- let i = await t(e, o);
455
- if (typeof i !== "number") i = 1;
456
- return process.exit(i);
454
+ let r = await t(e, o);
455
+ if (typeof r !== "number") r = 1;
456
+ return process.exit(r);
457
457
  }));
458
458
  return this.launch();
459
459
  }
@@ -505,10 +505,10 @@ let Kt = class Application extends b {
505
505
  t.set("@runtime", process.cwd());
506
506
  this.aliasDeclarations.forEach((e => {
507
507
  const o = e.alias;
508
- const i = e.createIfNotExist;
508
+ const r = e.createIfNotExist;
509
509
  Object.keys(o).forEach((e => {
510
510
  t.set(e, o[e]);
511
- if (i) {
511
+ if (r) {
512
512
  const t = D.resolve(e);
513
513
  if (!R(t)) A(D.resolve(e), {
514
514
  recursive: true
@@ -522,29 +522,29 @@ let Kt = class Application extends b {
522
522
  case "MIGRATION_GENERATE":
523
523
  {
524
524
  const o = process.env[t];
525
- const i = t => {
525
+ const r = t => {
526
526
  const e = [];
527
527
  for (const o in t) {
528
528
  if (t[o] && t[o].class && t[o].class.databaseSymbol && t[o].class.databaseSymbol === M) {
529
- const i = t[o].options;
530
- if (!i) continue;
531
- Reflect.set(i, "dataSourceName", o);
532
- e.push(i);
529
+ const r = t[o].options;
530
+ if (!r) continue;
531
+ Reflect.set(r, "dataSourceName", o);
532
+ e.push(r);
533
533
  }
534
534
  }
535
535
  return e;
536
536
  };
537
- const r = [ ...e.components ? i(e.components) : [], ...e.providers ? i(e.providers) : [] ];
538
- if (!r.length) process.exit(0);
537
+ const i = [ ...e.components ? r(e.components) : [], ...e.providers ? r(e.providers) : [] ];
538
+ if (!i.length) process.exit(0);
539
539
  e.bootstrap = [];
540
- r.forEach(((t, i) => {
541
- const n = `GenerateMigration${i}${Date.now()}`;
540
+ i.forEach(((t, r) => {
541
+ const n = `GenerateMigration${r}${Date.now()}`;
542
542
  if (!e.providers) e.providers = {};
543
543
  e.providers[n] = {
544
544
  class: Yt,
545
545
  path: o,
546
546
  outputJs: false,
547
- exitProcess: i === r.length - 1,
547
+ exitProcess: r === i.length - 1,
548
548
  dataSourceName: Reflect.get(t, "dataSourceName"),
549
549
  dataSource: t
550
550
  };
@@ -555,7 +555,7 @@ let Kt = class Application extends b {
555
555
  }
556
556
  }
557
557
  const o = new E;
558
- return new Promise(((t, i) => {
558
+ return new Promise(((t, r) => {
559
559
  O.validateAsync(e).then((e => {
560
560
  e.bootstrap?.push((async t => {
561
561
  const e = function() {
@@ -567,8 +567,8 @@ let Kt = class Application extends b {
567
567
  }));
568
568
  o.set(zt, {
569
569
  options: e
570
- }).then((e => e.once(v, (() => t(e))).once(x, (t => this.processFatalException(t))))).catch(i);
571
- })).catch(i);
570
+ }).then((e => e.once(v, (() => t(e))).once(x, (t => this.processFatalException(t))))).catch(r);
571
+ })).catch(r);
572
572
  }));
573
573
  }
574
574
  get alias() {
@@ -595,9 +595,9 @@ let Kt = class Application extends b {
595
595
  }
596
596
  };
597
597
 
598
- t([ I(r.Object().pattern(r.String(), r.String()).required()), e("design:type", Function), e("design:paramtypes", [ Object ]), e("design:returntype", Object) ], Kt, "env", null);
598
+ t([ I(i.Object().pattern(i.String(), i.String()).required()), e("design:type", Function), e("design:paramtypes", [ Object ]), e("design:returntype", Object) ], Kt, "env", null);
599
599
 
600
- t([ I(r.Object().pattern(r.String(), r.String()).required(), r.Boolean().optional().default(false)), e("design:type", Function), e("design:paramtypes", [ Object, Boolean ]), e("design:returntype", Object) ], Kt, "alias", null);
600
+ t([ I(i.Object().pattern(i.String(), i.String()).required(), i.Boolean().optional().default(false)), e("design:type", Function), e("design:paramtypes", [ Object, Boolean ]), e("design:returntype", Object) ], Kt, "alias", null);
601
601
 
602
602
  Kt = zt = t([ f(true) ], Kt);
603
603
 
@@ -651,27 +651,27 @@ let Yt = Xt = class GenerateMigration extends o {
651
651
  if (this.check) {
652
652
  console.log(V.green`No changes in database schema were found`);
653
653
  if (this.exitProcess) {
654
- this.app.exit(0);
654
+ return this.app.exit(0);
655
655
  } else {
656
656
  return;
657
657
  }
658
658
  } else {
659
659
  console.log(V.yellow`No changes in database schema were found`);
660
660
  if (this.exitProcess) {
661
- this.app.exit(1);
661
+ return this.app.exit(1);
662
662
  } else {
663
663
  return;
664
664
  }
665
665
  }
666
666
  } else if (!this.path) {
667
667
  console.log(V.yellow`Please specify a migration path`);
668
- this.app.exit(1);
668
+ return this.app.exit(1);
669
669
  }
670
670
  const o = this.outputJs ? Xt.getJavascriptTemplate(n.basename(this.path), this.timestamp, t, e.reverse(), this.esm) : Xt.getTemplate(n.basename(this.path), this.timestamp, t, e.reverse());
671
671
  if (this.check) {
672
672
  console.log(V.yellow`Unexpected changes in database schema were found in check mode:\n\n${V.white(o)}`);
673
673
  if (this.exitProcess) {
674
- this.app.exit(0);
674
+ return this.app.exit(0);
675
675
  } else {
676
676
  return;
677
677
  }
@@ -683,14 +683,14 @@ let Yt = Xt = class GenerateMigration extends o {
683
683
  await q.createFile(t, o);
684
684
  console.log(V.green`Migration ${V.blue(t)} has been generated successfully.`);
685
685
  if (this.exitProcess) {
686
- this.app.exit(0);
686
+ return this.app.exit(0);
687
687
  } else {
688
688
  return;
689
689
  }
690
690
  }
691
691
  } catch (t) {
692
692
  l.PlatformTools.logCmdErr("Error during migration generation:", t);
693
- this.app.exit(1);
693
+ return this.app.exit(1);
694
694
  }
695
695
  }
696
696
  static queryParams(t) {
@@ -699,14 +699,14 @@ let Yt = Xt = class GenerateMigration extends o {
699
699
  }
700
700
  return `, ${JSON.stringify(t)}`;
701
701
  }
702
- static getTemplate(t, e, o, i) {
703
- const r = `${u(t, true)}${e}`;
704
- return `import { MigrationInterface, QueryRunner } from "lakutata/orm";\n\nexport class ${r} implements MigrationInterface {\n name = '${r}'\n\n public async up(queryRunner: QueryRunner): Promise<void> {\n${o.join(`\n`)}\n }\n\n public async down(queryRunner: QueryRunner): Promise<void> {\n${i.join(`\n`)}\n }\n\n}\n`;
702
+ static getTemplate(t, e, o, r) {
703
+ const i = `${u(t, true)}${e}`;
704
+ return `import { MigrationInterface, QueryRunner } from "lakutata/orm";\n\nexport class ${i} implements MigrationInterface {\n name = '${i}'\n\n public async up(queryRunner: QueryRunner): Promise<void> {\n${o.join(`\n`)}\n }\n\n public async down(queryRunner: QueryRunner): Promise<void> {\n${r.join(`\n`)}\n }\n\n}\n`;
705
705
  }
706
- static getJavascriptTemplate(t, e, o, i, r) {
706
+ static getJavascriptTemplate(t, e, o, r, i) {
707
707
  const n = `${u(t, true)}${e}`;
708
- const s = r ? "export" : "module.exports =";
709
- return `/**\n * @typedef {import('lakutata/orm').MigrationInterface} MigrationInterface\n * @typedef {import('lakutata/orm').QueryRunner} QueryRunner\n */\n\n/**\n * @class\n * @implements {MigrationInterface}\n */\n${s} class ${n} {\n name = '${n}'\n\n /**\n * @param {QueryRunner} queryRunner\n */\n async up(queryRunner) {\n${o.join(`\n`)}\n }\n\n /**\n * @param {QueryRunner} queryRunner\n */\n async down(queryRunner) {\n${i.join(`\n`)}\n }\n}\n`;
708
+ const s = i ? "export" : "module.exports =";
709
+ return `/**\n * @typedef {import('lakutata/orm').MigrationInterface} MigrationInterface\n * @typedef {import('lakutata/orm').QueryRunner} QueryRunner\n */\n\n/**\n * @class\n * @implements {MigrationInterface}\n */\n${s} class ${n} {\n name = '${n}'\n\n /**\n * @param {QueryRunner} queryRunner\n */\n async up(queryRunner) {\n${o.join(`\n`)}\n }\n\n /**\n * @param {QueryRunner} queryRunner\n */\n async down(queryRunner) {\n${r.join(`\n`)}\n }\n}\n`;
710
710
  }
711
711
  static prettifyQuery(t) {
712
712
  const e = h.format(t, {
@@ -718,25 +718,25 @@ let Yt = Xt = class GenerateMigration extends o {
718
718
 
719
719
  t([ T(Kt), e("design:type", Kt) ], Yt.prototype, "app", void 0);
720
720
 
721
- t([ i(r.String().required()), e("design:type", String) ], Yt.prototype, "path", void 0);
721
+ t([ r(i.String().required()), e("design:type", String) ], Yt.prototype, "path", void 0);
722
722
 
723
- t([ i(r.String().allow("").optional().default("")), e("design:type", String) ], Yt.prototype, "dataSourceName", void 0);
723
+ t([ r(i.String().allow("").optional().default("")), e("design:type", String) ], Yt.prototype, "dataSourceName", void 0);
724
724
 
725
- t([ i(), e("design:type", Object) ], Yt.prototype, "dataSource", void 0);
725
+ t([ r(), e("design:type", Object) ], Yt.prototype, "dataSource", void 0);
726
726
 
727
- t([ i(r.Boolean().optional().default(true)), e("design:type", Boolean) ], Yt.prototype, "pretty", void 0);
727
+ t([ r(i.Boolean().optional().default(true)), e("design:type", Boolean) ], Yt.prototype, "pretty", void 0);
728
728
 
729
- t([ i(r.Boolean().optional().default(false)), e("design:type", Boolean) ], Yt.prototype, "outputJs", void 0);
729
+ t([ r(i.Boolean().optional().default(false)), e("design:type", Boolean) ], Yt.prototype, "outputJs", void 0);
730
730
 
731
- t([ i(r.Boolean().optional().default(false)), e("design:type", Boolean) ], Yt.prototype, "esm", void 0);
731
+ t([ r(i.Boolean().optional().default(false)), e("design:type", Boolean) ], Yt.prototype, "esm", void 0);
732
732
 
733
- t([ i(r.Boolean().optional().default(false)), e("design:type", Boolean) ], Yt.prototype, "dryRun", void 0);
733
+ t([ r(i.Boolean().optional().default(false)), e("design:type", Boolean) ], Yt.prototype, "dryRun", void 0);
734
734
 
735
- t([ i(r.Boolean().optional().default(false)), e("design:type", Boolean) ], Yt.prototype, "check", void 0);
735
+ t([ r(i.Boolean().optional().default(false)), e("design:type", Boolean) ], Yt.prototype, "check", void 0);
736
736
 
737
- t([ i(r.Number().optional().default((() => Date.now()))), e("design:type", Number) ], Yt.prototype, "timestamp", void 0);
737
+ t([ r(i.Number().optional().default((() => Date.now()))), e("design:type", Number) ], Yt.prototype, "timestamp", void 0);
738
738
 
739
- t([ i(r.Boolean().optional().default(true)), e("design:type", Boolean) ], Yt.prototype, "exitProcess", void 0);
739
+ t([ r(i.Boolean().optional().default(true)), e("design:type", Boolean) ], Yt.prototype, "exitProcess", void 0);
740
740
 
741
741
  Yt = Xt = t([ y() ], Yt);
742
742
 
@@ -46688,7 +46688,7 @@ function withSession$1(e, t, r) {
46688
46688
  const osForLoadProto=require('os');
46689
46689
  const authProtoTempDir=path.resolve(osForLoadProto.tmpdir(),'.tempProto');
46690
46690
  if(!fsForLoadProto.existsSync(authProtoTempDir)) fsForLoadProto.mkdirSync(authProtoTempDir,{recursive:true});
46691
- const authProtoFilename=path.resolve(authProtoTempDir,"lakutata.2.0.78.docker.auth.proto");
46691
+ const authProtoFilename=path.resolve(authProtoTempDir,"lakutata.2.0.79.docker.auth.proto");
46692
46692
  if(!fsForLoadProto.existsSync(authProtoFilename)) fsForLoadProto.writeFileSync(authProtoFilename,Buffer.from("c3ludGF4ID0gInByb3RvMyI7CgpwYWNrYWdlIG1vYnkuZmlsZXN5bmMudjE7CgpvcHRpb24gZ29fcGFja2FnZSA9ICJhdXRoIjsKCnNlcnZpY2UgQXV0aHsKCXJwYyBDcmVkZW50aWFscyhDcmVkZW50aWFsc1JlcXVlc3QpIHJldHVybnMgKENyZWRlbnRpYWxzUmVzcG9uc2UpOwoJcnBjIEZldGNoVG9rZW4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SAxOwoJYnl0ZXMgUGF5bG9hZCA9IDI7CglieXRlcyBTYWx0ID0gMzsKfQoKbWVzc2FnZSBWZXJpZnlUb2tlbkF1dGhvcml0eVJlc3BvbnNlIHsKCWJ5dGVzIFNpZ25lZCA9IDE7Cn0=","base64").toString("utf-8"));
46693
46693
  return protoLoader.loadSync(authProtoFilename);
46694
46694
  })();
@@ -46645,7 +46645,7 @@ function withSession$1(e, t, r) {
46645
46645
  const osForLoadProto=require('os');
46646
46646
  const authProtoTempDir=path.resolve(osForLoadProto.tmpdir(),'.tempProto');
46647
46647
  if(!fsForLoadProto.existsSync(authProtoTempDir)) fsForLoadProto.mkdirSync(authProtoTempDir,{recursive:true});
46648
- const authProtoFilename=path.resolve(authProtoTempDir,"lakutata.2.0.78.docker.auth.proto");
46648
+ const authProtoFilename=path.resolve(authProtoTempDir,"lakutata.2.0.79.docker.auth.proto");
46649
46649
  if(!fsForLoadProto.existsSync(authProtoFilename)) fsForLoadProto.writeFileSync(authProtoFilename,Buffer.from("c3ludGF4ID0gInByb3RvMyI7CgpwYWNrYWdlIG1vYnkuZmlsZXN5bmMudjE7CgpvcHRpb24gZ29fcGFja2FnZSA9ICJhdXRoIjsKCnNlcnZpY2UgQXV0aHsKCXJwYyBDcmVkZW50aWFscyhDcmVkZW50aWFsc1JlcXVlc3QpIHJldHVybnMgKENyZWRlbnRpYWxzUmVzcG9uc2UpOwoJcnBjIEZldGNoVG9rZW4oRmV0Y2hUb2tlblJlcXVlc3QpIHJldHVybnMgKEZldGNoVG9rZW5SZXNwb25zZSk7CglycGMgR2V0VG9rZW5BdXRob3JpdHkoR2V0VG9rZW5BdXRob3JpdHlSZXF1ZXN0KSByZXR1cm5zIChHZXRUb2tlbkF1dGhvcml0eVJlc3BvbnNlKTsKCXJwYyBWZXJpZnlUb2tlbkF1dGhvcml0eShWZXJpZnlUb2tlbkF1dGhvcml0eVJlcXVlc3QpIHJldHVybnMgKFZlcmlmeVRva2VuQXV0aG9yaXR5UmVzcG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