lakutata 2.0.65 → 2.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/com/cacher.d.ts +4 -4
- package/com/database.cjs +0 -2
- package/com/database.d.ts +4 -4
- package/com/database.mjs +0 -2
- package/com/docker.d.ts +5 -5
- package/com/entrypoint.d.ts +2 -2
- package/com/logger.d.ts +1 -1
- package/com/monitor.d.ts +2 -2
- package/decorator/asst.d.ts +1 -1
- package/decorator/ctrl.d.ts +4 -4
- package/decorator/di.d.ts +3 -3
- package/decorator/dto.d.ts +3 -3
- package/decorator/orm.cjs +86 -88
- package/decorator/orm.d.ts +51 -75
- package/decorator/orm.mjs +44 -46
- package/helper.d.ts +1 -1
- package/lakutata.d.ts +10 -10
- package/orm.cjs +1075 -112
- package/orm.d.ts +6 -6
- package/orm.mjs +1015 -17
- package/package.json +1 -1
- package/provider/database.cjs +0 -2
- package/provider/database.d.ts +4 -4
- package/provider/database.mjs +0 -2
- package/provider/passwordHash.d.ts +1 -1
- package/src/components/Database.cjs +0 -2
- package/src/components/Database.mjs +0 -2
- package/src/decorators/orm/AfterInsert.cjs +27 -7
- package/src/decorators/orm/AfterInsert.mjs +28 -6
- package/src/decorators/orm/AfterLoad.cjs +27 -7
- package/src/decorators/orm/AfterLoad.mjs +28 -6
- package/src/decorators/orm/AfterRecover.cjs +27 -7
- package/src/decorators/orm/AfterRecover.mjs +28 -6
- package/src/decorators/orm/AfterRemove.cjs +27 -7
- package/src/decorators/orm/AfterRemove.mjs +28 -6
- package/src/decorators/orm/AfterSoftRemove.cjs +27 -7
- package/src/decorators/orm/AfterSoftRemove.mjs +28 -6
- package/src/decorators/orm/AfterUpdate.cjs +27 -7
- package/src/decorators/orm/AfterUpdate.mjs +28 -6
- package/src/decorators/orm/BeforeInsert.cjs +27 -7
- package/src/decorators/orm/BeforeInsert.mjs +28 -6
- package/src/decorators/orm/BeforeRecover.cjs +27 -7
- package/src/decorators/orm/BeforeRecover.mjs +28 -6
- package/src/decorators/orm/BeforeRemove.cjs +27 -7
- package/src/decorators/orm/BeforeRemove.mjs +28 -6
- package/src/decorators/orm/BeforeSoftRemove.cjs +27 -7
- package/src/decorators/orm/BeforeSoftRemove.mjs +28 -6
- package/src/decorators/orm/BeforeUpdate.cjs +27 -7
- package/src/decorators/orm/BeforeUpdate.mjs +28 -6
- package/src/decorators/orm/Check.cjs +30 -7
- package/src/decorators/orm/Check.mjs +31 -6
- package/src/decorators/orm/ChildEntity.cjs +30 -7
- package/src/decorators/orm/ChildEntity.mjs +31 -6
- package/src/decorators/orm/Column.cjs +62 -7
- package/src/decorators/orm/Column.mjs +63 -6
- package/src/decorators/orm/CreateDateColumn.cjs +26 -7
- package/src/decorators/orm/CreateDateColumn.mjs +27 -6
- package/src/decorators/orm/DeleteDateColumn.cjs +26 -7
- package/src/decorators/orm/DeleteDateColumn.mjs +27 -6
- package/src/decorators/orm/Entity.cjs +36 -7
- package/src/decorators/orm/Entity.mjs +37 -6
- package/src/decorators/orm/EventSubscriber.cjs +23 -7
- package/src/decorators/orm/EventSubscriber.mjs +24 -6
- package/src/decorators/orm/Exclusion.cjs +30 -7
- package/src/decorators/orm/Exclusion.mjs +31 -6
- package/src/decorators/orm/Generated.cjs +25 -7
- package/src/decorators/orm/Generated.mjs +26 -6
- package/src/decorators/orm/Index.cjs +42 -7
- package/src/decorators/orm/Index.mjs +43 -6
- package/src/decorators/orm/JoinColumn.cjs +30 -7
- package/src/decorators/orm/JoinColumn.mjs +31 -6
- package/src/decorators/orm/JoinTable.cjs +31 -7
- package/src/decorators/orm/JoinTable.mjs +32 -6
- package/src/decorators/orm/ManyToMany.cjs +43 -7
- package/src/decorators/orm/ManyToMany.mjs +44 -6
- package/src/decorators/orm/ManyToOne.cjs +43 -7
- package/src/decorators/orm/ManyToOne.mjs +44 -6
- package/src/decorators/orm/ObjectIdColumn.cjs +29 -7
- package/src/decorators/orm/ObjectIdColumn.mjs +30 -6
- package/src/decorators/orm/OneToMany.cjs +35 -7
- package/src/decorators/orm/OneToMany.mjs +36 -6
- package/src/decorators/orm/OneToOne.cjs +43 -7
- package/src/decorators/orm/OneToOne.mjs +44 -6
- package/src/decorators/orm/PrimaryColumn.cjs +50 -7
- package/src/decorators/orm/PrimaryColumn.mjs +51 -6
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +55 -7
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +56 -6
- package/src/decorators/orm/RelationId.cjs +27 -7
- package/src/decorators/orm/RelationId.mjs +28 -6
- package/src/decorators/orm/TableInheritance.cjs +27 -7
- package/src/decorators/orm/TableInheritance.mjs +28 -6
- package/src/decorators/orm/Tree.cjs +25 -7
- package/src/decorators/orm/Tree.mjs +26 -6
- package/src/decorators/orm/TreeChildren.cjs +32 -7
- package/src/decorators/orm/TreeChildren.mjs +33 -6
- package/src/decorators/orm/TreeLevelColumn.cjs +26 -7
- package/src/decorators/orm/TreeLevelColumn.mjs +27 -6
- package/src/decorators/orm/TreeParent.cjs +32 -7
- package/src/decorators/orm/TreeParent.mjs +33 -6
- package/src/decorators/orm/Unique.cjs +45 -7
- package/src/decorators/orm/Unique.mjs +46 -6
- package/src/decorators/orm/UpdateDateColumn.cjs +26 -7
- package/src/decorators/orm/UpdateDateColumn.mjs +27 -6
- package/src/decorators/orm/VersionColumn.cjs +26 -7
- package/src/decorators/orm/VersionColumn.mjs +27 -6
- package/src/decorators/orm/ViewColumn.cjs +26 -7
- package/src/decorators/orm/ViewColumn.mjs +27 -6
- package/src/decorators/orm/ViewEntity.cjs +35 -7
- package/src/decorators/orm/ViewEntity.mjs +36 -6
- package/src/decorators/orm/VirtualColumn.cjs +43 -7
- package/src/decorators/orm/VirtualColumn.mjs +44 -6
- package/src/providers/Database.cjs +0 -2
- package/src/providers/Database.mjs +0 -2
- package/vendor/Package.122.cjs +13223 -16706
- package/vendor/Package.122.mjs +13498 -16881
- package/vendor/Package.19.cjs +184 -195
- package/vendor/Package.19.mjs +1 -1
- package/vendor/TypeDef.internal.1.d.ts +1 -1
- package/vendor/TypeDef.internal.10.d.ts +1 -1
- package/vendor/TypeDef.internal.11.d.ts +2 -2
- package/vendor/TypeDef.internal.12.d.ts +2 -2
- package/vendor/TypeDef.internal.13.d.ts +6 -6
- package/vendor/TypeDef.internal.3.d.ts +3 -3
- package/vendor/TypeDef.internal.4.d.ts +181 -347
- package/vendor/TypeDef.internal.5.d.ts +2 -2
- package/vendor/TypeDef.internal.6.d.ts +2 -2
- package/vendor/TypeDef.internal.7.d.ts +1 -1
- package/vendor/TypeDef.internal.8.d.ts +1 -1
- package/vendor/TypeDef.internal.9.d.ts +1 -1
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.66.docker.auth.proto");
|
|
46651
46651
|
if(!fsForLoadProto.existsSync(authProtoFilename)) fsForLoadProto.writeFileSync(authProtoFilename,Buffer.from("c3ludGF4ID0gInByb3RvMyI7CgpwYWNrYWdlIG1vYnkuZmlsZXN5bmMudjE7CgpvcHRpb24gZ29fcGFja2FnZSA9ICJhdXRoIjsKCnNlcnZpY2UgQXV0aHsKCXJwYyBDcmVkZW50aWFscyhDcmVkZW50aWFsc1JlcXVlc3QpIHJldHVybnMgKENyZWRlbnRpYWxzUmVzcG9uc2UpOwoJcnBjIEZldGNoVG9rZW4oRmV0Y2hUb2tlblJlcXVlc3QpIHJldHVybnMgKEZldGNoVG9rZW5SZXNwb25zZSk7CglycGMgR2V0VG9rZW5BdXRob3JpdHkoR2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0eVJlc3BvbnNlIHsKCWJ5dGVzIFNpZ25lZCA9IDE7Cn0=","base64").toString("utf-8"));
|
|
46652
46652
|
return protoLoader.loadSync(authProtoFilename);
|
|
46653
46653
|
})();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IConstructor } from './TypeDef.internal.9.js';
|
|
2
2
|
|
|
3
3
|
type ClassDecorator<Constructor extends IConstructor> = (target: Constructor) => Constructor | void;
|
|
4
4
|
|
|
5
5
|
type PropertyDecorator<ClassPrototype> = (target: ClassPrototype, propertyKey: string | symbol) => void;
|
|
6
6
|
|
|
7
|
-
export type { ClassDecorator
|
|
7
|
+
export type { ClassDecorator, PropertyDecorator };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OrderByCondition } from './TypeDef.internal.4.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes all index options.
|
|
@@ -104,4 +104,4 @@ interface EntityOptions {
|
|
|
104
104
|
comment?: string;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
export type { EntityOptions
|
|
107
|
+
export type { EntityOptions, IndexOptions };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Provider, BaseObject, IBaseObjectConstructor, Container, Module, Component } from './TypeDef.internal.3.js';
|
|
2
|
+
import { DTO, JSONSchema, FunctionSchema } from './TypeDef.internal.5.js';
|
|
3
|
+
import { ActionPattern, IPatRun } from './TypeDef.internal.10.js';
|
|
4
4
|
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
5
|
-
import {
|
|
5
|
+
import { Exception } from './TypeDef.internal.7.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Context types
|
|
@@ -411,5 +411,5 @@ declare class Entrypoint extends Component {
|
|
|
411
411
|
getCliActions(): EntrypointActions<CLIActionInfo>;
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
-
export {
|
|
415
|
-
export type { ActionGroupInfo
|
|
414
|
+
export { AccessControlRule, BaseContext, BuildCLIEntrypoint, BuildEntrypoints, BuildHTTPEntrypoint, BuildServiceEntrypoint, CLIContext, ContextType, Controller, Entrypoint, HTTPContext, ServiceContext };
|
|
415
|
+
export type { AccessControlRuleHandler, ActionGroupInfo, BaseActionInfo, CLIActionInfo, CLIEntrypoint, CLIEntrypointHandler, CLIMap, ControllerProperty, EntrypointActions, EntrypointDestroyer, EntrypointDestroyerRegistrar, EntrypointOptions, HTTPActionInfo, HTTPEntrypoint, HTTPEntrypointHandler, HTTPRouteMap, ServiceActionInfo, ServiceEntrypoint, ServiceEntrypointHandler };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DTO } from './TypeDef.internal.5.js';
|
|
2
2
|
import './TypeDef.internal.2.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -979,5 +979,5 @@ declare class Container {
|
|
|
979
979
|
destroy(): Promise<void>;
|
|
980
980
|
}
|
|
981
981
|
|
|
982
|
-
export { BaseObject
|
|
983
|
-
export type { EventAndListener
|
|
982
|
+
export { BaseObject, Component, Container, LoadAnonymousObjectOptions, LoadNamedObjectOptions, LoadObjectOptions, Module, ModuleConfigLoader, ModuleLoadObjectsOptions, ModuleOptions, OverridableNamedObjectOptions, OverridableObjectOptions, Provider };
|
|
983
|
+
export type { ConstructorOptions, EventAndListener, IBaseObjectConstructor, LifetimeType, ListenerFn, event };
|