lakutata 2.0.11 → 2.0.12

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/docker.d.ts CHANGED
@@ -3072,6 +3072,16 @@ declare class ContainerSettingOptions extends DTO {
3072
3072
  * "host": use the host's PID namespace inside the container
3073
3073
  */
3074
3074
  pidMode?: string;
3075
+ /**
3076
+ * Command to run specified as a string or an array of strings.
3077
+ */
3078
+ cmd?: string[];
3079
+ /**
3080
+ * The entry point for the container as a string or an array of strings.
3081
+ * If the array consists of exactly one empty string ([""]) then the entry point is reset to system default
3082
+ * (i.e., the entry point used by docker when there is no ENTRYPOINT instruction in the Dockerfile).
3083
+ */
3084
+ entrypoint?: string[];
3075
3085
  }
3076
3086
 
3077
3087
  type ContainerState = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lakutata",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "description": "An IoC-based universal application framework.",
5
5
  "exports": {
6
6
  ".": {
@@ -2750,6 +2750,8 @@ exports.Docker = class Docker extends t.Component {
2750
2750
  Hostname: r.hostname,
2751
2751
  Tty: r.tty,
2752
2752
  Env: Object.keys(u).map((e => `${e}=${u[e]}`)),
2753
+ Cmd: r.cmd,
2754
+ Entrypoint: r.entrypoint,
2753
2755
  HostConfig: {
2754
2756
  Memory: r.memoryLimit,
2755
2757
  CpusetCpus: r.cpuSet ? r.cpuSet.join(",") : undefined,
@@ -2746,6 +2746,8 @@ let qr = class Docker extends i {
2746
2746
  Hostname: i.hostname,
2747
2747
  Tty: i.tty,
2748
2748
  Env: Object.keys(l).map((t => `${t}=${l[t]}`)),
2749
+ Cmd: i.cmd,
2750
+ Entrypoint: i.entrypoint,
2749
2751
  HostConfig: {
2750
2752
  Memory: i.memoryLimit,
2751
2753
  CpusetCpus: i.cpuSet ? i.cpuSet.join(",") : undefined,
@@ -120,4 +120,8 @@ e.__decorate([ r.Expect(t.DTO.String().optional()), e.__metadata("design:type",
120
120
 
121
121
  e.__decorate([ r.Expect(t.DTO.String().optional()), e.__metadata("design:type", String) ], ContainerSettingOptions.prototype, "pidMode", void 0);
122
122
 
123
+ e.__decorate([ r.Expect(t.DTO.Array(t.DTO.String()).optional()), e.__metadata("design:type", Array) ], ContainerSettingOptions.prototype, "cmd", void 0);
124
+
125
+ e.__decorate([ r.Expect(t.DTO.Array(t.DTO.String()).optional()), e.__metadata("design:type", Array) ], ContainerSettingOptions.prototype, "entrypoint", void 0);
126
+
123
127
  exports.ContainerSettingOptions = ContainerSettingOptions;
@@ -114,4 +114,8 @@ t([ e(i.String().optional()), o("design:type", String) ], ContainerSettingOption
114
114
 
115
115
  t([ e(i.String().optional()), o("design:type", String) ], ContainerSettingOptions.prototype, "pidMode", void 0);
116
116
 
117
+ t([ e(i.Array(i.String()).optional()), o("design:type", Array) ], ContainerSettingOptions.prototype, "cmd", void 0);
118
+
119
+ t([ e(i.Array(i.String()).optional()), o("design:type", Array) ], ContainerSettingOptions.prototype, "entrypoint", void 0);
120
+
117
121
  export { ContainerSettingOptions };
@@ -62,10 +62,10 @@ exports.Column = r.Column = void 0;
62
62
 
63
63
  const t = e.requireGlobals();
64
64
 
65
- const o = e.requireColumnTypeUndefinedError();
65
+ const o = e.ColumnTypeUndefinedError;
66
66
 
67
- function u(e, r) {
68
- return function(u, a) {
67
+ function a(e, r) {
68
+ return function(a, u) {
69
69
  let i;
70
70
  if (typeof e === "string" || typeof e === "function") {
71
71
  i = e;
@@ -74,34 +74,34 @@ function u(e, r) {
74
74
  i = e.type;
75
75
  }
76
76
  if (!r) r = {};
77
- const n = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", u, a) : undefined;
77
+ const n = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", a, u) : 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: u.constructor,
84
- propertyName: a,
83
+ target: a.constructor,
84
+ propertyName: u,
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(u, a);
90
+ if (!r.type) throw new o.ColumnTypeUndefinedError(a, u);
91
91
  if (r.unique === true) (0, t.getMetadataArgsStorage)().uniques.push({
92
- target: u.constructor,
93
- columns: [ a ]
92
+ target: a.constructor,
93
+ columns: [ u ]
94
94
  });
95
95
  (0, t.getMetadataArgsStorage)().columns.push({
96
- target: u.constructor,
97
- propertyName: a,
96
+ target: a.constructor,
97
+ propertyName: u,
98
98
  mode: "regular",
99
99
  options: r
100
100
  });
101
101
  if (r.generated) {
102
102
  (0, t.getMetadataArgsStorage)().generations.push({
103
- target: u.constructor,
104
- propertyName: a,
103
+ target: a.constructor,
104
+ propertyName: u,
105
105
  strategy: typeof r.generated === "string" ? r.generated : "increment"
106
106
  });
107
107
  }
@@ -109,4 +109,4 @@ function u(e, r) {
109
109
  };
110
110
  }
111
111
 
112
- exports.Column = r.Column = u;
112
+ exports.Column = r.Column = a;
@@ -62,7 +62,7 @@ exports.PrimaryColumn = r.PrimaryColumn = void 0;
62
62
 
63
63
  const t = e.requireGlobals();
64
64
 
65
- const o = e.requireColumnTypeUndefinedError();
65
+ const o = e.ColumnTypeUndefinedError;
66
66
 
67
67
  const a = e.requirePrimaryColumnCannotBeNullableError();
68
68
 
@@ -29640,26 +29640,24 @@ function vE() {
29640
29640
 
29641
29641
  var IE = {};
29642
29642
 
29643
- var ME;
29643
+ "use strict";
29644
29644
 
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;
29645
+ Object.defineProperty(IE, "__esModule", {
29646
+ value: true
29647
+ });
29648
+
29649
+ var ME = IE.ColumnTypeUndefinedError = void 0;
29650
+
29651
+ const wE = yp;
29652
+
29653
+ class ColumnTypeUndefinedError extends wE.TypeORMError {
29654
+ constructor(e, t) {
29655
+ 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.`);
29656
+ }
29661
29657
  }
29662
29658
 
29659
+ ME = IE.ColumnTypeUndefinedError = ColumnTypeUndefinedError;
29660
+
29663
29661
  var DE = {};
29664
29662
 
29665
29663
  var LE;
@@ -29830,7 +29828,7 @@ function YE() {
29830
29828
  t.__exportStar(bE(), e);
29831
29829
  t.__exportStar(AE(), e);
29832
29830
  t.__exportStar(vE(), e);
29833
- t.__exportStar(wE(), e);
29831
+ t.__exportStar(IE, e);
29834
29832
  t.__exportStar(PE(), e);
29835
29833
  t.__exportStar(xE, e);
29836
29834
  t.__exportStar($E(), e);
@@ -72387,6 +72385,8 @@ function wB() {
72387
72385
 
72388
72386
  exports.Brackets = kg;
72389
72387
 
72388
+ exports.ColumnTypeUndefinedError = IE;
72389
+
72390
72390
  exports.DefaultNamingStrategy = rb;
72391
72391
 
72392
72392
  exports.EventListenerTypes = Dk;
@@ -72403,8 +72403,6 @@ exports.error = gp;
72403
72403
 
72404
72404
  exports.requireAbstractRepository = pN;
72405
72405
 
72406
- exports.requireColumnTypeUndefinedError = wE;
72407
-
72408
72406
  exports.requireDataSource = OB;
72409
72407
 
72410
72408
  exports.requireEntityManager = WC;