lakutata 2.0.52 → 2.0.53
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/cacher.d.ts +3 -10
- package/com/docker.cjs +23 -23
- package/com/docker.d.ts +14 -13
- package/com/docker.mjs +1 -1
- package/com/entrypoint.d.ts +5 -5
- package/com/monitor.cjs +6 -4
- package/com/monitor.d.ts +5 -1
- package/com/monitor.mjs +1 -1
- package/decorator/asst.d.ts +1 -1
- package/decorator/ctrl.d.ts +3 -3
- package/decorator/di.d.ts +2 -2
- package/decorator/dto.d.ts +3 -3
- package/decorator/orm.d.ts +1 -1
- package/helper.d.ts +1 -1
- package/lakutata.cjs +20 -12
- package/lakutata.d.ts +33 -11
- package/lakutata.mjs +8 -0
- package/orm.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/docker/ConnectionOptionsBuilder.cjs +5 -5
- package/src/components/docker/ConnectionOptionsBuilder.mjs +1 -1
- package/src/components/monitor/AliveMonitor.cjs +7 -0
- package/src/components/monitor/AliveMonitor.mjs +6 -1
- package/src/types/ComponentOptions.cjs +1 -0
- package/src/types/ComponentOptions.mjs +1 -0
- package/src/types/ModuleOptions.cjs +1 -0
- package/src/types/ModuleOptions.mjs +1 -0
- package/src/types/ObjectOptions.cjs +1 -0
- package/src/types/ObjectOptions.mjs +1 -0
- package/src/types/ProviderOptions.cjs +1 -0
- package/src/types/ProviderOptions.mjs +1 -0
- package/vendor/Package.19.cjs +1 -1
- package/vendor/Package.19.mjs +1 -1
- package/vendor/TypeDef.10.d.ts +2 -5
- package/vendor/TypeDef.11.d.ts +5 -6
- package/vendor/TypeDef.12.d.ts +4 -104
- package/vendor/TypeDef.13.d.ts +96 -61
- package/vendor/TypeDef.14.d.ts +72 -0
- package/vendor/TypeDef.6.d.ts +8 -10
- package/vendor/TypeDef.7.d.ts +10 -19
- package/vendor/TypeDef.8.d.ts +20 -2
- package/vendor/TypeDef.9.d.ts +2 -2
package/com/cacher.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import '../vendor/TypeDef.2.js';
|
|
|
2
2
|
import EventEmitter from 'node:events';
|
|
3
3
|
import { D as DTO } from '../vendor/TypeDef.5.js';
|
|
4
4
|
import { C as Component } from '../vendor/TypeDef.3.js';
|
|
5
|
-
import {
|
|
5
|
+
import { C as ComponentOptionsBuilder } from '../vendor/TypeDef.6.js';
|
|
6
|
+
import { E as Exception } from '../vendor/TypeDef.8.js';
|
|
6
7
|
|
|
7
8
|
type EventListener = (...arguments_: any[]) => void;
|
|
8
9
|
declare class EventManager {
|
|
@@ -469,15 +470,7 @@ interface CacherOptions {
|
|
|
469
470
|
cacheId?: string;
|
|
470
471
|
}
|
|
471
472
|
|
|
472
|
-
declare const BuildCacherOptions:
|
|
473
|
-
class: typeof Cacher;
|
|
474
|
-
stores?: CacheStoreOptions[] | CacheStoreOptions;
|
|
475
|
-
ttl?: number;
|
|
476
|
-
refreshThreshold?: number;
|
|
477
|
-
refreshAllStores?: boolean;
|
|
478
|
-
nonBlocking?: boolean;
|
|
479
|
-
cacheId?: string;
|
|
480
|
-
};
|
|
473
|
+
declare const BuildCacherOptions: ComponentOptionsBuilder<CacherOptions>;
|
|
481
474
|
type MultipleSetInput = {
|
|
482
475
|
key: string;
|
|
483
476
|
value: any;
|
package/com/docker.cjs
CHANGED
|
@@ -12,9 +12,9 @@ const r = require("../src/components/docker/ConnectionOptionsBuilder.cjs");
|
|
|
12
12
|
|
|
13
13
|
const o = require("../src/components/docker/lib/DockerContainer.cjs");
|
|
14
14
|
|
|
15
|
-
const
|
|
15
|
+
const s = require("../vendor/Package.19.cjs");
|
|
16
16
|
|
|
17
|
-
const
|
|
17
|
+
const c = require("../src/components/docker/lib/DockerImage.cjs");
|
|
18
18
|
|
|
19
19
|
const n = require("../src/components/docker/lib/ParseEnvToRecord.cjs");
|
|
20
20
|
|
|
@@ -78,11 +78,11 @@ const k = require("../src/components/docker/options/container/ContainerRemoveOpt
|
|
|
78
78
|
|
|
79
79
|
const g = require("../src/components/docker/options/container/ContainerSettingOptions.cjs");
|
|
80
80
|
|
|
81
|
-
const
|
|
81
|
+
const b = require("../src/components/docker/options/container/ContainerStopOptions.cjs");
|
|
82
82
|
|
|
83
|
-
const
|
|
83
|
+
const x = require("../src/components/docker/options/container/ContainerTTYConsoleSizeOptions.cjs");
|
|
84
84
|
|
|
85
|
-
const
|
|
85
|
+
const C = require("../src/components/docker/options/image/ImageBuildOptions.cjs");
|
|
86
86
|
|
|
87
87
|
const O = require("../src/components/docker/options/image/ImageExportOptions.cjs");
|
|
88
88
|
|
|
@@ -96,13 +96,13 @@ const E = require("../src/components/docker/options/image/ImageRemoveOptions.cjs
|
|
|
96
96
|
|
|
97
97
|
const y = require("../src/components/docker/options/image/ImageTagOptions.cjs");
|
|
98
98
|
|
|
99
|
-
const
|
|
99
|
+
const v = require("../src/components/docker/options/network/NetworkCreateOptions.cjs");
|
|
100
100
|
|
|
101
|
-
const
|
|
101
|
+
const h = require("../src/components/docker/exceptions/DockerConnectionException.cjs");
|
|
102
102
|
|
|
103
|
-
const
|
|
103
|
+
const T = require("../src/components/docker/exceptions/DockerImageBuildException.cjs");
|
|
104
104
|
|
|
105
|
-
const
|
|
105
|
+
const f = require("../src/components/docker/exceptions/DockerImageImportException.cjs");
|
|
106
106
|
|
|
107
107
|
const S = require("../src/components/docker/exceptions/DockerImageNotFoundException.cjs");
|
|
108
108
|
|
|
@@ -339,15 +339,15 @@ Object.defineProperty(exports, "Docker", {
|
|
|
339
339
|
get: () => e.Docker
|
|
340
340
|
});
|
|
341
341
|
|
|
342
|
-
exports.
|
|
342
|
+
exports.BuildDockerConnectionOptions = r.BuildDockerConnectionOptions;
|
|
343
343
|
|
|
344
|
-
exports.
|
|
344
|
+
exports.BuildDockerHttpConnectionOptions = r.BuildDockerHttpConnectionOptions;
|
|
345
345
|
|
|
346
|
-
exports.
|
|
346
|
+
exports.BuildDockerHttpsConnectionOptions = r.BuildDockerHttpsConnectionOptions;
|
|
347
347
|
|
|
348
|
-
exports.
|
|
348
|
+
exports.BuildDockerSSHConnectionOptions = r.BuildDockerSSHConnectionOptions;
|
|
349
349
|
|
|
350
|
-
exports.
|
|
350
|
+
exports.BuildDockerSocketConnectionOptions = r.BuildDockerSocketConnectionOptions;
|
|
351
351
|
|
|
352
352
|
Object.defineProperty(exports, "DockerContainer", {
|
|
353
353
|
enumerable: true,
|
|
@@ -356,12 +356,12 @@ Object.defineProperty(exports, "DockerContainer", {
|
|
|
356
356
|
|
|
357
357
|
Object.defineProperty(exports, "DockerContainerTTY", {
|
|
358
358
|
enumerable: true,
|
|
359
|
-
get: () =>
|
|
359
|
+
get: () => s.DockerContainerTTY
|
|
360
360
|
});
|
|
361
361
|
|
|
362
362
|
Object.defineProperty(exports, "DockerImage", {
|
|
363
363
|
enumerable: true,
|
|
364
|
-
get: () =>
|
|
364
|
+
get: () => c.DockerImage
|
|
365
365
|
});
|
|
366
366
|
|
|
367
367
|
exports.ParseEnvToRecord = n.ParseEnvToRecord;
|
|
@@ -393,11 +393,11 @@ exports.ContainerRemoveOptions = k.ContainerRemoveOptions;
|
|
|
393
393
|
|
|
394
394
|
exports.ContainerSettingOptions = g.ContainerSettingOptions;
|
|
395
395
|
|
|
396
|
-
exports.ContainerStopOptions =
|
|
396
|
+
exports.ContainerStopOptions = b.ContainerStopOptions;
|
|
397
397
|
|
|
398
|
-
exports.ContainerTTYConsoleSizeOptions =
|
|
398
|
+
exports.ContainerTTYConsoleSizeOptions = x.ContainerTTYConsoleSizeOptions;
|
|
399
399
|
|
|
400
|
-
exports.ImageBuildOptions =
|
|
400
|
+
exports.ImageBuildOptions = C.ImageBuildOptions;
|
|
401
401
|
|
|
402
402
|
exports.ImageExportOptions = O.ImageExportOptions;
|
|
403
403
|
|
|
@@ -411,13 +411,13 @@ exports.ImageRemoveOptions = E.ImageRemoveOptions;
|
|
|
411
411
|
|
|
412
412
|
exports.ImageTagOptions = y.ImageTagOptions;
|
|
413
413
|
|
|
414
|
-
exports.NetworkCreateOptions =
|
|
414
|
+
exports.NetworkCreateOptions = v.NetworkCreateOptions;
|
|
415
415
|
|
|
416
|
-
exports.DockerConnectionException =
|
|
416
|
+
exports.DockerConnectionException = h.DockerConnectionException;
|
|
417
417
|
|
|
418
|
-
exports.DockerImageBuildException =
|
|
418
|
+
exports.DockerImageBuildException = T.DockerImageBuildException;
|
|
419
419
|
|
|
420
|
-
exports.DockerImageImportException =
|
|
420
|
+
exports.DockerImageImportException = f.DockerImageImportException;
|
|
421
421
|
|
|
422
422
|
exports.DockerImageNotFoundException = S.DockerImageNotFoundException;
|
|
423
423
|
|
package/com/docker.d.ts
CHANGED
|
@@ -10,7 +10,8 @@ import { T as Time } from '../vendor/TypeDef.1.js';
|
|
|
10
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 {
|
|
13
|
+
import { C as ComponentOptionsBuilder } from '../vendor/TypeDef.6.js';
|
|
14
|
+
import { E as Exception } from '../vendor/TypeDef.8.js';
|
|
14
15
|
|
|
15
16
|
interface Prompt {
|
|
16
17
|
prompt: string;
|
|
@@ -3958,12 +3959,6 @@ interface IDockerConnectionOptions {
|
|
|
3958
3959
|
sshAuthAgent?: string | undefined;
|
|
3959
3960
|
}
|
|
3960
3961
|
|
|
3961
|
-
/**
|
|
3962
|
-
* Docker socket connection options
|
|
3963
|
-
*/
|
|
3964
|
-
interface IDockerSocketConnectionOptions extends Omit<IDockerConnectionOptions, 'sshAuthAgent' | 'key' | 'protocol' | 'cert' | 'headers' | 'username' | 'port' | 'host'> {
|
|
3965
|
-
}
|
|
3966
|
-
|
|
3967
3962
|
/**
|
|
3968
3963
|
* Docker http connection options
|
|
3969
3964
|
*/
|
|
@@ -3993,31 +3988,31 @@ interface IDockerSSHConnectionOptions extends Omit<IDockerConnectionOptions, 'so
|
|
|
3993
3988
|
* @param options
|
|
3994
3989
|
* @constructor
|
|
3995
3990
|
*/
|
|
3996
|
-
declare const
|
|
3991
|
+
declare const BuildDockerConnectionOptions: ComponentOptionsBuilder<IDockerConnectionOptions>;
|
|
3997
3992
|
/**
|
|
3998
3993
|
* Build docker socket config
|
|
3999
3994
|
* @param options
|
|
4000
3995
|
* @constructor
|
|
4001
3996
|
*/
|
|
4002
|
-
declare const
|
|
3997
|
+
declare const BuildDockerSocketConnectionOptions: ComponentOptionsBuilder<IDockerConnectionOptions>;
|
|
4003
3998
|
/**
|
|
4004
3999
|
* Build docker http config
|
|
4005
4000
|
* @param options
|
|
4006
4001
|
* @constructor
|
|
4007
4002
|
*/
|
|
4008
|
-
declare const
|
|
4003
|
+
declare const BuildDockerHttpConnectionOptions: ComponentOptionsBuilder<IDockerHttpConnectionOptions>;
|
|
4009
4004
|
/**
|
|
4010
4005
|
* Build docker https config
|
|
4011
4006
|
* @param options
|
|
4012
4007
|
* @constructor
|
|
4013
4008
|
*/
|
|
4014
|
-
declare const
|
|
4009
|
+
declare const BuildDockerHttpsConnectionOptions: ComponentOptionsBuilder<IDockerHttpsConnectionOptions>;
|
|
4015
4010
|
/**
|
|
4016
4011
|
* Build docker ssh config
|
|
4017
4012
|
* @param options
|
|
4018
4013
|
* @constructor
|
|
4019
4014
|
*/
|
|
4020
|
-
declare const
|
|
4015
|
+
declare const BuildDockerSSHConnectionOptions: ComponentOptionsBuilder<IDockerSSHConnectionOptions>;
|
|
4021
4016
|
|
|
4022
4017
|
/**
|
|
4023
4018
|
* Parse raw ENV filed to record
|
|
@@ -4036,6 +4031,12 @@ declare function ParseRepositoryTag(input: string): {
|
|
|
4036
4031
|
tag?: string;
|
|
4037
4032
|
};
|
|
4038
4033
|
|
|
4034
|
+
/**
|
|
4035
|
+
* Docker socket connection options
|
|
4036
|
+
*/
|
|
4037
|
+
interface IDockerSocketConnectionOptions extends Omit<IDockerConnectionOptions, 'sshAuthAgent' | 'key' | 'protocol' | 'cert' | 'headers' | 'username' | 'port' | 'host'> {
|
|
4038
|
+
}
|
|
4039
|
+
|
|
4039
4040
|
type ContainerConfig = {
|
|
4040
4041
|
/**
|
|
4041
4042
|
* Memory limit in bytes
|
|
@@ -4116,5 +4117,5 @@ declare class DockerNetworkNotFoundException extends Exception {
|
|
|
4116
4117
|
errno: string | number;
|
|
4117
4118
|
}
|
|
4118
4119
|
|
|
4119
|
-
export {
|
|
4120
|
+
export { BuildDockerConnectionOptions, BuildDockerHttpConnectionOptions, BuildDockerHttpsConnectionOptions, BuildDockerSSHConnectionOptions, BuildDockerSocketConnectionOptions, ContainerCapability, ContainerCommitOptions, ContainerCreateTTYOptions, ContainerExecOptions, ContainerExportDirectoryOptions, ContainerKillOptions, ContainerLogsOptions, ContainerRemoveOptions, ContainerSettingOptions, ContainerStopOptions, ContainerTTYConsoleSizeOptions, Docker, DockerAuthOptions, DockerConnectionException, DockerContainer, DockerContainerTTY, DockerImage, DockerImageBuildException, DockerImageImportException, DockerImageNotFoundException, DockerImagePullException, DockerImagePushException, DockerImageRepoTagNotFoundException, DockerNetworkNotFoundException, DockerPruneOptions, ImageBuildOptions, ImageExportOptions, ImageImportOptions, ImagePullOptions, ImagePushOptions, ImageRemoveOptions, ImageTagOptions, NetworkCreateOptions, ParseEnvToRecord, ParseRepositoryTag };
|
|
4120
4121
|
export type { ContainerBind, ContainerBlkioStatEntry, ContainerBlkioStats, ContainerCPUStats, ContainerCPUUsage, ContainerConfig, ContainerDevice, ContainerMemoryStats, ContainerNetwork, ContainerNetworkStats, ContainerPidsStats, ContainerPort, ContainerRestartPolicy, ContainerState, ContainerStats, ContainerStorageStats, ContainerThrottlingData, DockerOutputCallback, IDockerConnectionOptions, IDockerHttpConnectionOptions, IDockerHttpsConnectionOptions, IDockerKeyObject, IDockerSSHConnectionOptions, IDockerSocketConnectionOptions, ImageConfig, ImageExposePort, NetworkIPAMConfig, NetworkInfo };
|
package/com/docker.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import "../vendor/Package.4.mjs";
|
|
|
2
2
|
|
|
3
3
|
export { Docker } from "../src/components/docker/Docker.mjs";
|
|
4
4
|
|
|
5
|
-
export {
|
|
5
|
+
export { BuildDockerConnectionOptions, BuildDockerHttpConnectionOptions, BuildDockerHttpsConnectionOptions, BuildDockerSSHConnectionOptions, BuildDockerSocketConnectionOptions } from "../src/components/docker/ConnectionOptionsBuilder.mjs";
|
|
6
6
|
|
|
7
7
|
export { DockerContainer } from "../src/components/docker/lib/DockerContainer.mjs";
|
|
8
8
|
|
package/com/entrypoint.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import '../vendor/TypeDef.2.js';
|
|
2
2
|
import { I as IBaseObjectConstructor, M as Module, C as Component } from '../vendor/TypeDef.3.js';
|
|
3
|
-
import { C as Controller, a as CLIContext, H as HTTPContext, S as ServiceContext } from '../vendor/TypeDef.
|
|
4
|
-
export { B as BaseContext, b as ContextType, c as ControllerProperty } from '../vendor/TypeDef.
|
|
5
|
-
import { A as ActionPattern } from '../vendor/TypeDef.
|
|
3
|
+
import { C as Controller, a as CLIContext, H as HTTPContext, S as ServiceContext } from '../vendor/TypeDef.14.js';
|
|
4
|
+
export { B as BaseContext, b as ContextType, c as ControllerProperty } from '../vendor/TypeDef.14.js';
|
|
5
|
+
import { A as ActionPattern } from '../vendor/TypeDef.9.js';
|
|
6
6
|
import { D as DTO, J as JSONSchema } from '../vendor/TypeDef.5.js';
|
|
7
|
-
import { I as IPatRun } from '../vendor/TypeDef.
|
|
8
|
-
import { E as Exception } from '../vendor/TypeDef.
|
|
7
|
+
import { I as IPatRun } from '../vendor/TypeDef.7.js';
|
|
8
|
+
import { E as Exception } from '../vendor/TypeDef.8.js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
|
|
11
11
|
type ActionPatternMap = Map<ActionPattern, ActionDetails>;
|
package/com/monitor.cjs
CHANGED
|
@@ -8,9 +8,9 @@ const e = require("../src/components/monitor/AliveMonitor.cjs");
|
|
|
8
8
|
|
|
9
9
|
const r = require("../src/components/monitor/CpuMonitor.cjs");
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const i = require("../src/components/monitor/EventLoopMonitor.cjs");
|
|
12
12
|
|
|
13
|
-
const
|
|
13
|
+
const s = require("../src/components/monitor/HttpRequestMonitor.cjs");
|
|
14
14
|
|
|
15
15
|
const c = require("../src/components/monitor/MemoryMonitor.cjs");
|
|
16
16
|
|
|
@@ -186,10 +186,12 @@ require("node:os");
|
|
|
186
186
|
|
|
187
187
|
exports.AliveMonitor = e.AliveMonitor;
|
|
188
188
|
|
|
189
|
+
exports.buildAliveMonitorOptions = e.buildAliveMonitorOptions;
|
|
190
|
+
|
|
189
191
|
exports.CpuMonitor = r.CpuMonitor;
|
|
190
192
|
|
|
191
|
-
exports.EventLoopMonitor =
|
|
193
|
+
exports.EventLoopMonitor = i.EventLoopMonitor;
|
|
192
194
|
|
|
193
|
-
exports.HttpRequestMonitor =
|
|
195
|
+
exports.HttpRequestMonitor = s.HttpRequestMonitor;
|
|
194
196
|
|
|
195
197
|
exports.MemoryMonitor = c.MemoryMonitor;
|
package/com/monitor.d.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { C as Component } from '../vendor/TypeDef.3.js';
|
|
2
|
+
import { C as ComponentOptionsBuilder } from '../vendor/TypeDef.6.js';
|
|
2
3
|
import { IntervalHistogram, EventLoopUtilization, PerformanceObserver } from 'node:perf_hooks';
|
|
3
4
|
import '../vendor/TypeDef.5.js';
|
|
4
5
|
import '../vendor/TypeDef.2.js';
|
|
5
6
|
|
|
7
|
+
declare const buildAliveMonitorOptions: ComponentOptionsBuilder<{
|
|
8
|
+
port: number;
|
|
9
|
+
}>;
|
|
6
10
|
declare class AliveMonitor extends Component {
|
|
7
11
|
#private;
|
|
8
12
|
protected readonly port: number;
|
|
@@ -326,5 +330,5 @@ declare class MemoryMonitor extends Component implements IMonitor<IMemoryMonitor
|
|
|
326
330
|
reset(): void;
|
|
327
331
|
}
|
|
328
332
|
|
|
329
|
-
export { AliveMonitor, CpuMonitor, EventLoopMonitor, HttpRequestMonitor, MemoryMonitor };
|
|
333
|
+
export { AliveMonitor, CpuMonitor, EventLoopMonitor, HttpRequestMonitor, MemoryMonitor, buildAliveMonitorOptions };
|
|
330
334
|
export type { ICpuMonitorStatistics, IEventLoopMonitorStatistics, IHttpRequestMonitorStatistics, IMemoryMonitorStatistics, IMonitor };
|
package/com/monitor.mjs
CHANGED
package/decorator/asst.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../vendor/TypeDef.2.js';
|
|
2
|
-
import { M as MethodDecorator } from '../vendor/TypeDef.
|
|
2
|
+
import { M as MethodDecorator } from '../vendor/TypeDef.10.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,8 +1,8 @@
|
|
|
1
1
|
import '../vendor/TypeDef.2.js';
|
|
2
|
-
import { C as Controller, c as ControllerProperty } from '../vendor/TypeDef.
|
|
3
|
-
import { M as MethodDecorator } from '../vendor/TypeDef.
|
|
2
|
+
import { C as Controller, c as ControllerProperty } from '../vendor/TypeDef.14.js';
|
|
3
|
+
import { M as MethodDecorator } from '../vendor/TypeDef.10.js';
|
|
4
4
|
import { D as DTO } from '../vendor/TypeDef.5.js';
|
|
5
|
-
import { A as ActionPattern } from '../vendor/TypeDef.
|
|
5
|
+
import { A as ActionPattern } from '../vendor/TypeDef.9.js';
|
|
6
6
|
import '../vendor/TypeDef.3.js';
|
|
7
7
|
import 'node:http';
|
|
8
8
|
|
package/decorator/di.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../vendor/TypeDef.2.js';
|
|
2
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.
|
|
3
|
+
import { C as ClassDecorator, P as PropertyDecorator } from '../vendor/TypeDef.12.js';
|
|
4
4
|
import { S as Schema } from '../vendor/TypeDef.5.js';
|
|
5
|
-
import '../vendor/TypeDef.
|
|
5
|
+
import '../vendor/TypeDef.11.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Class Decorator
|
package/decorator/dto.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../vendor/TypeDef.2.js';
|
|
2
2
|
import { D as DTO, S as Schema } from '../vendor/TypeDef.5.js';
|
|
3
|
-
import { C as ClassDecorator, P as PropertyDecorator } from '../vendor/TypeDef.
|
|
4
|
-
import { M as MethodDecorator } from '../vendor/TypeDef.
|
|
5
|
-
import '../vendor/TypeDef.
|
|
3
|
+
import { C as ClassDecorator, P as PropertyDecorator } from '../vendor/TypeDef.12.js';
|
|
4
|
+
import { M as MethodDecorator } from '../vendor/TypeDef.10.js';
|
|
5
|
+
import '../vendor/TypeDef.11.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Class Decorator
|
package/decorator/orm.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../vendor/TypeDef.2.js';
|
|
2
2
|
import { C as ColumnOptions, l as SimpleColumnType, m as ColumnCommonOptions, n as SpatialColumnType, o as SpatialColumnOptions, W as WithLengthColumnType, p as WithWidthColumnType, q as WithPrecisionColumnType, P as PrimaryGeneratedColumnType, r as ColumnType, V as ValueTransformer, J as JoinColumnOptions, s as JoinTableOptions, t as JoinTableMultipleColumnsOptions, u as ObjectType, v as RelationOptions, S as SelectQueryBuilder, a as DataSource, w as OnDeleteType, x as TreeType, y as ClosureTreeOptions, z as DeferrableType } from '../vendor/TypeDef.4.js';
|
|
3
|
-
import { E as EntityOptions, I as IndexOptions } from '../vendor/TypeDef.
|
|
3
|
+
import { E as EntityOptions, I as IndexOptions } from '../vendor/TypeDef.13.js';
|
|
4
4
|
import 'fs';
|
|
5
5
|
import 'tls';
|
|
6
6
|
import 'net';
|
package/helper.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import './vendor/TypeDef.2.js';
|
|
3
3
|
import { PathLike } from 'fs';
|
|
4
|
-
import { I as IConstructor } from './vendor/TypeDef.
|
|
4
|
+
import { I as IConstructor } from './vendor/TypeDef.11.js';
|
|
5
5
|
import { PathLike as PathLike$1, Dirent, Stats } from 'node:fs';
|
|
6
6
|
import { ReadableOptions, Readable } from 'node:stream';
|
|
7
7
|
import { win32, posix } from 'node:path';
|
package/lakutata.cjs
CHANGED
|
@@ -10,11 +10,11 @@ const e = require("./src/lib/base/abstracts/Exception.cjs");
|
|
|
10
10
|
|
|
11
11
|
const r = require("./vendor/Package.2.cjs");
|
|
12
12
|
|
|
13
|
-
const
|
|
13
|
+
const s = require("./src/lib/core/Time.cjs");
|
|
14
14
|
|
|
15
|
-
const
|
|
15
|
+
const t = require("./vendor/Package.3.cjs");
|
|
16
16
|
|
|
17
|
-
const
|
|
17
|
+
const i = require("./src/lib/core/Provider.cjs");
|
|
18
18
|
|
|
19
19
|
const c = require("./src/lib/core/Component.cjs");
|
|
20
20
|
|
|
@@ -24,9 +24,9 @@ const n = require("./src/lib/core/Application.cjs");
|
|
|
24
24
|
|
|
25
25
|
const a = require("./src/options/ApplicationOptions.cjs");
|
|
26
26
|
|
|
27
|
-
const
|
|
27
|
+
const p = require("./src/options/LoadAnonymousObjectOptions.cjs");
|
|
28
28
|
|
|
29
|
-
const
|
|
29
|
+
const u = require("./src/options/LoadNamedObjectOptions.cjs");
|
|
30
30
|
|
|
31
31
|
const l = require("./src/options/ModuleLoadObjectsOptions.cjs");
|
|
32
32
|
|
|
@@ -76,6 +76,14 @@ require("./src/types/ParameterDecorator.cjs");
|
|
|
76
76
|
|
|
77
77
|
require("./src/types/PropertyDecorator.cjs");
|
|
78
78
|
|
|
79
|
+
require("./src/types/ObjectOptions.cjs");
|
|
80
|
+
|
|
81
|
+
require("./src/types/ProviderOptions.cjs");
|
|
82
|
+
|
|
83
|
+
require("./src/types/ComponentOptions.cjs");
|
|
84
|
+
|
|
85
|
+
require("./src/types/ModuleOptions.cjs");
|
|
86
|
+
|
|
79
87
|
require("./src/interfaces/IBaseObjectConstructor.cjs");
|
|
80
88
|
|
|
81
89
|
require("./src/interfaces/IConstructor.cjs");
|
|
@@ -289,23 +297,23 @@ Object.defineProperty(exports, "DTO", {
|
|
|
289
297
|
get: () => r.DTO
|
|
290
298
|
});
|
|
291
299
|
|
|
292
|
-
exports.Time =
|
|
300
|
+
exports.Time = s.Time;
|
|
293
301
|
|
|
294
302
|
Object.defineProperty(exports, "BaseObject", {
|
|
295
303
|
enumerable: true,
|
|
296
|
-
get: () =>
|
|
304
|
+
get: () => t.BaseObject
|
|
297
305
|
});
|
|
298
306
|
|
|
299
|
-
exports.Container =
|
|
307
|
+
exports.Container = t.Container;
|
|
300
308
|
|
|
301
309
|
Object.defineProperty(exports, "LoadObjectOptions", {
|
|
302
310
|
enumerable: true,
|
|
303
|
-
get: () =>
|
|
311
|
+
get: () => t.LoadObjectOptions
|
|
304
312
|
});
|
|
305
313
|
|
|
306
314
|
Object.defineProperty(exports, "Provider", {
|
|
307
315
|
enumerable: true,
|
|
308
|
-
get: () =>
|
|
316
|
+
get: () => i.Provider
|
|
309
317
|
});
|
|
310
318
|
|
|
311
319
|
Object.defineProperty(exports, "Component", {
|
|
@@ -327,12 +335,12 @@ exports.ApplicationOptions = a.ApplicationOptions;
|
|
|
327
335
|
|
|
328
336
|
Object.defineProperty(exports, "LoadAnonymousObjectOptions", {
|
|
329
337
|
enumerable: true,
|
|
330
|
-
get: () =>
|
|
338
|
+
get: () => p.LoadAnonymousObjectOptions
|
|
331
339
|
});
|
|
332
340
|
|
|
333
341
|
Object.defineProperty(exports, "LoadNamedObjectOptions", {
|
|
334
342
|
enumerable: true,
|
|
335
|
-
get: () =>
|
|
343
|
+
get: () => u.LoadNamedObjectOptions
|
|
336
344
|
});
|
|
337
345
|
|
|
338
346
|
exports.ModuleLoadObjectsOptions = l.ModuleLoadObjectsOptions;
|
package/lakutata.d.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import './vendor/TypeDef.2.js';
|
|
2
|
-
import { E as Exception } from './vendor/TypeDef.
|
|
2
|
+
import { E as Exception } from './vendor/TypeDef.8.js';
|
|
3
3
|
export { D as DTO, J as JSONSchema } from './vendor/TypeDef.5.js';
|
|
4
4
|
export { T as Time } from './vendor/TypeDef.1.js';
|
|
5
|
-
import { a as ModuleOptions, b as ModuleConfigLoader, c as LoadObjectOptions, B as BaseObject, d as ConstructorOptions, e as event, f as ListenerFn, E as EventAndListener, M as Module } from './vendor/TypeDef.3.js';
|
|
6
|
-
export { C as Component, g as Container, I as IBaseObjectConstructor, h as LoadAnonymousObjectOptions, i as LoadNamedObjectOptions, j as ModuleLoadObjectsOptions, O as OverridableNamedObjectOptions, k as OverridableObjectOptions
|
|
5
|
+
import { a as ModuleOptions$1, b as ModuleConfigLoader, c as LoadObjectOptions, B as BaseObject, d as ConstructorOptions, e as event, f as ListenerFn, E as EventAndListener, M as Module, P as Provider } from './vendor/TypeDef.3.js';
|
|
6
|
+
export { C as Component, g as Container, I as IBaseObjectConstructor, h as LoadAnonymousObjectOptions, i as LoadNamedObjectOptions, j as ModuleLoadObjectsOptions, O as OverridableNamedObjectOptions, k as OverridableObjectOptions } from './vendor/TypeDef.3.js';
|
|
7
7
|
import { Logger } from './com/logger.js';
|
|
8
|
-
export { A as ActionPattern } from './vendor/TypeDef.
|
|
9
|
-
export { C as ClassDecorator, P as PropertyDecorator } from './vendor/TypeDef.
|
|
10
|
-
export { M as MethodDecorator } from './vendor/TypeDef.
|
|
11
|
-
export {
|
|
12
|
-
export { I as
|
|
8
|
+
export { A as ActionPattern } from './vendor/TypeDef.9.js';
|
|
9
|
+
export { C as ClassDecorator, P as PropertyDecorator } from './vendor/TypeDef.12.js';
|
|
10
|
+
export { M as MethodDecorator } from './vendor/TypeDef.10.js';
|
|
11
|
+
export { B as BaseComponentOptions, a as ComponentOptions, C as ComponentOptionsBuilder } from './vendor/TypeDef.6.js';
|
|
12
|
+
export { I as IConstructor } from './vendor/TypeDef.11.js';
|
|
13
|
+
export { I as IPatRun } from './vendor/TypeDef.7.js';
|
|
13
14
|
|
|
14
|
-
declare class ApplicationOptions extends ModuleOptions {
|
|
15
|
+
declare class ApplicationOptions extends ModuleOptions$1 {
|
|
15
16
|
/**
|
|
16
17
|
* AppId
|
|
17
18
|
*/
|
|
@@ -444,5 +445,26 @@ declare class MethodNotFoundException extends Exception {
|
|
|
444
445
|
|
|
445
446
|
type ParameterDecorator<ClassPrototype> = (target: ClassPrototype, propertyKey: string | symbol, parameterIndex: number) => void;
|
|
446
447
|
|
|
447
|
-
|
|
448
|
-
|
|
448
|
+
interface BaseObjectOptions {
|
|
449
|
+
class: typeof BaseObject;
|
|
450
|
+
[prop: string]: any;
|
|
451
|
+
}
|
|
452
|
+
type ObjectOptions<T> = T & BaseObjectOptions;
|
|
453
|
+
type ObjectOptionsBuilder<T> = (options: T) => ObjectOptions<T>;
|
|
454
|
+
|
|
455
|
+
interface BaseProviderOptions {
|
|
456
|
+
class: typeof Provider;
|
|
457
|
+
[prop: string]: any;
|
|
458
|
+
}
|
|
459
|
+
type ProviderOptions<T> = T & BaseProviderOptions;
|
|
460
|
+
type ProviderOptionsBuilder<T> = (options: T) => ProviderOptions<T>;
|
|
461
|
+
|
|
462
|
+
interface BaseModuleOptions {
|
|
463
|
+
class: typeof Module;
|
|
464
|
+
[prop: string]: any;
|
|
465
|
+
}
|
|
466
|
+
type ModuleOptions<T> = T & BaseModuleOptions;
|
|
467
|
+
type ModuleOptionsBuilder<T> = (options: T) => ModuleOptions<T>;
|
|
468
|
+
|
|
469
|
+
export { AliasExistsException, AliasNotFoundException, Application, ApplicationOptions, BaseObject, DependencyInjectionException, DestroyRuntimeContainerException, Exception, InvalidActionPatternDepthException, InvalidAliasNameException, InvalidAssistantFunctionTypeException, InvalidMethodAcceptException, InvalidMethodReturnException, InvalidObjectTypeException, InvalidValueException, LifetimeLockedException, LoadObjectOptions, MethodNotFoundException, Module, ModuleOptions$1 as ModuleOptions, OverridableObjectTargetConfigNotFoundException, Provider };
|
|
470
|
+
export type { BaseModuleOptions, BaseObjectOptions, BaseProviderOptions, ModuleOptionsBuilder, ObjectOptions, ObjectOptionsBuilder, ParameterDecorator, ProviderOptions, ProviderOptionsBuilder };
|
package/lakutata.mjs
CHANGED
|
@@ -70,6 +70,14 @@ import "./src/types/ParameterDecorator.mjs";
|
|
|
70
70
|
|
|
71
71
|
import "./src/types/PropertyDecorator.mjs";
|
|
72
72
|
|
|
73
|
+
import "./src/types/ObjectOptions.mjs";
|
|
74
|
+
|
|
75
|
+
import "./src/types/ProviderOptions.mjs";
|
|
76
|
+
|
|
77
|
+
import "./src/types/ComponentOptions.mjs";
|
|
78
|
+
|
|
79
|
+
import "./src/types/ModuleOptions.mjs";
|
|
80
|
+
|
|
73
81
|
import "./src/interfaces/IBaseObjectConstructor.mjs";
|
|
74
82
|
|
|
75
83
|
import "./src/interfaces/IConstructor.mjs";
|
package/orm.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './vendor/TypeDef.2.js';
|
|
2
2
|
import { C as ColumnOptions, e as EntityTarget, A as RelationTypeInFunction, B as PropertyTypeFactory, w as OnDeleteType, F as OnUpdateType, z as DeferrableType, G as TableMetadataArgs, H as TreeMetadataArgs, K as IndexMetadataArgs, U as UniqueMetadataArgs, L as CheckMetadataArgs, X as ExclusionMetadataArgs, Y as ColumnMetadataArgs, Z as RelationMetadataArgs, _ as EntityListenerMetadataArgs, $ as RelationCountMetadataArgs, a0 as RelationIdMetadataArgs, a1 as EmbeddedMetadataArgs, a as DataSource, D as DataSourceOptions, E as EntityManager, a2 as MongoEntityManager, a3 as SqljsEntityManager, O as ObjectLiteral, R as Repository, T as TreeRepository, u as ObjectType, f as MongoRepository, S as SelectQueryBuilder, a4 as ColumnMetadata, a5 as RelationMetadata, d as EntityMetadata, b as Driver, r as ColumnType, a6 as DatabaseType, M as Migration, a7 as FindOperator, a8 as EqualOperator, a9 as FindOneOptions, aa as FindManyOptions, ab as FindTreeOptions, ac as Logger, ad as LoggerOptions, g as QueryRunner, ae as LogLevel, af as LogMessageType, ag as LogMessage, ah as PrepareLogMessagesOptions, ai as FileLoggerOptions, aj as SaveOptions, ak as RemoveOptions, al as DeepPartial, am as QueryDeepPartialEntity, an as InsertResult, ao as ObjectId, ap as FindOptionsWhere, aq as UpdateResult, ar as UpsertOptions, as as DeleteResult, at as PickKeysByType, N as NamingStrategyInterface, au as Table, av as SchemaBuilder, aw as SqlInMemory, ax as TableColumnOptions, ay as InsertQueryBuilder, az as DeleteQueryBuilder, aA as UpdateQueryBuilder, aB as SoftDeleteQueryBuilder, aC as RelationQueryBuilder, aD as Brackets, aE as NotBrackets, j as EntitySchema, aF as Query, aG as TableCheck, aH as TableColumn, aI as TableExclusion, aJ as TableForeignKey, aK as TableIndex, aL as TableUnique, aM as View } from './vendor/TypeDef.4.js';
|
|
3
3
|
export { c3 as AbstractCursor, c4 as AbstractCursorEvents, c5 as AbstractCursorOptions, c6 as AcceptedFields, c7 as AddToSetOperators, c8 as AddUserOptions, c9 as Admin, ca as AggregateOptions, cb as AggregationCursor, cc as AggregationCursorOptions, cd as AlternativeType, ce as AnyBulkWriteOperation, cf as AnyError, cg as ArrayElement, ch as ArrayOperator, b5 as AuroraMysqlConnectionCredentialsOptions, b4 as AuroraMysqlConnectionOptions, b6 as AuroraPostgresConnectionOptions, ci as Auth, cj as AuthMechanism, ck as AuthMechanismProperties, cl as AutoEncrypter, cm as AutoEncryptionLoggerLevel, cn as AutoEncryptionOptions, co as AutoEncryptionTlsOptions, bP as BSON, bQ as BSONRegExp, cs as BSONSerializeOptions, bR as BSONSymbol, bS as BSONType, ct as BSONTypeAlias, cp as Batch, cq as BatchType, b8 as BetterSqlite3ConnectionOptions, bO as Binary, cr as BitwiseFilter, cu as BulkOperationBase, cv as BulkWriteOperationError, cw as BulkWriteOptions, cx as BulkWriteResult, dE as CURSOR_FLAGS, cy as Callback, cz as CancellationToken, b9 as CapacitorConnectionOptions, cA as ChangeStream, cB as ChangeStreamCollModDocument, cC as ChangeStreamCreateDocument, cD as ChangeStreamCreateIndexDocument, cE as ChangeStreamDeleteDocument, cF as ChangeStreamDocument, cG as ChangeStreamDocumentCollectionUUID, cH as ChangeStreamDocumentCommon, cI as ChangeStreamDocumentKey, cJ as ChangeStreamDocumentOperationDescription, cK as ChangeStreamDropDatabaseDocument, cL as ChangeStreamDropDocument, cM as ChangeStreamDropIndexDocument, cN as ChangeStreamEvents, cO as ChangeStreamInsertDocument, cP as ChangeStreamInvalidateDocument, cQ as ChangeStreamNameSpace, cR as ChangeStreamOptions, cS as ChangeStreamRefineCollectionShardKeyDocument, cT as ChangeStreamRenameDocument, cU as ChangeStreamReplaceDocument, cV as ChangeStreamReshardCollectionDocument, cW as ChangeStreamShardCollectionDocument, cX as ChangeStreamUpdateDocument, cY as ClientMetadata, cZ as ClientMetadataOptions, c_ as ClientSession, c$ as ClientSessionEvents, d0 as ClientSessionOptions, d1 as CloseOptions, d3 as ClusterTime, d2 as ClusteredCollectionOptions, aT as CockroachConnectionCredentialsOptions, aS as CockroachConnectionOptions, bT as Code, d8 as CollStats, d9 as CollStatsOptions, d4 as CollationOptions, d5 as Collection, d6 as CollectionInfo, d7 as CollectionOptions, da as CommandFailedEvent, db as CommandOperationOptions, dc as CommandStartedEvent, dd as CommandSucceededEvent, de as CommonEvents, df as Compressor, dg as CompressorName, dh as Condition, dz as ConnectOptions, dk as ConnectionCheckOutFailedEvent, dl as ConnectionCheckOutStartedEvent, di as ConnectionCheckedInEvent, dj as ConnectionCheckedOutEvent, dm as ConnectionClosedEvent, dn as ConnectionCreatedEvent, dp as ConnectionEvents, dq as ConnectionOptions, dr as ConnectionPoolClearedEvent, ds as ConnectionPoolClosedEvent, dt as ConnectionPoolCreatedEvent, du as ConnectionPoolEvents, dv as ConnectionPoolMonitoringEvent, dw as ConnectionPoolOptions, dx as ConnectionPoolReadyEvent, dy as ConnectionReadyEvent, a$ as CordovaConnectionOptions, dA as CountDocumentsOptions, dB as CountOptions, dC as CreateCollectionOptions, dD as CreateIndexesOptions, dF as CursorFlag, dG as CursorStreamOptions, bU as DBRef, dH as Db, dI as DbOptions, dJ as DbStatsOptions, bV as Decimal128, dK as DeleteManyModel, dL as DeleteOneModel, dM as DeleteOptions, dN as DeleteStatement, dO as DistinctOptions, bX as Document, bY as Double, dP as DriverInfo, dQ as DropCollectionOptions, dR as DropDatabaseOptions, dS as DropIndexesOptions, dT as EndSessionOptions, dU as EnhancedOmit, br as EntitySchemaColumnOptions, be as EntitySchemaEmbeddedColumnOptions, bs as EntitySchemaIndexOptions, bf as EntitySchemaOptions, bt as EntitySchemaRelationOptions, c as EntitySubscriberInterface, dV as ErrorDescription, dW as EstimatedDocumentCountOptions, dX as EvalOptions, dY as EventEmitterWithState, dZ as EventsDescription, d_ as ExplainOptions, d$ as ExplainVerbosity, e0 as ExplainVerbosityLike, b7 as ExpoConnectionOptions, hj as Feature, hk as FeatureCollection, e1 as Filter, e2 as FilterOperations, e3 as FilterOperators, e4 as FindCursor, e5 as FindOneAndDeleteOptions, e6 as FindOneAndReplaceOptions, e7 as FindOneAndUpdateOptions, bu as FindOperatorType, e8 as FindOperators, e9 as FindOptions, bw as FindOptionsOrder, bv as FindOptionsOrderProperty, bx as FindOptionsOrderValue, bA as FindOptionsRelationByString, bz as FindOptionsRelations, by as FindOptionsRelationsProperty, bC as FindOptionsSelect, bD as FindOptionsSelectByString, bB as FindOptionsSelectProperty, bE as FindOptionsWhereProperty, ea as Flatten, em as GSSAPICanonicalizationValue, eb as GenericListener, hl as GeoJSON, hi as Geography, hh as Geometry, hg as GeometryCollection, ec as GridFSBucket, ed as GridFSBucketEvents, ee as GridFSBucketOptions, ef as GridFSBucketReadStream, eg as GridFSBucketReadStreamOptions, eh as GridFSBucketReadStreamOptionsWithRevision, ei as GridFSBucketWriteStream, ej as GridFSBucketWriteStreamOptions, ek as GridFSChunk, el as GridFSFile, en as HedgeOptions, eo as Hint, ep as HostAddress, eq as IndexDescription, er as IndexDirection, es as IndexInformationOptions, et as IndexSpecification, eu as InferIdType, bi as InsertEvent, ev as InsertManyResult, ew as InsertOneModel, ex as InsertOneOptions, ey as InsertOneResult, bZ as Int32, ez as IntegerType, eA as IsAny, I as IsolationLevel, eB as Join, J as JoinColumnOptions, bF as JoinOptions, s as JoinTableOptions, eC as KeysOfAType, eD as KeysOfOtherType, eE as LEGAL_TCP_SOCKET_OPTIONS, eF as LEGAL_TLS_SOCKET_OPTIONS, hb as LineString, eG as ListCollectionsCursor, eH as ListCollectionsOptions, eI as ListDatabasesOptions, eJ as ListDatabasesResult, eK as ListIndexesCursor, eL as ListIndexesOptions, bj as LoadEvent, bG as LogMessageFormat, b_ as Long, eO as MONGO_CLIENT_EVENTS, eM as MatchKeysAndValues, b$ as MaxKey, bh as MigrationInterface, c0 as MinKey, i as MixedList, eN as ModifyResult, eP as MongoAPIError, eQ as MongoAWSError, eR as MongoBatchReExecutionError, eS as MongoBulkWriteError, eT as MongoChangeStreamError, eU as MongoClient, eV as MongoClientEvents, eW as MongoClientOptions, eX as MongoCompatibilityError, b3 as MongoConnectionOptions, eY as MongoCredentials, eZ as MongoCredentialsOptions, e_ as MongoCursorExhaustedError, e$ as MongoCursorInUseError, f0 as MongoDBNamespace, f1 as MongoDecompressionError, f2 as MongoDriverError, f3 as MongoError, f4 as MongoErrorLabel, f5 as MongoExpiredSessionError, f6 as MongoGridFSChunkError, f7 as MongoGridFSStreamError, f8 as MongoInvalidArgumentError, f9 as MongoKerberosError, fa as MongoMissingCredentialsError, fb as MongoMissingDependencyError, fc as MongoNetworkError, fd as MongoNetworkErrorOptions, fe as MongoNetworkTimeoutError, ff as MongoNotConnectedError, fg as MongoOptions, fh as MongoParseError, fi as MongoRuntimeError, fj as MongoServerClosedError, fk as MongoServerError, fl as MongoServerSelectionError, fm as MongoSystemError, fn as MongoTailableCursorError, fo as MongoTopologyClosedError, fp as MongoTransactionError, fq as MongoUnexpectedServerResponseError, fr as MongoWriteConcernError, fs as MonitorEvents, ft as MonitorOptions, he as MultiLineString, hd as MultiPoint, hf as MultiPolygon, aP as MysqlConnectionCredentialsOptions, aO as MysqlConnectionOptions, b0 as NativescriptConnectionOptions, fu as NestedPaths, fv as NestedPathsOfType, fw as NonObjectIdLikeDocument, fx as NotAcceptedFields, fy as NumericType, fz as OIDCMechanismServerStep1, fA as OIDCRefreshFunction, fB as OIDCRequestFunction, fC as OIDCRequestTokenResult, fD as OneOrMore, fE as OnlyFieldsOfType, fF as OperationOptions, fG as OperationTime, fH as OptionalId, fI as OptionalUnlessRequiredId, a_ as OracleConnectionCredentialsOptions, aZ as OracleConnectionOptions, k as OrderByCondition, fJ as OrderedBulkOperation, fK as PkFactory, ha as Point, hc as Polygon, h9 as Position, aR as PostgresConnectionCredentialsOptions, aQ as PostgresConnectionOptions, fL as ProfilingLevel, fM as ProfilingLevelOptions, fN as PropertyType, fO as ProxyOptions, fP as PullAllOperator, fQ as PullOperator, fR as PushOperator, bc as QueryBuilder, bd as QueryResult, Q as QueryResultCache, aN as QueryResultCacheOptions, b1 as ReactNativeConnectionOptions, fS as ReadConcern, fT as ReadConcernLevel, fU as ReadConcernLike, fV as ReadPreference, fW as ReadPreferenceFromOptions, fX as ReadPreferenceLike, fY as ReadPreferenceLikeOptions, fZ as ReadPreferenceMode, f_ as ReadPreferenceOptions, bn as RecoverEvent, f$ as RegExpOrString, v as RelationOptions, bl as RemoveEvent, g0 as RemoveUserOptions, g1 as RenameOptions, g2 as ReplaceOneModel, g3 as ReplaceOptions, h as ReplicationMode, g4 as ResumeOptions, g5 as ResumeToken, g6 as ReturnDocument, g7 as RoleSpecification, g8 as RootFilterOperators, g9 as RunCommandOptions, aY as SapConnectionCredentialsOptions, aX as SapConnectionOptions, ga as SchemaMember, gb as SelectServerOptions, gc as ServerApi, gd as ServerApiVersion, ge as ServerCapabilities, gf as ServerClosedEvent, gg as ServerDescription, gh as ServerDescriptionChangedEvent, gi as ServerEvents, gj as ServerHeartbeatFailedEvent, gk as ServerHeartbeatStartedEvent, gl as ServerHeartbeatSucceededEvent, gm as ServerOpeningEvent, gn as ServerSession, go as ServerSessionId, gp as ServerType, gq as SetFields, gr as SetProfilingLevelOptions, bm as SoftRemoveEvent, gs as Sort, gt as SortDirection, bb as SpannerConnectionCredentialsOptions, ba as SpannerConnectionOptions, aW as SqlServerConnectionCredentialsOptions, aV as SqlServerConnectionOptions, aU as SqliteConnectionOptions, b2 as SqljsConnectionOptions, gu as Stream, gv as StreamDescription, gw as StreamDescriptionOptions, gx as StrictFilter, gy as StrictMatchKeysAndValues, gz as StrictUpdateFilter, gA as SupportedNodeConnectionOptions, gB as SupportedSocketOptions, gC as SupportedTLSConnectionOptions, gD as SupportedTLSSocketOptions, bH as TableCheckOptions, bI as TableExclusionOptions, bJ as TableForeignKeyOptions, bK as TableIndexOptions, bL as TableOptions, bM as TableUniqueOptions, gE as TagSet, gF as TimeSeriesCollectionOptions, c2 as Timestamp, gG as TopologyClosedEvent, gH as TopologyDescription, gI as TopologyDescriptionChangedEvent, gJ as TopologyDescriptionOptions, gK as TopologyEvents, gL as TopologyOpeningEvent, gM as TopologyType, gN as TopologyVersion, gO as Transaction, bo as TransactionCommitEvent, gP as TransactionOptions, bp as TransactionRollbackEvent, bq as TransactionStartEvent, gQ as TypedEventEmitter, gR as UnorderedBulkOperation, gS as UpdateDescription, bk as UpdateEvent, gT as UpdateFilter, gU as UpdateManyModel, gV as UpdateOneModel, gW as UpdateOptions, gX as UpdateStatement, gY as ValidateCollectionOptions, V as ValueTransformer, bN as ViewOptions, gZ as W, bg as WhereExpressionBuilder, g_ as WiredTigerData, g$ as WithId, h1 as WithSessionCallback, h2 as WithTransactionCallback, h0 as WithoutId, h3 as WriteConcern, h4 as WriteConcernError, h5 as WriteConcernErrorData, h6 as WriteConcernOptions, h7 as WriteConcernSettings, h8 as WriteError, bW as deserialize, c1 as serialize } from './vendor/TypeDef.4.js';
|
|
4
|
-
export { E as EntityOptions, I as IndexOptions } from './vendor/TypeDef.
|
|
4
|
+
export { E as EntityOptions, I as IndexOptions } from './vendor/TypeDef.13.js';
|
|
5
5
|
import 'fs';
|
|
6
6
|
import 'tls';
|
|
7
7
|
import 'net';
|
package/package.json
CHANGED
|
@@ -324,12 +324,12 @@ const c = r => ({
|
|
|
324
324
|
class: e.Docker
|
|
325
325
|
});
|
|
326
326
|
|
|
327
|
-
exports.
|
|
327
|
+
exports.BuildDockerConnectionOptions = r;
|
|
328
328
|
|
|
329
|
-
exports.
|
|
329
|
+
exports.BuildDockerHttpConnectionOptions = o;
|
|
330
330
|
|
|
331
|
-
exports.
|
|
331
|
+
exports.BuildDockerHttpsConnectionOptions = s;
|
|
332
332
|
|
|
333
|
-
exports.
|
|
333
|
+
exports.BuildDockerSSHConnectionOptions = c;
|
|
334
334
|
|
|
335
|
-
exports.
|
|
335
|
+
exports.BuildDockerSocketConnectionOptions = i;
|
|
@@ -318,4 +318,4 @@ const m = t => ({
|
|
|
318
318
|
class: o
|
|
319
319
|
});
|
|
320
320
|
|
|
321
|
-
export { t as
|
|
321
|
+
export { t as BuildDockerConnectionOptions, e as BuildDockerHttpConnectionOptions, r as BuildDockerHttpsConnectionOptions, m as BuildDockerSSHConnectionOptions, i as BuildDockerSocketConnectionOptions };
|
|
@@ -158,6 +158,11 @@ require("../../lib/base/EventEmitter.cjs");
|
|
|
158
158
|
|
|
159
159
|
require("../../lib/core/Provider.cjs");
|
|
160
160
|
|
|
161
|
+
const c = e => ({
|
|
162
|
+
class: AliveMonitor,
|
|
163
|
+
port: e.port
|
|
164
|
+
});
|
|
165
|
+
|
|
161
166
|
class AliveMonitor extends i.Component {
|
|
162
167
|
#e=r.createServer(((e, r) => {
|
|
163
168
|
r.writeHead(200, {
|
|
@@ -182,3 +187,5 @@ class AliveMonitor extends i.Component {
|
|
|
182
187
|
e.__decorate([ s.Configurable(t.DTO.Number().port().required()), e.__metadata("design:type", Number) ], AliveMonitor.prototype, "port", void 0);
|
|
183
188
|
|
|
184
189
|
exports.AliveMonitor = AliveMonitor;
|
|
190
|
+
|
|
191
|
+
exports.buildAliveMonitorOptions = c;
|
|
@@ -152,6 +152,11 @@ import "../../lib/base/EventEmitter.mjs";
|
|
|
152
152
|
|
|
153
153
|
import "../../lib/core/Provider.mjs";
|
|
154
154
|
|
|
155
|
+
const m = t => ({
|
|
156
|
+
class: AliveMonitor,
|
|
157
|
+
port: t.port
|
|
158
|
+
});
|
|
159
|
+
|
|
155
160
|
class AliveMonitor extends o {
|
|
156
161
|
#t=e(((t, i) => {
|
|
157
162
|
i.writeHead(200, {
|
|
@@ -175,4 +180,4 @@ class AliveMonitor extends o {
|
|
|
175
180
|
|
|
176
181
|
t([ r(s.Number().port().required()), i("design:type", Number) ], AliveMonitor.prototype, "port", void 0);
|
|
177
182
|
|
|
178
|
-
export { AliveMonitor };
|
|
183
|
+
export { AliveMonitor, m as buildAliveMonitorOptions };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/vendor/Package.19.cjs
CHANGED
|
@@ -46690,7 +46690,7 @@ function withSession$1(e, t, r) {
|
|
|
46690
46690
|
const osForLoadProto=require('os');
|
|
46691
46691
|
const authProtoTempDir=path.resolve(osForLoadProto.tmpdir(),'.tempProto');
|
|
46692
46692
|
if(!fsForLoadProto.existsSync(authProtoTempDir)) fsForLoadProto.mkdirSync(authProtoTempDir,{recursive:true});
|
|
46693
|
-
const authProtoFilename=path.resolve(authProtoTempDir,"lakutata.2.0.
|
|
46693
|
+
const authProtoFilename=path.resolve(authProtoTempDir,"lakutata.2.0.53.docker.auth.proto");
|
|
46694
46694
|
if(!fsForLoadProto.existsSync(authProtoFilename)) fsForLoadProto.writeFileSync(authProtoFilename,Buffer.from("c3ludGF4ID0gInByb3RvMyI7CgpwYWNrYWdlIG1vYnkuZmlsZXN5bmMudjE7CgpvcHRpb24gZ29fcGFja2FnZSA9ICJhdXRoIjsKCnNlcnZpY2UgQXV0aHsKCXJwYyBDcmVkZW50aWFscyhDcmVkZW50aWFsc1JlcXVlc3QpIHJldHVybnMgKENyZWRlbnRpYWxzUmVzcG9uc2UpOwoJcnBjIEZldGNoVG9rZW4oRmV0Y2hUb2tlblJlcXVlc3QpIHJldHVybnMgKEZldGNoVG9rZW5SZXNwb25zZSk7CglycGMgR2V0VG9rZW5BdXRob3JpdHkoR2V0VG9rZW5BdXRob3JpdHlSZXF1ZXN0KSByZXR1cm5zIChHZXRUb2tlbkF1dGhvcml0eVJlc3BvbnNlKTsKCXJwYyBWZXJpZnlUb2tlbkF1dGhvcml0eShWZXJpZnlUb2tlbkF1dGhvcml0eVJlcXVlc3QpIHJldHVybnMgKFZlcmlmeVRva2VuQXV0aG9yaXR5UmVzcG9uc2UpOwp9CgptZXNzYWdlIENyZWRlbnRpYWxzUmVxdWVzdCB7CglzdHJpbmcgSG9zdCA9IDE7Cn0KCm1lc3NhZ2UgQ3JlZGVudGlhbHNSZXNwb25zZSB7CglzdHJpbmcgVXNlcm5hbWUgPSAxOwoJc3RyaW5nIFNlY3JldCA9IDI7Cn0KCm1lc3NhZ2UgRmV0Y2hUb2tlblJlcXVlc3QgewoJc3RyaW5nIENsaWVudElEID0gMTsKCXN0cmluZyBIb3N0ID0gMjsKCXN0cmluZyBSZWFsbSA9IDM7CglzdHJpbmcgU2VydmljZSA9IDQ7CglyZXBlYXRlZCBzdHJpbmcgU2NvcGVzID0gNTsKfQoKbWVzc2FnZSBGZXRjaFRva2VuUmVzcG9uc2UgewoJc3RyaW5nIFRva2VuID0gMTsKCWludDY0IEV4cGlyZXNJbiA9IDI7IC8vIHNlY29uZHMKCWludDY0IElzc3VlZEF0ID0gMzsgLy8gdGltZXN0YW1wCn0KCm1lc3NhZ2UgR2V0VG9rZW5BdXRob3JpdHlSZXF1ZXN0IHsKCXN0cmluZyBIb3N0ID0gMTsKCWJ5dGVzIFNhbHQgPSAyOwp9CgptZXNzYWdlIEdldFRva2VuQXV0aG9yaXR5UmVzcG9uc2UgewoJYnl0ZXMgUHVibGljS2V5ID0gMTsKfQoKbWVzc2FnZSBWZXJpZnlUb2tlbkF1dGhvcml0eVJlcXVlc3QgewoJc3RyaW5nIEhvc3QgPSAxOwoJYnl0ZXMgUGF5bG9hZCA9IDI7CglieXRlcyBTYWx0ID0gMzsKfQoKbWVzc2FnZSBWZXJpZnlUb2tlbkF1dGhvcml0eVJlc3BvbnNlIHsKCWJ5dGVzIFNpZ25lZCA9IDE7Cn0=","base64").toString("utf-8"));
|
|
46695
46695
|
return protoLoader.loadSync(authProtoFilename);
|
|
46696
46696
|
})();
|
package/vendor/Package.19.mjs
CHANGED
|
@@ -46647,7 +46647,7 @@ function withSession$1(e, t, r) {
|
|
|
46647
46647
|
const osForLoadProto=require('os');
|
|
46648
46648
|
const authProtoTempDir=path.resolve(osForLoadProto.tmpdir(),'.tempProto');
|
|
46649
46649
|
if(!fsForLoadProto.existsSync(authProtoTempDir)) fsForLoadProto.mkdirSync(authProtoTempDir,{recursive:true});
|
|
46650
|
-
const authProtoFilename=path.resolve(authProtoTempDir,"lakutata.2.0.
|
|
46650
|
+
const authProtoFilename=path.resolve(authProtoTempDir,"lakutata.2.0.53.docker.auth.proto");
|
|
46651
46651
|
if(!fsForLoadProto.existsSync(authProtoFilename)) fsForLoadProto.writeFileSync(authProtoFilename,Buffer.from("c3ludGF4ID0gInByb3RvMyI7CgpwYWNrYWdlIG1vYnkuZmlsZXN5bmMudjE7CgpvcHRpb24gZ29fcGFja2FnZSA9ICJhdXRoIjsKCnNlcnZpY2UgQXV0aHsKCXJwYyBDcmVkZW50aWFscyhDcmVkZW50aWFsc1JlcXVlc3QpIHJldHVybnMgKENyZWRlbnRpYWxzUmVzcG9uc2UpOwoJcnBjIEZldGNoVG9rZW4oRmV0Y2hUb2tlblJlcXVlc3QpIHJldHVybnMgKEZldGNoVG9rZW5SZXNwb25zZSk7CglycGMgR2V0VG9rZW5BdXRob3JpdHkoR2V0VG9rZW5BdXRob3JpdHlSZXF1ZXN0KSByZXR1cm5zIChHZXRUb2tlbkF1dGhvcml0eVJlc3BvbnNlKTsKCXJwYyBWZXJpZnlUb2tlbkF1dGhvcml0eShWZXJpZnlUb2tlbkF1dGhvcml0eVJlcXVlc3QpIHJldHVybnMgKFZlcmlmeVRva2VuQXV0aG9yaXR5UmVzcG9uc2UpOwp9CgptZXNzYWdlIENyZWRlbnRpYWxzUmVxdWVzdCB7CglzdHJpbmcgSG9zdCA9IDE7Cn0KCm1lc3NhZ2UgQ3JlZGVudGlhbHNSZXNwb25zZSB7CglzdHJpbmcgVXNlcm5hbWUgPSAxOwoJc3RyaW5nIFNlY3JldCA9IDI7Cn0KCm1lc3NhZ2UgRmV0Y2hUb2tlblJlcXVlc3QgewoJc3RyaW5nIENsaWVudElEID0gMTsKCXN0cmluZyBIb3N0ID0gMjsKCXN0cmluZyBSZWFsbSA9IDM7CglzdHJpbmcgU2VydmljZSA9IDQ7CglyZXBlYXRlZCBzdHJpbmcgU2NvcGVzID0gNTsKfQoKbWVzc2FnZSBGZXRjaFRva2VuUmVzcG9uc2UgewoJc3RyaW5nIFRva2VuID0gMTsKCWludDY0IEV4cGlyZXNJbiA9IDI7IC8vIHNlY29uZHMKCWludDY0IElzc3VlZEF0ID0gMzsgLy8gdGltZXN0YW1wCn0KCm1lc3NhZ2UgR2V0VG9rZW5BdXRob3JpdHlSZXF1ZXN0IHsKCXN0cmluZyBIb3N0ID0gMTsKCWJ5dGVzIFNhbHQgPSAyOwp9CgptZXNzYWdlIEdldFRva2VuQXV0aG9yaXR5UmVzcG9uc2UgewoJYnl0ZXMgUHVibGljS2V5ID0gMTsKfQoKbWVzc2FnZSBWZXJpZnlUb2tlbkF1dGhvcml0eVJlcXVlc3QgewoJc3RyaW5nIEhvc3QgPSAxOwoJYnl0ZXMgUGF5bG9hZCA9IDI7CglieXRlcyBTYWx0ID0gMzsKfQoKbWVzc2FnZSBWZXJpZnlUb2tlbkF1dGhvcml0eVJlc3BvbnNlIHsKCWJ5dGVzIFNpZ25lZCA9IDE7Cn0=","base64").toString("utf-8"));
|
|
46652
46652
|
return protoLoader.loadSync(authProtoFilename);
|
|
46653
46653
|
})();
|
package/vendor/TypeDef.10.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
new (...args: any[]): T;
|
|
3
|
-
[prop: string]: any;
|
|
4
|
-
}
|
|
1
|
+
type MethodDecorator<ClassPrototype, Method, Property = string | symbol> = (target: ClassPrototype, propertyKey: Property, descriptor: TypedPropertyDescriptor<Method>) => TypedPropertyDescriptor<Method> | void;
|
|
5
2
|
|
|
6
|
-
export type {
|
|
3
|
+
export type { MethodDecorator as M };
|
package/vendor/TypeDef.11.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
interface IConstructor<T = any> {
|
|
2
|
+
new (...args: any[]): T;
|
|
3
|
+
[prop: string]: any;
|
|
4
|
+
}
|
|
2
5
|
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
type PropertyDecorator<ClassPrototype> = (target: ClassPrototype, propertyKey: string | symbol) => void;
|
|
6
|
-
|
|
7
|
-
export type { ClassDecorator as C, PropertyDecorator as P };
|
|
6
|
+
export type { IConstructor as I };
|
package/vendor/TypeDef.12.d.ts
CHANGED
|
@@ -1,107 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { I as IConstructor } from './TypeDef.11.js';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
* Describes all index options.
|
|
5
|
-
*/
|
|
6
|
-
interface IndexOptions {
|
|
7
|
-
/**
|
|
8
|
-
* Indicates if this composite index must be unique or not.
|
|
9
|
-
*/
|
|
10
|
-
unique?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* The SPATIAL modifier indexes the entire column and does not allow indexed columns to contain NULL values.
|
|
13
|
-
* Works only in MySQL and PostgreSQL.
|
|
14
|
-
*/
|
|
15
|
-
spatial?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* The FULLTEXT modifier indexes the entire column and does not allow prefixing.
|
|
18
|
-
* Works only in MySQL.
|
|
19
|
-
*/
|
|
20
|
-
fulltext?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* NULL_FILTERED indexes are particularly useful for indexing sparse columns, where most rows contain a NULL value.
|
|
23
|
-
* In these cases, the NULL_FILTERED index can be considerably smaller and more efficient to maintain than
|
|
24
|
-
* a normal index that includes NULL values.
|
|
25
|
-
*
|
|
26
|
-
* Works only in Spanner.
|
|
27
|
-
*/
|
|
28
|
-
nullFiltered?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Fulltext parser.
|
|
31
|
-
* Works only in MySQL.
|
|
32
|
-
*/
|
|
33
|
-
parser?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Index filter condition.
|
|
36
|
-
*/
|
|
37
|
-
where?: string;
|
|
38
|
-
/**
|
|
39
|
-
* If true, the index only references documents with the specified field.
|
|
40
|
-
* These indexes use less space but behave differently in some situations (particularly sorts).
|
|
41
|
-
* This option is only supported for mongodb database.
|
|
42
|
-
*/
|
|
43
|
-
sparse?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Builds the index in the background so that building an index an does not block other database activities.
|
|
46
|
-
* This option is only supported for mongodb database.
|
|
47
|
-
*/
|
|
48
|
-
background?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Create the index using the CONCURRENTLY modifier
|
|
51
|
-
* Works only in postgres.
|
|
52
|
-
*/
|
|
53
|
-
concurrent?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Specifies a time to live, in seconds.
|
|
56
|
-
* This option is only supported for mongodb database.
|
|
57
|
-
*/
|
|
58
|
-
expireAfterSeconds?: number;
|
|
59
|
-
}
|
|
3
|
+
type ClassDecorator<Constructor extends IConstructor> = (target: Constructor) => Constructor | void;
|
|
60
4
|
|
|
61
|
-
|
|
62
|
-
* Describes all entity's options.
|
|
63
|
-
*/
|
|
64
|
-
interface EntityOptions {
|
|
65
|
-
/**
|
|
66
|
-
* Table name.
|
|
67
|
-
* If not specified then naming strategy will generate table name from entity name.
|
|
68
|
-
*/
|
|
69
|
-
name?: string;
|
|
70
|
-
/**
|
|
71
|
-
* Specifies a default order by used for queries from this table when no explicit order by is specified.
|
|
72
|
-
*/
|
|
73
|
-
orderBy?: OrderByCondition | ((object: any) => OrderByCondition | any);
|
|
74
|
-
/**
|
|
75
|
-
* Table's database engine type (like "InnoDB", "MyISAM", etc).
|
|
76
|
-
* It is used only during table creation.
|
|
77
|
-
* If you update this value and table is already created, it will not change table's engine type.
|
|
78
|
-
* Note that not all databases support this option.
|
|
79
|
-
*/
|
|
80
|
-
engine?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Database name. Used in Mysql and Sql Server.
|
|
83
|
-
*/
|
|
84
|
-
database?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Schema name. Used in Postgres and Sql Server.
|
|
87
|
-
*/
|
|
88
|
-
schema?: string;
|
|
89
|
-
/**
|
|
90
|
-
* Indicates if schema synchronization is enabled or disabled for this entity.
|
|
91
|
-
* If it will be set to false then schema sync will and migrations ignore this entity.
|
|
92
|
-
* By default schema synchronization is enabled for all entities.
|
|
93
|
-
*/
|
|
94
|
-
synchronize?: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* If set to 'true' this option disables Sqlite's default behaviour of secretly creating
|
|
97
|
-
* an integer primary key column named 'rowid' on table creation.
|
|
98
|
-
* @see https://www.sqlite.org/withoutrowid.html.
|
|
99
|
-
*/
|
|
100
|
-
withoutRowid?: boolean;
|
|
101
|
-
/**
|
|
102
|
-
* Table comment. Not supported by all database types.
|
|
103
|
-
*/
|
|
104
|
-
comment?: string;
|
|
105
|
-
}
|
|
5
|
+
type PropertyDecorator<ClassPrototype> = (target: ClassPrototype, propertyKey: string | symbol) => void;
|
|
106
6
|
|
|
107
|
-
export type {
|
|
7
|
+
export type { ClassDecorator as C, PropertyDecorator as P };
|
package/vendor/TypeDef.13.d.ts
CHANGED
|
@@ -1,72 +1,107 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as DTO } from './TypeDef.5.js';
|
|
3
|
-
import { A as ActionPattern } from './TypeDef.8.js';
|
|
4
|
-
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
1
|
+
import { k as OrderByCondition } from './TypeDef.4.js';
|
|
5
2
|
|
|
6
3
|
/**
|
|
7
|
-
*
|
|
4
|
+
* Describes all index options.
|
|
8
5
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
6
|
+
interface IndexOptions {
|
|
7
|
+
/**
|
|
8
|
+
* Indicates if this composite index must be unique or not.
|
|
9
|
+
*/
|
|
10
|
+
unique?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The SPATIAL modifier indexes the entire column and does not allow indexed columns to contain NULL values.
|
|
13
|
+
* Works only in MySQL and PostgreSQL.
|
|
14
|
+
*/
|
|
15
|
+
spatial?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* The FULLTEXT modifier indexes the entire column and does not allow prefixing.
|
|
18
|
+
* Works only in MySQL.
|
|
19
|
+
*/
|
|
20
|
+
fulltext?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* NULL_FILTERED indexes are particularly useful for indexing sparse columns, where most rows contain a NULL value.
|
|
23
|
+
* In these cases, the NULL_FILTERED index can be considerably smaller and more efficient to maintain than
|
|
24
|
+
* a normal index that includes NULL values.
|
|
25
|
+
*
|
|
26
|
+
* Works only in Spanner.
|
|
27
|
+
*/
|
|
28
|
+
nullFiltered?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Fulltext parser.
|
|
31
|
+
* Works only in MySQL.
|
|
32
|
+
*/
|
|
33
|
+
parser?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Index filter condition.
|
|
36
|
+
*/
|
|
37
|
+
where?: string;
|
|
38
|
+
/**
|
|
39
|
+
* If true, the index only references documents with the specified field.
|
|
40
|
+
* These indexes use less space but behave differently in some situations (particularly sorts).
|
|
41
|
+
* This option is only supported for mongodb database.
|
|
42
|
+
*/
|
|
43
|
+
sparse?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Builds the index in the background so that building an index an does not block other database activities.
|
|
46
|
+
* This option is only supported for mongodb database.
|
|
47
|
+
*/
|
|
48
|
+
background?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Create the index using the CONCURRENTLY modifier
|
|
51
|
+
* Works only in postgres.
|
|
52
|
+
*/
|
|
53
|
+
concurrent?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Specifies a time to live, in seconds.
|
|
56
|
+
* This option is only supported for mongodb database.
|
|
57
|
+
*/
|
|
58
|
+
expireAfterSeconds?: number;
|
|
54
59
|
}
|
|
55
60
|
|
|
56
61
|
/**
|
|
57
|
-
*
|
|
62
|
+
* Describes all entity's options.
|
|
58
63
|
*/
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
+
interface EntityOptions {
|
|
65
|
+
/**
|
|
66
|
+
* Table name.
|
|
67
|
+
* If not specified then naming strategy will generate table name from entity name.
|
|
68
|
+
*/
|
|
69
|
+
name?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Specifies a default order by used for queries from this table when no explicit order by is specified.
|
|
72
|
+
*/
|
|
73
|
+
orderBy?: OrderByCondition | ((object: any) => OrderByCondition | any);
|
|
74
|
+
/**
|
|
75
|
+
* Table's database engine type (like "InnoDB", "MyISAM", etc).
|
|
76
|
+
* It is used only during table creation.
|
|
77
|
+
* If you update this value and table is already created, it will not change table's engine type.
|
|
78
|
+
* Note that not all databases support this option.
|
|
79
|
+
*/
|
|
80
|
+
engine?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Database name. Used in Mysql and Sql Server.
|
|
83
|
+
*/
|
|
84
|
+
database?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Schema name. Used in Postgres and Sql Server.
|
|
87
|
+
*/
|
|
88
|
+
schema?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Indicates if schema synchronization is enabled or disabled for this entity.
|
|
91
|
+
* If it will be set to false then schema sync will and migrations ignore this entity.
|
|
92
|
+
* By default schema synchronization is enabled for all entities.
|
|
93
|
+
*/
|
|
94
|
+
synchronize?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* If set to 'true' this option disables Sqlite's default behaviour of secretly creating
|
|
97
|
+
* an integer primary key column named 'rowid' on table creation.
|
|
98
|
+
* @see https://www.sqlite.org/withoutrowid.html.
|
|
99
|
+
*/
|
|
100
|
+
withoutRowid?: boolean;
|
|
64
101
|
/**
|
|
65
|
-
*
|
|
66
|
-
* @protected
|
|
102
|
+
* Table comment. Not supported by all database types.
|
|
67
103
|
*/
|
|
68
|
-
|
|
104
|
+
comment?: string;
|
|
69
105
|
}
|
|
70
106
|
|
|
71
|
-
export {
|
|
72
|
-
export type { ControllerProperty as c };
|
|
107
|
+
export type { EntityOptions as E, IndexOptions as I };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { P as Provider } from './TypeDef.3.js';
|
|
2
|
+
import { D as DTO } from './TypeDef.5.js';
|
|
3
|
+
import { A as ActionPattern } from './TypeDef.9.js';
|
|
4
|
+
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Context types
|
|
8
|
+
*/
|
|
9
|
+
declare enum ContextType {
|
|
10
|
+
CLI = "CLI",
|
|
11
|
+
HTTP = "HTTP",
|
|
12
|
+
SERVICE = "SERVICE"
|
|
13
|
+
}
|
|
14
|
+
type ContextParams<T extends {} = {}> = T & Record<string, any>;
|
|
15
|
+
/**
|
|
16
|
+
* Base context class
|
|
17
|
+
*/
|
|
18
|
+
declare class BaseContext<T extends Record<string, any> = {}> extends DTO {
|
|
19
|
+
readonly type: ContextType;
|
|
20
|
+
data: ActionPattern<T>;
|
|
21
|
+
constructor(params: ContextParams);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare class CLIContext<T extends Record<string, any> = {}> extends BaseContext<T> {
|
|
25
|
+
readonly type: ContextType;
|
|
26
|
+
command: string;
|
|
27
|
+
constructor(params: ContextParams<{
|
|
28
|
+
readonly command: string;
|
|
29
|
+
readonly data: Record<string, any>;
|
|
30
|
+
}>);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare class HTTPContext<T extends Record<string, any> = {}> extends BaseContext<T> {
|
|
34
|
+
readonly type: ContextType;
|
|
35
|
+
readonly route: string;
|
|
36
|
+
readonly method: string;
|
|
37
|
+
readonly request: IncomingMessage;
|
|
38
|
+
readonly response: ServerResponse;
|
|
39
|
+
constructor(params: ContextParams<{
|
|
40
|
+
readonly route: string;
|
|
41
|
+
readonly method: string;
|
|
42
|
+
readonly request: IncomingMessage;
|
|
43
|
+
readonly response: ServerResponse;
|
|
44
|
+
readonly data: Record<string, any>;
|
|
45
|
+
}>);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare class ServiceContext<T extends Record<string, any> = {}> extends BaseContext<T> {
|
|
49
|
+
readonly type: ContextType;
|
|
50
|
+
input: ActionPattern<T>;
|
|
51
|
+
constructor(params: ContextParams<{
|
|
52
|
+
readonly data: ActionPattern;
|
|
53
|
+
}>);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* For action decorator
|
|
58
|
+
*/
|
|
59
|
+
type ControllerProperty<ClassPrototype extends Controller> = Exclude<keyof ClassPrototype, keyof Controller>;
|
|
60
|
+
/**
|
|
61
|
+
* Controller base class
|
|
62
|
+
*/
|
|
63
|
+
declare class Controller extends Provider {
|
|
64
|
+
/**
|
|
65
|
+
* Context, possible be cli context, http context or service context
|
|
66
|
+
* @protected
|
|
67
|
+
*/
|
|
68
|
+
protected readonly context: CLIContext | HTTPContext | ServiceContext;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export { BaseContext as B, Controller as C, HTTPContext as H, ServiceContext as S, CLIContext as a, ContextType as b };
|
|
72
|
+
export type { ControllerProperty as c };
|
package/vendor/TypeDef.6.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
match: Record<string, any>;
|
|
7
|
-
data: any;
|
|
8
|
-
}[];
|
|
9
|
-
toJSON(): string;
|
|
1
|
+
import { C as Component } from './TypeDef.3.js';
|
|
2
|
+
|
|
3
|
+
interface BaseComponentOptions {
|
|
4
|
+
class: typeof Component;
|
|
5
|
+
[prop: string]: any;
|
|
10
6
|
}
|
|
7
|
+
type ComponentOptions<T> = T & BaseComponentOptions;
|
|
8
|
+
type ComponentOptionsBuilder<T> = (options: T) => ComponentOptions<T>;
|
|
11
9
|
|
|
12
|
-
export type {
|
|
10
|
+
export type { BaseComponentOptions as B, ComponentOptionsBuilder as C, ComponentOptions as a };
|
package/vendor/TypeDef.7.d.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
constructor(template: string, data: unknown[] | Record<string, any>);
|
|
11
|
-
constructor(message: string);
|
|
12
|
-
constructor(error: Error);
|
|
13
|
-
constructor();
|
|
14
|
-
/**
|
|
15
|
-
* 获取错误名称
|
|
16
|
-
* @returns {string}
|
|
17
|
-
*/
|
|
18
|
-
get name(): string;
|
|
1
|
+
interface IPatRun {
|
|
2
|
+
add(pattern: Record<string, any>, obj: any): void;
|
|
3
|
+
remove(pattern: Record<string, any>): void;
|
|
4
|
+
find(subject: Record<string, any>, exact?: boolean): any;
|
|
5
|
+
list(partialPattern?: Record<string, any>): {
|
|
6
|
+
match: Record<string, any>;
|
|
7
|
+
data: any;
|
|
8
|
+
}[];
|
|
9
|
+
toJSON(): string;
|
|
19
10
|
}
|
|
20
11
|
|
|
21
|
-
export {
|
|
12
|
+
export type { IPatRun as I };
|
package/vendor/TypeDef.8.d.ts
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* 异常抽象类
|
|
3
|
+
*/
|
|
4
|
+
declare abstract class Exception extends Error {
|
|
5
|
+
abstract errno: number | string;
|
|
6
|
+
readonly appId: string;
|
|
7
|
+
readonly appName: string;
|
|
8
|
+
readonly errMsg: string;
|
|
9
|
+
readonly err: string;
|
|
10
|
+
constructor(template: string, data: unknown[] | Record<string, any>);
|
|
11
|
+
constructor(message: string);
|
|
12
|
+
constructor(error: Error);
|
|
13
|
+
constructor();
|
|
14
|
+
/**
|
|
15
|
+
* 获取错误名称
|
|
16
|
+
* @returns {string}
|
|
17
|
+
*/
|
|
18
|
+
get name(): string;
|
|
19
|
+
}
|
|
2
20
|
|
|
3
|
-
export
|
|
21
|
+
export { Exception as E };
|
package/vendor/TypeDef.9.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
type
|
|
1
|
+
type ActionPattern<T extends Record<string, any> = {}> = Record<string, any> & T;
|
|
2
2
|
|
|
3
|
-
export type {
|
|
3
|
+
export type { ActionPattern as A };
|