lakutata 2.0.65 → 2.0.66

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.
Files changed (129) hide show
  1. package/com/cacher.d.ts +4 -4
  2. package/com/database.cjs +0 -2
  3. package/com/database.d.ts +4 -4
  4. package/com/database.mjs +0 -2
  5. package/com/docker.d.ts +5 -5
  6. package/com/entrypoint.d.ts +2 -2
  7. package/com/logger.d.ts +1 -1
  8. package/com/monitor.d.ts +2 -2
  9. package/decorator/asst.d.ts +1 -1
  10. package/decorator/ctrl.d.ts +4 -4
  11. package/decorator/di.d.ts +3 -3
  12. package/decorator/dto.d.ts +3 -3
  13. package/decorator/orm.cjs +86 -88
  14. package/decorator/orm.d.ts +51 -75
  15. package/decorator/orm.mjs +44 -46
  16. package/helper.d.ts +1 -1
  17. package/lakutata.d.ts +10 -10
  18. package/orm.cjs +1075 -112
  19. package/orm.d.ts +6 -6
  20. package/orm.mjs +1015 -17
  21. package/package.json +1 -1
  22. package/provider/database.cjs +0 -2
  23. package/provider/database.d.ts +4 -4
  24. package/provider/database.mjs +0 -2
  25. package/provider/passwordHash.d.ts +1 -1
  26. package/src/components/Database.cjs +0 -2
  27. package/src/components/Database.mjs +0 -2
  28. package/src/decorators/orm/AfterInsert.cjs +27 -7
  29. package/src/decorators/orm/AfterInsert.mjs +28 -6
  30. package/src/decorators/orm/AfterLoad.cjs +27 -7
  31. package/src/decorators/orm/AfterLoad.mjs +28 -6
  32. package/src/decorators/orm/AfterRecover.cjs +27 -7
  33. package/src/decorators/orm/AfterRecover.mjs +28 -6
  34. package/src/decorators/orm/AfterRemove.cjs +27 -7
  35. package/src/decorators/orm/AfterRemove.mjs +28 -6
  36. package/src/decorators/orm/AfterSoftRemove.cjs +27 -7
  37. package/src/decorators/orm/AfterSoftRemove.mjs +28 -6
  38. package/src/decorators/orm/AfterUpdate.cjs +27 -7
  39. package/src/decorators/orm/AfterUpdate.mjs +28 -6
  40. package/src/decorators/orm/BeforeInsert.cjs +27 -7
  41. package/src/decorators/orm/BeforeInsert.mjs +28 -6
  42. package/src/decorators/orm/BeforeRecover.cjs +27 -7
  43. package/src/decorators/orm/BeforeRecover.mjs +28 -6
  44. package/src/decorators/orm/BeforeRemove.cjs +27 -7
  45. package/src/decorators/orm/BeforeRemove.mjs +28 -6
  46. package/src/decorators/orm/BeforeSoftRemove.cjs +27 -7
  47. package/src/decorators/orm/BeforeSoftRemove.mjs +28 -6
  48. package/src/decorators/orm/BeforeUpdate.cjs +27 -7
  49. package/src/decorators/orm/BeforeUpdate.mjs +28 -6
  50. package/src/decorators/orm/Check.cjs +30 -7
  51. package/src/decorators/orm/Check.mjs +31 -6
  52. package/src/decorators/orm/ChildEntity.cjs +30 -7
  53. package/src/decorators/orm/ChildEntity.mjs +31 -6
  54. package/src/decorators/orm/Column.cjs +62 -7
  55. package/src/decorators/orm/Column.mjs +63 -6
  56. package/src/decorators/orm/CreateDateColumn.cjs +26 -7
  57. package/src/decorators/orm/CreateDateColumn.mjs +27 -6
  58. package/src/decorators/orm/DeleteDateColumn.cjs +26 -7
  59. package/src/decorators/orm/DeleteDateColumn.mjs +27 -6
  60. package/src/decorators/orm/Entity.cjs +36 -7
  61. package/src/decorators/orm/Entity.mjs +37 -6
  62. package/src/decorators/orm/EventSubscriber.cjs +23 -7
  63. package/src/decorators/orm/EventSubscriber.mjs +24 -6
  64. package/src/decorators/orm/Exclusion.cjs +30 -7
  65. package/src/decorators/orm/Exclusion.mjs +31 -6
  66. package/src/decorators/orm/Generated.cjs +25 -7
  67. package/src/decorators/orm/Generated.mjs +26 -6
  68. package/src/decorators/orm/Index.cjs +42 -7
  69. package/src/decorators/orm/Index.mjs +43 -6
  70. package/src/decorators/orm/JoinColumn.cjs +30 -7
  71. package/src/decorators/orm/JoinColumn.mjs +31 -6
  72. package/src/decorators/orm/JoinTable.cjs +31 -7
  73. package/src/decorators/orm/JoinTable.mjs +32 -6
  74. package/src/decorators/orm/ManyToMany.cjs +43 -7
  75. package/src/decorators/orm/ManyToMany.mjs +44 -6
  76. package/src/decorators/orm/ManyToOne.cjs +43 -7
  77. package/src/decorators/orm/ManyToOne.mjs +44 -6
  78. package/src/decorators/orm/ObjectIdColumn.cjs +29 -7
  79. package/src/decorators/orm/ObjectIdColumn.mjs +30 -6
  80. package/src/decorators/orm/OneToMany.cjs +35 -7
  81. package/src/decorators/orm/OneToMany.mjs +36 -6
  82. package/src/decorators/orm/OneToOne.cjs +43 -7
  83. package/src/decorators/orm/OneToOne.mjs +44 -6
  84. package/src/decorators/orm/PrimaryColumn.cjs +50 -7
  85. package/src/decorators/orm/PrimaryColumn.mjs +51 -6
  86. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +55 -7
  87. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +56 -6
  88. package/src/decorators/orm/RelationId.cjs +27 -7
  89. package/src/decorators/orm/RelationId.mjs +28 -6
  90. package/src/decorators/orm/TableInheritance.cjs +27 -7
  91. package/src/decorators/orm/TableInheritance.mjs +28 -6
  92. package/src/decorators/orm/Tree.cjs +25 -7
  93. package/src/decorators/orm/Tree.mjs +26 -6
  94. package/src/decorators/orm/TreeChildren.cjs +32 -7
  95. package/src/decorators/orm/TreeChildren.mjs +33 -6
  96. package/src/decorators/orm/TreeLevelColumn.cjs +26 -7
  97. package/src/decorators/orm/TreeLevelColumn.mjs +27 -6
  98. package/src/decorators/orm/TreeParent.cjs +32 -7
  99. package/src/decorators/orm/TreeParent.mjs +33 -6
  100. package/src/decorators/orm/Unique.cjs +45 -7
  101. package/src/decorators/orm/Unique.mjs +46 -6
  102. package/src/decorators/orm/UpdateDateColumn.cjs +26 -7
  103. package/src/decorators/orm/UpdateDateColumn.mjs +27 -6
  104. package/src/decorators/orm/VersionColumn.cjs +26 -7
  105. package/src/decorators/orm/VersionColumn.mjs +27 -6
  106. package/src/decorators/orm/ViewColumn.cjs +26 -7
  107. package/src/decorators/orm/ViewColumn.mjs +27 -6
  108. package/src/decorators/orm/ViewEntity.cjs +35 -7
  109. package/src/decorators/orm/ViewEntity.mjs +36 -6
  110. package/src/decorators/orm/VirtualColumn.cjs +43 -7
  111. package/src/decorators/orm/VirtualColumn.mjs +44 -6
  112. package/src/providers/Database.cjs +0 -2
  113. package/src/providers/Database.mjs +0 -2
  114. package/vendor/Package.122.cjs +13223 -16706
  115. package/vendor/Package.122.mjs +13498 -16881
  116. package/vendor/Package.19.cjs +184 -195
  117. package/vendor/Package.19.mjs +1 -1
  118. package/vendor/TypeDef.internal.1.d.ts +1 -1
  119. package/vendor/TypeDef.internal.10.d.ts +1 -1
  120. package/vendor/TypeDef.internal.11.d.ts +2 -2
  121. package/vendor/TypeDef.internal.12.d.ts +2 -2
  122. package/vendor/TypeDef.internal.13.d.ts +6 -6
  123. package/vendor/TypeDef.internal.3.d.ts +3 -3
  124. package/vendor/TypeDef.internal.4.d.ts +181 -347
  125. package/vendor/TypeDef.internal.5.d.ts +2 -2
  126. package/vendor/TypeDef.internal.6.d.ts +2 -2
  127. package/vendor/TypeDef.internal.7.d.ts +1 -1
  128. package/vendor/TypeDef.internal.8.d.ts +1 -1
  129. package/vendor/TypeDef.internal.9.d.ts +1 -1
