@eggjs/tegg-types 4.0.0-beta.7 → 4.0.0-beta.8
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/dist/AccessLevel-BmHWkz-U.js +9 -0
- package/dist/AccessLevel-CCiGTqJJ.d.ts +7 -0
- package/dist/Advice-B4Ts38yJ.d.ts +42 -0
- package/dist/Advice-BwhUgRjK.js +1 -0
- package/dist/Aspect-CTW_0pmy.d.ts +17 -0
- package/dist/Aspect-DXu-kwdZ.js +5 -0
- package/dist/BaseDao-TBMMfekC.d.ts +13 -0
- package/dist/BaseDao-kXru0LGa.js +1 -0
- package/dist/CodeGenerator-BXae3hkj.d.ts +9 -0
- package/dist/CodeGenerator-CC1LH3Nd.js +1 -0
- package/dist/Column-BLmjqPaT.js +1 -0
- package/dist/Column-JNyjCJMp.d.ts +182 -0
- package/dist/ColumnFormat-NfbFD-Qq.js +10 -0
- package/dist/ColumnFormat-YNjWfTAq.d.ts +8 -0
- package/dist/ColumnTsType-Bn82JG3Z.js +1 -0
- package/dist/ColumnTsType-C-tU6Fl2.d.ts +45 -0
- package/dist/ColumnType-Baa2fUne.js +45 -0
- package/dist/ColumnType-oCNvXvt4.d.ts +43 -0
- package/dist/CompressionType-BSzjn3NF.d.ts +8 -0
- package/dist/CompressionType-rjfbKy8y.js +10 -0
- package/dist/ContextProto-B9GGOED5.js +1 -0
- package/dist/ContextProto-DNcKWLwE.d.ts +10 -0
- package/dist/ControllerMetadata-_P0ZOday.d.ts +15 -0
- package/dist/ControllerMetadata-uOWyAhxg.js +1 -0
- package/dist/Crosscut-CFVGqlTe.d.ts +32 -0
- package/dist/Crosscut-RtDGP_jE.js +6 -0
- package/dist/DataSourceQualifier-BYTDOFX_.js +6 -0
- package/dist/DataSourceQualifier-tL1buEEH.d.ts +5 -0
- package/dist/DateSource-D9CDT4dT.d.ts +16 -0
- package/dist/DateSource-DZkuQC77.js +1 -0
- package/dist/EggContainer-SVX9XNK2.js +1 -0
- package/dist/EggContext-GNBG4Rj7.js +1 -0
- package/dist/EggMultiInstancePrototypeInfo-BqfEf8bP.d.ts +62 -0
- package/dist/EggMultiInstancePrototypeInfo-KJT1L6LW.js +1 -0
- package/dist/EggObject-BmvZuwV_.js +12 -0
- package/dist/EggObjectLifecycle-D3YqlfEg.js +1 -0
- package/dist/EggPrototype-DT7xhNEp.js +1 -0
- package/dist/EggPrototypeInfo-DB-Ka_mi.js +1 -0
- package/dist/EggPrototypeInfo-DtKJNqMh.d.ts +39 -0
- package/dist/EggType-CWiNumD0.d.ts +7 -0
- package/dist/EggType-Gbn2fclg.js +9 -0
- package/dist/Factory-NttwzKhi.js +1 -0
- package/dist/Graph-BoS2dLfr.js +1 -0
- package/dist/Graph-DV_lJFde.d.ts +6 -0
- package/dist/HTTPController-DUeli07o.js +1 -0
- package/dist/HTTPController-DWaTpXho.d.ts +8 -0
- package/dist/HTTPMethod-BXEIRfwp.d.ts +10 -0
- package/dist/HTTPMethod-hvD7QIK7.js +1 -0
- package/dist/HTTPParam-BSihwHRr.d.ts +12 -0
- package/dist/HTTPParam-Le3ct7ye.js +1 -0
- package/dist/IdenticalObject-CgLvCa4Z.js +1 -0
- package/dist/IdenticalObject-DWtk6w0C.d.ts +7 -0
- package/dist/IndexStoreType-BoZ6JVlo.js +9 -0
- package/dist/IndexStoreType-CyG2LFa7.d.ts +7 -0
- package/dist/IndexType-C2UAjKxX.js +12 -0
- package/dist/IndexType-Df7nUq-E.d.ts +10 -0
- package/dist/Inject-CJoudlde.d.ts +7 -0
- package/dist/Inject-DuZBYpk5.js +1 -0
- package/dist/InjectConstructorInfo-C2StiUhG.d.ts +23 -0
- package/dist/InjectConstructorInfo-Hnid0JYk.js +1 -0
- package/dist/InjectObjectInfo-1V6YBUpK.d.ts +18 -0
- package/dist/InjectObjectInfo-DEoSk7Pn.js +1 -0
- package/dist/InjectType-CFz0_dok.js +9 -0
- package/dist/InjectType-s8nLOlv2.d.ts +7 -0
- package/dist/InsertMethod-CK5Y5i-0.d.ts +8 -0
- package/dist/InsertMethod-CndhCMXe.js +10 -0
- package/dist/LifecycleHook-Bo14zgud.d.ts +16 -0
- package/dist/LifecycleHook-Cz0mYIGG.js +1 -0
- package/dist/LoadUnit-DHzr1WxT.js +10 -0
- package/dist/LoadUnitInstance-CU2hw0zx.js +1 -0
- package/dist/Loader-CeoaOmMk.d.ts +12 -0
- package/dist/Loader-tg663nX2.js +1 -0
- package/dist/Logger-B4gKN85p.d.ts +10 -0
- package/dist/Logger-DWAU5XJy.js +1 -0
- package/dist/Metadata-2R5ZbPIh.js +1 -0
- package/dist/Metadata-BCDj-rjy.d.ts +4 -0
- package/dist/MetadataKey-DHtJYAMe.js +24 -0
- package/dist/MetadataKey-DtGflg7d.d.ts +23 -0
- package/dist/MethodMeta-CRxnzXjS.js +1 -0
- package/dist/MethodMeta-DhgwCoNi.d.ts +10 -0
- package/dist/ModuleConfig-BAMzgp3C.d.ts +29 -0
- package/dist/ModuleConfig-cL7yqQ_U.js +1 -0
- package/dist/MultiInstanceProto-7QFGZfAk.d.ts +31 -0
- package/dist/MultiInstanceProto-FQ3UjFp4.js +1 -0
- package/dist/MultiInstanceType-BGZS96By.d.ts +7 -0
- package/dist/MultiInstanceType-ClAOva8a.js +9 -0
- package/dist/ObjectInitType-B1ZmILoP.js +15 -0
- package/dist/ObjectInitType-Bup9dZmi.d.ts +10 -0
- package/dist/Pointcut-CU11keh_.js +20 -0
- package/dist/Pointcut-Cjch6vux.d.ts +29 -0
- package/dist/ProtoDescriptor-C46l15Hq.d.ts +29 -0
- package/dist/ProtoDescriptor-C7lYBF_c.js +1 -0
- package/dist/ProtoDescriptorType-4nWZH9VX.js +8 -0
- package/dist/ProtoDescriptorType-Ccx3k2nQ.d.ts +6 -0
- package/dist/Prototype-DVMZnlzR.d.ts +13 -0
- package/dist/Prototype-DkOAbbWd.js +5 -0
- package/dist/Qualifier-BdK6CR6I.js +11 -0
- package/dist/Qualifier-DHoHs6N1.d.ts +9 -0
- package/dist/Qualifier-Do-37C7R.d.ts +10 -0
- package/dist/Qualifier-DqQ1SHGp.js +10 -0
- package/dist/QualifierInfo-BAKTckQb.d.ts +41 -0
- package/dist/QualifierInfo-BPycgg_P.js +1 -0
- package/dist/RowFormat-D9-zkd7Y.d.ts +11 -0
- package/dist/RowFormat-j0MO7-Ti.js +13 -0
- package/dist/RuntimeConfig-B8mz1XU4.js +1 -0
- package/dist/RuntimeConfig-D3ZIrFDE.d.ts +18 -0
- package/dist/SingletonProto-4_tj18YD.js +1 -0
- package/dist/SingletonProto-CwutNiFl.d.ts +10 -0
- package/dist/Spatial-Bobfh4hS.js +1 -0
- package/dist/Spatial-DR_aZctq.d.ts +14 -0
- package/dist/SqlMap-C4zS_FfM.js +1 -0
- package/dist/SqlMap-CElpXNYO.d.ts +22 -0
- package/dist/SqlType-3poChZq3.js +12 -0
- package/dist/SqlType-CTfZJaDy.d.ts +10 -0
- package/dist/Table-C7PwEyW3.js +1 -0
- package/dist/Table-y7qTEg4Y.d.ts +27 -0
- package/dist/Templates-CzZva9K4.d.ts +8 -0
- package/dist/Templates-RNDj6Xzm.js +10 -0
- package/dist/aop/Advice.d.ts +1 -41
- package/dist/aop/Advice.js +2 -0
- package/dist/aop/Aspect.d.ts +22 -16
- package/dist/aop/Aspect.js +1 -3
- package/dist/aop/Crosscut.d.ts +24 -31
- package/dist/aop/Crosscut.js +1 -4
- package/dist/aop/Pointcut.d.ts +21 -28
- package/dist/aop/Pointcut.js +1 -18
- package/dist/aop/index.d.ts +25 -4
- package/dist/aop/index.js +5 -3
- package/dist/aop-DsxLLCBn.js +1 -0
- package/dist/builder-Cc8YzNyP.js +1 -0
- package/dist/builder-D5y-duIA.d.ts +10 -0
- package/dist/common/Graph.d.ts +1 -5
- package/dist/common/Graph.js +2 -0
- package/dist/common/Logger.d.ts +1 -9
- package/dist/common/Logger.js +2 -0
- package/dist/common/ModuleConfig.d.ts +1 -28
- package/dist/common/ModuleConfig.js +2 -0
- package/dist/common/RuntimeConfig.d.ts +1 -17
- package/dist/common/RuntimeConfig.js +2 -0
- package/dist/common/index.d.ts +5 -4
- package/dist/common/index.js +6 -0
- package/dist/common-CKFqCHwu.js +1 -0
- package/dist/controller-decorator/HTTPController.d.ts +1 -7
- package/dist/controller-decorator/HTTPController.js +2 -0
- package/dist/controller-decorator/HTTPMethod.d.ts +25 -9
- package/dist/controller-decorator/HTTPMethod.js +6 -0
- package/dist/controller-decorator/HTTPParam.d.ts +1 -11
- package/dist/controller-decorator/HTTPParam.js +2 -0
- package/dist/controller-decorator/MetadataKey.d.ts +1 -22
- package/dist/controller-decorator/MetadataKey.js +1 -22
- package/dist/controller-decorator/builder.d.ts +25 -9
- package/dist/controller-decorator/builder.js +2 -0
- package/dist/controller-decorator/index.d.ts +30 -8
- package/dist/controller-decorator/index.js +10 -2
- package/dist/controller-decorator/model/ControllerMetadata.d.ts +23 -14
- package/dist/controller-decorator/model/ControllerMetadata.js +2 -0
- package/dist/controller-decorator/model/MethodMeta.d.ts +2 -9
- package/dist/controller-decorator/model/MethodMeta.js +2 -0
- package/dist/controller-decorator/model/index.d.ts +24 -3
- package/dist/controller-decorator/model/index.js +4 -1
- package/dist/controller-decorator/model/types.d.ts +2 -49
- package/dist/controller-decorator/model/types.js +1 -43
- package/dist/controller-decorator-LXQBm3FM.js +1 -0
- package/dist/core-decorator/ContextProto.d.ts +8 -9
- package/dist/core-decorator/ContextProto.js +8 -1
- package/dist/core-decorator/Inject.d.ts +1 -6
- package/dist/core-decorator/Inject.js +2 -0
- package/dist/core-decorator/Metadata.d.ts +1 -3
- package/dist/core-decorator/Metadata.js +2 -0
- package/dist/core-decorator/MultiInstanceProto.d.ts +14 -30
- package/dist/core-decorator/MultiInstanceProto.js +2 -0
- package/dist/core-decorator/Prototype.d.ts +8 -12
- package/dist/core-decorator/Prototype.js +1 -3
- package/dist/core-decorator/SingletonProto.d.ts +8 -9
- package/dist/core-decorator/SingletonProto.js +2 -0
- package/dist/core-decorator/enum/AccessLevel.d.ts +1 -6
- package/dist/core-decorator/enum/AccessLevel.js +1 -7
- package/dist/core-decorator/enum/EggType.d.ts +1 -6
- package/dist/core-decorator/enum/EggType.js +1 -7
- package/dist/core-decorator/enum/InjectType.d.ts +1 -6
- package/dist/core-decorator/enum/InjectType.js +1 -7
- package/dist/core-decorator/enum/MultiInstanceType.d.ts +1 -6
- package/dist/core-decorator/enum/MultiInstanceType.js +1 -7
- package/dist/core-decorator/enum/ObjectInitType.d.ts +1 -9
- package/dist/core-decorator/enum/ObjectInitType.js +1 -13
- package/dist/core-decorator/enum/Qualifier.d.ts +1 -9
- package/dist/core-decorator/enum/Qualifier.js +1 -9
- package/dist/core-decorator/enum/index.d.ts +7 -6
- package/dist/core-decorator/enum/index.js +7 -6
- package/dist/core-decorator/index.d.ts +20 -17
- package/dist/core-decorator/index.js +20 -10
- package/dist/core-decorator/model/EggMultiInstancePrototypeInfo.d.ts +10 -61
- package/dist/core-decorator/model/EggMultiInstancePrototypeInfo.js +10 -2
- package/dist/core-decorator/model/EggPrototypeInfo.d.ts +9 -38
- package/dist/core-decorator/model/EggPrototypeInfo.js +9 -1
- package/dist/core-decorator/model/InjectConstructorInfo.d.ts +2 -22
- package/dist/core-decorator/model/InjectConstructorInfo.js +2 -0
- package/dist/core-decorator/model/InjectObjectInfo.d.ts +1 -17
- package/dist/core-decorator/model/InjectObjectInfo.js +2 -0
- package/dist/core-decorator/model/QualifierInfo.d.ts +1 -40
- package/dist/core-decorator/model/QualifierInfo.js +2 -0
- package/dist/core-decorator/model/index.d.ts +13 -5
- package/dist/core-decorator/model/index.js +13 -2
- package/dist/core-decorator-D7IpfnBM.js +1 -0
- package/dist/dal/Qualifier.d.ts +1 -8
- package/dist/dal/Qualifier.js +1 -8
- package/dist/dal/decorator/Column.d.ts +11 -181
- package/dist/dal/decorator/Column.js +2 -0
- package/dist/dal/decorator/DataSourceQualifier.d.ts +1 -4
- package/dist/dal/decorator/DataSourceQualifier.js +1 -4
- package/dist/dal/decorator/Table.d.ts +11 -26
- package/dist/dal/decorator/Table.js +2 -0
- package/dist/dal/decorator/index.d.ts +14 -18
- package/dist/dal/decorator/index.js +4 -1
- package/dist/dal/enum/ColumnFormat.d.ts +1 -7
- package/dist/dal/enum/ColumnFormat.js +1 -8
- package/dist/dal/enum/ColumnType.d.ts +1 -42
- package/dist/dal/enum/ColumnType.js +1 -43
- package/dist/dal/enum/CompressionType.d.ts +1 -7
- package/dist/dal/enum/CompressionType.js +1 -8
- package/dist/dal/enum/IndexStoreType.d.ts +1 -6
- package/dist/dal/enum/IndexStoreType.js +1 -7
- package/dist/dal/enum/IndexType.d.ts +1 -9
- package/dist/dal/enum/IndexType.js +1 -10
- package/dist/dal/enum/InsertMethod.d.ts +1 -7
- package/dist/dal/enum/InsertMethod.js +1 -8
- package/dist/dal/enum/RowFormat.d.ts +1 -10
- package/dist/dal/enum/RowFormat.js +1 -11
- package/dist/dal/enum/SqlType.d.ts +1 -9
- package/dist/dal/enum/SqlType.js +1 -10
- package/dist/dal/enum/Templates.d.ts +1 -7
- package/dist/dal/enum/Templates.js +1 -8
- package/dist/dal/enum/index.d.ts +10 -9
- package/dist/dal/enum/index.js +10 -9
- package/dist/dal/index.d.ts +43 -20
- package/dist/dal/index.js +23 -12
- package/dist/dal/type/BaseDao.d.ts +32 -12
- package/dist/dal/type/BaseDao.js +2 -0
- package/dist/dal/type/CodeGenerator.d.ts +1 -8
- package/dist/dal/type/CodeGenerator.js +2 -0
- package/dist/dal/type/ColumnTsType.d.ts +2 -44
- package/dist/dal/type/ColumnTsType.js +2 -0
- package/dist/dal/type/DateSource.d.ts +1 -15
- package/dist/dal/type/DateSource.js +2 -0
- package/dist/dal/type/Spatial.d.ts +1 -13
- package/dist/dal/type/Spatial.js +2 -0
- package/dist/dal/type/SqlMap.d.ts +11 -21
- package/dist/dal/type/SqlMap.js +2 -0
- package/dist/dal/type/index.d.ts +37 -6
- package/dist/dal/type/index.js +8 -0
- package/dist/dal-CxBKEWLS.js +1 -0
- package/dist/decorator-siRZOEcm.js +1 -0
- package/dist/dynamic-inject-DAPxfjab.js +5 -0
- package/dist/dynamic-inject-s2d6E4bg.d.ts +18 -0
- package/dist/dynamic-inject.d.ts +21 -17
- package/dist/dynamic-inject.js +1 -3
- package/dist/enum-BLhDoXEr.js +1 -0
- package/dist/enum-DPmNBh9B.js +1 -0
- package/dist/enum-Dq4iL6Z6.js +1 -0
- package/dist/errors-D0-3zz_0.d.ts +8 -0
- package/dist/errors-f8c86iks.js +10 -0
- package/dist/index-2Mg7qf3C.d.ts +1 -0
- package/dist/index-2g6qjnfC.d.ts +1 -0
- package/dist/index-B49vchMV.d.ts +1 -0
- package/dist/index-BdAuF5sH.d.ts +16 -0
- package/dist/index-CAfgpWI7.d.ts +1 -0
- package/dist/index-CQhjd39A.d.ts +1 -0
- package/dist/index-ChT-j2Wd.d.ts +1 -0
- package/dist/index-CxtfLU1L.d.ts +259 -0
- package/dist/index-D32kgK7U.d.ts +1 -0
- package/dist/index-DAzj8jAF.d.ts +1 -0
- package/dist/index-DIk3-d3u.d.ts +1 -0
- package/dist/index-DKjTz6WE.d.ts +1 -0
- package/dist/index-LUGmBzeE.d.ts +1 -0
- package/dist/index.d.ts +75 -71
- package/dist/index.js +87 -36
- package/dist/lifecycle/EggObjectLifecycle.d.ts +28 -39
- package/dist/lifecycle/EggObjectLifecycle.js +2 -0
- package/dist/lifecycle/IdenticalObject.d.ts +1 -6
- package/dist/lifecycle/IdenticalObject.js +2 -0
- package/dist/lifecycle/LifecycleHook.d.ts +2 -15
- package/dist/lifecycle/LifecycleHook.js +2 -0
- package/dist/lifecycle/index.d.ts +28 -3
- package/dist/lifecycle/index.js +5 -0
- package/dist/lifecycle-De43j7QN.js +1 -0
- package/dist/metadata/enum/ProtoDescriptorType.d.ts +1 -5
- package/dist/metadata/enum/ProtoDescriptorType.js +1 -6
- package/dist/metadata/enum/index.d.ts +2 -1
- package/dist/metadata/enum/index.js +2 -1
- package/dist/metadata/errors.d.ts +1 -7
- package/dist/metadata/errors.js +1 -8
- package/dist/metadata/index.d.ts +28 -6
- package/dist/metadata/index.js +33 -4
- package/dist/metadata/model/EggPrototype.d.ts +28 -144
- package/dist/metadata/model/EggPrototype.js +26 -1
- package/dist/metadata/model/LoadUnit.d.ts +28 -33
- package/dist/metadata/model/LoadUnit.js +1 -8
- package/dist/metadata/model/Loader.d.ts +21 -11
- package/dist/metadata/model/Loader.js +2 -0
- package/dist/metadata/model/ProtoDescriptor.d.ts +23 -28
- package/dist/metadata/model/ProtoDescriptor.js +23 -1
- package/dist/metadata/model/index.d.ts +28 -4
- package/dist/metadata/model/index.js +31 -3
- package/dist/metadata-4rC6zz4u.js +1 -0
- package/dist/model-B2jQYVY_.js +1 -0
- package/dist/model-BGXnWY4v.js +1 -0
- package/dist/model-Cgjw7oIu.js +1 -0
- package/dist/model-CrxScfQ9.js +1 -0
- package/dist/orm-C3AVUU9c.js +10 -0
- package/dist/orm-C5YAuOG4.d.ts +33 -0
- package/dist/orm.d.ts +1 -32
- package/dist/orm.js +1 -8
- package/dist/runtime/Factory.d.ts +28 -10
- package/dist/runtime/Factory.js +2 -0
- package/dist/runtime/index.d.ts +28 -5
- package/dist/runtime/index.js +7 -1
- package/dist/runtime/model/EggContainer.d.ts +28 -15
- package/dist/runtime/model/EggContainer.js +2 -0
- package/dist/runtime/model/EggContext.d.ts +28 -9
- package/dist/runtime/model/EggContext.js +2 -0
- package/dist/runtime/model/EggObject.d.ts +28 -28
- package/dist/runtime/model/EggObject.js +1 -10
- package/dist/runtime/model/LoadUnitInstance.d.ts +28 -12
- package/dist/runtime/model/LoadUnitInstance.js +2 -0
- package/dist/runtime/model/index.d.ts +28 -4
- package/dist/runtime/model/index.js +5 -1
- package/dist/runtime-7iHvU3SV.js +1 -0
- package/dist/schedule-C1BbX-U_.d.ts +33 -0
- package/dist/schedule-DpXiSIJj.js +13 -0
- package/dist/schedule.d.ts +1 -32
- package/dist/schedule.js +1 -11
- package/dist/transaction-BS1Kmzb9.d.ts +26 -0
- package/dist/transaction-C_PbpkW9.js +13 -0
- package/dist/transaction.d.ts +1 -25
- package/dist/transaction.js +1 -11
- package/dist/type-DIfgT8T2.js +1 -0
- package/dist/types-C0VFNhau.js +45 -0
- package/dist/types-DuksKbpi.d.ts +49 -0
- package/package.json +1 -1
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import { AccessLevel } from "./AccessLevel-CCiGTqJJ.js";
|
|
2
|
+
import { ObjectInitTypeLike } from "./ObjectInitType-Bup9dZmi.js";
|
|
3
|
+
import { InjectType } from "./InjectType-s8nLOlv2.js";
|
|
4
|
+
import { QualifierAttribute, QualifierInfo, QualifierValue } from "./QualifierInfo-BAKTckQb.js";
|
|
5
|
+
import { EggProtoImplClass, EggPrototypeInfo, EggPrototypeName } from "./EggPrototypeInfo-DtKJNqMh.js";
|
|
6
|
+
import { EggObjectName } from "./InjectObjectInfo-1V6YBUpK.js";
|
|
7
|
+
import { MetaDataKey } from "./Metadata-BCDj-rjy.js";
|
|
8
|
+
import { Loader } from "./Loader-CeoaOmMk.js";
|
|
9
|
+
import { LifecycleContext, LifecycleObject } from "./LifecycleHook-Bo14zgud.js";
|
|
10
|
+
|
|
11
|
+
//#region src/metadata/model/LoadUnit.d.ts
|
|
12
|
+
declare enum EggLoadUnitType {
|
|
13
|
+
MODULE = "MODULE",
|
|
14
|
+
PLUGIN = "PLUGIN",
|
|
15
|
+
APP = "APP",
|
|
16
|
+
}
|
|
17
|
+
type EggLoadUnitTypeLike = EggLoadUnitType | string;
|
|
18
|
+
interface LoadUnitLifecycleContext extends LifecycleContext {
|
|
19
|
+
unitPath: string;
|
|
20
|
+
loader: Loader;
|
|
21
|
+
}
|
|
22
|
+
interface LoadUnit extends LifecycleObject<LoadUnitLifecycleContext> {
|
|
23
|
+
readonly name: string;
|
|
24
|
+
readonly unitPath: string;
|
|
25
|
+
readonly type: EggLoadUnitTypeLike;
|
|
26
|
+
iterateEggPrototype(): IterableIterator<EggPrototype>;
|
|
27
|
+
registerEggPrototype(proto: EggPrototype): void;
|
|
28
|
+
deletePrototype(proto: EggPrototype): void;
|
|
29
|
+
getEggPrototype(name: EggPrototypeName, qualifiers: QualifierInfo[]): EggPrototype[];
|
|
30
|
+
containPrototype(proto: EggPrototype): boolean;
|
|
31
|
+
}
|
|
32
|
+
interface LoadUnitPair {
|
|
33
|
+
loadUnit: LoadUnit;
|
|
34
|
+
ctx: LoadUnitLifecycleContext;
|
|
35
|
+
}
|
|
36
|
+
type LoadUnitCreator = (ctx: LoadUnitLifecycleContext) => LoadUnit;
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/metadata/model/EggPrototype.d.ts
|
|
39
|
+
interface InjectObjectProto {
|
|
40
|
+
/**
|
|
41
|
+
* property name obj inject to
|
|
42
|
+
*/
|
|
43
|
+
refName: PropertyKey;
|
|
44
|
+
/**
|
|
45
|
+
* obj's name will be injected
|
|
46
|
+
*/
|
|
47
|
+
objName: PropertyKey;
|
|
48
|
+
/**
|
|
49
|
+
* inject qualifiers
|
|
50
|
+
*/
|
|
51
|
+
qualifiers: QualifierInfo[];
|
|
52
|
+
/**
|
|
53
|
+
* optional inject
|
|
54
|
+
*/
|
|
55
|
+
optional?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* inject prototype
|
|
58
|
+
*/
|
|
59
|
+
proto: EggPrototype;
|
|
60
|
+
}
|
|
61
|
+
interface InjectConstructorProto {
|
|
62
|
+
/**
|
|
63
|
+
* inject args index
|
|
64
|
+
*/
|
|
65
|
+
refIndex: number;
|
|
66
|
+
/**
|
|
67
|
+
* property name obj inject to
|
|
68
|
+
*/
|
|
69
|
+
refName: PropertyKey;
|
|
70
|
+
/**
|
|
71
|
+
* obj's name will be injected
|
|
72
|
+
*/
|
|
73
|
+
objName: PropertyKey;
|
|
74
|
+
/**
|
|
75
|
+
* inject qualifiers
|
|
76
|
+
*/
|
|
77
|
+
qualifiers: QualifierInfo[];
|
|
78
|
+
/**
|
|
79
|
+
* optional inject
|
|
80
|
+
*/
|
|
81
|
+
optional?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* inject prototype
|
|
84
|
+
*/
|
|
85
|
+
proto: EggPrototype;
|
|
86
|
+
}
|
|
87
|
+
interface InjectObject {
|
|
88
|
+
/**
|
|
89
|
+
* property name obj inject to
|
|
90
|
+
*/
|
|
91
|
+
refName: PropertyKey;
|
|
92
|
+
/**
|
|
93
|
+
* obj's name will be injected
|
|
94
|
+
*/
|
|
95
|
+
objName: PropertyKey;
|
|
96
|
+
/**
|
|
97
|
+
* obj's initType will be injected
|
|
98
|
+
* if null same as current obj
|
|
99
|
+
*/
|
|
100
|
+
initType?: ObjectInitTypeLike;
|
|
101
|
+
/**
|
|
102
|
+
* optional inject
|
|
103
|
+
*/
|
|
104
|
+
optional?: boolean;
|
|
105
|
+
}
|
|
106
|
+
interface InjectConstructor {
|
|
107
|
+
/**
|
|
108
|
+
* property name obj inject to
|
|
109
|
+
*/
|
|
110
|
+
refIndex: number;
|
|
111
|
+
/**
|
|
112
|
+
* property name obj inject to
|
|
113
|
+
*/
|
|
114
|
+
refName: PropertyKey;
|
|
115
|
+
/**
|
|
116
|
+
* obj's name will be injected
|
|
117
|
+
*/
|
|
118
|
+
objName: PropertyKey;
|
|
119
|
+
/**
|
|
120
|
+
* obj's initType will be injected
|
|
121
|
+
* if null same as current obj
|
|
122
|
+
*/
|
|
123
|
+
initType?: ObjectInitTypeLike;
|
|
124
|
+
/**
|
|
125
|
+
* optional inject
|
|
126
|
+
*/
|
|
127
|
+
optional?: boolean;
|
|
128
|
+
}
|
|
129
|
+
type EggPrototypeClass = new (...args: any[]) => EggPrototype;
|
|
130
|
+
interface EggPrototypeLifecycleContext extends LifecycleContext {
|
|
131
|
+
clazz: EggProtoImplClass;
|
|
132
|
+
prototypeInfo: EggPrototypeInfo;
|
|
133
|
+
loadUnit: LoadUnit;
|
|
134
|
+
}
|
|
135
|
+
interface EggPrototype extends LifecycleObject<EggPrototypeLifecycleContext> {
|
|
136
|
+
[key: symbol]: PropertyDescriptor;
|
|
137
|
+
readonly name: EggPrototypeName;
|
|
138
|
+
readonly initType: ObjectInitTypeLike;
|
|
139
|
+
readonly accessLevel: AccessLevel;
|
|
140
|
+
readonly loadUnitId: string;
|
|
141
|
+
readonly injectObjects: Array<InjectObjectProto | InjectConstructorProto>;
|
|
142
|
+
readonly injectType?: InjectType;
|
|
143
|
+
readonly className?: string;
|
|
144
|
+
readonly multiInstanceConstructorIndex?: number;
|
|
145
|
+
readonly multiInstanceConstructorAttributes?: QualifierAttribute[];
|
|
146
|
+
/**
|
|
147
|
+
* get metadata for key
|
|
148
|
+
* @param {MetaDataKey} metadataKey
|
|
149
|
+
*/
|
|
150
|
+
getMetaData<T>(metadataKey: MetaDataKey): T | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* verify proto is satisfied with qualifier
|
|
153
|
+
*
|
|
154
|
+
* default qualifier:
|
|
155
|
+
* - load unit name
|
|
156
|
+
* - init type
|
|
157
|
+
*
|
|
158
|
+
* @param qualifier
|
|
159
|
+
*/
|
|
160
|
+
verifyQualifier(qualifier: QualifierInfo): boolean;
|
|
161
|
+
verifyQualifiers(qualifiers: QualifierInfo[]): boolean;
|
|
162
|
+
getQualifier(attribute: QualifierAttribute): QualifierValue | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* construct egg object, not trigger lifecycle method/hook
|
|
165
|
+
*/
|
|
166
|
+
constructEggObject(...args: any): object;
|
|
167
|
+
}
|
|
168
|
+
interface EggPrototypeWithClazz extends EggPrototype {
|
|
169
|
+
clazz?: EggProtoImplClass;
|
|
170
|
+
}
|
|
171
|
+
type EggPrototypeCreator = (ctx: EggPrototypeLifecycleContext) => EggPrototype;
|
|
172
|
+
//#endregion
|
|
173
|
+
//#region src/runtime/model/EggContext.d.ts
|
|
174
|
+
interface EggContextLifecycleContext {}
|
|
175
|
+
interface EggRuntimeContext extends EggContainer<EggContextLifecycleContext> {
|
|
176
|
+
get(key: string | symbol): any | undefined;
|
|
177
|
+
set(key: string | symbol, val: any): void;
|
|
178
|
+
}
|
|
179
|
+
//#endregion
|
|
180
|
+
//#region src/runtime/model/LoadUnitInstance.d.ts
|
|
181
|
+
interface LoadUnitInstanceLifecycleContext {
|
|
182
|
+
loadUnit: LoadUnit;
|
|
183
|
+
}
|
|
184
|
+
interface LoadUnitInstance extends EggContainer<LoadUnitInstanceLifecycleContext> {
|
|
185
|
+
readonly name: string;
|
|
186
|
+
readonly loadUnit: LoadUnit;
|
|
187
|
+
}
|
|
188
|
+
//#endregion
|
|
189
|
+
//#region src/runtime/model/EggObject.d.ts
|
|
190
|
+
declare enum EggObjectStatus {
|
|
191
|
+
PENDING = "PENDING",
|
|
192
|
+
READY = "READY",
|
|
193
|
+
ERROR = "ERROR",
|
|
194
|
+
DESTROYING = "DESTROYING",
|
|
195
|
+
DESTROYED = "DESTROYED",
|
|
196
|
+
}
|
|
197
|
+
interface EggObjectLifeCycleContext extends LifecycleContext {
|
|
198
|
+
readonly loadUnit: LoadUnit;
|
|
199
|
+
readonly loadUnitInstance: LoadUnitInstance;
|
|
200
|
+
}
|
|
201
|
+
interface EggObject extends LifecycleObject<EggObjectLifeCycleContext> {
|
|
202
|
+
readonly isReady: boolean;
|
|
203
|
+
readonly obj: Record<string | symbol, any>;
|
|
204
|
+
readonly proto: EggPrototype;
|
|
205
|
+
readonly name: EggPrototypeName;
|
|
206
|
+
readonly ctx?: EggRuntimeContext;
|
|
207
|
+
injectProperty(name: string, descriptor: PropertyDescriptor): void;
|
|
208
|
+
}
|
|
209
|
+
//#endregion
|
|
210
|
+
//#region src/runtime/model/EggContainer.d.ts
|
|
211
|
+
interface EggContainer<T extends LifecycleContext> extends LifecycleObject<T> {
|
|
212
|
+
iterateProtoToCreate(): IterableIterator<[EggObjectName, EggPrototype]>;
|
|
213
|
+
addProtoToCreate(name: EggPrototypeName, proto: EggPrototype): void;
|
|
214
|
+
deleteProtoToCreate(name: EggPrototypeName): void;
|
|
215
|
+
getOrCreateEggObject(name: EggPrototypeName, proto: EggPrototype): Promise<EggObject>;
|
|
216
|
+
getEggObject(name: EggPrototypeName, proto: EggPrototype): EggObject;
|
|
217
|
+
}
|
|
218
|
+
//#endregion
|
|
219
|
+
//#region src/runtime/Factory.d.ts
|
|
220
|
+
type ContainerGetMethod = (proto: EggPrototype) => EggContainer<LifecycleContext>;
|
|
221
|
+
type CreateObjectMethod = (name: EggObjectName, proto: EggPrototype, lifecycleContext: EggObjectLifeCycleContext) => Promise<EggObject>;
|
|
222
|
+
//#endregion
|
|
223
|
+
//#region src/lifecycle/EggObjectLifecycle.d.ts
|
|
224
|
+
/**
|
|
225
|
+
* lifecycle hook interface for egg object
|
|
226
|
+
*/
|
|
227
|
+
interface EggObjectLifecycle {
|
|
228
|
+
/**
|
|
229
|
+
* call before project load
|
|
230
|
+
*/
|
|
231
|
+
preLoad?(ctx: EggObjectLifeCycleContext): Promise<void>;
|
|
232
|
+
/**
|
|
233
|
+
* call after construct
|
|
234
|
+
*/
|
|
235
|
+
postConstruct?(ctx: EggObjectLifeCycleContext, eggObj: EggObject): Promise<void>;
|
|
236
|
+
/**
|
|
237
|
+
* call before inject deps
|
|
238
|
+
*/
|
|
239
|
+
preInject?(ctx: EggObjectLifeCycleContext, eggObj: EggObject): Promise<void>;
|
|
240
|
+
/**
|
|
241
|
+
* call after inject deps
|
|
242
|
+
*/
|
|
243
|
+
postInject?(ctx: EggObjectLifeCycleContext, eggObj: EggObject): Promise<void>;
|
|
244
|
+
/**
|
|
245
|
+
* before object is ready
|
|
246
|
+
*/
|
|
247
|
+
init?(ctx: EggObjectLifeCycleContext, eggObj: EggObject): Promise<void>;
|
|
248
|
+
/**
|
|
249
|
+
* call before destroy
|
|
250
|
+
*/
|
|
251
|
+
preDestroy?(ctx: EggObjectLifeCycleContext, eggObj: EggObject): Promise<void>;
|
|
252
|
+
/**
|
|
253
|
+
* destroy the object
|
|
254
|
+
*/
|
|
255
|
+
destroy?(ctx: EggObjectLifeCycleContext, eggObj: EggObject): Promise<void>;
|
|
256
|
+
}
|
|
257
|
+
type LifecycleHookName = keyof EggObjectLifecycle;
|
|
258
|
+
//#endregion
|
|
259
|
+
export { ContainerGetMethod, CreateObjectMethod, EggContainer, EggContextLifecycleContext, EggLoadUnitType, EggLoadUnitTypeLike, EggObject, EggObjectLifeCycleContext, EggObjectLifecycle, EggObjectStatus, EggPrototype, EggPrototypeClass, EggPrototypeCreator, EggPrototypeLifecycleContext, EggPrototypeWithClazz, EggRuntimeContext, InjectConstructor, InjectConstructorProto, InjectObject, InjectObjectProto, LifecycleHookName, LoadUnit, LoadUnitCreator, LoadUnitInstance, LoadUnitInstanceLifecycleContext, LoadUnitLifecycleContext, LoadUnitPair };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,72 +1,76 @@
|
|
|
1
|
-
import { AdviceContext, IAdvice } from "./
|
|
2
|
-
import { AccessLevel } from "./
|
|
3
|
-
import { EggType } from "./
|
|
4
|
-
import { INIT_TYPE_TRY_ORDER, ObjectInitType, ObjectInitTypeLike } from "./
|
|
5
|
-
import { CONSTRUCTOR_QUALIFIER_META_DATA, ConfigSourceQualifierAttribute, EggQualifierAttribute, InitTypeQualifierAttribute, LoadUnitNameQualifierAttribute, PROPERTY_QUALIFIER_META_DATA, QUALIFIER_META_DATA } from "./
|
|
6
|
-
import { InjectType } from "./
|
|
7
|
-
import { MultiInstanceType } from "./
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
1
|
+
import { AdviceContext, IAdvice } from "./Advice-B4Ts38yJ.js";
|
|
2
|
+
import { AccessLevel } from "./AccessLevel-CCiGTqJJ.js";
|
|
3
|
+
import { EggType } from "./EggType-CWiNumD0.js";
|
|
4
|
+
import { INIT_TYPE_TRY_ORDER, ObjectInitType, ObjectInitTypeLike } from "./ObjectInitType-Bup9dZmi.js";
|
|
5
|
+
import { CONSTRUCTOR_QUALIFIER_META_DATA, ConfigSourceQualifierAttribute, EggQualifierAttribute, InitTypeQualifierAttribute, LoadUnitNameQualifierAttribute, PROPERTY_QUALIFIER_META_DATA, QUALIFIER_META_DATA } from "./Qualifier-Do-37C7R.js";
|
|
6
|
+
import { InjectType } from "./InjectType-s8nLOlv2.js";
|
|
7
|
+
import { MultiInstanceType } from "./MultiInstanceType-BGZS96By.js";
|
|
8
|
+
import "./index-D32kgK7U.js";
|
|
9
|
+
import { QualifierAttribute, QualifierInfo, QualifierValue } from "./QualifierInfo-BAKTckQb.js";
|
|
10
|
+
import { EggProtoImplClass, EggPrototypeInfo, EggPrototypeName } from "./EggPrototypeInfo-DtKJNqMh.js";
|
|
11
|
+
import { EggMultiInstanceCallbackPrototypeInfo, EggMultiInstancePrototypeInfo, MultiInstancePrototypeGetObjectsContext, ObjectInfo } from "./EggMultiInstancePrototypeInfo-BqfEf8bP.js";
|
|
12
|
+
import { EggObjectName, InjectObjectInfo } from "./InjectObjectInfo-1V6YBUpK.js";
|
|
13
|
+
import { InjectConstructorInfo } from "./InjectConstructorInfo-C2StiUhG.js";
|
|
14
|
+
import "./index-DIk3-d3u.js";
|
|
15
|
+
import { ContextProtoParams } from "./ContextProto-DNcKWLwE.js";
|
|
16
|
+
import { InjectParams } from "./Inject-CJoudlde.js";
|
|
17
|
+
import { MetaDataKey } from "./Metadata-BCDj-rjy.js";
|
|
18
|
+
import { BaseMultiInstancePrototypeCallbackParams, MultiInstancePrototypeCallbackParams, MultiInstancePrototypeParams, MultiInstancePrototypeStaticParams } from "./MultiInstanceProto-7QFGZfAk.js";
|
|
19
|
+
import { DEFAULT_PROTO_IMPL_TYPE, PrototypeParams } from "./Prototype-DVMZnlzR.js";
|
|
20
|
+
import { SingletonProtoParams } from "./SingletonProto-CwutNiFl.js";
|
|
21
|
+
import "./index-CQhjd39A.js";
|
|
22
|
+
import { ASPECT_LIST, AdviceInfo, AspectAdvice } from "./Aspect-CTW_0pmy.js";
|
|
23
|
+
import { CustomPointcutCallback, POINTCUT_ADVICE_INFO_LIAR, PointcutInfo, PointcutOptions, PointcutType } from "./Pointcut-Cjch6vux.js";
|
|
24
|
+
import { CROSSCUT_INFO_LIST, ClassCrosscutParam, CrosscutInfo, CrosscutOptions, CrosscutParam, CustomCrosscutParam, IS_CROSSCUT_ADVICE, NameCrosscutParam } from "./Crosscut-CFVGqlTe.js";
|
|
25
|
+
import "./index-ChT-j2Wd.js";
|
|
26
|
+
import { GraphNodeObj } from "./Graph-DV_lJFde.js";
|
|
27
|
+
import { Logger } from "./Logger-B4gKN85p.js";
|
|
28
|
+
import { InlineModuleReferenceConfig, ModuleConfig, ModuleConfigHolder, ModuleReference, ModuleReferenceConfig, NpmModuleReferenceConfig, ReadModuleReferenceOptions } from "./ModuleConfig-BAMzgp3C.js";
|
|
29
|
+
import { EnvType, RuntimeConfig } from "./RuntimeConfig-D3ZIrFDE.js";
|
|
30
|
+
import "./index-CAfgpWI7.js";
|
|
31
|
+
import { HTTPControllerParams } from "./HTTPController-DWaTpXho.js";
|
|
32
|
+
import { ControllerType, ControllerTypeLike, EggContext, HTTPMethodEnum, HTTPParamType, HostType, IncomingHttpHeaders, MethodType, MethodTypeLike, MiddlewareFunc, Next } from "./types-DuksKbpi.js";
|
|
33
|
+
import { MethodMeta } from "./MethodMeta-DhgwCoNi.js";
|
|
34
|
+
import { ControllerMetadata } from "./ControllerMetadata-_P0ZOday.js";
|
|
35
|
+
import "./index-LUGmBzeE.js";
|
|
36
|
+
import { HTTPMethodParams } from "./HTTPMethod-BXEIRfwp.js";
|
|
37
|
+
import { HTTPParamParams, HTTPQueriesParams, HTTPQueryParams } from "./HTTPParam-BSihwHRr.js";
|
|
38
|
+
import { CONTROLLER_ACL, CONTROLLER_AOP_MIDDLEWARES, CONTROLLER_HOST, CONTROLLER_HTTP_PATH, CONTROLLER_META_DATA, CONTROLLER_METHOD_METHOD_MAP, CONTROLLER_METHOD_PARAM_NAME_MAP, CONTROLLER_METHOD_PARAM_TYPE_MAP, CONTROLLER_METHOD_PATH_MAP, CONTROLLER_METHOD_PRIORITY, CONTROLLER_MIDDLEWARES, CONTROLLER_NAME, CONTROLLER_TYPE, METHOD_ACL, METHOD_AOP_MIDDLEWARES, METHOD_AOP_REGISTER_MAP, METHOD_CONTEXT_INDEX, METHOD_CONTROLLER_HOST, METHOD_CONTROLLER_TYPE_MAP, METHOD_MIDDLEWARES } from "./MetadataKey-DtGflg7d.js";
|
|
39
|
+
import { ControllerMetaBuilder, ControllerMetaBuilderCreator } from "./builder-D5y-duIA.js";
|
|
40
|
+
import "./index-2Mg7qf3C.js";
|
|
41
|
+
import { DAL_COLUMN_INFO_MAP, DAL_COLUMN_TYPE_MAP, DAL_INDEX_LIST, DAL_IS_DAO, DAL_IS_TABLE, DAL_TABLE_PARAMS } from "./Qualifier-DHoHs6N1.js";
|
|
42
|
+
import { ColumnFormat } from "./ColumnFormat-YNjWfTAq.js";
|
|
43
|
+
import { ColumnType } from "./ColumnType-oCNvXvt4.js";
|
|
44
|
+
import { CompressionType } from "./CompressionType-BSzjn3NF.js";
|
|
45
|
+
import { IndexStoreType } from "./IndexStoreType-CyG2LFa7.js";
|
|
46
|
+
import { IndexType } from "./IndexType-Df7nUq-E.js";
|
|
47
|
+
import { InsertMethod } from "./InsertMethod-CK5Y5i-0.js";
|
|
48
|
+
import { RowFormat } from "./RowFormat-D9-zkd7Y.js";
|
|
49
|
+
import { SqlType } from "./SqlType-CTfZJaDy.js";
|
|
50
|
+
import { Templates } from "./Templates-CzZva9K4.js";
|
|
51
|
+
import "./index-DKjTz6WE.js";
|
|
52
|
+
import { BaseSpatialParams, BigIntParams, BinaryParams, BitParams, BlobParams, BoolParams, CharParams, ColumnParams, ColumnTypeParams, DateParams, DateTimeParams, DecimalParams, DoubleParams, EnumParams, FloatParams, GeometryCollectionParams, GeometryParams, IColumnTypeParams, IntParams, JsonParams, LinestringParams, LongBlobParams, LongTextParams, MediumBlobParams, MediumIntParams, MediumTextParams, MultiLinestringParams, MultiPointParams, MultiPolygonParams, PointParams, PolygonParams, SetParams, SmallIntParams, TextParams, TimeParams, TimestampParams, TinyBlobParams, TinyIntParams, TinyTextParams, VarBinaryParams, VarCharParams, YearParams } from "./Column-JNyjCJMp.js";
|
|
53
|
+
import { DataSourceInjectName, DataSourceQualifierAttribute } from "./DataSourceQualifier-tL1buEEH.js";
|
|
54
|
+
import { TableParams } from "./Table-y7qTEg4Y.js";
|
|
55
|
+
import { IndexParams } from "./index-BdAuF5sH.js";
|
|
56
|
+
import { BaseSqlMap, BlockSqlMap, FullSqlMap, GenerateSqlMap, SqlMap } from "./SqlMap-CElpXNYO.js";
|
|
57
|
+
import { BaseDaoType } from "./BaseDao-TBMMfekC.js";
|
|
58
|
+
import { CodeGeneratorOptions } from "./CodeGenerator-BXae3hkj.js";
|
|
59
|
+
import { Geometry, GeometryCollection, Line, MultiLine, MultiPoint, MultiPolygon, Point, Polygon } from "./Spatial-DR_aZctq.js";
|
|
60
|
+
import { ColumnTsType } from "./ColumnTsType-C-tU6Fl2.js";
|
|
61
|
+
import { DataSource, PaginateData } from "./DateSource-D9CDT4dT.js";
|
|
62
|
+
import "./index-2g6qjnfC.js";
|
|
63
|
+
import "./index-DAzj8jAF.js";
|
|
64
|
+
import { EggAbstractClazz, EggObjectFactory, ImplDecorator, ImplTypeEnum, QUALIFIER_IMPL_MAP } from "./dynamic-inject-s2d6E4bg.js";
|
|
65
|
+
import { ErrorCodes } from "./errors-D0-3zz_0.js";
|
|
66
|
+
import { Loader } from "./Loader-CeoaOmMk.js";
|
|
67
|
+
import { ContainerGetMethod, CreateObjectMethod, EggContainer, EggContextLifecycleContext, EggLoadUnitType, EggLoadUnitTypeLike, EggObject, EggObjectLifeCycleContext, EggObjectLifecycle, EggObjectStatus, EggPrototype, EggPrototypeClass, EggPrototypeCreator, EggPrototypeLifecycleContext, EggPrototypeWithClazz, EggRuntimeContext, InjectConstructor, InjectConstructorProto, InjectObject, InjectObjectProto, LifecycleHookName, LoadUnit, LoadUnitCreator, LoadUnitInstance, LoadUnitInstanceLifecycleContext, LoadUnitLifecycleContext, LoadUnitPair } from "./index-CxtfLU1L.js";
|
|
68
|
+
import { ProtoDescriptorType } from "./ProtoDescriptorType-Ccx3k2nQ.js";
|
|
69
|
+
import "./index-B49vchMV.js";
|
|
70
|
+
import { InjectObjectDescriptor, ProtoDescriptor, ProtoDescriptorTypeLike } from "./ProtoDescriptor-C46l15Hq.js";
|
|
71
|
+
import { Id, IdenticalObject } from "./IdenticalObject-DWtk6w0C.js";
|
|
72
|
+
import { LifecycleContext, LifecycleHook, LifecycleObject } from "./LifecycleHook-Bo14zgud.js";
|
|
73
|
+
import { AttributeOptions, IS_MODEL, IndexOptions, MODEL_DATA_ATTRIBUTES, MODEL_DATA_INDICES, MODEL_DATA_SOURCE, MODEL_DATA_TABLE_NAME, MODEL_PROTO_IMPL_TYPE, ModelAttributeInfo, ModelIndexInfo, ModelParams } from "./orm-C5YAuOG4.js";
|
|
74
|
+
import { CronParams, CronScheduleParams, IS_SCHEDULE, IntervalParams, IntervalScheduleParams, SCHEDULE_METADATA, SCHEDULE_OPTIONS, SCHEDULE_PARAMS, ScheduleOptions, ScheduleParams, ScheduleSubscriber, ScheduleType, ScheduleTypeLike } from "./schedule-C1BbX-U_.js";
|
|
75
|
+
import { IS_TRANSACTION_CLAZZ, PropagationType, TRANSACTION_META_DATA, TransactionMetadata, TransactionalParams } from "./transaction-BS1Kmzb9.js";
|
|
72
76
|
export { ASPECT_LIST, AccessLevel, AdviceContext, AdviceInfo, AspectAdvice, AttributeOptions, BaseDaoType, BaseMultiInstancePrototypeCallbackParams, BaseSpatialParams, BaseSqlMap, BigIntParams, BinaryParams, BitParams, BlobParams, BlockSqlMap, BoolParams, CONSTRUCTOR_QUALIFIER_META_DATA, CONTROLLER_ACL, CONTROLLER_AOP_MIDDLEWARES, CONTROLLER_HOST, CONTROLLER_HTTP_PATH, CONTROLLER_META_DATA, CONTROLLER_METHOD_METHOD_MAP, CONTROLLER_METHOD_PARAM_NAME_MAP, CONTROLLER_METHOD_PARAM_TYPE_MAP, CONTROLLER_METHOD_PATH_MAP, CONTROLLER_METHOD_PRIORITY, CONTROLLER_MIDDLEWARES, CONTROLLER_NAME, CONTROLLER_TYPE, CROSSCUT_INFO_LIST, CharParams, ClassCrosscutParam, CodeGeneratorOptions, ColumnFormat, ColumnParams, ColumnTsType, ColumnType, ColumnTypeParams, CompressionType, ConfigSourceQualifierAttribute, ContainerGetMethod, ContextProtoParams, ControllerMetaBuilder, ControllerMetaBuilderCreator, ControllerMetadata, ControllerType, ControllerTypeLike, CreateObjectMethod, CronParams, CronScheduleParams, CrosscutInfo, CrosscutOptions, CrosscutParam, CustomCrosscutParam, CustomPointcutCallback, DAL_COLUMN_INFO_MAP, DAL_COLUMN_TYPE_MAP, DAL_INDEX_LIST, DAL_IS_DAO, DAL_IS_TABLE, DAL_TABLE_PARAMS, DEFAULT_PROTO_IMPL_TYPE, DataSource, DataSourceInjectName, DataSourceQualifierAttribute, DateParams, DateTimeParams, DecimalParams, DoubleParams, EggAbstractClazz, EggContainer, EggContext, EggContextLifecycleContext, EggLoadUnitType, EggLoadUnitTypeLike, EggMultiInstanceCallbackPrototypeInfo, EggMultiInstancePrototypeInfo, EggObject, EggObjectFactory, EggObjectLifeCycleContext, EggObjectLifecycle, EggObjectName, EggObjectStatus, EggProtoImplClass, EggPrototype, EggPrototypeClass, EggPrototypeCreator, EggPrototypeInfo, EggPrototypeLifecycleContext, EggPrototypeName, EggPrototypeWithClazz, EggQualifierAttribute, EggRuntimeContext, EggType, EnumParams, EnvType, ErrorCodes, FloatParams, FullSqlMap, GenerateSqlMap, Geometry, GeometryCollection, GeometryCollectionParams, GeometryParams, GraphNodeObj, HTTPControllerParams, HTTPMethodEnum, HTTPMethodParams, HTTPParamParams, HTTPParamType, HTTPQueriesParams, HTTPQueryParams, HostType, IAdvice, IColumnTypeParams, INIT_TYPE_TRY_ORDER, IS_CROSSCUT_ADVICE, IS_MODEL, IS_SCHEDULE, IS_TRANSACTION_CLAZZ, Id, IdenticalObject, ImplDecorator, ImplTypeEnum, IncomingHttpHeaders, IndexOptions, IndexParams, IndexStoreType, IndexType, InitTypeQualifierAttribute, InjectConstructor, InjectConstructorInfo, InjectConstructorProto, InjectObject, InjectObjectDescriptor, InjectObjectInfo, InjectObjectProto, InjectParams, InjectType, InlineModuleReferenceConfig, InsertMethod, IntParams, IntervalParams, IntervalScheduleParams, JsonParams, LifecycleContext, LifecycleHook, LifecycleHookName, LifecycleObject, Line, LinestringParams, LoadUnit, LoadUnitCreator, LoadUnitInstance, LoadUnitInstanceLifecycleContext, LoadUnitLifecycleContext, LoadUnitNameQualifierAttribute, LoadUnitPair, Loader, Logger, LongBlobParams, LongTextParams, METHOD_ACL, METHOD_AOP_MIDDLEWARES, METHOD_AOP_REGISTER_MAP, METHOD_CONTEXT_INDEX, METHOD_CONTROLLER_HOST, METHOD_CONTROLLER_TYPE_MAP, METHOD_MIDDLEWARES, MODEL_DATA_ATTRIBUTES, MODEL_DATA_INDICES, MODEL_DATA_SOURCE, MODEL_DATA_TABLE_NAME, MODEL_PROTO_IMPL_TYPE, MediumBlobParams, MediumIntParams, MediumTextParams, MetaDataKey, MethodMeta, MethodType, MethodTypeLike, MiddlewareFunc, ModelAttributeInfo, ModelIndexInfo, ModelParams, ModuleConfig, ModuleConfigHolder, ModuleReference, ModuleReferenceConfig, MultiInstancePrototypeCallbackParams, MultiInstancePrototypeGetObjectsContext, MultiInstancePrototypeParams, MultiInstancePrototypeStaticParams, MultiInstanceType, MultiLine, MultiLinestringParams, MultiPoint, MultiPointParams, MultiPolygon, MultiPolygonParams, NameCrosscutParam, Next, NpmModuleReferenceConfig, ObjectInfo, ObjectInitType, ObjectInitTypeLike, POINTCUT_ADVICE_INFO_LIAR, PROPERTY_QUALIFIER_META_DATA, PaginateData, Point, PointParams, PointcutInfo, PointcutOptions, PointcutType, Polygon, PolygonParams, PropagationType, ProtoDescriptor, ProtoDescriptorType, ProtoDescriptorTypeLike, PrototypeParams, QUALIFIER_IMPL_MAP, QUALIFIER_META_DATA, QualifierAttribute, QualifierInfo, QualifierValue, ReadModuleReferenceOptions, RowFormat, RuntimeConfig, SCHEDULE_METADATA, SCHEDULE_OPTIONS, SCHEDULE_PARAMS, ScheduleOptions, ScheduleParams, ScheduleSubscriber, ScheduleType, ScheduleTypeLike, SetParams, SingletonProtoParams, SmallIntParams, SqlMap, SqlType, TRANSACTION_META_DATA, TableParams, Templates, TextParams, TimeParams, TimestampParams, TinyBlobParams, TinyIntParams, TinyTextParams, TransactionMetadata, TransactionalParams, VarBinaryParams, VarCharParams, YearParams };
|
package/dist/index.js
CHANGED
|
@@ -1,38 +1,89 @@
|
|
|
1
|
-
import { QUALIFIER_IMPL_MAP } from "./dynamic-inject.js";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import "./
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import "./
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import {
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import "./
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import "./
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
1
|
+
import { QUALIFIER_IMPL_MAP } from "./dynamic-inject-DAPxfjab.js";
|
|
2
|
+
import "./Advice-BwhUgRjK.js";
|
|
3
|
+
import { ASPECT_LIST } from "./Aspect-DXu-kwdZ.js";
|
|
4
|
+
import { CROSSCUT_INFO_LIST, IS_CROSSCUT_ADVICE } from "./Crosscut-RtDGP_jE.js";
|
|
5
|
+
import { POINTCUT_ADVICE_INFO_LIAR, PointcutType } from "./Pointcut-CU11keh_.js";
|
|
6
|
+
import "./aop-DsxLLCBn.js";
|
|
7
|
+
import "./Graph-BoS2dLfr.js";
|
|
8
|
+
import "./ModuleConfig-cL7yqQ_U.js";
|
|
9
|
+
import "./RuntimeConfig-B8mz1XU4.js";
|
|
10
|
+
import "./Logger-DWAU5XJy.js";
|
|
11
|
+
import "./common-CKFqCHwu.js";
|
|
12
|
+
import { ControllerType, HTTPMethodEnum, HTTPParamType, MethodType } from "./types-C0VFNhau.js";
|
|
13
|
+
import "./ControllerMetadata-uOWyAhxg.js";
|
|
14
|
+
import "./MethodMeta-CRxnzXjS.js";
|
|
15
|
+
import "./model-Cgjw7oIu.js";
|
|
16
|
+
import "./builder-Cc8YzNyP.js";
|
|
17
|
+
import "./HTTPController-DUeli07o.js";
|
|
18
|
+
import "./HTTPMethod-hvD7QIK7.js";
|
|
19
|
+
import "./HTTPParam-Le3ct7ye.js";
|
|
20
|
+
import { CONTROLLER_ACL, CONTROLLER_AOP_MIDDLEWARES, CONTROLLER_HOST, CONTROLLER_HTTP_PATH, CONTROLLER_META_DATA, CONTROLLER_METHOD_METHOD_MAP, CONTROLLER_METHOD_PARAM_NAME_MAP, CONTROLLER_METHOD_PARAM_TYPE_MAP, CONTROLLER_METHOD_PATH_MAP, CONTROLLER_METHOD_PRIORITY, CONTROLLER_MIDDLEWARES, CONTROLLER_NAME, CONTROLLER_TYPE, METHOD_ACL, METHOD_AOP_MIDDLEWARES, METHOD_AOP_REGISTER_MAP, METHOD_CONTEXT_INDEX, METHOD_CONTROLLER_HOST, METHOD_CONTROLLER_TYPE_MAP, METHOD_MIDDLEWARES } from "./MetadataKey-DHtJYAMe.js";
|
|
21
|
+
import "./controller-decorator-LXQBm3FM.js";
|
|
22
|
+
import { AccessLevel } from "./AccessLevel-BmHWkz-U.js";
|
|
23
|
+
import { EggType } from "./EggType-Gbn2fclg.js";
|
|
24
|
+
import { INIT_TYPE_TRY_ORDER, ObjectInitType } from "./ObjectInitType-B1ZmILoP.js";
|
|
25
|
+
import { CONSTRUCTOR_QUALIFIER_META_DATA, ConfigSourceQualifierAttribute, EggQualifierAttribute, InitTypeQualifierAttribute, LoadUnitNameQualifierAttribute, PROPERTY_QUALIFIER_META_DATA, QUALIFIER_META_DATA } from "./Qualifier-BdK6CR6I.js";
|
|
26
|
+
import { InjectType } from "./InjectType-CFz0_dok.js";
|
|
27
|
+
import { MultiInstanceType } from "./MultiInstanceType-ClAOva8a.js";
|
|
28
|
+
import "./enum-DPmNBh9B.js";
|
|
29
|
+
import "./QualifierInfo-BPycgg_P.js";
|
|
30
|
+
import "./EggPrototypeInfo-DB-Ka_mi.js";
|
|
31
|
+
import "./EggMultiInstancePrototypeInfo-KJT1L6LW.js";
|
|
32
|
+
import "./InjectConstructorInfo-Hnid0JYk.js";
|
|
33
|
+
import "./InjectObjectInfo-DEoSk7Pn.js";
|
|
34
|
+
import "./model-B2jQYVY_.js";
|
|
35
|
+
import "./ContextProto-B9GGOED5.js";
|
|
36
|
+
import "./Inject-DuZBYpk5.js";
|
|
37
|
+
import "./Metadata-2R5ZbPIh.js";
|
|
38
|
+
import "./MultiInstanceProto-FQ3UjFp4.js";
|
|
39
|
+
import { DEFAULT_PROTO_IMPL_TYPE } from "./Prototype-DkOAbbWd.js";
|
|
40
|
+
import "./SingletonProto-4_tj18YD.js";
|
|
41
|
+
import "./core-decorator-D7IpfnBM.js";
|
|
42
|
+
import { ColumnFormat } from "./ColumnFormat-NfbFD-Qq.js";
|
|
43
|
+
import { ColumnType } from "./ColumnType-Baa2fUne.js";
|
|
44
|
+
import { CompressionType } from "./CompressionType-rjfbKy8y.js";
|
|
45
|
+
import { IndexStoreType } from "./IndexStoreType-BoZ6JVlo.js";
|
|
46
|
+
import { IndexType } from "./IndexType-C2UAjKxX.js";
|
|
47
|
+
import { InsertMethod } from "./InsertMethod-CndhCMXe.js";
|
|
48
|
+
import { RowFormat } from "./RowFormat-j0MO7-Ti.js";
|
|
49
|
+
import { SqlType } from "./SqlType-3poChZq3.js";
|
|
50
|
+
import { Templates } from "./Templates-RNDj6Xzm.js";
|
|
51
|
+
import "./enum-Dq4iL6Z6.js";
|
|
52
|
+
import "./BaseDao-kXru0LGa.js";
|
|
53
|
+
import "./CodeGenerator-CC1LH3Nd.js";
|
|
54
|
+
import "./ColumnTsType-Bn82JG3Z.js";
|
|
55
|
+
import "./DateSource-DZkuQC77.js";
|
|
56
|
+
import "./Spatial-Bobfh4hS.js";
|
|
57
|
+
import "./SqlMap-C4zS_FfM.js";
|
|
58
|
+
import "./type-DIfgT8T2.js";
|
|
59
|
+
import "./Column-BLmjqPaT.js";
|
|
60
|
+
import { DataSourceInjectName, DataSourceQualifierAttribute } from "./DataSourceQualifier-BYTDOFX_.js";
|
|
61
|
+
import "./Table-C7PwEyW3.js";
|
|
62
|
+
import "./decorator-siRZOEcm.js";
|
|
63
|
+
import { DAL_COLUMN_INFO_MAP, DAL_COLUMN_TYPE_MAP, DAL_INDEX_LIST, DAL_IS_DAO, DAL_IS_TABLE, DAL_TABLE_PARAMS } from "./Qualifier-DqQ1SHGp.js";
|
|
64
|
+
import "./dal-CxBKEWLS.js";
|
|
65
|
+
import "./EggObjectLifecycle-D3YqlfEg.js";
|
|
66
|
+
import "./IdenticalObject-CgLvCa4Z.js";
|
|
67
|
+
import "./LifecycleHook-Cz0mYIGG.js";
|
|
68
|
+
import "./lifecycle-De43j7QN.js";
|
|
69
|
+
import { ErrorCodes } from "./errors-f8c86iks.js";
|
|
70
|
+
import { EggLoadUnitType } from "./LoadUnit-DHzr1WxT.js";
|
|
71
|
+
import "./EggPrototype-DT7xhNEp.js";
|
|
72
|
+
import "./Loader-tg663nX2.js";
|
|
73
|
+
import { ProtoDescriptorType } from "./ProtoDescriptorType-4nWZH9VX.js";
|
|
74
|
+
import "./enum-BLhDoXEr.js";
|
|
75
|
+
import "./ProtoDescriptor-C7lYBF_c.js";
|
|
76
|
+
import "./model-BGXnWY4v.js";
|
|
77
|
+
import "./metadata-4rC6zz4u.js";
|
|
78
|
+
import { IS_MODEL, MODEL_DATA_ATTRIBUTES, MODEL_DATA_INDICES, MODEL_DATA_SOURCE, MODEL_DATA_TABLE_NAME, MODEL_PROTO_IMPL_TYPE } from "./orm-C3AVUU9c.js";
|
|
79
|
+
import "./Factory-NttwzKhi.js";
|
|
80
|
+
import "./EggContainer-SVX9XNK2.js";
|
|
81
|
+
import "./EggContext-GNBG4Rj7.js";
|
|
82
|
+
import { EggObjectStatus } from "./EggObject-BmvZuwV_.js";
|
|
83
|
+
import "./LoadUnitInstance-CU2hw0zx.js";
|
|
84
|
+
import "./model-CrxScfQ9.js";
|
|
85
|
+
import "./runtime-7iHvU3SV.js";
|
|
86
|
+
import { IS_SCHEDULE, SCHEDULE_METADATA, SCHEDULE_OPTIONS, SCHEDULE_PARAMS, ScheduleType } from "./schedule-DpXiSIJj.js";
|
|
87
|
+
import { IS_TRANSACTION_CLAZZ, PropagationType, TRANSACTION_META_DATA } from "./transaction-C_PbpkW9.js";
|
|
37
88
|
|
|
38
89
|
export { ASPECT_LIST, AccessLevel, CONSTRUCTOR_QUALIFIER_META_DATA, CONTROLLER_ACL, CONTROLLER_AOP_MIDDLEWARES, CONTROLLER_HOST, CONTROLLER_HTTP_PATH, CONTROLLER_META_DATA, CONTROLLER_METHOD_METHOD_MAP, CONTROLLER_METHOD_PARAM_NAME_MAP, CONTROLLER_METHOD_PARAM_TYPE_MAP, CONTROLLER_METHOD_PATH_MAP, CONTROLLER_METHOD_PRIORITY, CONTROLLER_MIDDLEWARES, CONTROLLER_NAME, CONTROLLER_TYPE, CROSSCUT_INFO_LIST, ColumnFormat, ColumnType, CompressionType, ConfigSourceQualifierAttribute, ControllerType, DAL_COLUMN_INFO_MAP, DAL_COLUMN_TYPE_MAP, DAL_INDEX_LIST, DAL_IS_DAO, DAL_IS_TABLE, DAL_TABLE_PARAMS, DEFAULT_PROTO_IMPL_TYPE, DataSourceInjectName, DataSourceQualifierAttribute, EggLoadUnitType, EggObjectStatus, EggQualifierAttribute, EggType, ErrorCodes, HTTPMethodEnum, HTTPParamType, INIT_TYPE_TRY_ORDER, IS_CROSSCUT_ADVICE, IS_MODEL, IS_SCHEDULE, IS_TRANSACTION_CLAZZ, IndexStoreType, IndexType, InitTypeQualifierAttribute, InjectType, InsertMethod, LoadUnitNameQualifierAttribute, METHOD_ACL, METHOD_AOP_MIDDLEWARES, METHOD_AOP_REGISTER_MAP, METHOD_CONTEXT_INDEX, METHOD_CONTROLLER_HOST, METHOD_CONTROLLER_TYPE_MAP, METHOD_MIDDLEWARES, MODEL_DATA_ATTRIBUTES, MODEL_DATA_INDICES, MODEL_DATA_SOURCE, MODEL_DATA_TABLE_NAME, MODEL_PROTO_IMPL_TYPE, MethodType, MultiInstanceType, ObjectInitType, POINTCUT_ADVICE_INFO_LIAR, PROPERTY_QUALIFIER_META_DATA, PointcutType, PropagationType, ProtoDescriptorType, QUALIFIER_IMPL_MAP, QUALIFIER_META_DATA, RowFormat, SCHEDULE_METADATA, SCHEDULE_OPTIONS, SCHEDULE_PARAMS, ScheduleType, SqlType, TRANSACTION_META_DATA, Templates };
|