lakutata 2.0.1 → 2.0.3
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.cjs +2 -2
- package/com/database.d.ts +4 -4
- package/com/database.mjs +2 -2
- package/com/docker.cjs +1 -1
- package/com/docker.d.ts +5 -4
- package/com/docker.mjs +1 -1
- 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.cjs +2 -2
- package/decorator/orm.d.ts +3 -3
- package/decorator/orm.mjs +2 -2
- package/helper.cjs +42 -26
- package/helper.d.ts +24 -3
- package/helper.mjs +11 -1
- package/lakutata.cjs +16 -18
- package/lakutata.d.ts +12 -16
- package/lakutata.mjs +2 -2
- package/orm.cjs +2 -2
- package/orm.d.ts +4 -4
- package/orm.mjs +32 -32
- package/package.json +1 -1
- package/src/components/Database.cjs +2 -2
- package/src/components/Database.mjs +2 -2
- package/src/components/docker/ConnectionOptionsBuilder.cjs +1 -1
- package/src/components/docker/ConnectionOptionsBuilder.mjs +1 -1
- package/src/components/docker/Docker.cjs +1 -1
- package/src/components/docker/Docker.mjs +1 -1
- package/src/components/docker/lib/DockerContainer.cjs +1 -1
- package/src/components/docker/lib/DockerContainer.mjs +1 -1
- package/src/components/docker/lib/DockerContainerTTY.cjs +1 -1
- package/src/components/docker/lib/DockerContainerTTY.mjs +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/AfterInsert.cjs +2 -2
- package/src/decorators/orm/AfterInsert.mjs +2 -2
- package/src/decorators/orm/AfterLoad.cjs +2 -2
- package/src/decorators/orm/AfterLoad.mjs +2 -2
- package/src/decorators/orm/AfterRecover.cjs +2 -2
- package/src/decorators/orm/AfterRecover.mjs +2 -2
- package/src/decorators/orm/AfterRemove.cjs +2 -2
- package/src/decorators/orm/AfterRemove.mjs +2 -2
- package/src/decorators/orm/AfterSoftRemove.cjs +2 -2
- package/src/decorators/orm/AfterSoftRemove.mjs +2 -2
- package/src/decorators/orm/AfterUpdate.cjs +2 -2
- package/src/decorators/orm/AfterUpdate.mjs +2 -2
- package/src/decorators/orm/BeforeInsert.cjs +2 -2
- package/src/decorators/orm/BeforeInsert.mjs +2 -2
- package/src/decorators/orm/BeforeRecover.cjs +2 -2
- package/src/decorators/orm/BeforeRecover.mjs +2 -2
- package/src/decorators/orm/BeforeRemove.cjs +2 -2
- package/src/decorators/orm/BeforeRemove.mjs +2 -2
- package/src/decorators/orm/BeforeSoftRemove.cjs +2 -2
- package/src/decorators/orm/BeforeSoftRemove.mjs +2 -2
- package/src/decorators/orm/BeforeUpdate.cjs +2 -2
- package/src/decorators/orm/BeforeUpdate.mjs +2 -2
- package/src/decorators/orm/Check.cjs +2 -2
- package/src/decorators/orm/Check.mjs +2 -2
- package/src/decorators/orm/ChildEntity.cjs +2 -2
- package/src/decorators/orm/ChildEntity.mjs +2 -2
- package/src/decorators/orm/Column.cjs +2 -2
- package/src/decorators/orm/Column.mjs +4 -4
- package/src/decorators/orm/CreateDateColumn.cjs +2 -2
- package/src/decorators/orm/CreateDateColumn.mjs +2 -2
- package/src/decorators/orm/DeleteDateColumn.cjs +2 -2
- package/src/decorators/orm/DeleteDateColumn.mjs +2 -2
- package/src/decorators/orm/Entity.cjs +2 -2
- package/src/decorators/orm/Entity.mjs +2 -2
- package/src/decorators/orm/EventSubscriber.cjs +2 -2
- package/src/decorators/orm/EventSubscriber.mjs +2 -2
- package/src/decorators/orm/Exclusion.cjs +2 -2
- package/src/decorators/orm/Exclusion.mjs +2 -2
- package/src/decorators/orm/Generated.cjs +2 -2
- package/src/decorators/orm/Generated.mjs +2 -2
- package/src/decorators/orm/Index.cjs +2 -2
- package/src/decorators/orm/Index.mjs +2 -2
- package/src/decorators/orm/JoinColumn.cjs +2 -2
- package/src/decorators/orm/JoinColumn.mjs +2 -2
- package/src/decorators/orm/JoinTable.cjs +2 -2
- package/src/decorators/orm/JoinTable.mjs +2 -2
- package/src/decorators/orm/ManyToMany.cjs +2 -2
- package/src/decorators/orm/ManyToMany.mjs +2 -2
- package/src/decorators/orm/ManyToOne.cjs +2 -2
- package/src/decorators/orm/ManyToOne.mjs +2 -2
- package/src/decorators/orm/ObjectIdColumn.cjs +2 -2
- package/src/decorators/orm/ObjectIdColumn.mjs +2 -2
- package/src/decorators/orm/OneToMany.cjs +2 -2
- package/src/decorators/orm/OneToMany.mjs +2 -2
- package/src/decorators/orm/OneToOne.cjs +2 -2
- package/src/decorators/orm/OneToOne.mjs +2 -2
- package/src/decorators/orm/PrimaryColumn.cjs +2 -2
- package/src/decorators/orm/PrimaryColumn.mjs +4 -4
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +2 -2
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +2 -2
- package/src/decorators/orm/RelationId.cjs +2 -2
- package/src/decorators/orm/RelationId.mjs +2 -2
- package/src/decorators/orm/TableInheritance.cjs +2 -2
- package/src/decorators/orm/TableInheritance.mjs +2 -2
- package/src/decorators/orm/Tree.cjs +2 -2
- package/src/decorators/orm/Tree.mjs +2 -2
- package/src/decorators/orm/TreeChildren.cjs +2 -2
- package/src/decorators/orm/TreeChildren.mjs +2 -2
- package/src/decorators/orm/TreeLevelColumn.cjs +2 -2
- package/src/decorators/orm/TreeLevelColumn.mjs +2 -2
- package/src/decorators/orm/TreeParent.cjs +2 -2
- package/src/decorators/orm/TreeParent.mjs +2 -2
- package/src/decorators/orm/Unique.cjs +2 -2
- package/src/decorators/orm/Unique.mjs +2 -2
- package/src/decorators/orm/UpdateDateColumn.cjs +2 -2
- package/src/decorators/orm/UpdateDateColumn.mjs +2 -2
- package/src/decorators/orm/VersionColumn.cjs +2 -2
- package/src/decorators/orm/VersionColumn.mjs +2 -2
- package/src/decorators/orm/ViewColumn.cjs +2 -2
- package/src/decorators/orm/ViewColumn.mjs +2 -2
- package/src/decorators/orm/ViewEntity.cjs +2 -2
- package/src/decorators/orm/ViewEntity.mjs +2 -2
- package/src/decorators/orm/VirtualColumn.cjs +2 -2
- package/src/decorators/orm/VirtualColumn.mjs +2 -2
- package/src/lib/core/Application.cjs +1 -1
- package/src/lib/core/Application.mjs +1 -1
- package/src/lib/helpers/Glob.cjs +1 -1
- package/src/lib/helpers/Glob.mjs +1 -1
- package/src/lib/helpers/MD5.cjs +22 -0
- package/src/lib/helpers/MD5.mjs +16 -0
- package/src/lib/helpers/SHA1.cjs +22 -0
- package/src/lib/helpers/SHA1.mjs +16 -0
- package/src/lib/helpers/SHA256.cjs +22 -0
- package/src/lib/helpers/SHA256.mjs +16 -0
- package/vendor/Package.14.cjs +2 -2
- package/vendor/Package.14.mjs +19 -21
- package/vendor/Package.16.cjs +1 -1
- package/vendor/Package.16.mjs +1 -1
- package/vendor/Package.72.cjs +4118 -174
- package/vendor/Package.72.mjs +4128 -174
- package/vendor/Package.73.cjs +173 -735
- package/vendor/Package.73.mjs +174 -728
- package/vendor/Package.74.cjs +784 -0
- package/vendor/Package.74.mjs +772 -0
- 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/com/database.cjs
CHANGED
|
@@ -164,7 +164,7 @@ require("../vendor/Package.11.cjs");
|
|
|
164
164
|
|
|
165
165
|
require("crypto");
|
|
166
166
|
|
|
167
|
-
require("../vendor/Package.
|
|
167
|
+
require("../vendor/Package.74.cjs");
|
|
168
168
|
|
|
169
169
|
require("../vendor/Package.13.cjs");
|
|
170
170
|
|
|
@@ -176,7 +176,7 @@ require("tty");
|
|
|
176
176
|
|
|
177
177
|
require("string_decoder");
|
|
178
178
|
|
|
179
|
-
require("../vendor/Package.
|
|
179
|
+
require("../vendor/Package.73.cjs");
|
|
180
180
|
|
|
181
181
|
require("fs/promises");
|
|
182
182
|
|
package/com/database.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import '../vendor/TypeDef.
|
|
2
|
-
import { C as Component } from '../vendor/TypeDef.
|
|
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.
|
|
4
|
-
import '../vendor/TypeDef.
|
|
1
|
+
import '../vendor/TypeDef.2.js';
|
|
2
|
+
import { C as Component } from '../vendor/TypeDef.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.4.js';
|
|
4
|
+
import '../vendor/TypeDef.5.js';
|
|
5
5
|
import 'fs';
|
|
6
6
|
import 'tls';
|
|
7
7
|
import 'net';
|
package/com/database.mjs
CHANGED
|
@@ -158,7 +158,7 @@ import "../vendor/Package.11.mjs";
|
|
|
158
158
|
|
|
159
159
|
import "crypto";
|
|
160
160
|
|
|
161
|
-
import "../vendor/Package.
|
|
161
|
+
import "../vendor/Package.74.mjs";
|
|
162
162
|
|
|
163
163
|
import "../vendor/Package.13.mjs";
|
|
164
164
|
|
|
@@ -170,6 +170,6 @@ import "tty";
|
|
|
170
170
|
|
|
171
171
|
import "string_decoder";
|
|
172
172
|
|
|
173
|
-
import "../vendor/Package.
|
|
173
|
+
import "../vendor/Package.73.mjs";
|
|
174
174
|
|
|
175
175
|
import "fs/promises";
|
package/com/docker.cjs
CHANGED
package/com/docker.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import '../vendor/TypeDef.
|
|
3
|
-
import { P as Provider, C as Component } from '../vendor/TypeDef.
|
|
2
|
+
import '../vendor/TypeDef.2.js';
|
|
3
|
+
import { P as Provider, C as Component } from '../vendor/TypeDef.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, { Readable, Duplex, DuplexOptions } from 'stream';
|
|
8
8
|
import * as events from 'events';
|
|
9
|
-
import { T as Time
|
|
10
|
-
import { D as DTO } from '../vendor/TypeDef.
|
|
9
|
+
import { T as Time } from '../vendor/TypeDef.1.js';
|
|
10
|
+
import { D as DTO } from '../vendor/TypeDef.5.js';
|
|
11
11
|
import { Logger } from './logger.js';
|
|
12
12
|
import { Writable } from 'node:stream';
|
|
13
|
+
import { E as Exception } from '../vendor/TypeDef.7.js';
|
|
13
14
|
|
|
14
15
|
interface Prompt {
|
|
15
16
|
prompt: string;
|
package/com/docker.mjs
CHANGED
package/com/entrypoint.cjs
CHANGED
|
@@ -10,13 +10,15 @@ const e = require("../src/components/entrypoint/Entrypoint.cjs");
|
|
|
10
10
|
|
|
11
11
|
const r = require("../src/components/entrypoint/lib/Controller.cjs");
|
|
12
12
|
|
|
13
|
-
const i = require("../src/
|
|
13
|
+
const i = require("../src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs");
|
|
14
14
|
|
|
15
|
-
const s = require("../src/lib/
|
|
15
|
+
const s = require("../src/lib/base/Context.cjs");
|
|
16
16
|
|
|
17
|
-
const c = require("../src/lib/context/
|
|
17
|
+
const c = require("../src/lib/context/CLIContext.cjs");
|
|
18
18
|
|
|
19
|
-
const t = require("../src/lib/context/
|
|
19
|
+
const t = require("../src/lib/context/HTTPContext.cjs");
|
|
20
|
+
|
|
21
|
+
const o = require("../src/lib/context/ServiceContext.cjs");
|
|
20
22
|
|
|
21
23
|
require("../vendor/Package.5.cjs");
|
|
22
24
|
|
|
@@ -180,8 +182,6 @@ require("../src/exceptions/InvalidActionPatternDepthException.cjs");
|
|
|
180
182
|
|
|
181
183
|
require("../src/lib/base/internal/PatternManager.cjs");
|
|
182
184
|
|
|
183
|
-
require("../src/exceptions/ControllerActionNotFoundException.cjs");
|
|
184
|
-
|
|
185
185
|
require("../src/exceptions/DestroyRuntimeContainerException.cjs");
|
|
186
186
|
|
|
187
187
|
require("../src/lib/helpers/GetObjectPropertyPaths.cjs");
|
|
@@ -208,18 +208,20 @@ Object.defineProperty(exports, "Controller", {
|
|
|
208
208
|
get: () => r.Controller
|
|
209
209
|
});
|
|
210
210
|
|
|
211
|
+
exports.ControllerActionNotFoundException = i.ControllerActionNotFoundException;
|
|
212
|
+
|
|
211
213
|
Object.defineProperty(exports, "BaseContext", {
|
|
212
214
|
enumerable: true,
|
|
213
|
-
get: () =>
|
|
215
|
+
get: () => s.BaseContext
|
|
214
216
|
});
|
|
215
217
|
|
|
216
218
|
Object.defineProperty(exports, "ContextType", {
|
|
217
219
|
enumerable: true,
|
|
218
|
-
get: () =>
|
|
220
|
+
get: () => s.ContextType
|
|
219
221
|
});
|
|
220
222
|
|
|
221
|
-
exports.CLIContext =
|
|
223
|
+
exports.CLIContext = c.CLIContext;
|
|
222
224
|
|
|
223
|
-
exports.HTTPContext =
|
|
225
|
+
exports.HTTPContext = t.HTTPContext;
|
|
224
226
|
|
|
225
|
-
exports.ServiceContext =
|
|
227
|
+
exports.ServiceContext = o.ServiceContext;
|
package/com/entrypoint.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import '../vendor/TypeDef.
|
|
2
|
-
import { I as IBaseObjectConstructor, M as Module, C as Component } from '../vendor/TypeDef.
|
|
3
|
-
import { C as Controller,
|
|
4
|
-
export { B as BaseContext,
|
|
5
|
-
import { A as ActionPattern } from '../vendor/TypeDef.
|
|
6
|
-
import { D as DTO, J as JSONSchema } from '../vendor/TypeDef.
|
|
7
|
-
import { I as IPatRun } from '../vendor/TypeDef.
|
|
1
|
+
import '../vendor/TypeDef.2.js';
|
|
2
|
+
import { I as IBaseObjectConstructor, M as Module, C as Component } from '../vendor/TypeDef.3.js';
|
|
3
|
+
import { C as Controller, b as CLIContext, H as HTTPContext, S as ServiceContext } from '../vendor/TypeDef.13.js';
|
|
4
|
+
export { B as BaseContext, c as ContextType, a as ControllerProperty } from '../vendor/TypeDef.13.js';
|
|
5
|
+
import { A as ActionPattern } from '../vendor/TypeDef.8.js';
|
|
6
|
+
import { D as DTO, J as JSONSchema } from '../vendor/TypeDef.5.js';
|
|
7
|
+
import { I as IPatRun } from '../vendor/TypeDef.6.js';
|
|
8
|
+
import { E as Exception } from '../vendor/TypeDef.7.js';
|
|
8
9
|
import 'node:http';
|
|
9
10
|
|
|
10
11
|
type ActionPatternMap = Map<ActionPattern, ActionDetails>;
|
|
@@ -184,4 +185,8 @@ declare class Entrypoint extends Component {
|
|
|
184
185
|
protected registerServiceEntrypoint(entrypoint: ServiceEntrypoint): void;
|
|
185
186
|
}
|
|
186
187
|
|
|
187
|
-
|
|
188
|
+
declare class ControllerActionNotFoundException extends Exception {
|
|
189
|
+
errno: string | number;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export { BuildCLIEntrypoint, BuildEntrypoints, BuildHTTPEntrypoint, BuildServiceEntrypoint, CLIContext, type CLIEntrypoint, type CLIEntrypointHandler, type CLIMap, Controller, ControllerActionNotFoundException, Entrypoint, type EntrypointDestroyer, type EntrypointDestroyerRegistrar, type EntrypointOptions, HTTPContext, type HTTPEntrypoint, type HTTPEntrypointHandler, type HTTPRouteMap, ServiceContext, type ServiceEntrypoint, type ServiceEntrypointHandler };
|
package/com/entrypoint.mjs
CHANGED
|
@@ -4,6 +4,8 @@ export { BuildCLIEntrypoint, BuildEntrypoints, BuildHTTPEntrypoint, BuildService
|
|
|
4
4
|
|
|
5
5
|
export { Controller } from "../src/components/entrypoint/lib/Controller.mjs";
|
|
6
6
|
|
|
7
|
+
export { ControllerActionNotFoundException } from "../src/components/entrypoint/exceptions/ControllerActionNotFoundException.mjs";
|
|
8
|
+
|
|
7
9
|
export { BaseContext, ContextType } from "../src/lib/base/Context.mjs";
|
|
8
10
|
|
|
9
11
|
export { CLIContext } from "../src/lib/context/CLIContext.mjs";
|
|
@@ -174,8 +176,6 @@ import "../src/exceptions/InvalidActionPatternDepthException.mjs";
|
|
|
174
176
|
|
|
175
177
|
import "../src/lib/base/internal/PatternManager.mjs";
|
|
176
178
|
|
|
177
|
-
import "../src/exceptions/ControllerActionNotFoundException.mjs";
|
|
178
|
-
|
|
179
179
|
import "../src/exceptions/DestroyRuntimeContainerException.mjs";
|
|
180
180
|
|
|
181
181
|
import "../src/lib/helpers/GetObjectPropertyPaths.mjs";
|
package/com/logger.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../vendor/TypeDef.
|
|
2
|
-
import { C as Component } from '../vendor/TypeDef.
|
|
3
|
-
import '../vendor/TypeDef.
|
|
1
|
+
import '../vendor/TypeDef.2.js';
|
|
2
|
+
import { C as Component } from '../vendor/TypeDef.3.js';
|
|
3
|
+
import '../vendor/TypeDef.5.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Logger component
|
package/decorator/asst.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../vendor/TypeDef.
|
|
2
|
-
import { M as MethodDecorator } from '../vendor/TypeDef.
|
|
1
|
+
import '../vendor/TypeDef.2.js';
|
|
2
|
+
import { M as MethodDecorator } from '../vendor/TypeDef.9.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;
|
package/decorator/ctrl.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import '../vendor/TypeDef.1.js';
|
|
2
|
-
import { C as Controller, c as ControllerProperty } from '../vendor/TypeDef.12.js';
|
|
3
|
-
import { M as MethodDecorator } from '../vendor/TypeDef.7.js';
|
|
4
|
-
import { D as DTO } from '../vendor/TypeDef.4.js';
|
|
5
|
-
import { A as ActionPattern } from '../vendor/TypeDef.6.js';
|
|
6
1
|
import '../vendor/TypeDef.2.js';
|
|
2
|
+
import { C as Controller, a as ControllerProperty } from '../vendor/TypeDef.13.js';
|
|
3
|
+
import { M as MethodDecorator } from '../vendor/TypeDef.9.js';
|
|
4
|
+
import { D as DTO } from '../vendor/TypeDef.5.js';
|
|
5
|
+
import { A as ActionPattern } from '../vendor/TypeDef.8.js';
|
|
6
|
+
import '../vendor/TypeDef.3.js';
|
|
7
7
|
import 'node:http';
|
|
8
8
|
|
|
9
9
|
/**
|
package/decorator/di.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import '../vendor/TypeDef.
|
|
2
|
-
import { B as BaseObject, L as LifetimeType, I as IBaseObjectConstructor } from '../vendor/TypeDef.
|
|
3
|
-
import { C as ClassDecorator, P as PropertyDecorator } from '../vendor/TypeDef.
|
|
4
|
-
import { S as Schema } from '../vendor/TypeDef.
|
|
5
|
-
import '../vendor/TypeDef.
|
|
1
|
+
import '../vendor/TypeDef.2.js';
|
|
2
|
+
import { B as BaseObject, L as LifetimeType, I as IBaseObjectConstructor } from '../vendor/TypeDef.3.js';
|
|
3
|
+
import { C as ClassDecorator, P as PropertyDecorator } from '../vendor/TypeDef.11.js';
|
|
4
|
+
import { S as Schema } from '../vendor/TypeDef.5.js';
|
|
5
|
+
import '../vendor/TypeDef.10.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Class Decorator
|
package/decorator/dto.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import '../vendor/TypeDef.
|
|
2
|
-
import { D as DTO, S as Schema } from '../vendor/TypeDef.
|
|
3
|
-
import { C as ClassDecorator, P as PropertyDecorator } from '../vendor/TypeDef.
|
|
4
|
-
import { M as MethodDecorator } from '../vendor/TypeDef.
|
|
5
|
-
import '../vendor/TypeDef.
|
|
1
|
+
import '../vendor/TypeDef.2.js';
|
|
2
|
+
import { D as DTO, S as Schema } from '../vendor/TypeDef.5.js';
|
|
3
|
+
import { C as ClassDecorator, P as PropertyDecorator } from '../vendor/TypeDef.11.js';
|
|
4
|
+
import { M as MethodDecorator } from '../vendor/TypeDef.9.js';
|
|
5
|
+
import '../vendor/TypeDef.10.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Class Decorator
|
package/decorator/orm.cjs
CHANGED
|
@@ -114,7 +114,7 @@ require("../vendor/Package.11.cjs");
|
|
|
114
114
|
|
|
115
115
|
require("crypto");
|
|
116
116
|
|
|
117
|
-
require("../vendor/Package.
|
|
117
|
+
require("../vendor/Package.74.cjs");
|
|
118
118
|
|
|
119
119
|
require("../vendor/Package.13.cjs");
|
|
120
120
|
|
|
@@ -132,7 +132,7 @@ require("url");
|
|
|
132
132
|
|
|
133
133
|
require("util");
|
|
134
134
|
|
|
135
|
-
require("../vendor/Package.
|
|
135
|
+
require("../vendor/Package.73.cjs");
|
|
136
136
|
|
|
137
137
|
require("fs/promises");
|
|
138
138
|
|
package/decorator/orm.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../vendor/TypeDef.
|
|
2
|
-
import { C as ColumnOptions, j as SimpleColumnType, k as ColumnCommonOptions, l as SpatialColumnType, m as SpatialColumnOptions, W as WithLengthColumnType, n as WithWidthColumnType, o as WithPrecisionColumnType, P as PrimaryGeneratedColumnType, p as ColumnType, V as ValueTransformer, J as JoinColumnOptions, q as JoinTableOptions, r as JoinTableMultipleColumnsOptions, s as ObjectType, t as RelationOptions, S as SelectQueryBuilder, a as DataSource, u as OnDeleteType, v as TreeType, w as ClosureTreeOptions, x as DeferrableType } from '../vendor/TypeDef.
|
|
3
|
-
import { E as EntityOptions, I as IndexOptions } from '../vendor/TypeDef.
|
|
1
|
+
import '../vendor/TypeDef.2.js';
|
|
2
|
+
import { C as ColumnOptions, j as SimpleColumnType, k as ColumnCommonOptions, l as SpatialColumnType, m as SpatialColumnOptions, W as WithLengthColumnType, n as WithWidthColumnType, o as WithPrecisionColumnType, P as PrimaryGeneratedColumnType, p as ColumnType, V as ValueTransformer, J as JoinColumnOptions, q as JoinTableOptions, r as JoinTableMultipleColumnsOptions, s as ObjectType, t as RelationOptions, S as SelectQueryBuilder, a as DataSource, u as OnDeleteType, v as TreeType, w as ClosureTreeOptions, x as DeferrableType } from '../vendor/TypeDef.4.js';
|
|
3
|
+
import { E as EntityOptions, I as IndexOptions } from '../vendor/TypeDef.12.js';
|
|
4
4
|
import 'fs';
|
|
5
5
|
import 'tls';
|
|
6
6
|
import 'net';
|
package/decorator/orm.mjs
CHANGED
|
@@ -108,7 +108,7 @@ import "../vendor/Package.11.mjs";
|
|
|
108
108
|
|
|
109
109
|
import "crypto";
|
|
110
110
|
|
|
111
|
-
import "../vendor/Package.
|
|
111
|
+
import "../vendor/Package.74.mjs";
|
|
112
112
|
|
|
113
113
|
import "../vendor/Package.13.mjs";
|
|
114
114
|
|
|
@@ -126,6 +126,6 @@ import "url";
|
|
|
126
126
|
|
|
127
127
|
import "util";
|
|
128
128
|
|
|
129
|
-
import "../vendor/Package.
|
|
129
|
+
import "../vendor/Package.73.mjs";
|
|
130
130
|
|
|
131
131
|
import "fs/promises";
|
package/helper.cjs
CHANGED
|
@@ -46,21 +46,21 @@ const I = require("./src/lib/helpers/ObjectHash.cjs");
|
|
|
46
46
|
|
|
47
47
|
const P = require("./src/lib/helpers/ObjectParentConstructor.cjs");
|
|
48
48
|
|
|
49
|
-
const
|
|
49
|
+
const S = require("./src/lib/helpers/ObjectParentConstructors.cjs");
|
|
50
50
|
|
|
51
|
-
const
|
|
51
|
+
const g = require("./src/lib/helpers/ObjectPrototype.cjs");
|
|
52
52
|
|
|
53
|
-
const
|
|
53
|
+
const A = require("./src/lib/helpers/SetToArray.cjs");
|
|
54
54
|
|
|
55
|
-
const
|
|
55
|
+
const O = require("./src/lib/helpers/Templating.cjs");
|
|
56
56
|
|
|
57
|
-
const
|
|
57
|
+
const v = require("./src/lib/helpers/UniqueArray.cjs");
|
|
58
58
|
|
|
59
|
-
const
|
|
59
|
+
const m = require("./src/lib/helpers/ObjectToMap.cjs");
|
|
60
60
|
|
|
61
|
-
const
|
|
61
|
+
const d = require("./src/lib/helpers/IsPath.cjs");
|
|
62
62
|
|
|
63
|
-
const
|
|
63
|
+
const T = require("./src/lib/helpers/ConvertArrayLikeToIterable.cjs");
|
|
64
64
|
|
|
65
65
|
const M = require("./src/lib/helpers/ConvertArrayLikeToStream.cjs");
|
|
66
66
|
|
|
@@ -70,13 +70,13 @@ const C = require("./src/lib/helpers/MergeArray.cjs");
|
|
|
70
70
|
|
|
71
71
|
const E = require("./src/lib/helpers/MergeMap.cjs");
|
|
72
72
|
|
|
73
|
-
const
|
|
73
|
+
const D = require("./src/lib/helpers/SortArray.cjs");
|
|
74
74
|
|
|
75
|
-
const
|
|
75
|
+
const L = require("./src/lib/helpers/SortKeys.cjs");
|
|
76
76
|
|
|
77
|
-
const
|
|
77
|
+
const N = require("./src/lib/helpers/SortObject.cjs");
|
|
78
78
|
|
|
79
|
-
const
|
|
79
|
+
const G = require("./src/lib/helpers/RandomString.cjs");
|
|
80
80
|
|
|
81
81
|
const H = require("./src/lib/helpers/NonceStr.cjs");
|
|
82
82
|
|
|
@@ -86,6 +86,12 @@ const U = require("./src/lib/helpers/Glob.cjs");
|
|
|
86
86
|
|
|
87
87
|
const V = require("./src/lib/helpers/IPToolkit.cjs");
|
|
88
88
|
|
|
89
|
+
const K = require("./src/lib/helpers/MD5.cjs");
|
|
90
|
+
|
|
91
|
+
const w = require("./src/lib/helpers/SHA1.cjs");
|
|
92
|
+
|
|
93
|
+
const F = require("./src/lib/helpers/SHA256.cjs");
|
|
94
|
+
|
|
89
95
|
require("./vendor/Package.5.cjs");
|
|
90
96
|
|
|
91
97
|
require("fs");
|
|
@@ -130,7 +136,7 @@ require("crypto");
|
|
|
130
136
|
|
|
131
137
|
require("node:stream");
|
|
132
138
|
|
|
133
|
-
require("./vendor/Package.
|
|
139
|
+
require("./vendor/Package.73.cjs");
|
|
134
140
|
|
|
135
141
|
require("path");
|
|
136
142
|
|
|
@@ -142,6 +148,10 @@ require("stream");
|
|
|
142
148
|
|
|
143
149
|
require("string_decoder");
|
|
144
150
|
|
|
151
|
+
require("./vendor/Package.72.cjs");
|
|
152
|
+
|
|
153
|
+
require("node:crypto");
|
|
154
|
+
|
|
145
155
|
exports.ArrayToSet = e.ArrayToSet;
|
|
146
156
|
|
|
147
157
|
exports.As = r.As;
|
|
@@ -188,23 +198,23 @@ exports.ObjectHash = I.ObjectHash;
|
|
|
188
198
|
|
|
189
199
|
exports.ObjectParentConstructor = P.ObjectParentConstructor;
|
|
190
200
|
|
|
191
|
-
exports.ObjectParentConstructors =
|
|
201
|
+
exports.ObjectParentConstructors = S.ObjectParentConstructors;
|
|
192
202
|
|
|
193
|
-
exports.ObjectPrototype =
|
|
203
|
+
exports.ObjectPrototype = g.ObjectPrototype;
|
|
194
204
|
|
|
195
|
-
exports.SetToArray =
|
|
205
|
+
exports.SetToArray = A.SetToArray;
|
|
196
206
|
|
|
197
|
-
exports.MissingValueError =
|
|
207
|
+
exports.MissingValueError = O.MissingValueError;
|
|
198
208
|
|
|
199
|
-
exports.Templating =
|
|
209
|
+
exports.Templating = O.Templating;
|
|
200
210
|
|
|
201
|
-
exports.UniqueArray =
|
|
211
|
+
exports.UniqueArray = v.UniqueArray;
|
|
202
212
|
|
|
203
|
-
exports.ObjectToMap =
|
|
213
|
+
exports.ObjectToMap = m.ObjectToMap;
|
|
204
214
|
|
|
205
|
-
exports.IsPath =
|
|
215
|
+
exports.IsPath = d.IsPath;
|
|
206
216
|
|
|
207
|
-
exports.ConvertArrayLikeToIterable =
|
|
217
|
+
exports.ConvertArrayLikeToIterable = T.ConvertArrayLikeToIterable;
|
|
208
218
|
|
|
209
219
|
exports.ConvertArrayLikeToStream = M.ConvertArrayLikeToStream;
|
|
210
220
|
|
|
@@ -214,13 +224,13 @@ exports.MergeArray = C.MergeArray;
|
|
|
214
224
|
|
|
215
225
|
exports.MergeMap = E.MergeMap;
|
|
216
226
|
|
|
217
|
-
exports.SortArray =
|
|
227
|
+
exports.SortArray = D.SortArray;
|
|
218
228
|
|
|
219
|
-
exports.SortKeys =
|
|
229
|
+
exports.SortKeys = L.SortKeys;
|
|
220
230
|
|
|
221
|
-
exports.SortObject =
|
|
231
|
+
exports.SortObject = N.SortObject;
|
|
222
232
|
|
|
223
|
-
exports.RandomString =
|
|
233
|
+
exports.RandomString = G.RandomString;
|
|
224
234
|
|
|
225
235
|
exports.NonceStr = H.NonceStr;
|
|
226
236
|
|
|
@@ -233,3 +243,9 @@ exports.IP = V.IP;
|
|
|
233
243
|
exports.IPv4 = V.IPv4;
|
|
234
244
|
|
|
235
245
|
exports.IPv6 = V.IPv6;
|
|
246
|
+
|
|
247
|
+
exports.MD5 = K.MD5;
|
|
248
|
+
|
|
249
|
+
exports.SHA1 = w.SHA1;
|
|
250
|
+
|
|
251
|
+
exports.SHA256 = F.SHA256;
|
package/helper.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import './vendor/TypeDef.
|
|
2
|
+
import './vendor/TypeDef.2.js';
|
|
3
3
|
import { PathLike, Dirent, Stats } from 'fs';
|
|
4
|
-
import { I as IConstructor } from './vendor/TypeDef.
|
|
4
|
+
import { I as IConstructor } from './vendor/TypeDef.10.js';
|
|
5
5
|
import { PathLike as PathLike$1 } from 'node:fs';
|
|
6
6
|
import { ReadableOptions, Readable } from 'node:stream';
|
|
7
7
|
import { win32, posix } from 'path';
|
|
@@ -3807,4 +3807,25 @@ declare class IPv6 {
|
|
|
3807
3807
|
static parseCIDR(cidr: string): IPv6SubNet | false;
|
|
3808
3808
|
}
|
|
3809
3809
|
|
|
3810
|
-
|
|
3810
|
+
/**
|
|
3811
|
+
* MD5 Hash
|
|
3812
|
+
* @param message
|
|
3813
|
+
* @constructor
|
|
3814
|
+
*/
|
|
3815
|
+
declare function MD5(message: string): Buffer;
|
|
3816
|
+
|
|
3817
|
+
/**
|
|
3818
|
+
* SHA1 Hash
|
|
3819
|
+
* @param message
|
|
3820
|
+
* @constructor
|
|
3821
|
+
*/
|
|
3822
|
+
declare function SHA1(message: string): Buffer;
|
|
3823
|
+
|
|
3824
|
+
/**
|
|
3825
|
+
* SHA256 Hash
|
|
3826
|
+
* @param message
|
|
3827
|
+
* @constructor
|
|
3828
|
+
*/
|
|
3829
|
+
declare function SHA256(message: string): Buffer;
|
|
3830
|
+
|
|
3831
|
+
export { ArrayToSet, As, ConvertArrayLikeToIterable, ConvertArrayLikeToStream, Delay, DevNull, GetObjectNestingDepth, GetObjectPropertyPaths, Glob, GraceExit, IP, type IPBinHex, IPv4, type IPv4SubNet, IPv6, type IPv6Result, type IPv6SubNet, IsAbortError, IsEmptyObject, IsExists, IsGlobString, IsHtml, IsNativeFunction, IsPath, IsPromise, IsPromiseLike, IsSymbol, IsXML, MD5, MergeArray, MergeMap, MergeSet, MissingValueError, NoCase, type NoCaseOptions, NonceStr, ObjectConstructor, ObjectHash, type ObjectHashOptions, ObjectParentConstructor, ObjectParentConstructors, ObjectPrototype, ObjectToMap, RandomString, SHA1, SHA256, SetToArray, SortArray, SortKeys, type SortKeysOptions, SortObject, type SortObjectOptions, type SortOptions, Split, type SplitOptions, Templating, type TemplatingOptions, ToLower, ToUpper, UniqueArray };
|
package/helper.mjs
CHANGED
|
@@ -80,6 +80,12 @@ export { Glob } from "./src/lib/helpers/Glob.mjs";
|
|
|
80
80
|
|
|
81
81
|
export { IP, IPv4, IPv6 } from "./src/lib/helpers/IPToolkit.mjs";
|
|
82
82
|
|
|
83
|
+
export { MD5 } from "./src/lib/helpers/MD5.mjs";
|
|
84
|
+
|
|
85
|
+
export { SHA1 } from "./src/lib/helpers/SHA1.mjs";
|
|
86
|
+
|
|
87
|
+
export { SHA256 } from "./src/lib/helpers/SHA256.mjs";
|
|
88
|
+
|
|
83
89
|
import "./vendor/Package.5.mjs";
|
|
84
90
|
|
|
85
91
|
import "fs";
|
|
@@ -124,7 +130,7 @@ import "crypto";
|
|
|
124
130
|
|
|
125
131
|
import "node:stream";
|
|
126
132
|
|
|
127
|
-
import "./vendor/Package.
|
|
133
|
+
import "./vendor/Package.73.mjs";
|
|
128
134
|
|
|
129
135
|
import "path";
|
|
130
136
|
|
|
@@ -135,3 +141,7 @@ import "events";
|
|
|
135
141
|
import "stream";
|
|
136
142
|
|
|
137
143
|
import "string_decoder";
|
|
144
|
+
|
|
145
|
+
import "./vendor/Package.72.mjs";
|
|
146
|
+
|
|
147
|
+
import "node:crypto";
|
package/lakutata.cjs
CHANGED
|
@@ -42,11 +42,11 @@ const x = require("./src/exceptions/alias/AliasNotFoundException.cjs");
|
|
|
42
42
|
|
|
43
43
|
const O = require("./src/exceptions/alias/InvalidAliasNameException.cjs");
|
|
44
44
|
|
|
45
|
-
const
|
|
45
|
+
const y = require("./src/exceptions/di/DependencyInjectionException.cjs");
|
|
46
46
|
|
|
47
|
-
const
|
|
47
|
+
const m = require("./src/exceptions/di/LifetimeLockedException.cjs");
|
|
48
48
|
|
|
49
|
-
const
|
|
49
|
+
const E = require("./src/exceptions/di/OverridableObjectTargetConfigNotFoundException.cjs");
|
|
50
50
|
|
|
51
51
|
const v = require("./src/exceptions/dto/InvalidMethodAcceptException.cjs");
|
|
52
52
|
|
|
@@ -54,17 +54,15 @@ const P = require("./src/exceptions/dto/InvalidMethodReturnException.cjs");
|
|
|
54
54
|
|
|
55
55
|
const g = require("./src/exceptions/dto/InvalidValueException.cjs");
|
|
56
56
|
|
|
57
|
-
const h = require("./src/exceptions/
|
|
58
|
-
|
|
59
|
-
const A = require("./src/exceptions/DestroyRuntimeContainerException.cjs");
|
|
57
|
+
const h = require("./src/exceptions/DestroyRuntimeContainerException.cjs");
|
|
60
58
|
|
|
61
59
|
const I = require("./src/exceptions/InvalidActionPatternDepthException.cjs");
|
|
62
60
|
|
|
63
|
-
const
|
|
61
|
+
const A = require("./src/exceptions/InvalidAssistantFunctionTypeException.cjs");
|
|
64
62
|
|
|
65
|
-
const
|
|
63
|
+
const C = require("./src/exceptions/InvalidObjectTypeException.cjs");
|
|
66
64
|
|
|
67
|
-
const
|
|
65
|
+
const f = require("./src/exceptions/MethodNotFoundException.cjs");
|
|
68
66
|
|
|
69
67
|
require("./src/types/ActionPattern.cjs");
|
|
70
68
|
|
|
@@ -250,6 +248,8 @@ require("node:http");
|
|
|
250
248
|
|
|
251
249
|
require("./src/lib/context/ServiceContext.cjs");
|
|
252
250
|
|
|
251
|
+
require("./src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs");
|
|
252
|
+
|
|
253
253
|
require("./src/lib/helpers/GetObjectPropertyPaths.cjs");
|
|
254
254
|
|
|
255
255
|
require("./src/lib/helpers/UniqueArray.cjs");
|
|
@@ -349,11 +349,11 @@ exports.AliasNotFoundException = x.AliasNotFoundException;
|
|
|
349
349
|
|
|
350
350
|
exports.InvalidAliasNameException = O.InvalidAliasNameException;
|
|
351
351
|
|
|
352
|
-
exports.DependencyInjectionException =
|
|
352
|
+
exports.DependencyInjectionException = y.DependencyInjectionException;
|
|
353
353
|
|
|
354
|
-
exports.LifetimeLockedException =
|
|
354
|
+
exports.LifetimeLockedException = m.LifetimeLockedException;
|
|
355
355
|
|
|
356
|
-
exports.OverridableObjectTargetConfigNotFoundException =
|
|
356
|
+
exports.OverridableObjectTargetConfigNotFoundException = E.OverridableObjectTargetConfigNotFoundException;
|
|
357
357
|
|
|
358
358
|
exports.InvalidMethodAcceptException = v.InvalidMethodAcceptException;
|
|
359
359
|
|
|
@@ -361,14 +361,12 @@ exports.InvalidMethodReturnException = P.InvalidMethodReturnException;
|
|
|
361
361
|
|
|
362
362
|
exports.InvalidValueException = g.InvalidValueException;
|
|
363
363
|
|
|
364
|
-
exports.
|
|
365
|
-
|
|
366
|
-
exports.DestroyRuntimeContainerException = A.DestroyRuntimeContainerException;
|
|
364
|
+
exports.DestroyRuntimeContainerException = h.DestroyRuntimeContainerException;
|
|
367
365
|
|
|
368
366
|
exports.InvalidActionPatternDepthException = I.InvalidActionPatternDepthException;
|
|
369
367
|
|
|
370
|
-
exports.InvalidAssistantFunctionTypeException =
|
|
368
|
+
exports.InvalidAssistantFunctionTypeException = A.InvalidAssistantFunctionTypeException;
|
|
371
369
|
|
|
372
|
-
exports.InvalidObjectTypeException =
|
|
370
|
+
exports.InvalidObjectTypeException = C.InvalidObjectTypeException;
|
|
373
371
|
|
|
374
|
-
exports.MethodNotFoundException =
|
|
372
|
+
exports.MethodNotFoundException = f.MethodNotFoundException;
|