package/com/cacher.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import '../vendor/TypeDef.internal.2.js';
2
2
  import EventEmitter from 'node:events';
3
- import { D as DTO } from '../vendor/TypeDef.internal.5.js';
4
- import { C as Component } from '../vendor/TypeDef.internal.3.js';
5
- import { C as ComponentOptionsBuilder } from '../vendor/TypeDef.internal.6.js';
6
- import { E as Exception } from '../vendor/TypeDef.internal.7.js';
3
+ import { DTO } from '../vendor/TypeDef.internal.5.js';
4
+ import { Component } from '../vendor/TypeDef.internal.3.js';
5
+ import { ComponentOptionsBuilder } from '../vendor/TypeDef.internal.6.js';
6
+ import { Exception } from '../vendor/TypeDef.internal.7.js';
7
7
 
8
8
  type EventListener = (...arguments_: any[]) => void;
9
9
  declare class EventManager {
package/com/database.cjs CHANGED
@@ -182,8 +182,6 @@ require("crypto");
182
182
 
183
183
  require("fs/promises");
184
184
 
185
- require("node:util");
186
-
187
185
  require("../vendor/Package.63.cjs");
188
186
 
189
187
  require("node:url");
package/com/database.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import '../vendor/TypeDef.internal.2.js';
2
- import { C as Component } from '../vendor/TypeDef.internal.3.js';
3
- import { D as DataSourceOptions, a as DataSource, b as Driver, E as EntityManager, N as NamingStrategyInterface, c as EntitySubscriberInterface, d as EntityMetadata, e as EntityTarget, Q as QueryResultCache, M as Migration, O as ObjectLiteral, R as Repository, T as TreeRepository, f as MongoRepository, I as IsolationLevel, g as QueryRunner, S as SelectQueryBuilder, h as ReplicationMode } from '../vendor/TypeDef.internal.4.js';
2
+ import { Component } from '../vendor/TypeDef.internal.3.js';
3
+ import { DataSourceOptions, DataSource, Driver, EntityManager, NamingStrategyInterface, EntitySubscriberInterface, EntityMetadata, EntityTarget, QueryResultCache, Migration, ObjectLiteral, Repository, TreeRepository, MongoRepository, IsolationLevel, QueryRunner, SelectQueryBuilder, ReplicationMode } from '../vendor/TypeDef.internal.4.js';
4
4
  import '../vendor/TypeDef.internal.5.js';
5
5
  import 'fs';
6
- import 'dns';
7
- import 'net';
8
6
  import 'tls';
7
+ import 'net';
8
+ import 'dns';
9
9
  import 'events';
10
10
  import 'stream';
11
11
 
package/com/database.mjs CHANGED
@@ -176,8 +176,6 @@ import "crypto";
176
176
 
177
177
  import "fs/promises";
178
178
 
179
- import "node:util";
180
-
181
179
  import "../vendor/Package.63.mjs";
182
180
 
183
181
  import "node:url";
package/com/docker.d.ts CHANGED
@@ -1,17 +1,17 @@
1
1
  /// <reference types="node" />
2
2
  import '../vendor/TypeDef.internal.2.js';
3
- import { P as Provider, C as Component } from '../vendor/TypeDef.internal.3.js';
3
+ import { Provider, Component } from '../vendor/TypeDef.internal.3.js';
4
4
  import { ClientRequest, IncomingMessage, Agent, OutgoingHttpHeaders, RequestOptions } from 'http';
5
5
  import { Socket } from 'net';
6
6
  import * as stream from 'stream';
7
7
  import stream__default, { Duplex, Readable, DuplexOptions } from 'stream';
8
8
  import * as events from 'events';
9
- import { T as Time } from '../vendor/TypeDef.internal.1.js';
10
- import { D as DTO } from '../vendor/TypeDef.internal.5.js';
9
+ import { Time } from '../vendor/TypeDef.internal.1.js';
10
+ import { DTO } from '../vendor/TypeDef.internal.5.js';
11
11
  import { Logger } from './logger.js';
12
12
  import { Writable } from 'node:stream';
13
- import { C as ComponentOptionsBuilder } from '../vendor/TypeDef.internal.6.js';
14
- import { E as Exception } from '../vendor/TypeDef.internal.7.js';
13
+ import { ComponentOptionsBuilder } from '../vendor/TypeDef.internal.6.js';
14
+ import { Exception } from '../vendor/TypeDef.internal.7.js';
15
15
 
16
16
  interface Prompt {
17
17
  prompt: string;
@@ -1,6 +1,6 @@
1
1
  import '../vendor/TypeDef.internal.2.js';
2
- export { y as AccessControlRule, x as AccessControlRuleHandler, A as ActionGroupInfo, B as BaseActionInfo, r as BaseContext, l as BuildCLIEntrypoint, o as BuildEntrypoints, m as BuildHTTPEntrypoint, n as BuildServiceEntrypoint, j as CLIActionInfo, s as CLIContext, C as CLIEntrypoint, c as CLIEntrypointHandler, a as CLIMap, q as ContextType, w as Controller, v as ControllerProperty, p as Entrypoint, k as EntrypointActions, E as EntrypointDestroyer, f as EntrypointDestroyerRegistrar, g as EntrypointOptions, h as HTTPActionInfo, t as HTTPContext, H as HTTPEntrypoint, d as HTTPEntrypointHandler, b as HTTPRouteMap, i as ServiceActionInfo, u as ServiceContext, S as ServiceEntrypoint, e as ServiceEntrypointHandler } from '../vendor/TypeDef.internal.13.js';
3
- import { E as Exception } from '../vendor/TypeDef.internal.7.js';
2
+ export { AccessControlRule, AccessControlRuleHandler, ActionGroupInfo, BaseActionInfo, BaseContext, BuildCLIEntrypoint, BuildEntrypoints, BuildHTTPEntrypoint, BuildServiceEntrypoint, CLIActionInfo, CLIContext, CLIEntrypoint, CLIEntrypointHandler, CLIMap, ContextType, Controller, ControllerProperty, Entrypoint, EntrypointActions, EntrypointDestroyer, EntrypointDestroyerRegistrar, EntrypointOptions, HTTPActionInfo, HTTPContext, HTTPEntrypoint, HTTPEntrypointHandler, HTTPRouteMap, ServiceActionInfo, ServiceContext, ServiceEntrypoint, ServiceEntrypointHandler } from '../vendor/TypeDef.internal.13.js';
3
+ import { Exception } from '../vendor/TypeDef.internal.7.js';
4
4
  import '../vendor/TypeDef.internal.3.js';
5
5
  import '../vendor/TypeDef.internal.5.js';
6
6
  import '../vendor/TypeDef.internal.10.js';
package/com/logger.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import '../vendor/TypeDef.internal.2.js';
2
- import { C as Component } from '../vendor/TypeDef.internal.3.js';
2
+ import { Component } from '../vendor/TypeDef.internal.3.js';
3
3
  import '../vendor/TypeDef.internal.5.js';
4
4
 
5
5
  /**
package/com/monitor.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as Component } from '../vendor/TypeDef.internal.3.js';
2
- import { C as ComponentOptionsBuilder } from '../vendor/TypeDef.internal.6.js';
1
+ import { Component } from '../vendor/TypeDef.internal.3.js';
2
+ import { ComponentOptionsBuilder } from '../vendor/TypeDef.internal.6.js';
3
3
  import { IntervalHistogram, EventLoopUtilization, PerformanceObserver } from 'node:perf_hooks';
4
4
  import '../vendor/TypeDef.internal.5.js';
5
5
  import '../vendor/TypeDef.internal.2.js';
@@ -1,5 +1,5 @@
1
1
  import '../vendor/TypeDef.internal.2.js';
2
- import { M as MethodDecorator } from '../vendor/TypeDef.internal.8.js';
2
+ import { MethodDecorator } from '../vendor/TypeDef.internal.8.js';
3
3
 
4
4
  type BeforeFunction<ClassPrototype extends Object, Method extends (...args: any[]) => unknown> = (this: ClassPrototype, ...args: Parameters<Method>) => Promise<Parameters<Method> | void> | Parameters<Method> | void;
5
5
  type AfterFunction<ClassPrototype extends Object, Method extends (...args: any[]) => unknown> = (this: ClassPrototype, result: Awaited<ReturnType<Method>>) => Promise<ReturnType<Method> | void> | ReturnType<Method> | void;
@@ -1,8 +1,8 @@
1
1
  import '../vendor/TypeDef.internal.2.js';
2
- import { r as BaseContext, x as AccessControlRuleHandler, w as Controller, v as ControllerProperty, s as CLIContext, t as HTTPContext, u as ServiceContext } from '../vendor/TypeDef.internal.13.js';
3
- import { M as MethodDecorator } from '../vendor/TypeDef.internal.8.js';
4
- import { D as DTO } from '../vendor/TypeDef.internal.5.js';
5
- import { A as ActionPattern } from '../vendor/TypeDef.internal.10.js';
2
+ import { BaseContext, AccessControlRuleHandler, Controller, ControllerProperty, CLIContext, HTTPContext, ServiceContext } from '../vendor/TypeDef.internal.13.js';
3
+ import { MethodDecorator } from '../vendor/TypeDef.internal.8.js';
4
+ import { DTO } from '../vendor/TypeDef.internal.5.js';
5
+ import { ActionPattern } from '../vendor/TypeDef.internal.10.js';
6
6
  import '../vendor/TypeDef.internal.3.js';
7
7
  import 'node:http';
8
8
  import '../vendor/TypeDef.internal.7.js';
package/decorator/di.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import '../vendor/TypeDef.internal.2.js';
2
- import { B as BaseObject, L as LifetimeType, I as IBaseObjectConstructor } from '../vendor/TypeDef.internal.3.js';
3
- import { C as ClassDecorator, P as PropertyDecorator } from '../vendor/TypeDef.internal.11.js';
4
- import { S as Schema } from '../vendor/TypeDef.internal.5.js';
2
+ import { BaseObject, LifetimeType, IBaseObjectConstructor } from '../vendor/TypeDef.internal.3.js';
3
+ import { ClassDecorator, PropertyDecorator } from '../vendor/TypeDef.internal.11.js';
4
+ import { Schema } from '../vendor/TypeDef.internal.5.js';
5
5
  import '../vendor/TypeDef.internal.9.js';
6
6
 
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  import '../vendor/TypeDef.internal.2.js';
2
- import { D as DTO, S as Schema } from '../vendor/TypeDef.internal.5.js';
3
- import { C as ClassDecorator, P as PropertyDecorator } from '../vendor/TypeDef.internal.11.js';
4
- import { M as MethodDecorator } from '../vendor/TypeDef.internal.8.js';
2
+ import { DTO, Schema } from '../vendor/TypeDef.internal.5.js';
3
+ import { ClassDecorator, PropertyDecorator } from '../vendor/TypeDef.internal.11.js';
4
+ import { MethodDecorator } from '../vendor/TypeDef.internal.8.js';
5
5
  import '../vendor/TypeDef.internal.9.js';
6
6
 
7
7
  /**
package/decorator/orm.cjs CHANGED
@@ -6,94 +6,94 @@ Object.defineProperty(exports, Symbol.toStringTag, {
6
6
 
7
7
  require("../vendor/Package.4.cjs");
8
8
 
9
- require("../src/decorators/orm/AfterRecover.cjs");
9
+ const e = require("../src/decorators/orm/AfterRecover.cjs");
10
10
 
11
- require("../src/decorators/orm/AfterRemove.cjs");
11
+ const r = require("../src/decorators/orm/AfterRemove.cjs");
12
12
 
13
- require("../src/decorators/orm/AfterInsert.cjs");
13
+ const o = require("../src/decorators/orm/AfterInsert.cjs");
14
14
 
15
- require("../src/decorators/orm/AfterLoad.cjs");
15
+ const s = require("../src/decorators/orm/AfterLoad.cjs");
16
16
 
17
- require("../src/decorators/orm/AfterSoftRemove.cjs");
17
+ const t = require("../src/decorators/orm/AfterSoftRemove.cjs");
18
18
 
19
- require("../src/decorators/orm/AfterUpdate.cjs");
19
+ const c = require("../src/decorators/orm/AfterUpdate.cjs");
20
20
 
21
- require("../src/decorators/orm/BeforeInsert.cjs");
21
+ const n = require("../src/decorators/orm/BeforeInsert.cjs");
22
22
 
23
- require("../src/decorators/orm/BeforeRecover.cjs");
23
+ const a = require("../src/decorators/orm/BeforeRecover.cjs");
24
24
 
25
- require("../src/decorators/orm/BeforeRemove.cjs");
25
+ const i = require("../src/decorators/orm/BeforeRemove.cjs");
26
26
 
27
- require("../src/decorators/orm/BeforeSoftRemove.cjs");
27
+ const u = require("../src/decorators/orm/BeforeSoftRemove.cjs");
28
28
 
29
- require("../src/decorators/orm/BeforeUpdate.cjs");
29
+ const m = require("../src/decorators/orm/BeforeUpdate.cjs");
30
30
 
31
- require("../src/decorators/orm/Check.cjs");
31
+ const d = require("../src/decorators/orm/Check.cjs");
32
32
 
33
- require("../src/decorators/orm/ChildEntity.cjs");
33
+ const q = require("../src/decorators/orm/ChildEntity.cjs");
34
34
 
35
- require("../src/decorators/orm/Column.cjs");
35
+ const l = require("../src/decorators/orm/Column.cjs");
36
36
 
37
- require("../src/decorators/orm/CreateDateColumn.cjs");
37
+ const j = require("../src/decorators/orm/CreateDateColumn.cjs");
38
38
 
39
- require("../src/decorators/orm/DeleteDateColumn.cjs");
39
+ const p = require("../src/decorators/orm/DeleteDateColumn.cjs");
40
40
 
41
- require("../src/decorators/orm/Entity.cjs");
41
+ const x = require("../src/decorators/orm/Entity.cjs");
42
42
 
43
- require("../src/decorators/orm/EventSubscriber.cjs");
43
+ const C = require("../src/decorators/orm/EventSubscriber.cjs");
44
44
 
45
- require("../src/decorators/orm/Exclusion.cjs");
45
+ const f = require("../src/decorators/orm/Exclusion.cjs");
46
46
 
47
- require("../src/decorators/orm/Generated.cjs");
47
+ const v = require("../src/decorators/orm/Generated.cjs");
48
48
 
49
- require("../src/decorators/orm/Index.cjs");
49
+ const y = require("../src/decorators/orm/Index.cjs");
50
50
 
51
- require("../src/decorators/orm/JoinColumn.cjs");
51
+ const T = require("../src/decorators/orm/JoinColumn.cjs");
52
52
 
53
- require("../src/decorators/orm/JoinTable.cjs");
53
+ const P = require("../src/decorators/orm/JoinTable.cjs");
54
54
 
55
- require("../src/decorators/orm/ManyToMany.cjs");
55
+ const R = require("../src/decorators/orm/ManyToMany.cjs");
56
56
 
57
- require("../src/decorators/orm/ManyToOne.cjs");
57
+ const b = require("../src/decorators/orm/ManyToOne.cjs");
58
58
 
59
- require("../src/decorators/orm/ObjectIdColumn.cjs");
59
+ const A = require("../src/decorators/orm/ObjectIdColumn.cjs");
60
60
 
61
- require("../src/decorators/orm/OneToMany.cjs");
61
+ const I = require("../src/decorators/orm/OneToMany.cjs");
62
62
 
63
- require("../src/decorators/orm/OneToOne.cjs");
63
+ const g = require("../src/decorators/orm/OneToOne.cjs");
64
64
 
65
- require("../src/decorators/orm/PrimaryColumn.cjs");
65
+ const k = require("../src/decorators/orm/PrimaryColumn.cjs");
66
66
 
67
- require("../src/decorators/orm/PrimaryGeneratedColumn.cjs");
67
+ const O = require("../src/decorators/orm/PrimaryGeneratedColumn.cjs");
68
68
 
69
- require("../src/decorators/orm/RelationId.cjs");
69
+ const B = require("../src/decorators/orm/RelationId.cjs");
70
70
 
71
- require("../src/decorators/orm/TableInheritance.cjs");
71
+ const E = require("../src/decorators/orm/TableInheritance.cjs");
72
72
 
73
- require("../src/decorators/orm/Tree.cjs");
73
+ const h = require("../src/decorators/orm/Tree.cjs");
74
74
 
75
- require("../src/decorators/orm/TreeChildren.cjs");
75
+ const M = require("../src/decorators/orm/TreeChildren.cjs");
76
76
 
77
- require("../src/decorators/orm/TreeLevelColumn.cjs");
77
+ const D = require("../src/decorators/orm/TreeLevelColumn.cjs");
78
78
 
79
- require("../src/decorators/orm/TreeParent.cjs");
79
+ const U = require("../src/decorators/orm/TreeParent.cjs");
80
80
 
81
- require("../src/decorators/orm/Unique.cjs");
81
+ const V = require("../src/decorators/orm/Unique.cjs");
82
82
 
83
- require("../src/decorators/orm/UpdateDateColumn.cjs");
83
+ const S = require("../src/decorators/orm/UpdateDateColumn.cjs");
84
84
 
85
- require("../src/decorators/orm/VersionColumn.cjs");
85
+ const w = require("../src/decorators/orm/VersionColumn.cjs");
86
86
 
87
- require("../src/decorators/orm/ViewColumn.cjs");
87
+ const G = require("../src/decorators/orm/ViewColumn.cjs");
88
88
 
89
- require("../src/decorators/orm/ViewEntity.cjs");
89
+ const J = require("../src/decorators/orm/ViewEntity.cjs");
90
90
 
91
- require("../src/decorators/orm/VirtualColumn.cjs");
92
-
93
- const e = require("../vendor/Package.122.cjs");
91
+ const L = require("../src/decorators/orm/VirtualColumn.cjs");
94
92
 
95
93
  require("../vendor/Package.5.cjs");
96
94
 
95
+ require("../vendor/Package.122.cjs");
96
+
97
97
  require("../vendor/Package.13.cjs");
98
98
 
99
99
  require("../vendor/Package.1.cjs");
@@ -138,8 +138,6 @@ require("../vendor/Package.11.cjs");
138
138
 
139
139
  require("url");
140
140
 
141
- require("node:util");
142
-
143
141
  require("../vendor/Package.63.cjs");
144
142
 
145
143
  require("node:url");
@@ -156,86 +154,86 @@ require("node:stream");
156
154
 
157
155
  require("node:string_decoder");
158
156
 
159
- exports.AfterInsert = e.AfterInsert_2;
157
+ exports.AfterRecover = e.AfterRecover;
160
158
 
161
- exports.AfterLoad = e.AfterLoad_2;
159
+ exports.AfterRemove = r.AfterRemove;
162
160
 
163
- exports.AfterRecover = e.AfterRecover_2;
161
+ exports.AfterInsert = o.AfterInsert;
164
162
 
165
- exports.AfterRemove = e.AfterRemove_2;
163
+ exports.AfterLoad = s.AfterLoad;
166
164
 
167
- exports.AfterSoftRemove = e.AfterSoftRemove_2;
165
+ exports.AfterSoftRemove = t.AfterSoftRemove;
168
166
 
169
- exports.AfterUpdate = e.AfterUpdate_2;
167
+ exports.AfterUpdate = c.AfterUpdate;
170
168
 
171
- exports.BeforeInsert = e.BeforeInsert_2;
169
+ exports.BeforeInsert = n.BeforeInsert;
172
170
 
173
- exports.BeforeRecover = e.BeforeRecover_2;
171
+ exports.BeforeRecover = a.BeforeRecover;
174
172
 
175
- exports.BeforeRemove = e.BeforeRemove_2;
173
+ exports.BeforeRemove = i.BeforeRemove;
176
174
 
177
- exports.BeforeSoftRemove = e.BeforeSoftRemove_2;
175
+ exports.BeforeSoftRemove = u.BeforeSoftRemove;
178
176
 
179
- exports.BeforeUpdate = e.BeforeUpdate_2;
177
+ exports.BeforeUpdate = m.BeforeUpdate;
180
178
 
181
- exports.Check = e.Check_2;
179
+ exports.Check = d.Check;
182
180
 
183
- exports.ChildEntity = e.ChildEntity_2;
181
+ exports.ChildEntity = q.ChildEntity;
184
182
 
185
- exports.Column = e.Column_2;
183
+ exports.Column = l.Column;
186
184
 
187
- exports.CreateDateColumn = e.CreateDateColumn_2;
185
+ exports.CreateDateColumn = j.CreateDateColumn;
188
186
 
189
- exports.DeleteDateColumn = e.DeleteDateColumn_2;
187
+ exports.DeleteDateColumn = p.DeleteDateColumn;
190
188
 
191
- exports.Entity = e.Entity_2;
189
+ exports.Entity = x.Entity;
192
190
 
193
- exports.EventSubscriber = e.EventSubscriber_2;
191
+ exports.EventSubscriber = C.EventSubscriber;
194
192
 
195
- exports.Exclusion = e.Exclusion_2;
193
+ exports.Exclusion = f.Exclusion;
196
194
 
197
- exports.Generated = e.Generated_2;
195
+ exports.Generated = v.Generated;
198
196
 
199
- exports.Index = e.Index_2;
197
+ exports.Index = y.Index;
200
198
 
201
- exports.JoinColumn = e.JoinColumn_2;
199
+ exports.JoinColumn = T.JoinColumn;
202
200
 
203
- exports.JoinTable = e.JoinTable_2;
201
+ exports.JoinTable = P.JoinTable;
204
202
 
205
- exports.ManyToMany = e.ManyToMany_2;
203
+ exports.ManyToMany = R.ManyToMany;
206
204
 
207
- exports.ManyToOne = e.ManyToOne_2;
205
+ exports.ManyToOne = b.ManyToOne;
208
206
 
209
- exports.ObjectIdColumn = e.ObjectIdColumn_2;
207
+ exports.ObjectIdColumn = A.ObjectIdColumn;
210
208
 
211
- exports.OneToMany = e.OneToMany_2;
209
+ exports.OneToMany = I.OneToMany;
212
210
 
213
- exports.OneToOne = e.OneToOne_2;
211
+ exports.OneToOne = g.OneToOne;
214
212
 
215
- exports.PrimaryColumn = e.PrimaryColumn_2;
213
+ exports.PrimaryColumn = k.PrimaryColumn;
216
214
 
217
- exports.PrimaryGeneratedColumn = e.PrimaryGeneratedColumn_2;
215
+ exports.PrimaryGeneratedColumn = O.PrimaryGeneratedColumn;
218
216
 
219
- exports.RelationId = e.RelationId_2;
217
+ exports.RelationId = B.RelationId;
220
218
 
221
- exports.TableInheritance = e.TableInheritance_2;
219
+ exports.TableInheritance = E.TableInheritance;
222
220
 
223
- exports.Tree = e.Tree_2;
221
+ exports.Tree = h.Tree;
224
222
 
225
- exports.TreeChildren = e.TreeChildren_2;
223
+ exports.TreeChildren = M.TreeChildren;
226
224
 
227
- exports.TreeLevelColumn = e.TreeLevelColumn_2;
225
+ exports.TreeLevelColumn = D.TreeLevelColumn;
228
226
 
229
- exports.TreeParent = e.TreeParent_2;
227
+ exports.TreeParent = U.TreeParent;
230
228
 
231
- exports.Unique = e.Unique_2;
229
+ exports.Unique = V.Unique;
232
230
 
233
- exports.UpdateDateColumn = e.UpdateDateColumn_2;
231
+ exports.UpdateDateColumn = S.UpdateDateColumn;
234
232
 
235
- exports.VersionColumn = e.VersionColumn_2;
233
+ exports.VersionColumn = w.VersionColumn;
236
234
 
237
- exports.ViewColumn = e.ViewColumn_2;
235
+ exports.ViewColumn = G.ViewColumn;
238
236
 
239
- exports.ViewEntity = e.ViewEntity_2;
237
+ exports.ViewEntity = J.ViewEntity;
240
238
 
241
- exports.VirtualColumn = e.VirtualColumn_2;
239
+ exports.VirtualColumn = L.VirtualColumn;
@@ -1,28 +1,47 @@
1
1
  import '../vendor/TypeDef.internal.2.js';
2
- import { C as ColumnOptions, l as SimpleColumnType, m as ColumnCommonOptions, n as SpatialColumnType, o as SpatialColumnOptions, W as WithLengthColumnType, U as UnsignedColumnType, p as WithPrecisionColumnType, P as PrimaryGeneratedColumnType, q as ColumnType, V as ValueTransformer, J as JoinColumnOptions, r as JoinTableOptions, s as JoinTableMultipleColumnsOptions, t as ObjectType, u as RelationOptions, S as SelectQueryBuilder, a as DataSource, v as OnDeleteType, w as TreeType, x as ClosureTreeOptions, y as DeferrableType } from '../vendor/TypeDef.internal.4.js';
3
- import { E as EntityOptions, I as IndexOptions } from '../vendor/TypeDef.internal.12.js';
2
+ import { ColumnOptions, SimpleColumnType, ColumnCommonOptions, SpatialColumnType, SpatialColumnOptions, WithLengthColumnType, WithWidthColumnType, WithPrecisionColumnType, PrimaryGeneratedColumnType, ColumnType, ValueTransformer, JoinColumnOptions, JoinTableOptions, JoinTableMultipleColumnsOptions, ObjectType, RelationOptions, SelectQueryBuilder, DataSource, OnDeleteType, TreeType, ClosureTreeOptions, DeferrableType } from '../vendor/TypeDef.internal.4.js';
3
+ import { EntityOptions, IndexOptions } from '../vendor/TypeDef.internal.12.js';
4
4
  import 'fs';
5
- import 'dns';
6
- import 'net';
7
5
  import 'tls';
6
+ import 'net';
7
+ import 'dns';
8
8
  import 'events';
9
9
  import 'stream';
10
10
 
11
11
  /**
12
- * Column options specific to embedded column.
12
+ * Options for columns that can define a length of the column type.
13
13
  */
14
- interface ColumnEmbeddedOptions {
14
+ interface ColumnWithLengthOptions {
15
15
  /**
16
- * Embedded column prefix.
17
- * If set to empty string or false, then prefix is not set at all.
16
+ * Column type's length.
17
+ * For example type = "varchar" and length = "100" means ORM will create a column with type varchar(100).
18
18
  */
19
- prefix?: string | boolean;
19
+ length?: string | number;
20
+ }
21
+
22
+ /**
23
+ * Options for numeric column types where user can specify scale and precision.
24
+ */
25
+ interface ColumnNumericOptions {
20
26
  /**
21
- * Indicates if this embedded is in array mode.
22
- *
23
- * This option works only in mongodb.
27
+ * The precision for a decimal (exact numeric) column (applies only for decimal column), which is the maximum
28
+ * number of digits that are stored for the values.
24
29
  */
25
- array?: boolean;
30
+ precision?: number;
31
+ /**
32
+ * The scale for a decimal (exact numeric) column (applies only for decimal column), which represents the number
33
+ * of digits to the right of the decimal point and must not be greater than precision.
34
+ */
35
+ scale?: number;
36
+ /**
37
+ * Puts ZEROFILL attribute on to numeric column. Works only for MySQL.
38
+ * If you specify ZEROFILL for a numeric column, MySQL automatically adds the UNSIGNED attribute to the column
39
+ */
40
+ zerofill?: boolean;
41
+ /**
42
+ * Puts UNSIGNED attribute on to numeric column. Works only for MySQL.
43
+ */
44
+ unsigned?: boolean;
26
45
  }
27
46
 
28
47
  /**
@@ -40,69 +59,45 @@ interface ColumnEnumOptions {
40
59
  }
41
60
 
42
61
  /**
43
- * Column options for enum-typed columns.
62
+ * Column options specific to embedded column.
44
63
  */
45
- interface ColumnHstoreOptions {
64
+ interface ColumnEmbeddedOptions {
46
65
  /**
47
- * Return type of HSTORE column.
48
- * Returns value as string or as object.
66
+ * Embedded column prefix.
67
+ * If set to empty string or false, then prefix is not set at all.
49
68
  */
50
- hstoreType?: string;
69
+ prefix?: string | boolean;
70
+ /**
71
+ * Indicates if this embedded is in array mode.
72
+ *
73
+ * This option works only in mongodb.
74
+ */
75
+ array?: boolean;
51
76
  }
52
77
 
53
78
  /**
54
- * Options for numeric column types where user can specify scale and precision.
79
+ * Column options for enum-typed columns.
55
80
  */
56
- interface ColumnNumericOptions {
57
- /**
58
- * The precision for a decimal (exact numeric) column (applies only for decimal column), which is the maximum
59
- * number of digits that are stored for the values.
60
- */
61
- precision?: number;
62
- /**
63
- * The scale for a decimal (exact numeric) column (applies only for decimal column), which represents the number
64
- * of digits to the right of the decimal point and must not be greater than precision.
65
- */
66
- scale?: number;
67
- /**
68
- * Puts ZEROFILL attribute on to numeric column. Works only for MySQL.
69
- * If you specify ZEROFILL for a numeric column, MySQL automatically adds
70
- * the UNSIGNED attribute to the column
71
- * @deprecated MySQL deprecated and removed the ZEROFILL attribute. This
72
- * will also be removed from TypeORM in an upcoming version. Use a character
73
- * column and the `LPAD` function as suggested by MySQL or handle the
74
- * formatting in the application layer.
75
- */
76
- zerofill?: boolean;
81
+ interface ColumnHstoreOptions {
77
82
  /**
78
- * Puts UNSIGNED attribute on to numeric column. Works only for MySQL.
79
- * @deprecated MySQL deprecated the UNSIGNED attribute for non-integer
80
- * numeric types. This will also be removed from TypeORM in an upcoming version.
83
+ * Return type of HSTORE column.
84
+ * Returns value as string or as object.
81
85
  */
82
- unsigned?: boolean;
86
+ hstoreType?: string;
83
87
  }
84
88
 
85
89
  /**
86
90
  * Options for columns that can define a length of the column type.
87
91
  */
88
- interface ColumnUnsignedOptions {
92
+ interface ColumnWithWidthOptions {
89
93
  /**
90
94
  * Column type's display width. Used only on some column types in MySQL.
91
95
  * For example, INT(4) specifies an INT with a display width of four digits.
92
- * @deprecated MySQL deprecated and removed display width for integer types,
93
- * TypeORM will also remove it in an upcoming version. Use a character
94
- * column and the `LPAD` function as suggested by MySQL or handle the
95
- * formatting in the application layer.
96
96
  */
97
97
  width?: number;
98
98
  /**
99
99
  * Puts ZEROFILL attribute on to numeric column. Works only for MySQL.
100
- * If you specify ZEROFILL for a numeric column, MySQL automatically adds
101
- * the UNSIGNED attribute to this column
102
- * @deprecated MySQL deprecated and removed the zerofill attribute. This
103
- * will also be removed from TypeORM in an upcoming version. Use a character
104
- * column and the `LPAD` function as suggested by MySQL or handle the
105
- * formatting in the application layer.
100
+ * If you specify ZEROFILL for a numeric column, MySQL automatically adds the UNSIGNED attribute to this column
106
101
  */
107
102
  zerofill?: boolean;
108
103
  /**
@@ -111,17 +106,6 @@ interface ColumnUnsignedOptions {
111
106
  unsigned?: boolean;
112
107
  }
113
108
 
114
- /**
115
- * Options for columns that can define a length of the column type.
116
- */
117
- interface ColumnWithLengthOptions {
118
- /**
119
- * Column type's length.
120
- * For example type = "varchar" and length = "100" means ORM will create a column with type varchar(100).
121
- */
122
- length?: string | number;
123
- }
124
-
125
109
  /**
126
110
  * Column decorator is used to mark a specific class property as a table column. Only properties decorated with this
127
111
  * decorator will be persisted to the database when entity be saved.
@@ -151,7 +135,7 @@ declare function Column(type: WithLengthColumnType, options?: ColumnCommonOption
151
135
  * Column decorator is used to mark a specific class property as a table column.
152
136
  * Only properties decorated with this decorator will be persisted to the database when entity be saved.
153
137
  */
154
- declare function Column(type: UnsignedColumnType, options?: ColumnCommonOptions & ColumnUnsignedOptions): PropertyDecorator;
138
+ declare function Column(type: WithWidthColumnType, options?: ColumnCommonOptions & ColumnWithWidthOptions): PropertyDecorator;
155
139
  /**
156
140
  * Column decorator is used to mark a specific class property as a table column.
157
141
  * Only properties decorated with this decorator will be persisted to the database when entity be saved.
@@ -219,9 +203,6 @@ interface PrimaryGeneratedColumnNumericOptions {
219
203
  /**
220
204
  * Puts ZEROFILL attribute on to numeric column. Works only for MySQL.
221
205
  * If you specify ZEROFILL for a numeric column, MySQL automatically adds the UNSIGNED attribute to the column
222
- * @deprecated No longer supported in newer MySQL versions, will be removed
223
- * from TypeORM in an upcoming version. Use a character column and the
224
- * `LPAD` function as suggested by MySQL
225
206
  */
226
207
  zerofill?: boolean;
227
208
  /**
@@ -341,11 +322,6 @@ interface VirtualColumnOptions {
341
322
  * Column type. Must be one of the value from the ColumnTypes class.
342
323
  */
343
324
  type?: ColumnType;
344
- /**
345
- * Indicates if column is always selected by QueryBuilder and find operations.
346
- * Default value is "true".
347
- */
348
- select?: boolean;
349
325
  /**
350
326
  * Return type of HSTORE column.
351
327
  * Returns value as string or as object.